Btech Final Report
Btech Final Report
INTRODUCTION
This project focuses on advanced power electronics for efficient Electric Vehicle (EV)
charging systems and fault management. With the increasing demand for electric
vehicles, optimizing the performance and reliability of EV chargers is crucial. Power
Factor Correction (PFC), interleaved boost converters, LLC resonant converters,
synchronous rectification, and fault management are key technologies that ensure
these systems operate efficiently and reliably. By integrating these technologies, the
project aims to improve power conversion efficiency, reduce energy loss, and enhance
the durability of EV chargers, making them more effective and environmentally
friendly.
Power Factor Correction (PFC) is essential for enhancing system efficiency in high-
power applications. It ensures the power delivered to the load is used effectively,
reducing energy losses. Traditional passive PFC solutions, relying on capacitors and
inductors, can be inefficient and bulky. Active PFC solutions, particularly those using
boost converter topologies, offer a more efficient and compact alternative. Interleaved
boost converters, in particular, improve power density, reduce the size of magnetics,
and decrease strain on bulk capacitors, enhancing performance and reliability.
The Interleaved Boost Converter (IBC) improves upon traditional boost converters by
using multiple phases, typically two or more, which operate in parallel with a 180°
phase shift. This interleaving technique enhances efficiency, reduces size, improves
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
1
thermal management, and lowers Total Harmonic Distortion (THD). By
synchronizing the phases, IBCs share the load across multiple inductors and switches,
reducing ripple currents and improving system reliability.
In Continuous Conduction Mode (CCM), the IBC alternates phases between on and
off states, allowing for efficient energy transfer. The interleaving operation reduces
ripple in input and output currents, minimizing electromagnetic interference (EMI)
and improving efficiency. Additionally, the IBC design helps distribute thermal stress
across multiple components, leading to better thermal management and higher
reliability in power supplies for high-demand systems.
The LLC resonant converter is a highly efficient DC-to-DC converter used in power
electronics applications, especially in high-power systems. It features a resonant tank
circuit composed of inductors and capacitors, allowing for soft switching techniques
like zero-voltage switching (ZVS) and zero-current switching (ZCS). These
techniques reduce switching losses and improve efficiency, making the converter ideal
for high-demand applications, such as EV chargers.
Fault management is a vital part of designing reliable and efficient chargers. Faults
can occur during operation, impacting performance and safety. Therefore, quick fault
detection and resolution are essential. Pre-sale testing, including continuous running,
on-off testing, and extended operation, ensures the charger functions as expected.
Logging internal parameters during operation helps identify issues, track faults, and
pinpoint failed components, improving the charger’s reliability.
Boost converters are a type of DC-DC switching converter that efficiently increase
(step-up) the input voltage to a higher output voltage. By storing energy in an inductor
during the switch-on phase and releasing it to the load during the switch-off phase,
this voltage conversion is made possible. Power electronics applications requiring a
greater output voltage than the input source, in particular, depend on boost converters.
The basic principle of operation for a boost converter can be understood through the
following two stages:Switch-on period (S1 closed, S2 open): During this stage, the
input voltage (Vin) is applied across the inductor (L), causing the current through the
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
4
inductor to increase linearly. The energy stored in the inductor builds up, and the
diode (D) is reverse-biased, preventing current flow to the load. The inductor current
can be expressed as:
ΔIL=VinL⋅tonΔIL=VinL⋅ton
where ΔIL is the change in inductor current, L is the inductance, and t on is the duration
of the switch-on period.
Switch-off period (S1 open, S2 closed): When the switch S1 opens, the inductor
current must continue to flow. This forces the diode D to become forward-biased, and
the inductor releases its stored energy to the load (R) and the output capacitor (C).
During this period, the voltage across the inductor (VL) is equal to the difference
between the output voltage (Vout) and the input voltage (Vin). The inductor current
decreases linearly as the energy is transferred to the load, and the equation for the
inductor current becomes:
ΔIL=(Vout−Vin)L⋅toffΔIL=(Vout−Vin)L⋅toff
By equating the inductor current equations for both stages and rearranging the terms,
we can derive the voltage conversion relationship for the boost converter:
Vout=Vin(1−D)Vout=Vin(1−D)
D=ton(ton+Toff)D=ton(ton+Toff)
This equation shows that the output voltage can be controlled by adjusting the duty
cycle of the switching waveform, allowing for a higher output voltage than the input
voltage.
Waveforms:
The input capacitor is calculated based on the input current and the input voltage
ripples. The input current ripple and the input voltage ripple considered for the
calculation are 20% and 2% respectively.
For obtaining the Cin value, we obtain the ripple current (ΔI) and the ripple voltage.
Let us consider we design a750w converter with wide variation of input voltage from
180 to 270v.
=6.32A
𝑉 𝑖𝑛_𝑟𝑖𝑝𝑝𝑙𝑒= ∆𝑉𝑟𝑖𝑝𝑝𝑙𝑒∗𝑉𝑖𝑛min(max)
=0.02*(180*√2)
=5.09v
=6.32/(8*100*1000*5.09)
=1.55uF
Bridge rectifier has been selected based on the average input current and input voltage
and considering all the losses at worst-case condition. The calculations are included as
below:
I_RMS=P_OUT/(V in_min* 𝜂)
=750/(180*0.95)
=4.38A
=1.97A
To lower the power dissipation ,we need to select the diodes (bridge )with lesser
forward voltage drop.
To select the inductor for SMPS applications, some of the features need to be
considered . They are: Temperature, Saturation and Core
In core aspect, we should consider the current flow because as powdered core
inductance decreases linearly with increase in current, but ferrite core inductance
decrease non-linearly with increase in current.
The boost inductor stores energy during turn-on period and delivers the load during
turn-off period. Here a powdered core is selected for lower core losses, high saturation
flux density and good temperature performance.
The selection of diode in a PFC circuit has major impact on the efficiency of the
converter. Conventionally fast recovery diodes are selected as a boost diode as their
reverse recovery characteristics make them affect the converter ‘s overall
performance.
The reverse blocking voltage is usually selected based on maximum output voltage.
I_d_avg = P_out/V_out
=750/390
=1.92 A
Output capacitor also known as bulk capacitor is usually designed on the minimum
hold-up time (tmin) in case of a power outage. Here, tmin is considered as 10ms, the
duration of one-half cycle of the ac-line. (50Hz).
The current loop uses average current mode control for achieving power factor
correction. In this control the scheme matches the average input current to the
reference. The control operates in the Continuous Conduction Mode (CCM) across all
levels depending on the inductor values and provides several benefits such as.
The voltage loop constitutes the outermost loop of the control structure. This loop
takes care of regulating the output voltage across all loads and supply conditions. The
actual DC bus voltage (Vbus _sense) and the reference bus voltage (Vref) are
compared. The difference between the reference value gives the error value. The error
signal is fed to a PI controller. The output of the PI controller is the input to the
current control loop, which acts as the reference (I ac_ref). Usually, the voltage loop
is operated at a very low rate (~ 1/10 times) when compared to the current loop and
The current control loop is the inner loop of the control structure that decides the duty
of the switches. The reference signal from the voltage loop is compared with the input
current sense (Iac_sense). The error signal is fed to a PI controller. This corrects the
error by forcing the Input current to follow the reference current, which takes care of
the essential operation of the PFC. The current control loop needs to operate at a
relative higher frequency and higher bandwidth when compared to the voltage control
loop, The current loop requires to sample the rectified AC signal at twice the input
frequency and is operated at a frequency that is a multiple of the switching frequency.
During operation, the power switches in each phase turn ON and OFF in an
interleaved manner. This means that when one phase is conducting (ON state), the
others are non-conducting (OFF state), and vice versa. This alternating operation
significantly reduces input and output current ripple since the ripple currents from
different phases partially cancel each other out. As a result, the system achieves
lower electromagnetic interference (EMI) and better power quality. Additionally,
spreading the load across multiple inductors and switches minimizes conduction
losses, leading to improved overall efficiency.
In the ON state, when a particular phase’s power switch is activated, current flows
from the input source through the inductor to the ground. This process causes the
inductor to store energy by generating a magnetic field. During this phase, the
voltage across the inductor equals the input voltage, leading to a linear increase in
inductor current. The rate of current increase depends on parameters such as input
voltage, inductance value, and switching frequency. Meanwhile, the output diode
remains reverse-biased, preventing current flow to the capacitor and load.
When the switch turns OFF, the stored energy in the inductor is released. The
inductor voltage reverses polarity, allowing current to flow through the output
diode to the capacitor and load. The output capacitor helps stabilize the voltage
and ensures a smooth DC output. The phase shift between multiple interleaved
boost converters ensures continuous power delivery to the load while keeping
ripple and switching noise at a minimum.
In the OFF state of the interleaved boost converter, the power switch is turned
OFF, causing the inductor to release the energy stored during the ON phase. When
the switch is deactivated, the magnetic field surrounding the inductor collapses,
inducing a voltage that forces current through the forward-biased output diode.
This allows energy to flow seamlessly from the inductor to both the output
capacitor and the load, ensuring continuous power delivery. The inductor current
gradually decreases in this phase, and the rate of this decrease depends on
multiple factors, including the input voltage, output voltage, inductance value,
and switching frequency. The output diode plays a crucial role by providing a
pathway for current when the switch is off, preventing sudden disruptions in
power transfer and maintaining circuit stability.
The output capacitor is vital in ensuring a steady and smooth DC output. It serves
as a buffer that filters out unwanted voltage ripples and fluctuations, maintaining a
stable voltage level at the output. As the converter operates in interleaved phases,
with multiple inductors sharing the load, the continuous energy transfer mechanism
significantly reduces output ripple. This not only enhances the efficiency of power
delivery but also improves the overall performance of the system by minimizing
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
14
electromagnetic interference (EMI) and reducing thermal stress on individual
components. The combination of properly timed switching, controlled inductor
behavior, and effective capacitor filtering ensures that the interleaved boost
converter delivers high efficiency, improved power factor, and reliable
performance for various high-power applications.
An interleaved boost converter reduces ripple currents by sharing the load across
multiple inductors and using out-of-phase operation, improving system
performance and reducing EMI. It enhances efficiency by lowering current stress
on components, reducing conduction and switching losses. Thermal stress is also
minimized by distributing power across phases, improving thermal management
and reliability. Additionally, the parallel operation of inductors provides a faster
transient response to load changes.
The waveform analysis for the load current I(R1)I(R1) indicates an average
current of 4.0495A and an RMS value of 4.0581A over a 10 ms interval. The small
difference between the average and RMS values suggests minimal ripple in the
load current, indicating efficient current sharing and smooth operation. This
confirms the interleaved boost converter's effectiveness in maintaining a stable
output current.
The output voltage V(n003) of the interleaved boost converter has an average
value of 23.325V and an RMS value of 23.375V over a 10 ms interval. The
minimal difference between the average and RMS values indicates low voltage
1. Boost Ratio
The boosting ratio of the IBC is a function of the duty ratio. It is same as in
conventional boost converter .It is defined as;
Where, Vo is the output voltage, Vin is the input Voltage and D is the duty ratio.
2. Selection of Inductor
In the power electronic systems the magnetic components play a major role for
energy storage and filtering. As discussed in the operation of IBC the inductor is
used to transform the energy from the input voltage to the inductor current and to
convert it back from the inductor current to the output voltage. As per the principle
the two inductors are identical in order to balance the current in the two boost
converters.
D=1-(Vin*efficiency) / Vout
The efficiency is added to the duty cycle calculation, because the converter has to
deliver also the energy dissipated. This calculation gives a more realistic duty
cycle than just the equation without the efficiency factor.
4. Output Current
The output current is measured by using the below formula Iout = Pout / Vout
Where;
STEP – 1
STEP – 2
Once we have the output power, we can divide that by the input voltage (which
should also be decided) to get the average input current needed
We increase the input current by 40% to account for ripple. This new value is the
peak input current.
Also the minimum input current is 0.8 times the average input current, so multiply
the average input current by 0.8.
Now that we have peak and minimum current, we can calculate the total change in
current by subtracting the peak and minimum current.
STEP – 3
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
18
Now we calculate the duty cycle of the converter, i.e. the ratio of the on and off
times of the oscillator.
This should give us a reasonable decimal value, above 0 but below 0.999.
STEP – 4
Now it is time to decide upon the frequency of the oscillator. This has been
included as a separate step because the signal source can be anything from a 555
timer (where the frequency and duty cycle are completely under your control) or a
fixed frequency PWM controller.
Once the frequency is determined, we can find out the total time period by taking
an inverse. Now the time period is multiplied by the duty cycle value to get the on
time.
STEP – 5
Since we have determined the on time, input voltage and change in current, we
can plug those values into the inductor formula which has been rearranged a little:
L = (V*dt)/dI
Where V is the input voltage, dt is the on time and dI is the change in current.
L = (Vin*D)/(ΔIl*fs)
C = (Vin*D)/(R*Δvo)
where Vo represents the output voltage (V), D represents the duty ratio, R
represents the resistance and ΔVo represents the change in the output voltage.
LLC resonant converter is a type of DC-to-DC power converter that is widely used in
electronic applications for efficient power conversion. It uses a resonant tank circuit
composed of two inductors (L) and a capacitor (C) to convert an input voltage to a
different output voltage.
LLC resonant converters have gained significant attention in power electronics due to
their ability to meet the demanding performance requirements of modern power
supply designs. Among the diverse family of resonant converter topologies, LLC
stands out as one of the most prominent.
Resonant tanks, the foundation of LLC converters, are circuits composed of inductors
and capacitors that oscillate at a specific frequency known as the resonant frequency.
This unique characteristic of resonant tanks enables LLC converters to achieve higher
switching frequencies (fSW) and minimize switching losses.
An LLC converter comprises four essential blocks: power switches, resonant tank,
transformer, and diode rectifier (as depicted in Figure 1). The process begins with the
MOSFET power switches converting the input DC voltage into a high-frequency
square wave. This square wave then enters the resonant tank, where it undergoes a
process of harmonic elimination, resulting in the generation of a sine wave with the
fundamental frequency.
The sine wave is subsequently transmitted to the secondary side of the converter
through a high-frequency transformer. This transformer plays a crucial role in scaling
the voltage, ensuring that it meets the specific requirements of the application. Finally,
the diode rectifier converts the sine wave into a stable DC output.
For low power application, single phase is more preferable because the current on the
power devices is only small. Single phase means that there is only one path for the
current. Below diagrams are examples of single phase LLC.
Single phase LLC can be configured as half bridge or full bridge. In above diagrams,
Lr denotes the resonant inductor, Cr refers to resonant capacitor while Lm symbolizes
the transformer magnetizing inductance. In actual application, there is no inductance
across the transformer because it is just art of the transformer primary. The diagrams
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
22
above are only showing the representation of the magnetizing inductance to
emphasize the LLC (Lr, Lm and Cr).
A half bridge LLC means that there is only one pair of switching devices in the
primary side like the diagrams above. They are both half bridge configurations since
there are only S1 and S2 which form a single pair. In the first diagram, the equivalent
resonant capacitance (the Cr in the second diagram) is the sum of the Csplit_A and
Csplit_B.
Half bridge variant is mostly use in low power since the effective voltage across the
LLC resonant network is only half the level of Vin. This results to a higher current in
the resonant network, so the power devices may have high power loss.
Below is a full bridge LLC converter. There are two pairs of switching devices in the
primary section (S1/S2 and S3/S4). Each pair will not conduct at the same time but it
is S1 and S4 that turn on together as well as S2 and S3.
Full bridge is more popular at higher power application because the effective voltage
across the LLC network is the whole Vin. This results to a smaller current in the
resonant network.
The secondary circuit configuration are either using diodes or switches. Switch is
could be BJT, IGBT or MOSFET. First diagram above uses a MOSFETs switch while
the second diagram uses a diodes.
The advantage of using a switch however is low voltage drop and low power loss.
This means, high system efficiency.
LLC can operate in three modes. First is at resonance. This means that the switching
frequency of the LLC equates to the first resonant frequency discussed above. This is
the ideal scenario an LLC converter must behave in order to maximize the soft
switching action. Below are the attributes of operation at resonance frequency.
4.3.1 MODE 1
First mosfet M1 is conducting and current flows form supply into the transformer
primary. The resoant inductor Lr and resonant capacitor Cr starts to resonate and
current starts to raise and due to electromagnetic induction voltage is induced in
In this time the top split capacitor discharges and transfers energy and bottom split
capacitor charges and stores energy. And the current through the magnetising inductor
raises and Lm stores energy.
Now after some time the Lr and Cr no longer resonates and load current falls to zero.
Now the primary is disconnected with the secondary and only the magnetising current
flows through the primary and freewheels.
4.3.2 MODE 2
Now the mosfet M1 is turned off but ILm continuous to freewheel so its takes
alternate path that is it starts to charge the Coss of mosfet M1 to Vdc and discharge
Coss of mosfet M2 to zero . the charging and discharging of parasitic capacitances of
both the mosfets takes place in this dead time between the agte pulses to the
mosfets.The Ilm starts to flow through the body diode of mosfet M2 and the bottom
split cap is completely charged to +Vdc/2 .
As the voltage across mosfet M2 is now zero it is turned on, this called zero voltage
switching . i.e, the switch is turned on with the voltage across it zero or nearly zero.
This reduces the overlap of drain current and drain to source voltage and thus
reducing the turn on losses. Now the current direction in the primary winding is
reversed and Lr and Cr starts to resonate in the reverse direction and due to electro
magnetic induction emf is induced in secondary winding and diode D1 is forward
biased and transfers energy to the load. The bottom split cap discharges and the top
split cap charges and stores energy. Now the resonance stops and secondary and
primary are disconnected. And ILm does not change its direction and freewheels.
4.3.4 MODE 4
Now the mosfet M2 is turned off but the ILm does not change its direction so the
Coss of mosfet M1 is discharged and the Coss of mosfet M2 is charged to Vdc. After
the Coss of mosfets are charges and discharged ILm starts to flow through the body
diode of mosfet M1.
4.3.5 MODE 5
As voltage across the mosfet M1 is zero it is turned on so ZVS is achieved for M1.
The same cycle continuous.
As the adoption of electric vehicles (EVs) continues to grow, the demand for efficient,
reliable, and fast-charging solutions becomes increasingly critical. One of the key
challenges in electric vehicle charging infrastructure is optimizing the efficiency of
chargers to reduce energy loss, enhance performance, and minimize charging time. In
this context, the focus of this project is to improve the efficiency of EV chargers
through the use of synchronous rectification.
5.1 Synchronization
In the previous chapter, we discussed the operation of the primary side of the LLC
resonant converter. Now, we will delve deeper into the operation of the secondary side
and consider the losses associated with the diodes used in this stage.
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
30
To recap, the LLC resonant converter is used to convert a fixed DC supply into a
variable DC supply. As we saw earlier, the DC supply is first converted into a square
wave using a half-bridge inverter. Then, the LLC resonant circuit is employed to
shape the waveform into a sinusoidal form. After this, the rectification process begins.
Now, let's focus on the secondary operation in more detail. In an LLC resonant
converter, the transformer used is typically a centre-tapped transformer. This means
the secondary winding is split into two parts, with each half connected to a diode.
Depending on the polarity of the AC waveform at any given time, one diode will
conduct while the other remains off. This ensures that the current flows in the correct
direction, providing the necessary rectification for the converter.
However, a critical factor in this process is the inherent losses associated with diodes,
which impact the overall efficiency of the converter. Each diode has a forward voltage
drop, which is a major source of power loss during conduction. The forward voltage
drop can be represented as the voltage difference between the anode and cathode
when the diode is conducting current. As the current increases, these conduction
losses also increase.
For example, consider a typical silicon diode. At a current of 1A, the forward voltage
drop might be around 0.6V, resulting in a power loss of approximately 0.6W.
However, when the current increases to 30A, the power loss increases significantly,
reaching up to 18w. This increase in power loss is a direct result of the higher voltage
drop across the diode at higher currents.
In conclusion, while diodes are essential for the rectification process in LLC resonant
converters, they introduce significant losses, both due to their forward voltage drop
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
31
and reverse recovery characteristics. These losses impact the overall efficiency of the
converter, especially as the load current increases. In the following sections, we will
explore how synchronous rectification can address these losses and improve the
overall performance of the LLC resonant converter.
The below picture shows the general circuit diagram for synchronous rectification of
llc converter.
From the above circuit we can observe that QHS and QLS acts as half bridge inverter
circuit and QSR1 and QSR2 acts as rectificater circuit. The pulses to these mosfets are
given in such a way to achieve less switching as possible.one of the possible way to
give pulse is as fallows
In a typical LLC converter, the switching of MOSFETs plays a crucial role in its
efficiency. When observing the circuit for synchronous rectification, particularly in a
half-bridge inverter configuration, we note that when the top MOSFET conducts, Q1
in the LLC converter will also conduct. In such scenarios, if pulses are applied to the
MOSFET, the body diode of the MOSFET will conduct first, behaving similarly to a
To ensure more efficient operation, it is essential to control the timing of the pulses
applied to the MOSFETs. The reason for this is that if both voltage and current are
non-zero when the MOSFET switches, it results in higher switching losses. This is
due to the simultaneous voltage and current overlap, which causes increased
dissipation during the switching transitions.
One method to mitigate these losses is to utilize the body diode of the MOSFET. By
timing the gate pulses such that the MOSFET switches only after the body diode has
conducted and the current has been properly managed, switching losses can be
reduced. The time delay between the pulse for the half-bridge MOSFET and the
conduction of the body diode can be calculated by analyzing the voltage and current
waveforms. This calculation will allow for precise timing of the gate drive pulses to
minimize switching losses.
In general applications, a microcontroller can be used to generate the gate drive pulses
with a user-defined format. By adjusting the timing and ensuring that the MOSFETs
switch at the optimal moment, the overall efficiency of the LLC converter can be
significantly improved. While giving pulses from the micro controller the specific pin
of microcontroller from specific port shoulde be made high.The circuit diagram used
for simulation in LtSpice is as fallows.
From the above figure we can observe that there is some delay between the turn on of
mosfet in half bridge circuit (VN006,N007) to the turn of mosfet in rectifier
circuit(VN015). During this period the diode of the mosfet will conduct and power
consumption during this period is less
Conduction losses occur due to the resistance in the MOSFET channel when current
flows through it. Every MOSFET has a characteristic RDS(on), which is the on-
resistance between the drain and source terminals when the MOSFET is conducting.
This resistance is a result of the minority carriers present in the MOSFET junctions. A
As an example, let's assume that an RMS current of 30A is flowing through the
MOSFET. If the R_DS(on) is low, the conduction losses can be kept around 9W—
which is roughly half of the losses that would occur in a typical diode rectifier. This
significantly improves efficiency compared to using standard diode rectifiers, where
conduction losses can be higher.
Switching losses occur during the transition of a MOSFET from its "off" state (cut-off
region) to its "on" state (saturation region). This transition period is referred to as the
transition period, during which both the voltage across the MOSFET and the current
through it are non-zero. When both voltage and current are non-zero, power is
dissipated, leading to switching losses.
Two primary techniques used to reduce switching losses are Zero Voltage Switching
(ZVS) and Zero Current Switching (ZCS). In this project, we utilize the ZVS (Zero
Voltage Switching) method to reduce switching losses, and we will now analyze how
it works and how it is implemented in our operation.
In our design, we utilize the body diode of the MOSFET as an integral part of the
ZVS technique. During specific periods, the body diode is allowed to conduct before
the MOSFET is turned on. This conduction phase ensures that the voltage across the
MOSFET is nearly zero before the switching action occurs. Since the MOSFET is
switched on only when the voltage across it is minimal, the amount of energy
dissipated as heat is greatly reduced, improving the thermal performance of the
system.
The key advantage of ZVS lies in its ability to lower power losses without
compromising the switching speed. By reducing the stress on the MOSFET and other
switching components, ZVS extends the lifespan of power devices and enhances the
reliability of the LLC converter. Additionally, the technique helps in reducing
electromagnetic interference (EMI), making it highly beneficial for high-frequency
power conversion applications.
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
36
By implementing the ZVS method, we ensure that the MOSFET switches with
minimal voltage overlap, leading to efficient power conversion and lower heat
dissipation. This results in an optimized LLC resonant converter that not only
operates at higher efficiency but also maintains better thermal stability. The
integration of ZVS into the power stage significantly contributes to improving the
overall performance of the system, making it ideal for applications requiring high-
efficiency power electronics.
From the above figure we can observe that how voltage and current waveforms are
therein these specific condtion
In the above diagram we can observe that first mosfet body diode starts conducting
then the voltage across it drops nearly equal to zero
5.5 Comparison
Now let us compare the efficiency of llc converter with the diode and synchronized llc
converter
From below figures we can observe the input power and output power of the diode
converter and its efficiency as 1.2968KW, 1.1212KW and 86.4% respectively
From the below figures we can observe the input power and output power of
synchronized llc converter are 1.1817KW, 1.1719KW and efficiency as 99%.
From the two efficiency comparision we can clearly see that efficiency got increased.
Thus synchronous rectification is one of the method to increase the efficiency of LLc
converetr and as losses decreses the which reduces the burden on the heat sink
For instance, if the charger unexpectedly turns off, it's important to understand why
this happens. Without an effective fault management system, troubleshooting such an
issue would be extremely difficult. In the absence of data, one would have to
physically open up the charger, check the system, and start testing the components
from scratch. This is inefficient and time-consuming.
By logging these parameters at regular intervals, we are able to track the charger’s
performance over time. If a fault occurs, we can quickly refer to the logged data to
determine what went wrong, when the fault occurred, and which component may have
failed. This enables faster debugging, improves the reliability of the charger, and
ensures that the product is thoroughly tested and ready for the customer.
The DSCs simplify the design of high-performance, precision motor control systems
that are more energy efficient, quieter in operation and provide extended motor life.
They can be used to control Brushless DC (BLDC), Permanent Magnet Synchronous
Motors (PMSM), AC Induction Motors (ACIM), Switched Reluctance (SR) motors,
and stepper motors.
In the digital power segment, this family of devices is ideal for designing switched
mode power supplies such as AC/DC, DC/DC, UPS and PFC, providing high-
precision digital control of Buck, Boost, Fly-Back, Half-Bridge, Full-Bridge, LLC
and other power circuits to reach the highest possible energy efficiency.
The dsPIC33CK32MP506 Digital Signal Controller (DSC) includes pins for power
supply and ground, with VDD providing the positive supply voltage (typically +3.3V)
and VSS serving as the ground reference. For clock and oscillator connectivity, the
device features XTAL1 and XTAL2 pins, which accommodate external crystal
oscillators or resonators, ensuring stable clock signals essential for precise timing in
operations.
Analog inputs and outputs are facilitated through dedicated ADC and DAC pins,
enabling accurate conversion between analog signals and digital values, crucial for
applications requiring precise measurement and control of analog voltages.
The controller also provides PWM outputs via specific pins, essential for generating
variable-width pulses to control devices such as motors and actuators, offering
flexibility in voltage regulation and power management. Reset and programming
functions are handled by MCLR for master clear and reset operations, along with
PGC and PGD pins utilized for in-circuit programming and debugging (ICSP),
streamlining development and testing processes.
General-purpose I/O (GPIO) pins are available for configuring as inputs or outputs,
facilitating interfacing with external sensors, peripherals, and other components,
offering flexibility in system integration and functionality expansion. Special
functionality includes interrupt pins for managing external events and processing
interrupts, as well as clock output pins for synchronizing operations in applications
requiring precise timing and coordination.
Timer interrupts are utilized in embedded systems to manage and synchronize time-
based operations. They are typically implemented using hardware timers integrated
into the microcontroller, such as the dsPIC33CK64MP506, which features multiple
Timer modules. These timers can be configured to generate interrupts at specific
intervals or when certain conditions are met, providing precise timing control for
critical tasks within the system.
When a timer interrupt occurs, the microcontroller interrupts its current execution to
handle the interrupt service routine (ISR) associated with the timer. This ISR is a
Timer interrupts are essential for time-sensitive applications where tasks need to be
executed at precise intervals or in synchronization with external events. They enable
efficient multitasking by allowing the microcontroller to perform background
operations while simultaneously responding to time-critical events. This capability
enhances the responsiveness and real-time performance of embedded systems across
various domains, including industrial automation, automotive electronics, and
consumer electronics.
6.3.1 SPI
The Serial Peripheral Interface (SPI) is a synchronous serial communication protocol
developed by Motorola in the mid-1980s. It has become a staple in embedded systems
due to its straightforward design and high-speed data transfer capabilities. SPI is
particularly favoured for its ability to facilitate efficient and reliable communication
over short distances, making it ideal for interconnecting microcontrollers, sensors, and
other peripheral devices.
SPI operates on a master-slave architecture, where a single master device controls the
communication, while one or more slave devices respond to the master’s commands.
The master generates the clock signal and selects which slave device to communicate
with by pulling the corresponding chip select (CS) line low. This architecture allows
for a flexible and straightforward communication setup, though it requires a dedicated
CS line for each slave, which can increase the pin count on the master device.
The SPI interface typically consists of four main lines: MOSI, MISO, SCLK (Serial
Clock), and CS/SS (Chip Select/Slave Select). During communication, the master
device selects the appropriate slave by activating the corresponding CS line. The
master then generates the clock signal on the SCLK line, synchronizing the data
exchange. Data is transferred bit by bit on the MOSI and MISO lines, with each bit
being clocked out by the master and clocked in by the slave, and vice versa, in a
synchronized manner.
SPI offers several advantages, including high-speed data transfer capabilities and a
simple hardware interface. The absence of addressing overhead, as seen in other
protocols like I²C, allows for more efficient communication, as the master directly
selects the slave devices using the CS line. However, SPI also has its drawbacks. The
lack of a standardized protocol can lead to variations in implementation across
different devices. Additionally, SPI is designed for short-distance communication,
typically within the same circuit board, and the requirement for additional CS lines for
each slave can increase the overall pin count. Its versatility and efficiency make SPI a
reliable choice for a broad range of embedded applications.
6.3.2 I2C
One of the defining features of I2C is its ability to support multi-master and multi-
slave communication. This means that multiple master devices can control the
communication bus, although only one master can control the bus at a time. In
contrast to protocols like SPI, which require multiple lines for each slave device, I2C
uses only two signal lines: SDA (Serial Data Line) and SCL (Serial Clock Line). This
simple two-wire setup significantly reduces the number of pins required, making it
ideal for systems where space and pin count are limited.
I2C operates on a master-slave architecture. The master device generates the clock
signal and controls the communication process, while the slave devices respond to the
master’s commands. Each device on the I2C bus has a unique address, and
communication is initiated by the master device selecting a slave using its address.
The data is transferred serially, with each bit being transmitted on the SDA line while
the clock signal is generated on the SCL line to synchronize the data transfer.
The typical communication process in I2C begins with a start condition, where the
master generates a signal by pulling the SDA line low while the SCL line remains
high. Following this, the master sends the address of the target slave device along
with a read/write bit to specify the direction of data transfer. The slave device
acknowledges the address by pulling the SDA line low. After the address phase, the
master and slave exchange data, with each byte followed by an acknowledgment bit.
The communication ends with a stop condition, where the master releases the SDA
line while keeping the SCL line high.
I2C has several advantages, including its simple wiring. With only two signal lines,
I2C can connect a large number of devices with minimal complexity, making it
particularly useful for connecting sensors, EEPROMs, and other peripheral devices.
Additionally, I2C supports multi-master configurations, allowing multiple devices to
initiate communication. The protocol also supports addressing, meaning each device
6.3.3 CAN
One of the defining features of CAN is its multi-master architecture, which allows
multiple devices (called nodes) to be connected on the same bus. Each node can
transmit and receive data, but the protocol ensures that only one node sends data at
any given time, thus preventing data collisions. CAN uses a priority-based arbitration
system to manage access to the bus, which ensures that the highest-priority message
always gets through first. This feature is essential for applications like automotive
systems, where certain messages, such as safety-critical signals, must be transmitted
immediately.
The CAN protocol uses a message-based communication structure, where each node
sends and receives messages instead of data packets. Each message consists of a
header (containing identifiers, control bits, and other information) and a data section
(which holds the actual payload). The identifier field is particularly important, as it
determines the priority of the message in the arbitration process. CAN supports both
standard (11-bit) and extended (29-bit) identifiers, allowing for a large number of
unique message IDs, making it scalable for complex systems with many nodes.
In terms of data transmission, CAN supports both data frames (for standard data
transmission) and remote frames (used to request data from another node). It also
includes error handling mechanisms, such as cyclic redundancy check (CRC) and
acknowledgement bits, to ensure reliable communication and minimize the impact of
transmission errors. If a message is corrupted or not acknowledged, the CAN protocol
will automatically retransmit the message, ensuring data integrity.
One of the major advantages of CAN is its high-speed data transfer capabilities. With
data rates up to 1 Mbps (in the case of high-speed CAN), it is suitable for applications
requiring fast and real-time communication. Additionally, the protocol supports long-
distance communication (up to several kilometers) without significant data
degradation, which is an essential feature for automotive and industrial applications.
The I2C communication in code is responsible for writing data to an EEPROM. The
I2C2_Write function is used for this, and it requires three parameters: the slave
address (either 0x50 or 0x51), a data buffer containing the data to be written, and the
data length (typically 16 bytes). The EEPROM uses a 7-bit addressing scheme, where
the first four bits indicate the device ID, the next two bits select the slave, and the last
bit denotes the page size. The page size can either be for addresses 0-255 or 256-511,
depending on the configuration. When writing data to the EEPROM, the address to
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
46
which the data is written is specified by the first byte of the data_buffer, and the
subsequent bytes hold the actual data. The EEPROM can only write 16 bytes at a
time, so the data is sent in chunks of 16 bytes, ensuring efficient memory utilization.
Additionally, error handling mechanisms are implemented to detect and recover from
communication failures during I2C transactions. If an acknowledgment (ACK) is not
received from the EEPROM, the write operation is retried after a short delay. This
ensures reliable data storage and prevents data corruption due to transient errors.
In summary, the I2C write operation in your code efficiently handles data logging to
the EEPROM, ensuring that the data is written in the correct format and at the proper
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
48
address. The use of delays between write cycles, along with the careful management
of memory addresses and data buffers, guarantees the integrity of the data being
stored.
The host-side system is designed to log data from various parameters like mains
voltage, mains current, battery voltage, battery current, and fault statuses using an SD
card. The data is collected and logged via SPI communication, and each data entry is
timestamped using an RTC (Real-Time Clock) module for accurate event logging.
The real-time timestamp is crucial because, without it, we cannot determine the
duration of faults or events like the charging process or when a fault occurs. Having a
timestamp ensures that we can track how long a fault has persisted or when a specific
event, such as the turning on/off of a charger, happens.
The data is written to the SD card via the SPI protocol. Initially, charger data is
continuously transmitted through the CAN (Controller Area Network) bus. Using
CAN transmission and reception, the microcontroller receives continuous data about
all the parameters inside the charger. The data is received in hexadecimal format from
CAN messages and is then converted into readable decimal values to log on the SD
card.
To facilitate this process, we use the FatFS library for handling the file system on the
SD card and the SD_SPI library for SPI communication. The MPLAB X IDE is used
for development, and the SPI protocol is configured using driver files. The
microcontroller chosen for this project is the DSPIC33CK64MP506, which has three
SPI modules. Based on the available pins, the appropriate SPI interface is selected.
The configuration includes settings like number, frequency, mode, and data sampling,
with predefined pins for MISO, MOSI, SCK, and a customizable CS pin.
The received data is processed and structured before being written to the SD card to
ensure proper logging and easy retrieval. Error handling mechanisms are implemented
to detect and manage communication failures, ensuring data integrity during
ADVANCED POWER ELECTRONICS FOR EFFICIENCT EV CHARGING
AND FAULT MANAGEMENT
49
transmission and storage. Additionally, timestamps are included in the logged data to
track events accurately and analyze trends over time.
The RTC module is used to get real-time timestamps. In MPLAB X IDE, the I2C
module is configured to communicate with the RTC module. The I2C interface is used
because the RTC module communicates over I2C. There are three available I2C
modules in the DSPIC33CK64MP506, and we select the host configuration with a
frequency setting for reading data every 500ms. The RTC module provides three
primary time parameters: seconds, minutes, and hours, which are then used to
generate a timestamp for each data log entry.
1. SPI Protocol: SPI is used for communication with the SD card to store the data.
Once the CAN messages are received by the microcontroller, the hex data is
converted into readable decimal values, and the formatted data is logged onto the
SD card. The FatFsDemo_Tasks function handles the SD card operations, writing
the data into a CSV file.
2. RTC Timestamping: The RTC module is configured to fetch the current time
(hours, minutes, and seconds) and append it to each data entry. This timestamp
helps to keep track of the time when each reading is taken.
3. CAN Communication: The data from the charger system is transmitted using
CAN communication. The can_packet_transmit and can_packet_receive functions
manage the transmission and reception of data packets. These packets contain
various parameters such as serial number, status, faults, and readings for battery,
mains voltage, and current. The received data is processed and stored for logging.
4. SD Card File Management: The f_mount and f_open functions mount and open
the SD card for file operations. If the SD card is available, the data is appended to
a CSV file (FINALOG.CSV). The first time the file is accessed, headers are
written, and subsequent data entries are logged with the timestamp and various
parameters.
5. If we remove power and again connect it then you get the header in excel sheet.
For evrey power on reset you get the header in created file. We have dedicated
excel sheet which contains fault calculation. That will help to find the which fault
occur inside the charger. Some of the faults we observed is Mains overcurrent, DC
Link undervoltage, Temperature Fault.