Technical field
[0001] The description relates to techniques for measuring a current in an inductive load.
[0002] One or more embodiments may be applied to half-bridge driver circuits configured
for driving inductive actuators such as solenoids in a vehicle (e.g., in a transmission
system or braking system thereof).
Technological background
[0003] Half-bridge driver circuits are known in the art, which may be used for driving inductive
loads.
[0004] As conventional in the art, a half-bridge circuit comprises a high-side switch and
a low-side switch connected between a supply voltage node and a reference voltage
node (e.g., a ground node), the two switches having an intermediate node therebetween.
The switches in the half-bridge circuit may comprise solid state switches such as
MOS field-effect transistors.
[0005] According to known arrangements, the half-bridge driver circuit may be provided within
an integrated circuit (IC). The load, usually external to the half-bridge circuit,
may be connected between the supply voltage node and the intermediate node of the
half-bridge circuit in a so-called "low-side driver" configuration, or between the
intermediate node of the half-bridge circuit and the reference voltage node in a so-called
"high-side driver" configuration.
[0006] According to known driving schemes, the high-side switch and the low-side switch
may be driven by respective complementary control signals switching between a high
value ("1", e.g., to close the switch) and a low value ("0", e.g., to open the switch).
[0007] Certain arrangements are known, wherein the values of the current flowing in the
load before and after commutation of the switches are compared one to the other to
determine whether a failure may have occurred in the device. The current may be sensed
either at a peak of the load current or at a valley of the load current. Sensing may
be performed at the high-side switch and at the low-side switch of the half-bridge
arrangement. For instance, a failure signal may be issued if the difference between
the high-side current and the low-side current (or vice-versa) exceeds a threshold
value.
Object and summary
[0009] An object of one or more embodiments is that of measuring a current in an inductive
load with improved accuracy with respect to the known solutions.
[0010] In particular, one or more embodiments may facilitate compensating a variation of
the load current which may take place between a first current measurement, effected
before commutation of the driver circuit, and a second current measurement, effected
after commutation of the driver circuit.
[0011] According to one or more embodiments, such an object can be achieved by means of
a circuit having the features set forth in the claims that follow.
[0012] One or more embodiments may relate to a corresponding device (e.g., a transmission
control unit or a braking control unit for a vehicle).
[0013] One or more embodiments may relate to a corresponding vehicle.
[0014] One or more embodiments may relate to a corresponding method of operating the circuit.
[0015] The claims are an integral part of the technical teaching provided herein in respect
of the embodiments.
[0016] According to one or more embodiments, a circuit may comprise a high-side switch and
a low-side switch having a node intermediate the high-side switch and the low-side
switch. The high-side switch may be configured to provide a current flow line between
a supply voltage node and said intermediate node, and the low-side switch may be configured
to provide a current flow line between said intermediate node and a reference voltage
node. The circuit may comprise a control input node configured to receive a switching
control signal, said switching control signal being applied with opposite polarities
to said high-side switch and said low-side switch. Said high-side switch and said
low-side switch may be configured to drive an inductive load coupled either between
said supply voltage node and said intermediate node or between said intermediate node
and said reference voltage node. During a first portion of a switching cycle of said
switching control signal a load current flows in one of said high-side switch and
said low-side switch, and during a second portion of the switching cycle of said switching
control signal the load current flows in the other of said high-side switch and said
low-side switch.
[0017] According to one or more embodiments, the circuit may further comprise current sensing
circuitry configured to:
sample a first value of the load current flowing in said one of the high-side switch
and the low-side switch at a first sampling instant during said first portion of a
switching cycle before a commutation of said switching control signal,
sample a second value of the load current flowing in said other of the high-side switch
and the low-side switch at a second sampling instant during said second portion of
a switching cycle after said commutation of said switching control signal,
sample a third value of the load current flowing in said other of the high-side switch
and the low-side switch at a third sampling instant during said second portion of
a switching cycle after said second sampling instant, and
generate a failure signal as a function of said first, second and third sampled values
of the load current.
Brief description of the figures
[0018] One or more embodiments will now be described, by way of example only, with reference
to the annexed figures, wherein:
Figures 1A to 1D are circuit block diagrams exemplary of circuits configured to drive
an inductive load and measure the load current, according to various possible configurations,
Figures 2A to 2D illustrate exemplary waveforms of signals in the circuits of Figures
1A to 1D, respectively,
Figure 3 illustrates an enlarged view of exemplary waveforms selected from Figure
2B,
Figures 4A to 4D are circuit block diagrams exemplary of embodiments of a circuit
configured to drive an inductive load and measure the load current, according to various
possible configurations,
Figures 5A to 5D illustrate exemplary waveforms of signals in the circuits of Figures
4A to 4D, respectively, and
Figures 6 and 7 are exemplary of possible applications of one or more embodiments.
Detailed description
[0019] In the ensuing description, one or more specific details are illustrated, aimed at
providing an in-depth understanding of examples of embodiments of this description.
The embodiments may be obtained without one or more of the specific details, or with
other methods, components, materials, etc. In other cases, known structures, materials,
or operations are not illustrated or described in detail so that certain aspects of
embodiments will not be obscured.
[0020] Reference to "an embodiment" or "one embodiment" in the framework of the present
description is intended to indicate that a particular configuration, structure, or
characteristic described in relation to the embodiment is comprised in at least one
embodiment. Hence, phrases such as "in an embodiment" or "in one embodiment" that
may be present in one or more points of the present description do not necessarily
refer to one and the same embodiment. Moreover, particular conformations, structures,
or characteristics may be combined in any adequate way in one or more embodiments.
[0021] Throughout the figures annexed herein, like parts or elements are indicated with
like references/numerals and a corresponding description will not be repeated for
brevity.
[0022] The headings/references used herein are provided merely for convenience and hence
do not define the extent of protection or the scope of the embodiments.
[0023] By way of introduction to the detailed description of exemplary embodiments, reference
may be first made to Figures 1A to 1D and 2A to 2D.
[0024] Figure 1A is a circuit block diagram exemplary of a circuit 100 configured for driving
a load L, in particular an inductive load L. The circuit 100 comprises a load driver
circuit LD and a current sensing circuit CS.
[0025] As exemplified in Figure 1A, the load driver circuit LD may comprise a conventional
half-bridge circuit. Therefore, the load driver circuit LD may comprise a high-side
switch HS and a low-side switch LS connected between a supply voltage node D and a
reference voltage node G (e.g., a ground node). The supply voltage node D may be configured
to receive a (e.g., positive) supply voltage
VPOS, and the reference voltage node G may be configured to receive a (e.g., negative or
zero) reference voltage
VNEG. The high-side switch and the low-side switch have an intermediate node Q.
[0026] Purely by way of non-limiting example, the supply voltage
VPOS may be in the range of 6 V to 20 V, with a typical (e.g., nominal) value of about
14 V and a maximum rating of about 40 V.
[0027] Purely by way of non-limiting example, the reference voltage
VNEG may be in the range of -0.3 V to 0.3 V, with a typical (e.g., nominal) value of about
0 V and a maximum negative rating of about -2 V.
[0028] As exemplified in the Figures annexed herein, the switches HS, LS may comprise solid
state switches such as, for instance, MOS field-effect transistors.
[0029] In particular, Figure 1A is exemplary of a low-side driver configuration, wherein
the load L is connected between the supply voltage node D and the intermediate node
Q.
[0030] The load driver circuit LD may comprise an input node C configured to receive a digital
control signal
com which switches between a low value (e.g., 0) and a high value (e.g., 1) to drive
commutation of the switches HS, LS. For instance, a first inverting stage 10a may
propagate an inverted replica of the signal
com to the high-side switch HS, and a second non-inverting stage 10b may propagate a
replica of the signal
com to the low-side switch LS. The stages 10a, 10b may also bring their output signals
to voltage levels adapted for driving the switches HS, LS.
[0031] Figure 2A is exemplary of possible time behavior of signals during operation of the
circuit of Figure 1A. In particular, Figure 2A illustrates the time behavior of the
following signals:
VQ is the voltage at the intermediate node Q,
IL is the current flowing in the load L,
IHS is the current flowing in the high-side switch HS,
ILS is the current flowing in the low-side switch LS, and
com is the digital control signal received at the load driver circuit LD.
[0032] As exemplified in Figure 2A, the switching activity of the control signal
com results in a corresponding switching activity at the intermediate node Q between
VPOS and
VNEG (e.g., between 14 V and 0 V), with the current
IL flowing in the load L oscillating between a peak value and a valley value. In a portion
of a switching cycle the current
IL flows in the low-side switch, and in another portion of the switching cycle the current
IL flows in the high-side switch.
[0033] Purely by way of example, the current
IL flowing in the load L may oscillate between 0 A and 2.5 A. For instance, the peak
value may be about 1.5 A, and the valley value may be about 1.0 A.
[0034] In particular, Figure 1A is exemplary of a circuit 100 according to a low-side driver
configuration adapted for measuring the currents
IHS and
ILS at a valley of the load current
IL. The current sensing circuit CS may comprise a first current sense amplifier circuit
12a configured to sense the current
IHS flowing in the high-side switch HS, and a second current sense amplifier circuit
12b configured to sense the current
ILS flowing in the low-side switch LS. The first and second current sense amplifier circuits
12a, 12b may provide respective (digital) output signals indicative of (e.g., proportional
to) the respective sensed currents
IHS, ILS.
[0035] One or more embodiments may comprise an adder circuit 16 configured to sum the output
signals from the first and second current sense amplifier circuits 12a, 12b to reconstruct
a (digital) signal
sum indicative of the overall current
IL flowing in the load L.
[0036] The (digital) output signals from the current sense amplifier circuits 12a, 12b may
be sampled by means of respective digital sample-and-hold circuits 14a, 14b. For instance,
the sample-and-hold circuits 14a, 14b may comprise sequential circuits such as flip-flops,
which may be active on the rising edges of the respective clock signals provided thereto.
[0037] The first sample-and-hold circuit 14a may be driven by a clock signal s substantially
corresponding to the digital control signal
com, and the second sample-and-hold circuit 14b may be driven by a clock signal
sdel substantially corresponding to a delayed replica of the digital control signal
com (as exemplified in Figure 2A). A delay circuit 15 may be provided between the input
node C of the circuit 100 and the clock input of the second sample-and-hold circuit
14b to introduce a propagation delay and generate the clock signal
sdel starting from the clock signal s.
[0038] Generally, the delay introduced by the delay circuit 15 may be adapted so that the
low-side current
ILS is sampled at the sample-and-hold circuit 14b after the high-side switch HS has (completely)
turned off and the low-side switch LS has (completely) turned on. The amount of delay
may depend on blanking time of the current sense during the commutation of node Q.
Purely by way of non-limiting example, the delay introduced by the delay circuit 15
may be about 10 µs (1 µs = 10
-6 s).
[0039] Therefore, a (digital) output signal
Ia may be provided at the output of the first sample-and-hold circuit 14a, the signal
Ia being indicative of the current flowing in the high-side switch right before a "valley"
commutation of the load driver circuit LD. Similarly, a (digital) output signal
Ib may be provided at the output of the second sample-and-hold circuit 14b, the signal
Ib being indicative of the current flowing in the low-side switch right after a "valley"
commutation of the load driver circuit LD (as exemplified in Figure 2A).
[0040] A subtractor circuit 16a may be configured to subtract the signal
Ib from the signal
Ia to generate a (digital) error signal
err indicative of the difference between the outputs of the sample-and-hold circuits
14a, 14b.
[0041] A window comparator circuit 18 may be configured to receive the error signal
err and generate a (digital) output signal
fail indicative of whether the error signal
err falls within a determined window of values or not. For instance, the output signal
fail may be asserted (e.g., set to 1) as a result of the error signal
err being lower than a first (negative) threshold value
VN or higher than a second (positive) threshold value
VP, and it may be de-asserted (e.g., set to 0) as a result of the error signal
err being within the first threshold value
VN and the second threshold value
VP. Possibly, the window may be symmetric, i.e.,
VN =
-VP.
[0042] Therefore, the signal
fail may be asserted as a result of the "valley" load currents flowing in the high-side
switch HS and in the low-side switch LS differing by more than a threshold value,
possibly indicating a failure of the device.
[0043] Figure 1B is exemplary of another circuit 100 according to a low-side driver configuration,
where the current sensing circuit CS is adapted for measuring the currents
IHS and
ILS at a peak of the load current
IL. Figure 2B shows corresponding exemplary waveforms.
[0044] By way of contrast with the circuit exemplified in Figure 1A, in the circuit exemplified
in Figure 1B the first current sense amplifier circuit 12a is configured to sense
the current
ILS flowing in the low-side switch LS, and the second current sense amplifier circuit
12b is configured to sense the current
IHS flowing in the high-side switch HS.
[0045] Additionally, in the present example the first sample-and-hold circuit 14a is driven
by a clock signal s substantially corresponding to an inverted replica of the digital
control signal
com, and the second sample-and-hold circuit 14b is driven by a clock signal
sdel substantially corresponding to a delayed inverted replica of the digital control
signal
com (as exemplified in Figure 2B). The inverted replica of the digital control signal
com may be generated, for instance, by an inverter circuit 19 as exemplified in Figure
1B.
[0046] Therefore, as exemplified in Figure 2B, the (digital) output signal
Ia at the output of the first sample-and-hold circuit 14a may be indicative of the current
ILS flowing in the low-side switch LS right before a "peak" commutation of the load driver
circuit LD. The (digital) output signal
Ib at the output of the second sample-and-hold circuit 14b may be indicative of the
current
IHS flowing in the high-side switch HS right after a "peak" commutation of the load driver
circuit LD.
[0047] Therefore, the signal
fail may be asserted as a result of the "peak" load currents flowing in the low-side switch
and in the high-side switch differing by more than a threshold value, possibly indicating
a failure of the device.
[0048] Figure 1C is exemplary of a circuit 100 according to a high-side driver configuration,
wherein the load L is connected between the intermediate node Q and the reference
voltage node G. In particular, Figure 1C is exemplary of a circuit 100 adapted for
measuring the currents
IHS and
ILS at a valley of the load current
IL. Figure 2C shows corresponding exemplary waveforms.
[0049] In the presently considered example, the first current sense amplifier circuit 12a
is configured to sense the current
ILS flowing in the low-side switch LS, and the second current sense amplifier circuit
12b is configured to sense the current
IHS flowing in the high-side switch HS.
[0050] In this example, the first sample-and-hold circuit 14a is driven by a clock signal
s substantially corresponding to the digital control signal
com, and the second sample-and-hold circuit 14b is driven by a clock signal
sdel substantially corresponding to a delayed replica of the digital control signal
com (as exemplified in Figure 2C).
[0051] Therefore, as exemplified in Figure 2C, the (digital) output signal
Ia at the output of the first sample-and-hold circuit 14a may be indicative of the current
ILS flowing in the low-side switch LS right before a "valley" commutation of the load
driver circuit LD. The (digital) output signal
Ib at the output of the second sample-and-hold circuit 14b may be indicative of the
current
IHS flowing in the high-side switch HS right after a "valley" commutation of the load
driver circuit LD.
[0052] Therefore, the signal
fail may be asserted as a result of the "valley" load currents flowing in the low-side
switch and in the high-side switch differing by more than a threshold value, possibly
indicating a failure of the device.
[0053] Figure 1D is exemplary of another circuit 100 according to a high-side driver configuration,
wherein the current sensing circuit CS is adapted for measuring the currents
IHS and
ILS at a peak of the load current
IL. Figure 2D shows corresponding exemplary waveforms.
[0054] By way of contrast with the circuit exemplified in Figure 1C, in the circuit exemplified
in Figure 1D the first current sense amplifier circuit 12a is configured to sense
the current
IHS flowing in the high-side switch HS, and the second current sense amplifier circuit
12b is configured to sense the current
ILS flowing in the low-side switch LS.
[0055] Additionally, in the present example the first sample-and-hold circuit 14a is driven
by a clock signal
s substantially corresponding to an inverted replica of the digital control signal
com, and the second sample-and-hold circuit 14b is driven by a clock signal
sdel substantially corresponding to a delayed inverted replica of the digital control
signal
com (as exemplified in Figure 2D).
[0056] Therefore, as exemplified in Figure 2D, the (digital) output signal
Ia at the output of the first sample-and-hold circuit 14a may be indicative of the current
IHS flowing in the high-side switch HS right before a "peak" commutation of the load
driver circuit LD. The (digital) output signal
Ib at the output of the second sample-and-hold circuit 14b may be indicative of the
current
ILS flowing in the low-side switch LS right after a "peak" commutation of the load driver
circuit LD.
[0057] Therefore, the signal
fail may be asserted as a result of the "peak" load currents flowing in the high-side
switch and in the low-side switch differing by more than a threshold value, possibly
indicating a failure of the device.
[0058] It is noted that solutions as exemplified in Figures 1A to 1D and corresponding Figures
2A to 2D may be affected by systematic errors, e.g., due to the high-side current
measurement and the low-side current measurement being performed at different sampling
instants. This may result in the measured high-side current and the measured low-side
current being different even in non-faulty systems.
[0059] By way of example, Figure 3 illustrates with greater detail exemplary waveforms of
the load current
IL and of the switching voltage
VQ in the exemplary case of a low-side driver configuration with peak current measurement,
as exemplified in Figures 1B and 2B.
[0060] As discussed previously, the two sample-and-hold circuits 14a and 14b may sample
the load current at different sampling instants. For instance, the first sample-and-hold
circuit 14a may sample the load current (low-side current, in the presently considered
example) at an instant
t1 (end of interval
T1 in Figure 3) right before the switching instant
ts. The second sample-and-hold circuit 14b may sample the load current (high-side current,
in the presently considered example) at an instant
t2 (start of interval
T3 in Figure 3) right after the switching instant
ts. Between instants instant
t1 and
t2 exists a sort of "blind zone" (interval
T2 in Figure 3) during which one switch in the half-bridge circuit is being activated
and the other switch is being de-activated, so that the corresponding currents may
not be reliably measured. However, this time interval may be sufficiently long to
allow for the load current
IL to change its value, even in non-faulty devices. As a result, the error signal
err =
Ia - Ib may not be equal to zero even in non-faulty devices, as exemplified in Figure 3.
[0061] Therefore, one or more embodiments may aim at compensating such an error. In particular,
one or more embodiments may rely on the recognition that the load current
IL has an approximately linear rate of change at least in a first portion of the time
interval
T3 which follows the current sampling effected by the second sample-and-hold circuit
14b.
[0062] Thus, one or more embodiments may additionally be configured to:
sample a third value of the load current IL after commutation of the half-bridge circuit (e.g., during the time interval T3),
compute a compensation value as a difference between the second sampled value and
the third sampled value, and
subtract said compensation value from the error signal computed as a difference between
the first sampled value and the second sampled value to generate a compensated error
signal, wherein the compensated error signal may indicate more accurately possible
failures of the device.
[0063] Figure 4A is a circuit block diagram exemplary of one or more embodiments of a circuit
100' configured for driving a load L, in particular an inductive load L, in a low-side
driver configuration with valley load current measurement. Figure 5A illustrates corresponding
exemplary waveforms of the load current
IL and of the switching voltage
VQ.
[0064] By way of comparison with the circuit of Figure 1A, a current sensing circuit CS'
as exemplified in Figure 4A may comprise a comparator circuit 40 configured to compare
the voltage signal
VQ sensed at the intermediate node Q to a threshold value
VTH. The threshold value
VTH may be selected to be between the values
VPOS and
VNEG, e.g., approximately in the middle of the supply voltage range, so that the comparator
circuit 40 may assert and de-assert an output signal at the instants
ts corresponding to the switching points of the half-bridge circuit.
[0065] The current sensing circuit CS' may comprise an up-and-down counter circuit 42 having:
a "start" input configured to receive the output signal from the comparator circuit
40, a "down" input configured to receive the signal
sdel, and an "end" output configured to assert an output signal. An edge in the signal
received at the "start" input may trigger up-counting from a reference count number
(e.g., zero). A rising edge in the signal received at the "down" input may trigger
reversing the count direction (e.g., starting down-counting) towards the reference
count number. Reaching the reference count number may trigger the output signal of
the up-and-down counter circuit 42.
[0066] Therefore, the up-and-down counter circuit 42 may be configured to start up-counting
from a reference value (e.g., zero) as a result of the voltage
VQ crossing the threshold
VTH, i.e., at the voltage switching instants
ts. The count direction may be reversed (i.e., the internal count number may start to
decrease) as a result of a rising edge being sensed in the signal
sdel at the "down" input, i.e., at the sampling instant
t2. A time interval
Tb may thus elapse between instants
ts and
t2. The output signal of the up-and-down counter circuit 42 may be asserted at an instant
t3 as a result of the internal count number going back to the initial reference value
(e.g., zero), i.e., after a time interval
Tc =
Tb from instant
t2.
[0067] The current sensing circuit CS' as exemplified in Figure 4A may comprise a third
sample-and-hold circuit 14c configured to sample the (digital) output signal from
the current sense amplifier circuit 12b and driven by the output signal from the up-and-down
counter circuit 42 (e.g., by the rising edges thereof). Therefore, a (digital) output
signal
Ic may be provided at the output of the third sample-and-hold circuit 14c, the signal
Ic being indicative of the current flowing in the low-side switch at the sampling instant
t3.
[0068] The current sensing circuit CS' as exemplified in Figure 4A may comprise a second
subtractor circuit 16b configured to subtract the signal
Ic from the signal
Ib to generate a (digital) compensation signal
edc indicative of the difference between the outputs of the sample-and-hold circuits
14b and 14c. A third subtractor circuit 16c may be configured to subtract the compensation
signal
edc from the error signal
err to generate a (digital) compensated error signal
cdc.
[0069] Therefore, a window comparator circuit 18 may be configured to receive the compensated
error signal
cdc to generate the output signal
fail indicative of whether the compensated error signal
cdc falls within a determined window of values or not, in a manner similar to that discussed
with reference to Figures 1A to 1D.
[0070] Figure 4B is a circuit block diagram exemplary of a one or more embodiments of a
circuit 100' configured for driving a load L, in particular an inductive load L, in
a low-side driver configuration with peak load current measurement. Figure 5B illustrates
corresponding exemplary waveforms of the load current
IL and of the switching voltage
VQ.
[0071] Figure 4C is a circuit block diagram exemplary of a one or more embodiments of a
circuit 100' configured for driving a load L, in particular an inductive load L, in
a high-side driver configuration with valley load current measurement. Figure 5C illustrates
corresponding exemplary waveforms of the load current
IL and of the switching voltage
VQ.
[0072] Figure 4D is a circuit block diagram exemplary of a one or more embodiments of a
circuit 100' configured for driving a load L, in particular an inductive load L, in
a high-side driver configuration with peak load current measurement. Figure 5D illustrates
corresponding exemplary waveforms of the load current
IL and of the switching voltage
VQ.
[0073] Therefore, one or more embodiments as exemplified in Figures 4A to 4D may generate
a compensated error signal
cdc which accounts for possible variations of the load current taking place during the
switching "blind zone"
T2. Various embodiments are applicable to a low-side or a high-side driver configuration,
and to peak current measurement or valley current measurement.
[0074] It is noted that, while not being visible in Figures 4A to 4D for the sake of simplicity
only, a current sensing circuit CS' in one or more embodiments as exemplified in any
of Figures 4A to 4D may comprise an adder circuit 16 configured to sum the output
signals from the first and second current sense amplifier circuits 12a, 12b to reconstruct
a (digital) signal
sum indicative of the overall current
IL flowing in the load L.
[0075] Therefore, various embodiments as exemplified in the Figures annexed herein may share
the common principle of:
sampling, at one of the high-side switch and the low-side switch, a first value Ia of the current flowing in the load L at an instant t1 before commutation of the driver circuit,
sampling, at the other of the high-side switch and the low-side switch, a second value
Ib of the current flowing in the load L at an instant t2 after commutation of the driver circuit,
measuring a time interval Tb elapsing between a switching instant ts of the driver circuit and the sampling instant t2,
sampling, at the other of the high-side switch and the low-side switch, a third value
Ic of the current flowing in the load L at an instant t3, wherein the time interval Tc elapsing between said sampling instant t2 and said sampling instant t3 is approximately equal to the time interval Tb,
computing an error value err as a difference between said first value Ia and said second value Ib,
computing a compensation value edc as a difference between said second value Ib and said third value Ic,
computing a compensated error value cdc as a difference between said error value err and said compensation value edc, and
detecting a possible failure of the driver circuit as a function of said compensated
error value cdc.
[0076] It is noted that the first sampling may be effected at one of the high-side switch
HS or the low-side switch LS depending on whether the sensing is performed at a valley
or at a peak of the load current, and on whether the load is driven in a high-side
driver configuration or in a low-side driver configuration. Correspondingly, the second
and third sampling may be effected at the other of the high-side switch HS or the
low-side switch LS.
[0077] It is noted that one or more embodiments (not visible in the Figures annexed herein)
may rely on a simpler circuit architecture. For instance, the third sampling
Ic of the load current may be effected after a fixed time duration following the instant
t2 or the instant
ts.
[0078] In one or more embodiments, a load driver circuit LD and a current sensing circuit
CS' as exemplified herein may be implemented in an application-specific integrated
circuit (ASIC) 100' such as a solenoid driver integrated circuit which may be comprised,
by way of example, in a transmission control unit or in a braking control unit of
a vehicle.
[0079] To this regard, Figure 6 is exemplary of one or more embodiments of a device 60 such
as a transmission control unit or a braking control unit comprising a driver circuit
100' and a processing unit 600 (e.g., a microcontroller unit of a vehicle). The processing
unit 600 may be configured to provide the control signal
com to the driver circuit 100', and to receive a failure signal
fail from the driver circuit 100'.
[0080] Figure 6 is exemplary of one or more embodiments of a vehicle V comprising a device
60 configured to control operation of an inductive actuator L, such as a solenoid.
[0081] One or more embodiments may thus provide improved accuracy in determining failures
of a driver circuit for an inductive load, which may be particularly advantageous
to fulfill safety requirements in the automotive field.
[0082] As exemplified herein, a circuit (e.g., 100') may comprise a high-side switch (e.g.,
HS) and a low-side switch (e.g., LS) having a node (e.g., Q) intermediate the high-side
switch and the low-side switch, wherein the high-side switch is configured to provide
a current flow line between a supply voltage node (e.g., D) and said intermediate
node and the low-side switch is configured to provide a current flow line between
said intermediate node and a reference voltage node (e.g., G). The circuit may comprise
a control input node (e.g., C) configured to receive a switching control signal (e.g.,
com), said switching control signal being applied (e.g., 10a, 10b) with opposite polarities
to said high-side switch and said low-side switch. The high-side switch and the low-side
switch may be configured to drive an inductive load (e.g., L) coupled either between
said supply voltage node and said intermediate node or between said intermediate node
and said reference voltage node. During a first portion of a switching cycle of said
switching control signal a load current (e.g.,
IL) may flow in one of said high-side switch and said low-side switch, and during a
second portion of the switching cycle of said switching control signal the load current
may flow in the other of said high-side switch and said low-side switch.
[0083] As exemplified herein, a circuit may further comprise current sensing circuitry (e.g.,
CS') configured to:
sample (e.g., 12a, 14a) a first value (e.g., Ia) of the load current flowing in said one of the high-side switch and the low-side
switch at a first sampling instant (e.g., t1) during said first portion of a switching cycle before a commutation (e.g., ts) of said switching control signal,
sample (e.g., 12b, 14b) a second value (e.g., Ib) of the load current flowing in said other of the high-side switch and the low-side
switch at a second sampling instant (e.g., t2) during said second portion of a switching cycle after said commutation of said switching
control signal,
sample (e.g., 12b, 14c) a third value (e.g., Ic) of the load current flowing in said other of the high-side switch and the low-side
switch at a third sampling instant (e.g., t3) during said second portion of a switching cycle after said second sampling instant,
and
generate (e.g., 18) a failure signal (e.g., fail) as a function of said first, second and third sampled values of the load current.
[0084] As exemplified herein, said current sensing circuitry may be configured to:
subtract (e.g., 16a) said second sampled value of the load current from said first
sampled value of the load current to generate an uncompensated error signal (e.g.,
err),
subtract (e.g., 16b) said third sampled value of the load current from said second
sampled value of the load current to generate a compensation signal (e.g., edc),
subtract (e.g., 16c) said compensation signal from said uncompensated error signal
to generate a compensated error signal (e.g., cdc), and
generate said failure signal as a function of said compensated error signal.
[0085] As exemplified herein, generating said failure signal may comprise comparing said
compensated error signal to at least one threshold value.
[0086] As exemplified herein, said current sensing circuitry may be configured to sample
the third value of the load current after a time interval (e.g.,
Tc) from said second sampling instant. Said time interval may be, for instance, a determined
time interval of fixed duration.
[0087] As exemplified herein, a circuit may comprise a comparator circuit (e.g., 40) configured
to sense a voltage signal (e.g.,
VQ) at said intermediate node, and compare said voltage signal sensed to a threshold
value (e.g.,
VTH) to generate an output signal having edges indicative of switching instants of said
intermediate node. The current sensing circuitry may be configured (e.g., 42) to sample
the third value of the load current after a compensation time interval from said second
sampling instant, and said compensation time interval may be a function of a time
interval (e.g.,
Tb) elapsing between an edge of said output signal of said comparator circuit and said
second sampling instant.
[0088] As exemplified herein, the compensation time interval may be equal to said time interval
elapsing between an edge of said output signal of said comparator circuit and said
second sampling instant.
[0089] As exemplified herein, the current sensing circuitry may comprise an up-and-down
counter circuit (e.g., 42) configured to start counting an internal count number from
a reference value at an edge of said output signal of said comparator circuit, reverse
the direction of counting at said second sampling instant, and assert a respective
output signal as a result of the internal count number returning to said reference
value. The output signal of the up-and-down counter circuit may trigger said third
sampling instant.
[0090] As exemplified herein, a device (e.g., 60) may comprise a circuit according to one
or more embodiments and a processing unit (e.g., 600). The processing unit may be
configured to provide said switching control signal to the circuit and to receive
said failure signal from the circuit.
[0091] As exemplified herein, a vehicle (e.g., V) may comprise a device according to one
or more embodiments, and an inductive actuator (e.g., a solenoid) coupled to the device
and controlled by the circuit.
[0092] As exemplified herein, a method of operating a circuit according to one or more embodiments
may comprise:
receiving a switching control signal and applying said switching control signal with
opposite polarities to said high-side switch and said low-side switch,
coupling an inductive load either between said supply voltage node and said intermediate
node or between said intermediate node and said reference voltage node,
sampling a first value of the load current flowing in said one of the high-side switch
and the low-side switch at a first sampling instant before a commutation of said switching
control signal,
sampling a second value of the load current flowing in said other of the high-side
switch and the low-side switch at a second sampling instant after said commutation
of said switching control signal,
sampling a third value of the load current flowing in said other of the high-side
switch and the low-side switch at a third sampling instant after said second sampling
instant, and
generating a failure signal as a function of said first, second and third sampled
values of the load current.
[0093] Without prejudice to the underlying principles, the details and embodiments may vary,
even significantly, with respect to what has been described by way of example only,
without departing from the extent of protection.
[0094] The extent of protection is determined by the annexed claims.