L6258EA PWM current control loop
19/32
Before analysing the error amplifier block and the sense transconductance block, we have to
do this consideration:
Aloop
dB
= Ax
dB
+ Bx
dB
Ax|
dB
= ACpw|
dB
+ ACload|
dB
and
Bx|
dB
= ACerr|
dB
+ ACsense|
dB
this means that Ax|dB is the sum of the power amplifier and load blocks;
Ax|
dB
= (29,5) + (-31.4) = -1.9dB
The BODE analysis of the transfer function of Ax is:
Figure 7. Ax bode plot
The Bode plot of the Ax|dB function shows a DC gain of -1.9dB and a pole at 163Hz.
It is clear now that (because of the negative gain of the Ax function), Bx function must have
an high DC gain in order to increment the total open loop gain increasing the bandwidth too.
3.4 Error amplifier and sense amplifier
As explained before the gain of these two blocks is:
Bx
dB
= ACerr
dB
+ ACsense
dB
Being the voltage across the sense resistor the input of the Bx block and the error amplifier
voltage the output of the same, the voltage gain is given by:
ib Vsense Gs Vsense
1
Rb
------- -
==
PWM current control loop L6258EA
20/32
Verr_out = -(ic · Zc) so ic = -(Verr_out · )
because ib = icwe have:
Vsense · = -(Verr_out · )
In the case of no external RC network is used to compensate the error amplifier, the typical
open loop transfer function of the error plus the sense amplifier is something with a gain
around 80dB and a unity gain bandwidth at 400kHz. In this case the situation of the total
transfer function Aloop, given by the sum of the Ax
dB
and Bx
dB
is:
Figure 8. Aloop bode plot (uncompensated)
The BODE diagram shows together the error amplifier open loop transfer function, the Ax
function and the resultant total Aloop given by the following equation:
Aloop
dB
= AxdB + Bx
dB
The total Aloop has an high DC gain of 78.1dB with a bandwidth of 15KHz, but the problem
in this case is the stability of the system; in fact the total Aloop cross the zero dB axis with a
slope of -40dB/decade.
Now it is necessary to compensate the error amplifier in order to obtain a total Aloop with an
high DC gain and a large bandwidth. Aloop must have enough phase margin to guarantee
the stability of the system.
A method to reach the stability of the system, using the RC network showed in the block
diagram, is to cancel the load pole with the zero given by the compensation of the error
amplifier.
The transfer function of the Bx block with the compensation on the error amplifier is:
1
Zc
------ -
1
Rb
------- -
1
Zc
------ -
Bx
Verr_out
Vsense
------------------------
Zc
Rb
------- -==
L6258EA PWM current control loop
21/32
In this case the Bx block has a DC gain equal to the open loop and equal to zero at a
frequency given by the following formula:
In order to cancel the pole of the load, the zero of the Bx block must be located at the same
frequency of 163Hz; so now we have to find a compromise between the resistor and the
capacitor of the compensation network.
Considering that the resistor value defines the gain of the Bx block at the zero frequency, it
is clear that this parameter will influence the total bandwidth of the system because,
annulling the load pole with the error amplifier zero, the slope of the total transfer function is
-20dB/decade.
So the resistor value must be chosen in order to have an error amplifier gain enough to
guarantee a desired total bandwidth.
In our example we fix at 35dB the gain of the Bx block at zero frequency, so from the
formula:
where: Rb = 20kΩ
we have: Rc = 1.1MΩ
Therefore we have the zero with a 163Hz the capacitor value:
Now we have to analyse how the new Aloop transfer function with a compensation network
on the error amplifier is.
The following bode diagram shows:
the Ax function showing the position of the load pole
the open loop transfer function of the Bx block
the transfer function of the Bx with the RC compensation network on the error
amplifier
the total Aloop transfer function that is the sum of the Ax function plus the transfer
function of the compensated Bx block.
Bx
Zc
Rb
------- -
Rc j
1
2π fCc⋅⋅
------------------------------
Rb
----------------------------------------------==
Fzero
1
2π Rc Cc⋅⋅
------------------------------------=
Bx_gain
@ zero freq.
20
Rc
Rb
------- -
log=
Cc
1
2π Fzero Rc
---------------------------------------------
1
6,28 163 1,1 10
6
⋅⋅
----------------------------------------------------------------- 880pF== =

E-L6258EATR

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Motor / Motion / Ignition Controllers & Drivers Industrial & ASIC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet