Design of digital sine inverter power based on AVR
singlechip Inverter is widely used
particularly on the inverter performance precision
instruments to seeking higher. A good power inverter not only requires job stability high efficiency inverter the output waveform characteristics and transient response characteristics of a good. Also require small power inverter !hile !an turn and scalability. "hus there is proposed based on the number of AVR #!$ A"%&'(#) sine inverter. The former class named *+,-)-A use '(# to control the input boost circuit and overheating protection. "he after class named *!# A"%&'(#) use unipolar frequency *'(# control full.bridge inverter and the output protection. 1. Overall design and working principle Inverter block diagram shown in /igure 0 the whole system. "he main circuit system has two structures including 're.class push.pull boost and latter. class full.bridge inverter. "his avoids using the frequency transformer effectively reduce the volume and quality of power supply and improve inverter efficiency. Its working principle is1 0) V D! input voltage through the filtered push.pull boost and boost full.bridge rectifier to ,-& V D! bus voltage. After a full.bridge inverter circuit further into ))& V2-& 34 A! power frequency. In order to reduce the impact of the input voltage full bridge rectified sampling the output voltage as the feedback voltage to control the level before the push.pull booster circuit controller adjust the output '(# waveform5s duty cycle *+,-)-A making the D! bus voltage is always maintained at ,-& V. (hile sampling the output filter capacitor voltage and output filter inductor current voltage and current loop control used to regulate the second stage full.bridge *'(# inverter output and thus get a good output waveform characteristics and stability +iven the load characteristics. 2. System hardware design 2.1 Push-Pull PWM waveform generation step-up 'ush.pull D! boost circuit its structure is simple and efficient. "he power control circuit in Q1 V Q2 V through *+,-)-A output A output 6 ).way alternating complementary '(# generated waves control off. *+,-)-A by adjusting the e7ternal resistors and capacitors to generate a-&& k34 0&& 34 frequency band the difference between the '(# waveform. "he relationship of the '(# wave frequency PWM f the e7ternal resistor T R D R and the e7ternal capacitor T C is *+,-)-A the D! bus voltage through feedback to automatically adjust the duty cycle of '(# wave and output stability. At the same time *+,-)-A with voltage and '(# input undervoltage lockout lock function in the event of over.current or over.voltage phenomenon can quickly turn off '(# to ensure the security of the entire circuit 2.2 full-ridge inverter SPWM waveform generation *'(# wave by the AVR microcontroller family A"g8'(#) generated. A0 %&'(#) with two 0).bit waveform generator '*!& '*!) respectively have ).way complementary *'(# signal amplified through the driver circuit driving isolated full.bridge inverter in the power tube. 8ne '*!& students to become the control signals Q3 V and Q4 V '*!) generate control signals Q5 V
and Q6 V . *elect the work in the center.aligned mode '*!. And '*!& and '*!) work in sync. "he '*! counter n feet from the register said the definition of D!.foot ma7imum start count. !oupled to the first ma7imum value to 4ero when the '*! counter value and register 8!Rn*6 8!Rn*A equal value then the output pins are changed '*!n '*!&$"n& '*!8$"n0 level. "he relationship of SPWM f PSC f and register 8!Rn*6 8!Rn*A is 2.! full-ridge inverter circuit Inverter power inverter circuit is a core component to complete the D! voltage into A! voltage of the process. $sed by the four I+6" as the power tubes full.bridge inverter circuit easy to control. 3igher utili4ation of special power transistor drive circuit IR)00& can be used. IR)00& uses a highly integrated level shifting technology which greatly simplifies the logic requirements of power control devices while improving the reliability of the drive circuit. 9specially on the tube with an e7ternal bootstrap capacitor the number of drive power makes the drive much less than the other shown in /igure ). 2." #he output $% filter circuit *ince the output full.bridge inverter circuit for the -& 34 level of the fundamental and other harmonics in order to get pure sine wave set the filter must be considered part of. 6ecause the harmonic focus on l and ) times near the SPWM f so set the cutoff frequency C f is SPWM f 2-. R is the equivalent D! load resistance out V is the output current and voltage ' is the rated inverter power. ! System Software &esign !.1 'out S%M A"%&'(#) is the AVR family of microcontrollers. #ain features of the microcontroller are1 0: high.performance ;.bit R*I! structure 0 #I'* 2 #34 supports up to 0< #34 clock= ): ; >6.system programmable ?I*': of /lash memory programming support for the bootstrap method -0) words Day *RA# -0) bytes of 99'R8#= ,: @ (ay '(# channels provide a variety of '(# signals and can be dead.set= @: ;.08.bit AD! module a 0&.bit DA! module ) analog comparators= - : up to )% interrupt sources= <: support $AR" *'I I)! communication. "he pin function distribution shown in /igure ,. '*!8$ ro& A '*!8$")0 *'(# wave output pin for the pin used to drive the power switch *D enable pin for the IR)00& control of *'(# is used to open or lock the turn. V.#AIB V.8$" IC8$" pins were used to sample the bus voltage output capacitor current and inductor voltage. *ingle #achine also includes the use of D9D alarm function driving the fan starts cooling the overheated I*' online to download updated drivers and the serial communication functions reserved. !.2 %ontrol Strategy "his digital system uses inductor current feedback control. "he introduction of the output inductor current control system and the output capacitor voltage with a dual.loop control by sampling the output inductor current and output capacitor voltage with the outer voltage error signal to control the inner loop current control to regulate the current to the output voltage tracking the reference voltage value improve the system dynamic response. Dual.loop control system due to the inner loop increasing the control system bandwidth making dynamic response to speed up the inverter output voltage harmonic content decreases the ability to adapt to enhance non.linear load. 8uter loop controller can follow the changes in the load regulator adjust the inner ring given value the control system still has good quality so the double.loop control system for load change has strong adaptability can inverter "he output power is greatly improved performance. In order to simplify the design voltage of the outer ring inner current loop can be regarded as a reduced harmonic content than on enhancing the adaptability of non.linear load. !ases part of the outer ring modulator the voltage part of the outer ring as a 'I. /igure @ shows the double loop control system block diagram. !.! Software Process *ystem software design is modular in design. Including1 hardware the initial module the sine table to initiali4e the module the output protection module dual closed.loop regulation modules interrupt handling module. *'(# main program and interrupt the flow processing module respectively as shown in /igure - ?a: and /igure - ?b: below. " results 6ased on the above thoughts to complete production of the prototype of a 0 k( using IR/,;&- as the push.pull boost the power tube R3R';0)& as a rectifier tube full.bridge inverter power control is applied IR+@'!-&$D *+,-)-A the '(# wave frequency is set to ;& k34. *'(# wave frequency is set to 0& k34 the output filter inductor D to ).- m3 output filter capacitor ! is @.E I7/ available sinusoidal A! output voltage accuracy of ))& V F lG the frequency accuracy of -& 34 H 8. 0G "3D is less than lG inverter efficiency is greater than %&G of its no.load and full load test waveforms in /igure < ?a: and /igure < ?b: below. ( %onclusions 'roposed a pre.class push.pull boost by the *+,-,-A control and post. level full.bridge inverter based A"%&'(#) digital Inverter design. "he waveform generator using A"%&'(#) *'(# waveform to simplify the circuit the use of front and rear double negative feedback loop regulation making power inverter output voltage characteristics with high performance. Reserved for serial communication and online download function makes the inverter !ommunication between '! and have the e7tensions can improve the protection in the event of inverter failure with a sound indication and automatic processing.