High Frequency Inverter
Design Fundamentals
Chandrashekar DR
April 19, 2010
Agenda
By the End of this session we will…
Understand different kinds of back up systems
Discuss building blocks of basic inverter
Discuss the evolution of the inverter topologies
Understand bi-directional inverter
List merits and de-merits of each type of inverter
Understand how high frequency inverter addresses the
short-falls of conventional inverter
Discuss design intricacies of high frequency inverter
Understand processor requirements of HF inverter
Magphy systems confidential April 19, 2010 2
Basic building blocks of an inverter
Bypass path
Input AC-DC
DC-AC, Output
Bat
Inverter
Charging
Input voltage directly
switches the change
over relay
Magphy systems confidential April 19, 2010 3
Inverter? UPS? confusion
Bypass path
Input AC-DC Outp
DC-AC,
Bat
Inverter ut
Charging
Change overtime
Inverter
>= 10 ms
Bypass path
Input AC-DC
Bat
DC-AC, Outp
ut Change overtime
UPS
Inverter
Charging
< 10 ms
Line interactive
Input AC-DC DC-AC, Output
Bat Charging Inverter
UPS Change over time
Online =0
Magphy systems confidential April 19, 2010 4
Early inverters (Design-1)
Bypass path
Input
50Hz signal
generator
Xformer
Regulator
Amplifier
Rectifier
Xformer
Output
Input voltage directly
switches the change
over relay
Magphy systems confidential April 19, 2010 5
Merits and de-merits of this
topology
• Very Simple design. Many earlier designs did not even
have a PCB!
• Uses 2 transformers; expensive and bulky
• Yet, only one transformer is in use at a time
• No intelligent element in the design, Most operations
happen by preset parameters
• Un-controlled charge and discharge cycles
• Not a closed loop system to ensure stable output
• Signal generator is usually a multi-vibrator and the output
is not a pure sine wave.
• Early designs used transistor banks which were prone to
failure
Magphy systems confidential April 19, 2010 6
Bi-directional inverter topology (Design-2)
Regulator
Input
Rectifier
Transformer
Output
generator
Amplifier
Signal
Intelligence: uC/DSC
Magphy systems confidential April 19, 2010 7
Changes from Design 1 to Design 2
• Addition of an intelligent element i.e., uC or DSC
• Pure sine wave generated by PWM technique
• One of the transformers eliminated
• Addition of DSC/uC enables a variety of new useful
functions
• Synchronous transition of load from Mains to Inverter
and vice-versa
• Closed loop control implemented through software
• Intelligent protection mechanisms implemented thro’
software
Magphy systems confidential April 19, 2010 8
PWM Technique
Magphy systems confidential April 19, 2010 9
Example implementation:
Bi-directional topology
• A very simple topology, almost
all the building blocks are bi-
directional
• Digital signal controller (not
shown in the picture) manages
the charging, discharging and
signal generation by
manipulating the gate drives of
the switching elements
• DSC Generates pure 50 Hz
sine wave using PWM technique
• Software can control output
voltage, wave shape, frequency
etc in real time.
Magphy systems confidential April 19, 2010 10
Example implementation:
Bi-directional topology
• A very simple topology, almost
all the building blocks are bi-
directional
• Digital signal controller (not
shown in the picture) manages
the charging, discharging and
signal generation by
manipulating the gate drives of
the switching elements
• DSC Generates pure 50 Hz
sine wave using PWM technique
• Software can control output
voltage, wave shape, frequency
etc in real time.
Magphy systems confidential April 19, 2010 11
Example implementation:
Bi-directional topology
• A very simple topology, almost
all the building blocks are bi-
directional
• Digital signal controller (not
shown in the picture) manages
the charging, discharging and
signal generation by
manipulating the gate drives of
the switching elements
• DSC Generates pure 50 Hz
sine wave using PWM technique
• Software can control output
voltage, wave shape, frequency
etc in real time.
Magphy systems confidential April 19, 2010 12
What we need from a DSC to do all
these?
Function Number Application
PWM 4 4x Inverter PWM signals
ADC 7 1x Battery Voltage
2x Battery Current
1x Mains voltage
1x Output voltage
1x Temperature sensor
GPIO 8 Zero cross+, Zero cross –
Change over relay
Alarm, LED/LCD,
Front panel switch
External interrupts 1 Short circuit
Magphy systems confidential April 19, 2010 13
Merits and challenges of bi-directional
topology
Merits:
• Cost reduction due to elimination of 1 transformer
• Addition of a Digital signal controller gives more flexibility and
control to designers
• Enables implementation of additional features and protection
mechanisms
Challenges
• Increased complexity
• Processor working in a noisy environment needs effective
noise isolation
• Transformer is used as a bidirectional device. Copper losses
during charging cycles are very high compared to earlier
design-1 topology
Magphy systems confidential April 19, 2010 14
Need for improvements
Bi-directional Inverter design has
three drawbacks
1. Poor energy efficiency during
charging cycles due to higher iron
losses has to be overcome
2. Still heavy and bulky due to
transformer. Expensive to build and
expensive logistics. Need a lighter
solution
3. Noisy operation as the inverter
transformer operates at 50Hz
(audible frequency)
Magphy systems confidential April 19, 2010 15
A new topology !!!
• How to address these needs?
• How to build a solution brick by brick?
• Should we stick to bi-directional
topology?
• Advent of High frequency inverter
• New challenges!!
Magphy systems confidential April 19, 2010 16
Working on the improvements
Battery charger:
• Battery charger is essentially a regulated DC power supply
which can operate in constant current and constant voltage
modes as desired
• The voltage, the current, when to operate in which mode is
defined by the type of the battery and the battery voltage
• Regulator should be able to dynamically switch between the
modes
• Switch mode power supplies can fulfill these requirements,
and this also operates at high frequency (20KHz- 200KHz),
Hence no audible noise
• Health monitoring can help improve battery life and
performance. Help of a Digital signal controller comes in handy
Magphy systems confidential April 19, 2010 17
Example Battery charging cycle
Lead-Acid battery
Magphy systems confidential April 19, 2010 18
Typical switching power supply
controlled by Digital Signal Controller
• Pulse width is controlled by Digital signal controller so that the required voltage
and current are achieved as per the battery specifications
• Charging voltage and current are measured thro’ ADC inputs of the digital
signal controller. A closed loop control is implemented in software.
Magphy systems confidential April 19, 2010 19
How to make 230V AC from 12/24V DC?
… well without the transformer being bulky and noisy
Generate
12/24AC 50Hz Amplify to Step up 12/24V
signal from required power to 230V
12/24V DC
Vs
Step up 12/24V Shape 50Hz
DC to √2*230V wave from
DC √2*230V DC
Magphy systems confidential April 19, 2010 20
Step-up: Battery booster
• Generate PWM to drive the switching
Step up
12/24V DC elements (MOSFET)
to √2*230V • PWM block of DSCs are useful to
DC generate the PWMs
• Higher frequencies between 20KHz
to 200KHz can be used
• Step up with a high frequency
transformer
• Higher frequency transformers are
smaller and lighter compared to their
50Hz counterparts
• PCB mounted transformer can be
used
• Convert back to DC with simple
rectifiers
• Rectified output should be √2 * 230V
• Use ripple filters as needed
Gates are driven by digital signal processor
Magphy systems confidential April 19, 2010 21
High Frequency transformer
Before After
Magphy systems confidential April 19, 2010 22
High Frequency transformer
…What makes them slim?
Flux density, which is the key design factor of a transformer, is a function of
both cross sectional area of the core and frequency
Bmax = Vrms×108/4.44N×Ac×F for sine waves
Bmax = Vpk×108/4N×Ac×F for square waves
In this equations: V - voltage (volts), N - winding's turns, Ac - core's cross-sectional area (sq.cm),
F- frequency (hertz)
Desired flux density can be achieved by reducing the cross sectional area
of the core but increasing the frequency
+
For a given wattage, the ferrite core HF transformers operate with lower flux
densities than the Iron core transformers
Magphy systems confidential April 19, 2010 23
50 Hz Sine wave shape using PWM
• Generate PWM to drive the switching
Shape 50Hz elements
wave from
• PWM block of DSCs are useful to
√2*230V DC
generate the PWMs
• Higher frequencies between 20KHz
to 200KHz can be used
• High voltage MOSFETs or IGBTs are
used for the switching bridge
• Frequency of operation and out put
power decide the choice of IGBT or
MOSFET
• Gate drive circuitry has to be
galvanic isolated from the digital plane
• A low pass filter at the output
produces continuous sine wave from
PWM signal
Magphy systems confidential April 19, 2010 24
Complete discharge path
Magphy systems confidential April 19, 2010 25
IGBT Vs MOSFET
MOSFET IGBT
Pcond = I2D(rms) * Rds(on)Hot * D Pcond = Vce(on) * Ic *D
Psw = Id * Vds * tSW * fSW Psw = Ets(Hot) * fSW
Negative thermal co-efficient Positive thermal co-efficient
fSW - switching frequency, Ets(Hot) - total switching losses (in data sheet)
tSW - total switching time (on + off, in data sheet)
Magphy systems confidential April 19, 2010 26
IGBT/MOSFET Gate drive and
isolation
• PWM Switching elements are on the high voltage side of the transformer. It is
not safe for DSC or any other low voltage digital circuit to share anything with
this part of circuitry
• Individual ground references are required for each of the MOSFET/IGBT in the
bridge
• MOSFET/IGBT are voltage switched devices. They can be turned on easily by
applying the voltage to the gate. However, turning them off is tricky as they tend
to retain the voltage at gate due to gate junction capacitance. Special effort
should be made to turn them off.
Magphy systems confidential April 19, 2010 27
Other necessary circuitry
Battery Charge and discharge current sensing
• Implemented using a very low value resistor, an inverting amplifier and a non-
inverting amplifier and fed to the ADC inputs of the DSC
• Charge current readings are used to control the constant current and constant
voltage parameters of the charging circuitry
Battery voltage sense
• Implemented using a potential divider to scale the voltage and fed to the ADC
input of the DSC
• Necessary for controlling the charge cycles and deep discharge protection
Output voltage sense
• Implemented using a transformer and a full wave rectifier to scale down the
voltage
• Necessary for controlling battery booster PWMs and Inverter PWMs to ensure
stable output voltage
Magphy systems confidential April 19, 2010 28
Other necessary circuitry … cntd
Mains voltage sense and Zero cross sense
• Mains sense implemented using a transformer and a full wave rectifier to scale
down the voltage
• Necessary for controlling change over relay in the event of mains failure
• Zero cross sensors are implemented using voltage comparators in conjunction
with mains transformer
• These signals help the DSC to know whether the main is in positive or negative
cycles. This is essential for synchronous transfer of load from mains to inverter
and vice versa
DC-DC converters/LDOs
• 5V DC and 3.3V DC needed for the operation of Op-Amps and the DSC are
derived from battery voltage using either LDOs or DC-DC converters
Temperature sensor
• Implemented using a thermister, and connected to DSC, Used to protect
MOSFETs/ IGBTs from over-heating
Magphy systems confidential April 19, 2010 29
Other necessary circuitry … cntd
Change over relay
• Instrumental in transition of the load between the mains supply and the inverter
output
Isolated DC sources
•3 isolated DC sources with independent ground references are required to power
each of the 4 MOSFET/IGBT gate drivers. Both the low-side IGBT gate drivers
may share the same supply as they share the same net for the source pins.
• can be implemented by adding 3 additional 15 V secondary windings in the main
transformer.
Magphy systems confidential April 19, 2010 30
Bells and whistles…
LED / LCD display
• Useful as user interface to convey the status of the system visually
Audio alarm
• Useful as user interface to convey the status of the system visually
Front panel switch
• To switch the system between various modes
USB/Serial interface
• Provide computer connectivity; can be used for remote management, data
logging, etc…
Magphy systems confidential April 19, 2010 31
Architecture
Block diagram
Magphy systems confidential April 19, 2010 32
What we need from a DSC to do all
these?
Function Number Application
PWM 9 4x Inverter PWM signals
4x Battery booster PWM signals (2 if a centre
tap transformer used)
1x Battery charger PWM signal
ADC 8 1x Battery Voltage
2x Battery Current
1x Mains voltage
1x Output voltage
1x Temperature sensor
1x HVDC sense
GPIO 8 Zero cross+, Zero cross –
Change over relay
Alarm, LED/LCD,
Front panel switch
External interrupts 2 MOSFET/IGBT fail
Short circuit
Magphy systems confidential April 19, 2010 33
Recommended devices from
Freescale
http://www.freescale.com/webapp/sps/site/homepage.jsp?code=DSC_HOME
Magphy systems confidential April 19, 2010 34
About Magphy… www.magphy.com
Magphy Expertise
The Magphy team has a strong background of designing complex embedded systems from
past experience. We have contributed in designing many SBCs, telecom blades, media players
and other embedded systems that are in service today, both in terms of hardware design and
software development. Innovation and quality have been our forte as we have built our careers.
Magphy Experience
The Magphy team comes with a very rich experience in Embedded systems design. All in all,
the current team has more than 50 man years of experience in this domain. We have a vast
experience in providing industry standard solutions as well as custom specific solutions that are
modular, scalable and efficient.
Magphy Focus
Magphy systems focus on the emerging Energy and automotive sectors. We believe that the
emphasis, growth and growing technology content in these sectors promise growth of Magphy.
Magphy Founders
Magphy is floated by some of the very experienced Managers and senior engineers of the
Embedded computing industry. We also share the common vision of providing high quality and
cost effective solutions to the industry
Magphy systems confidential April 19, 2010 35
Thank you
Magphy systems confidential April 19, 2010 36