PWM current control loop L6258EA
16/32
3 PWM current control loop
3.1 Open loop transfer function analysis
Block diagram: refer to Figure 5.
Input parameters:
V
S
= 24V
L
L
= 12mH
R
L
= 12Ω
R
S
= 0.33Ω
R
C
= to be calculated
C
C
= to be calculated
Gs transconductance gain = 1/Rb
Gin transconductance gain = 1/Ra
Ampl. of the Tria_0_180 ref. = 1.6V (peak to peak)
R
a
= 40KΩ
R
b
= 20KΩ
V
r
= Internal reference equal to V
DD
/2 (Typ. 2.5V)
these data refer to a typical application, and will be used as an example during the analysis
of the stability of the current control loop.
The block diagram shows the schematics of the L6258 internal current control loop working
in PWM mode; the current into the load is a function of the input control voltage V
DAC
, and
the relation between the two variables is given by the following formula:
I
LOAD
· R
S
· G
S
= V
DAC
· G
in
where:
V
DAC
is the control voltage defining the load current value
G
in
is the gain of the input transconductance amplifier ( 1/Ra )
G
s
is the gain of the sense transconductance amplifier ( 1/Rb )
R
s
is the resistor connected in series to the output to sense the load current
In this configuration the input voltage is compared with the feedback voltage coming from
the sense resistor, then the difference between this two signals is amplified by the error
amplifier in order to have an error signal controlling the duty cycle of the output stage
keeping the load current under control.
It is clear that to have a good performance of the current control loop, the error amplifier
must have an high DC gain and a large bandwidth.
I
LOAD
R
S
1
R
b
-------
⋅⋅ V
DAC
1
R
a
-------
=
I
LOAD
V
DAC
R
b
R
a
R
s
----------------------
0,5
V
DAC
R
S
-------------- -
A()==
L6258EA PWM current control loop
17/32
Gain and bandwidth must be chosen depending on many parameters of the application, like
the characteristics of the load, power supply etc..., and most important is the stability of the
system that must always be guaranteed.
To have a very flexible system and to have the possibility to adapt the system to any
application, the error amplifier must be compensated using an RC network connected
between the output and the negative input of the same.
For the evaluation of the stability of the system, we have to consider the open loop gain of
the current control loop:
Aloop = ACerr · ACpw · ACload · ACsense
where AC... is the gain of the blocks that refers to the error, power and sense amplifier plus
the attenuation of the load block.
The same formula in dB can be written in this way:
Aloop
dB
= ACerr
dB
+ ACpw
dB
+ ACload
dB
+ ACsense
dB
So now we can start to analyse the dynamic characteristics of each single block, with
particular attention to the error amplifier.
3.2 Power amplifier
The power amplifier is not a linear amplifier, but is a circuit driving in PWM mode the output
stage in full bridge configuration.
The output duty cycle variation is given by the comparison between the voltage of the error
amplifier and two triangular wave references Tri_0 and Tri_180. Because all the current
control loop is referred to the Vr reference, the result is that when the output voltage of the
error amplifier is equal to the Vr voltage the two output Out_A and Out_B have the same
phase and duty cycle at 50%; increasing the output voltage of the error amplifier above the
Vr voltage, the duty cycle of the Out_A increases and the duty cycle of the Out_B decreases
of the same percentage; on the contrary decreasing the voltage of the error amplifier below
the Vr voltage, the duty cycle of the Out_A decreases and the duty cycle of the Out_B
increases of the same percentage.
The gain of this block is defined by the amplitude of the two triangular wave references;
more precisely the gain of the power amplifier block is a reversed proportion of the
amplitude of the two references.
In fact a variation of the error amplifier output voltage produces a larger variation in duty
cycle of the two outputs Out_A and Out_B in case of low amplitude of the two triangular
wave references.
The duty cycle has the max value of 100% when the input voltage is equal to the amplitude
of the two triangular references.
The transfer function of this block consist in the relation between the output duty cycle and
the amplitude of the triangular references.
Vout = 2 · V
S
· (0.5 - DutyCycle)
ACpw
dB
20
V
out
Δ
V
in
Δ
----------------
log
2V
S
Triangular Amplitude
-------------------------------------------------------==
PWM current control loop L6258EA
18/32
Moreover, having the two references Tri_0 and Tri_180 a triangular shape it is clear that the
transfer function of this block is a linear constant gain without poles and zeros.
3.3 Load attenuation
The load block is composed by the equivalent circuit of the motor winding (resistance and
inductance) plus the sense resistor.
We will considered the effect of the Bemf voltage of the motor in the next chapter.
The input of this block is the PWM voltage of the power amplifier and as output we have the
voltage across the sense resistor produced by the current flowing into the motor winding.
The relation between the two variable is:
so the gain of this block is:
where:
R
L
= equivalent resistance of the motor winding
R
S
= sense resistor
Because of the inductance of the motor L
L
, the load has a pole at the frequency:
ACpw
dB
20
224
1,6
---------------- -
log 29,5dB==
V
sense
V
out
R
L
R
S
+
----------------------
R
S
=
ACload
V
sense
v
out
---------------------
R
S
R
L
R
S
+
----------------------==
ACload
dB
20
R
S
R
L
R
S
+
----------------------
log=
Aload
dB
20
0,33
12 0,33+
------------------------
log 31,4dB==
Fpole
1
2π
L
L
R
L
R
S
+
---------------------
-----------------------------------=
Fpole
1
6,28
12 10
3
12 0,33+
---------------------------
---------------------------------------------- 163Hz==

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