Control unit for a bridge circuit, and related method and integrated circuit
09780770 · 2017-10-03
Assignee
Inventors
Cpc classification
International classification
H03K17/00
ELECTRICITY
Abstract
A control unit is for a bridge circuit. The control unit may include a signal generator configured to generate first and second periodic drive signals for the bridge circuit, and determine a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution. The control unit may include a controller configured to receive a second digital data value having a second resolution. The second resolution may be greater than the first resolution. The controller may be configured to generate the first digital data value so that, over periods of the first and second periodic drive signals, the first digital data value corresponds to an average of the second digital data value.
Claims
1. A control unit for a bridge circuit, the control unit comprising: a signal generator configured to generate first and second periodic drive signals for the bridge circuit, and determine a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution; and a controller configured to receive a second digital data value having a second resolution, the second resolution being greater than the first resolution, and generate the first digital data value so that, over a plurality of periods of the first and second periodic drive signals, the first digital data value corresponding to an average of the second digital data value; wherein the signal generator comprises a first counter configured to generate a first count value having a fourth number of bits, and a first comparator configured to generate the first periodic drive signal by comparing the first count value with a first threshold value, the first threshold value being based upon the first digital data value; and wherein the signal generator comprises a second comparator configured to generate the second periodic drive signal by comparing the first count value with a second threshold value, the second threshold value being based upon the first digital data value.
2. The control unit according to claim 1, wherein the first digital data value has a first number of bits representing an integer number; wherein the second digital data value comprises a first group of bits having a second number of bits equal to the first number of bits and a second group of bits comprising a third number of bits equal to remaining bits in the second digital data value; and wherein the first group of bits represents an integer part of the second digital data value and the second group of bits represents a fractional part of the second digital data value.
3. The control unit according to claim 2, wherein the controller is configured to set the first digital data value to at least one of the first group of bits and the first group of bits incremented by one.
4. The control unit according to claim 1, wherein the first digital data value has at least the fourth number of bits and wherein the first threshold value is based upon the first digital data value.
5. A control unit for a bridge circuit, the control unit comprising: a signal generator configured to generate first and second periodic drive signals for the bridge circuit, and determine a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution; and a controller configured to receive a second digital data value having a second resolution, the second resolution being greater than the first resolution, and generate the first digital data value so that, over a plurality of periods of the first and second periodic drive signals, the first digital data value corresponding to an average of the second digital data value; wherein the signal generator comprises: a first counter configured to generate a first count value having a fourth number of bits, and a first comparator configured to generate the first periodic drive signal by comparing the first count value with a first threshold value, the first threshold value being based upon the first digital data value, a second counter configured to generate a second count value having the fourth number of bits, and a second comparator configured to generate the second periodic drive signal by comparing the second count value with a second threshold value, the second threshold value being based upon the first digital data value, wherein the first digital data value comprises additional bits; and wherein the signal generator is configured to modify the first and the second threshold values based upon the additional bits.
6. The control unit according to claim 5, wherein the first digital data value has a first number of bits representing an integer number; wherein the second digital data value comprises a first group of bits having a second number of bits equal to the first number of bits and a second group of bits comprising a third number of bits equal to remaining bits in the second digital data value; and wherein the first group of bits represents an integer part of the second digital data value and the second group of bits represents a fractional part of the second digital data value.
7. The control unit according to claim 6, wherein the controller is configured to set the first digital data value to at least one of the first group of bits and the first group of bits incremented by one.
8. The control unit according to claim 5, wherein the first digital data value has at least the fourth number of bits; and wherein the first threshold value is based upon the first digital data value.
9. A control unit for a bridge circuit, the control unit comprising: a signal generator configured to generate first and second periodic drive signals for the bridge circuit, and determine a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution; and a controller configured to receive a second digital data value having a second resolution, the second resolution being greater than the first resolution, and generate the first digital data value so that, over a plurality of periods of the first and second periodic drive signals, the first digital data value corresponding to an average of the second digital data value; wherein the signal generator comprises a first counter configured to generate a first count value having a fourth number of bits, and a first comparator configured to generate the first periodic drive signal by comparing the first count value with a first threshold value, the first threshold value being based upon the first digital data value; wherein the first digital data value comprises an additional bit; and wherein the signal generator is configured to modify the switch-on duration of the first and second periodic drive signals by a half-clock-cycle based upon the additional bit.
10. The control unit according to claim 9, wherein the first digital data value has a first number of bits representing an integer number; wherein the second digital data value comprises a first group of bits having a second number of bits equal to the first number of bits and a second group of bits comprising a third number of bits equal to remaining bits in the second digital data value; and wherein the first group of bits represents an integer part of the second digital data value and the second group of bits represents a fractional part of the second digital data value.
11. The control unit according to claim 10, wherein the controller is configured to set the first digital data value to at least one of the first group of bits and the first group of bits incremented by one.
12. The control unit according to claim 9, wherein the first digital data value has at least the fourth number of bits and wherein the first threshold value is based upon the first digital data value.
13. An electronic device comprising: a bridge circuit; and a control unit for the bridge circuit, the control unit comprising: a signal generator configured to generate first and second periodic drive signals for the bridge circuit, and determine a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution; and a controller configured to receive a second digital data value having a second resolution, the second resolution being greater than the first resolution, and generate the first digital data value so that, over a plurality of periods of the first and second periodic drive signals, the first digital data value corresponding to an average of the second digital data value; wherein the signal generator comprises: a first counter configured to generate a first count value having a fourth number of bits; a first comparator configured to generate the first periodic drive signal by comparing the first count value with a first threshold value, the first threshold value being based upon the first digital data value; and a second comparator configured to generate the second periodic drive signal by comparing the first count value with a second threshold value, the second threshold value being based upon the first digital data value.
14. The electronic device according to claim 13, wherein the first digital data value has a first number of bits representing an integer number; wherein the second digital data value comprises a first group of bits having a second number of bits equal to the first number of bits and a second group of bits comprising a third number of bits equal to remaining bits in the second digital data value; and wherein the first group of bits represents an integer part of the second digital data value and the second group of bits represents a fractional part of the second digital data value.
15. The electronic device according to claim 14, wherein the controller is configured to set the first digital data value to at least one of the first group of bits and the first group of bits incremented by one.
16. The electronic device according to claim 13, wherein the first digital data value has at least the fourth number of bits and wherein the first threshold value is based upon the first digital data value.
17. A method for driving a bridge circuit with a signal generator generating first and second periodic drive signals for the bridge circuit, and determining a switch-on duration of the first and second periodic drive signals based upon a first digital data value having a first resolution, the method comprising: receiving a second digital data value having a second resolution, the second resolution being greater than the first resolution; and generating the first digital data value so that, over a plurality of periods of the first and second periodic drive signals, the first digital data value corresponding to an average of the second digital data value; wherein generating first periodic drive signal comprises generating a first count value having a fourth number of bits with a first counter, and comparing the first count value with a first threshold value, the first threshold value being based upon the first digital data value; and wherein generating the second periodic drive signal comprises comparing the first count value with a second threshold value, the second threshold value being based upon the first digital data value.
18. The method according to claim 17, wherein the first digital data value has a first number of bits representing an integer number; wherein the second digital data value comprises a first group of bits having a second number of bits equal to the first number of bits and a second group of bits comprising a third number of bits equal to remaining bits in the second digital data value; and wherein the first group of bits represents an integer part of the second digital data value and the second group of bits represents a fractional part of the second digital data value.
19. The method according to claim 18, further comprising setting the first digital data value to at least one of the first group of bits and the first group of bits incremented by one.
20. The method according to claim 17, wherein the first digital data value has at least the fourth number of bits.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DETAILED DESCRIPTION
(16) In the following description, numerous specific details are given to provide a thorough understanding of embodiments. The embodiments can be practiced without one or several specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the embodiments.
(17) Reference throughout this specification to one embodiment or an embodiment means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases in one embodiment or in an embodiment in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. The headings provided herein are for convenience only and do not interpret the scope or meaning of the embodiments.
(18) According to one or more embodiments, one or more of the above problems are solved through a method having the features specifically set forth in the claims that follow. Embodiments moreover concern a related control unit as well as a corresponding related integrated circuit.
(19) In various embodiments, a control unit is used for this purpose, which comprises a signal generator. The signal generator may be configured to generate a first and a second periodic drive signal for the bridge circuit, wherein the signal generator is configured to determine the switch-on duration of the first and/or the second drive signal as a function of a first digital data value having a first resolution.
(20) In various embodiments, the control unit comprises moreover a control circuit configured to generate the first digital data value for the signal generator. Specifically, in various embodiments, this control circuit receives a second digital data value having a second resolution, which is greater than the first resolution, and varies the first digital data value, i.e. the input signal of the signal generator, such that, over a plurality of periods of the first and the second periodic drive signal, the value of the first digital data value corresponds in average to the value of the second digital data value.
(21) For example, the first digital data value may have a first number of bits representing an integer number and the second digital data value may comprise a first group of bits having the same first number of bits and a second group of bits comprising in the remaining bits. In this case, the first group of bits may represent the integer part of the second digital data value and the second group of bits may represent the fractional part of the second digital data value. In various embodiments, the value of the input signal of the signal generator is varied by either setting the first digital data value to the first group of bits or setting the first digital data value to the first group of bits incremented by one.
(22) Generally, the signal generator may have any suitable architecture. For example, in various embodiments, the signal generator may comprise one or two counters and two comparators configured to compare the count value(s) provided by the counter(s) with a first and a second threshold value. In this case, the first and/or the second threshold value may be determined as a function of the first digital data value, i.e. the data signal at the input of the signal generator. For example, in various embodiments, the count values have a given number of bits, and the first and/or the second threshold values are determined as a function of a corresponding number of bits of the first digital data value.
(23) As will be described in the following, the first digital data value may comprise also one or two further bits used to temporarily modify the first and/or the second threshold value. The first digital data value may comprise also one further bit used to modify the switch-on duration of the first or the second drive signal by a half-clock-cycle.
(24) In the following
(25)
(26) In the illustrated embodiment, the control signals OUTA and OUTB for the inputs IN1 and IN2 are generated by a signal generator 10 as a function of a digital signal VAL. For example, the signal generator 10 and possibly also the bridge circuit 20 may be implemented in an integrated circuit.
(27)
Avg=(MaxMin)/2.
(28) The comparators 104 and 108 are configured to determine the output signals OUTA and OUTB by comparing the count value CNT with a first and a second threshold value TH and TH, respectively, e.g. the comparator 104 may determine whether CNT>TH and the comparator 104 may determine whether CNT>TH.
(29) In the illustrated embodiment, the threshold values TH and TH, which preferably have also C bits, are determined by respective blocks 102 and 106 as a function of the value VAL. For example, in case the value VAL represents only positive numbers, e.g. between 0 and 255 for C=8, the threshold value TH may be directly the value VAL, e.g. the comparator 102 may compare the count value CNT directly with the value VAL, e.g. determines whether CNT>VAL.
(30) Conversely, in case the codification of the value VAL includes also negative numbers, e.g. in a range from 127 to 128 for C=8, the threshold may be set to:
TH=(MaxMin1)/2+VAL.
For example, for C=8 the threshold TH may be set to 127+VAL. Accordingly, the block 102 is purely option and the conversion between the value VAL and the threshold TH depends on the codification used for the value VAL.
(31) In the illustrated embodiment, the threshold value TH is calculated in order to be symmetric with respect to the average value (MaxMin)/2, and may be calculated e.g. as:
TH=(MaxMin1)TH.
Conversely, in the embodiment shown in
(32) As shown in
(33) Conversely, instead of determining a complementary threshold value TH, a second counter 110 is used which has a complementary behavior with respect to the counter 100. Specifically, the counter 110 periodically decrements a count value CNT with the same number of bits C from the maximum value Max to the minimum value Min and then increments the count value CNT from the minimum value Min to the maximum value Max. Accordingly, in this case also the behavior of the comparator 112 has to be changed, which e.g. may determine whether CNT<=TH. Consequently, as described in the foregoing, in this embodiments, a unitary change of the value VAL will increase or decrease the duration of the pulses in the output voltage provided by the bridge circuit 20 by four clock cycles.
(34)
(35) For example, as shown in
(36) Finally,
(37) Accordingly, in this embodiment, a unitary change of the value VAL will increase or decrease the duration of the pulses in the output voltage V.sub.out provided by the bridge circuit 20 merely by one clock cycle. Unfortunately, the embodiments described with respect to
(38) Thus, independently of the specific implementation of the signal generator 10, the generator 10 comprises at least one counter with a given number of bits C, which is used to generate two signals OUTA and OUTB. Specifically, during a given period T each of the signals OUTA and OUTB comprises a single pulse, i.e. the signal OUTA is high for a given switch-on duration T.sub.onA and low for a given switch-off duration T.sub.offA=TT.sub.onA. Similarly, the signal OUTS is high for a given switch-on duration T.sub.onB and low for a given switch-off duration T.sub.offB=TT.sub.onB. Moreover, the switch-on duration of at least one of the signals OUTA and OUTB is varied as a function of a signal VAL having a given resolution, i.e. number of bits. For example, the duration T corresponds to (2 2.sup.C) clock cycles for the embodiments comprising an up-and-down counter 100 and (2.sup.C) clock cycles for the embodiments comprising a continuous counter 100. Preferably, the value VAL has the same resolution as the counter, i.e. the value VAL has C bit.
(39) As disclosed in U.S. Pat. No. 6,594,308 to Galbiati et al., the resolution of the signals generated by the signal generator 10 may also be increased. For example, in the embodiments describe with respect to
(40) Accordingly, the two additional bits CC may be used in order to decide, which of the four clock cycles should be enabled. In fact, the two additional bit CC permit to specify four different values, e.g. the numbers 0 to 3, which may be used to decrease the duration of the signal OUTA and/or increase the duration of the signal OUTB. For example, this may be achieved by modifying the threshold values TH and TH. For example, the waveform shown in
(41) Conversely,
(42) Accordingly, as shown in
(43) Those of skill in the art will appreciate that in the embodiment shown with respect to
(44) For example, in the embodiment shown in
(45) In the illustrated embodiment, the signals OA and OA are provided to a block 118 which determines the signal OUTA as a function of the signals OA and OA and the bit HC. For example, the signals OA and OA may be combined by a logic OR operation (see
(46) Thus, based on the bit HC, a block 118 may select, e.g. by means of a multiplexer, whether the signal OUTA should be the signal OA or the combined signal (OA OR/AND OA). Those of skill in the art will appreciate that a corresponding circuit may also be used for the signal OUTB.
(47) Accordingly, the signal generator of the present disclosure has the advantage that a change of the signals CC and/or HC may be translated immediately in the output signal, because only the content of the thresholds TH and/or TH have to be modified at the block 114 or the correct output signal has to be selected by the block 118. Accordingly, these operations may be performed with a latency of a single clock cycle, while in U.S. Pat. No. 6,594,308 to Galbiati et al., 5 flip-flops are used in cascade, thus introducing a significant amount of latency and overhead for the corresponding output multiplexor and the associate decoder.
(48) Thus, as shown in
(49) For example,
(50) For example, in various embodiments, the bits TB are the least significant bits of the signal SIG. From a practical point of view the bit sequence SIG1 may be illustrated as an integer number and the bit sequence TB may represent the fractional digits. For example, a single bit may represent (in decimal) either 0.0 when the bit TB is set to 0 or 0.5 when the bit TB is set to 1. For this reason, in various embodiments, the block 30 is configured to vary the value of the signal SIG provided to the signal generator 10, such that in average, the signal SIG corresponds to the value of the higher resolution signal SIG including the fraction information provided by the bits TB.
(51) For example, as shown in
(52) In various embodiments, the number of periods T required for performing the averaging operation in time is fixed and corresponds to 2.sup.M, e.g. 4 periods for M=2. For example, in this case, the block 30 could be configured to determine how often the original signal SIG1 should be incremented by interpreting the bit sequence TB directly as an integer number, e.g. 0 (for TB=00), 1 (for TB=01), 2 (for TB=10) and 3 (for TB=11).
(53) For example,
(54) Finally, in the illustrated embodiment, the output CMP of the comparator, i.e. 0 or 1, is added to the signal SIG1 at the adder 304, i.e. SIG=SIG1+CMP. For example,
(55) Specifically, the embodiment shown in
(56) Similarly, the compensation value COMP=1.50 may be obtained by the sequences CC.sub.1 & HC.sub.1=011 and CC.sub.2 & HC.sub.2=011 (
(57)
(58) For example,
(59) Of course, without prejudice to the principle of present disclosure, the details of construction and the embodiments may vary widely with respect to what has been described and illustrated herein purely by way of example, without thereby departing from the scope of the present disclosure, as defined by the ensuing claims.