Proj 1
Proj 1
College of Engineering
Electrical Department
Homework #1
7-11-2024
Description
The system describes a phase control circuit that controls the voltage applied to
an AC load by varying the AC angle progression (from 0° to 180°) using a
potentiometer. When the position of the potentiometer is changed, the timing of
the TRIAC trigger signal is adjusted at specific times, allowing the voltage across
the load to be adjusted from 0 to the total source voltage (𝑉𝑆) supervising the
position of the potentiometer.
Introduction:
Phase control circuits are widely used in power electronics to adjust the power
supplied to electrical loads by varying the phase angle of the input signal. In this
project, an Arduino is used alongside a potentiometer to control the brightness of
an LED, simulating phase control through pulse-width modulation (PWM). This
approach allows us to manage the LED’s brightness by adjusting the duty cycle of
the signal applied to it.
Objectives:
Design a phase control circuit using Arduino and a potentiometer to control
LED brightness or (TRIAC trigger signal ).
Understand how adjusting the potentiometer affects the duty cycle and,
consequently, the brightness of the LED.
Verify the effectiveness of PWM for brightness control in a simple setup.
The simulator:
Circuit Diagram and Schematic
The above schematic shows the Arduino Uno connected to a potentiometer on
pin A0 and an LED on digital pin 6.
Code Explanation:
int pot;
int led;
void setup() {
// put your setup code here, to run once:
pinMode(A0, INPUT);
pinMode(6, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
pot = analogRead(A0);
led = map(pot, 0, 1023, 0, 255);
analogWrite(6, led);
}
Conclusion:
Using an Arduino with a potentiometer and an LED provides a basic yet effective
model of phase control for brightness adjustment. This project demonstrates the
capability of PWM in Arduino-based circuits for controlling power supplied to
loads.
References
1. Video Reference: Phase Control and LED Brightness Control using Arduino -
YouTube (https://www.youtube.com/watch?v=gD4vDNHkds4)
2. Arduino Documentation on PWM:
https://www.arduino.cc/en/Tutorial/Foundations/PWM