Uc Power Control PDF
Uc Power Control PDF
Uc Power Control PDF
Abstract
This paper discusses the design and implementation of single phase PWM inverter using 8051 microcontrol-
ler. The main features of 8051 based PWM inverter are simpler design, low cost, maximum range of voltage
control and compact in size. The designed PWM inverter is tested on various AC loads like AC motor and
intensity control of incandescent lamp in a closed loop environment.
Keywords: Gate Signals Generation, Micro Controller, Pulse Width Modulation, PWM Generation
8
KEYBOARD 8051 MICRO-
CONTROLLER GATE DRIVER
8
PWM BRIDGE
A C LOAD FILTER INVERTER
D C INPUT
ADC SENSOR
the fan or the level of air conditioning required. Figure 4 register (R0-R7) as shown in Figure 8.
explains the logic flow of the basic operation. A count (ON period time) is loaded onto one of the
GPR (General purpose register), which can be called as
4. Controller Design Duty cycle register and accumulator (‘A’) is loaded with
zero. Register ‘A’ is incremented in steps of one and
Controller is designed by using simpler low cost compo- continuously compared with duty cycle register.
nents like 8051 microcontroller, 8 or 12 bit Analog to
Digital Converter (ADC), 4×4 keypad, 4 chopper MOS-
FET switches (IRFZ48) and speed/Intensity sensor.
The controller design can be explained under 4 sec-
tions as:
Keypad interface with 8051 μc.
ADC interface with μc.
Generating PWM signals and gate signals using
8051 microcontroller.
Gate driver circuit implementation.
140 120
theoritical
120 WOF L=100 µH,R=50 Ω 100
Vrms
80 60
Vrms
60 40
Theoritical
40 20 Practical
20
0
0 10% 20% 30% 40% 50%
0
50.05 150.15 250.25 350.35 Frequency Hz Duty Cycle
140 120
theoritical
120 WOF L=100m H,R=50Ω 100
80
Vrms
60
60
40
Theoritical
40
20 Practical
20
0
0 0 10% 20% 30% 40% 50%
50.05 150.15 250.25 350.35 Frequency Hz Duty Cycle
120
140
Theoritcal
100
120
WOF L=10m H,R=50Ω
100 80
WF L=10m H,R=50
Vrms
Vrms
80 Ω,C=1400µF
60
60
40 Theoritical
40
Practical
20
20
0 0
50.05 150.15 250.25 350.35 Frequency Hz 0 10% 20% 30% 40% 50%
Duty Cycle
Figure 11. Response for various loads with corresponding duty cycles.
If the ‘A’ contents are less than duty cycle register, and comparing the count present in the counter with ‘A’
high level is maintained at port line P1.1. When ‘A’ is register (duty cycle register). This demands external
higher than duty cycle register content a low level is clock source, since 8051 do not have any clock out pin.
maintained on port line. The alternate technique is to use Since the maximum time period is limited to 256 mi-
Timer as Counter by applying clock pulses externally croseconds, the minimum frequency of PWM signal will
be 4 KHz, but this can be changed using software delays. MOSFET bridge inverter.
The AC signal frequency generated by PWM bridge in- Harmonics are removed by using simple capacitor fil-
verter depends on PWM signal frequency. The error sig- ter and the AC voltage is stepped up to 220 V using
nal is generated by comparing the required speed with step-up transformer. The performance of application is
accepted digital equivalent speed divided by two. In tested on various A.C loads and the plots of the same are
proportionate with the error signal, PWM duty cycle is as shown in Figure 10. The design exhibits good results
varied. When the required speed value is less than the for the load values of 50 ohm and 100 mH/ 10mH. A
accepted one, duty cycle register value and accepted simple PWM technique with 100% duty cycle variation,
value is decremented by one continuously till accepted which reduces hardware and software complexity, is
value is equal to the required speed’s digital value. When used rather than using the most often used complex si-
the required speed value is more than the accepted one, nusoidal PWM technique (For Single-phase inverters).
duty cycle register values and accepted value is incre- Required dead time is generated through interrupt, which
mented by one continuously till accepted value is equal avoids the usage of dead time delay generators. With
to the required speed digital values. minor modifications the same work can be used to con-
trol light intensity, temperature etc., The accuracy can be
4.4. Gate Signal Generation further improved by using high resolution ADC’s and the
delay involved in the software can be overcome using
The generated controlled PWM signal itself will be one
higher versions of controllers.
set of gate signal (g1, g2) and other set of gate signals (g3,
g4) is generated using interrupt technique. The controlled
6. References
PWM signal generated is given to the external interrupts,
which is initialized as falling edge sensitive interrupt
[1] H. Parasuram and B. Ramaswami, “A three phase sine
type. When controlled PWM signal’s falling edge occurs, wave reference generator for thyristorized motor control-
an interrupt service routine meant for that particular ex- lers,” IEEE Transactions on Industrial Electronics, Vol.
ternal interrupt is executed. IE-23, pp. 270–276, August 1976.
In the interrupt service routine, a delay is created equal [2] J. M. D. Murphy, L. S. Howard, and R. G. Hoft, “Micro-
to the time, 7FH minus duty cycle register content, after processor control of PWM inverter induction motor
which, the port line is made high and is retained high for drive,” in Record of the 1979 IEEE Power Electron Spe-
the time duration decided by the contents of duty cycle cialist Conference, pp. 344–348.
register (Figure 9). [3] G. S. Buja and P. Fiorini, “Microcomputer control of
The gate signal (vg1 vg2, vg3, vg4) are boosted to a PWM inverters,” IEEE Transactions on Industrial Elec-
sufficient voltage level by Gate drive circuitry as shown tronics, Vol. IE-29, pp. 212–216, August 1982.
in Figure 10, so that they are capable of driving MOS- [4] G. S. Buja and P. De Nardi, “Application of a signal
FET’S to the ON state, when the gate signals are high. processor in PWM inverter control,” IEEE Transactions
A transistor switch (with inverted gate signals as in- on Industrial Electronics, Vol. IE-32, No. 1, February
put) is made used to boost the gate signal. The same DC 1985.
supply, which is used for inverter is also used to drive [5] Y. K. Peng, et al., “A novel PWM technique in digital
the transistor by reducing the DC level using voltage control,” IEEE Transactions on Industrial Electronics,
dividers. The other technique is to use opto-isolators. Vol. 54, February 2007.
Both of these techniques use the same inverter DC
[6] M. H. Rashid, “Power Electronics Circuits, Devices and
source to boost up the gate signals, thus avoiding more Applications,” 3rd Edition, Prentice-Hall of India, Private
usage of DC sources. limited, New-Delhi, 2004.
[7] V. Jagannathan, “Introduction to power electronics,”
5. Results and Conclusions Prentice-Hall of India, Private limited, New-Delhi, 2006.
The designed application is tested by designing 60V