US20010033504A1 - Analog/digital PWM control circuit of a winding - Google Patents

Analog/digital PWM control circuit of a winding Download PDF

Info

Publication number
US20010033504A1
US20010033504A1 US09/814,176 US81417601A US2001033504A1 US 20010033504 A1 US20010033504 A1 US 20010033504A1 US 81417601 A US81417601 A US 81417601A US 2001033504 A1 US2001033504 A1 US 2001033504A1
Authority
US
United States
Prior art keywords
coupled
producing
output
signal
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US09/814,176
Other versions
US6385067B2 (en
Inventor
Ezio Galbiati
Maurizio Nessi
Marco Palestra
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMicroelectronics SRL
Original Assignee
STMicroelectronics SRL
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by STMicroelectronics SRL filed Critical STMicroelectronics SRL
Assigned to STMICROELECTRONICS S.R.L. reassignment STMICROELECTRONICS S.R.L. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PALESTRA, MARCO, GALBIATI, EZIO, NESSI, MAURIZIO
Publication of US20010033504A1 publication Critical patent/US20010033504A1/en
Application granted granted Critical
Publication of US6385067B2 publication Critical patent/US6385067B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M7/00Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
    • H02M7/42Conversion of dc power input into ac power output without possibility of reversal
    • H02M7/44Conversion of dc power input into ac power output without possibility of reversal by static converters
    • H02M7/48Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M7/53Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M7/537Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
    • H02M7/5387Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration
    • H02M7/53871Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration with automatic control of output voltage or current
    • H02M7/53873Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration with automatic control of output voltage or current with digital control

Definitions

  • the present invention relates to the field of pulse width modulation (PWM), and, more particularly, to a circuit for controlling the current flowing in a winding driven in PWM mode through a full-bridge stage.
  • PWM pulse width modulation
  • a square wave drives the control terminal of a switch of a full-bridge stage determining its ON or off state. Alternating conduction states to nonconduction states, the load driven by the full-bridge stage will be either crossed by a current or not whose mean value during a turn-on and a turn-off phase can be controlled by varying the duty cycle of the driving square wave.
  • a particularly effective method of controlling a full-bridge is the one disclosed in U.S. Pat. No. 5,917,720 issued to the same assignee.
  • the point of interest of this method is that the current flowing in the load is controlled by varying the respective duty cycle of the two outputs OUT+ and OUT ⁇ of the power stage Power_Ampl.
  • a current having direction and intensity that depend on the difference between the duty cycles of the outputs is forced in the load.
  • the current is controlled by detecting the voltage drop on a current sensing resistance connected in series to the winding to be controlled, amplifying this voltage drop with an operational amplifier Sense_Ampl that produces a feedback voltage, and closing the feedback loop with the amplifier Error_Ampl, that compares the feedback voltage with a reference value representing the desired current value.
  • the output Err_Out of the amplifier Error_Ampl is compared with two reference triangular wave signals Tria 1 and Tria 2 of opposite phases thus generating the two driving signals In+ and In ⁇ of the power stage.
  • the current flowing in the load is delivered by a full-bridge stage driven by a PWM digital converter.
  • the invention includes a feedback control circuit of the current flowing in a load formed by a winding in series to a current sensing resistor.
  • the circuit comprises an output full-bridge stage, driven by a pair of first and second control signals.
  • the circuit may also include an amplifier having a noninverting and an inverting input respectively coupled to the terminals of the current sensing resistor for producing an amplified replica of the voltage drop on the sensing resistor.
  • the circuit may also include a controller coupled to the output of the amplifier and to a reference voltage representing a desired value of the current in the load for producing a correction signal.
  • the circuit may include a PWM converter coupled to the output of the controller and to a clock signal for generating the pair of control signals.
  • the point of interest of the control circuit of the invention includes the structure of the PWM converter that comprises an up/down counter fed with the clock signal, producing a certain count, combinatory logic circuitry coupled to the output of the controller producing a signal that is the twos-complement of the correction signal, and a pair of first and second registers coupled to the outputs of the controller and of the combinatory logic circuitry, respectively.
  • a first comparator is coupled to the outputs of the counter and of the first register for producing the first control signal if the count exceeds the value stored in the first register.
  • a second comparator is coupled to the counter and to the second register for producing the second control signal if the count overcomes the value stored in the second register.
  • the controller can be realized by an adder coupled to the reference voltage and to the output of the amplifier producing an error signal, and a correction filter coupled to the output of the adder, producing the correction signal.
  • FIG. 1 is a schematic block diagram of a current control loop according to the prior art
  • FIG. 2 is a schematic block diagram of the current control loop in accordance with the invention.
  • FIG. 3 is a schematic block diagram of the PWM Converter of FIG. 2;
  • FIG. 4 is a waveform diagram showing the waveforms of operation of the PWM Converter
  • FIG. 5 is another waveform diagram showing the waveforms of operation of the PWM Converter.
  • FIG. 6 is a schematic block diagram of an alternative embodiment of the current control loop in accordance with the invention.
  • the present invention is directed to a PWM current control circuit that overcomes the mentioned problem of lack of precision when controlling driving, at minimum or null value, of the current flowing in the load caused by asymmetry and unbalances between the two triangular wave references.
  • FIG. 2 A block diagram of an embodiment of the mixed analog/digital circuit of the invention is depicted in FIG. 2.
  • the use of analog circuits together with digital circuits becomes very convenient because it makes possible the realization of a system that is perfectly compatible with the systems used at present wherein the driving voltage interface is an analog circuit, and to obtain an improved precision and ruggedness in generating the driving signals for the power stage. In fact the generation of these signals is done by a digital circuit that is practically exempt from the above mentioned asymmetry and unbalance problems.
  • the purely analog part of the circuit includes the sensing amplifier Sense_Ampl and the error amplifier Error_Ampl.
  • the Sense_Ampl detects the current flowing in the load and the sensing resistor Rs producing an amplified voltage that is fedback and compared with the input voltage Vin, representing the desired value of the current to be forced in the winding.
  • the error signal resulting from the comparison is amplified by the Error_Ampl that also guarantees stability and a reduction of the high frequency components via the compensation network Rc and Cc. In this way, a quality detection of the current in the load and an outstanding precision in controlling the current is obtained while using the same analog interface with the driving voltage Vin as in known circuits.
  • the analog to digital converter A/D which in FIG. 2 is depicted as an N bit converter, couples the analog part with the digital part of the current control loop.
  • N is equal to 8 and so the output of the A/D converter is an integer number between 0 and 255. Of course, N may also be different from 8.
  • the input dynamic of the A/D converter is established by the two references maximum Vxx+ and minimum Vxx ⁇ and is centered on the value of Vref. In this way, if the output of the Error_Ampl is equal to Vref, the output of the A/D converter is equal to 128. If the output of the Error_Ampl is equal to or lower than Vxx ⁇ , the output of the A/D converter is equal to 0. While if the output of the Error_Ampl is equal to or greater than Vxx+, the output of the A/D converter is equal to 255.
  • the digital conversion of the output voltage of the Error_Ampl is carried out in a synchronous manner in respect to the switching of the output stage and is commanded by the enable signal ADstart produced by the PWM_Converter.
  • FIG. 3 A block diagram of the PWM_Converter of the circuit of the invention is depicted in FIG. 3. It comprises two registers D_In+ and D_In ⁇ , whereby the value ADout produced by the A/D converter is written in the first register and the twos-complement of the bit-string representing the value is written in the second register, an up/down counter Up/Dn_Counter and two digital comparators Comp1 and Comp2.
  • the counter and the comparators are of 8 bits in this example.
  • the counter Up/Dn_Counter is increased and/or decreased at the rate of a system clock signal SysClk, determining with a complete up and down count cycle the switching frequency of the current in the load.
  • the data ADout is complemented to two by producing a complement signal which, summed to ADout, provides a value equal to the number of states of the counter.
  • the digital comparators Comp 1 and Comp 2 will produce two signals having complementary duty cycles, i.e. duty cycles whose sum is equal to 1. It is important that such a condition be verified to make the difference between the duty cycles of In+ and In ⁇ , that determines the intensity of the current forced in the load, vary in the broadest possible range, i.e. between ⁇ 1 and +1.
  • the contents of the two registers D_In+ and D_In ⁇ are compared with the output of the Up/Dn_Counter by the digital comparator Comp 1 and by the digital comparator Comp 2 , respectively.
  • the control signals In+ and In ⁇ of the comparators are respectively active when the value stored in D_In+ or in D_In ⁇ are equal to or greater than the output of the counter.
  • the enabling signal of the analog/digital conversion is generated by the PWM_Converter, for example, each time the Up/Dn_Counter attains the values 0 and 255, or when it assumes the value of 128 or even in both cases.
  • Such a choice depends on the desired sampling frequency and on the conversion speed of the A/D that is used.
  • the digital conversion of the output of the Error_Ampl produces a number between 128 and 255, for example 150.
  • the PWM_Converter stores this data in the register D_In+, while the value 106 (i.e. the complement to two of the 8 bits string representing the number 150) is stored in the register D_In ⁇ .
  • the comparators Comp 1 and Comp 2 compare the content of the registers D_In+ and D_In ⁇ with the output of the counter Up/Dn_Counter generating a signal In+ with duty cycle greater than 50% and a signal In ⁇ with duty cycle lower than 50% respectively, as depicted in FIG. 4.
  • the digital conversion of the output of the Error_Ampl produces a number between 0 or 128, for example 30.
  • the PWM_Converter stores this data in the register D_In+, while the value 226 (i.e. the twos-complement of the 8 bit string representing the number 30) is stored in the register D_In ⁇ .
  • the comparators Comp1 and Comp2 compare the content of the registers D_In+ and D_In ⁇ with the output of the Up/Dn_Counter generating a signal In+ with duty cycle lower than 50% and a signal In ⁇ with duty cycle greater than 50%, respectively, as depicted in FIG. 5.
  • FIG. 2 The block diagram of another embodiment of the PWM current control circuit of the invention, is different from the one of FIG. 2 because it is almost completely digital.
  • the analog/digital conversion is carried out at the output of the Sense_Ampl, producing a feedback signal of the control loop in digital form that allows a digital embodiment of the controller.
  • the input datum Digital_Vin representing the value of the desired current in the load, is in digital form and is fed together with the feedback signal to the Controller.
  • the controller may be realized by hard wired logic and provides for summation amplification and filtering of the error signal Err with a certain transfer function F(z) satisfying the bandwidth constraint and ensuring stability to the current control loop.
  • the controller calculates the error signal Err as the difference between the input datum Digital_Vin indicating the current to be forced in the load and the feedback datum Adout, thereby producing by the filter F(z) the desired correction signal.
  • a generic digital filter F(z) can be described by the following polynomial:
  • y n a 0 x n +a 1 x n ⁇ 1 + . . . +b 1 y n ⁇ 1 +b 2 y n ⁇ 2 + . . .
  • the filter is calculated with an infinite precision. Therefore, in designing the filter it is necessary to avoid internal saturations and thus provide a sufficiently high number of bits for each internal signal. In particular it is more convenient to assign to the coefficients of the filter, a sufficiently high number of bits to prevent the calculation of the filter from introducing an excessive quantization noise.
  • the order of the filter can be changed.

Abstract

A feedback control circuit is for the current in a load formed by a winding in series with a current sensing resistor, coupled to a full-bridge output stage, an amplifier coupled to the terminals of the sensing resistor, and a controller fed with the output of the amplifier and with a voltage reference and producing a correction signal. The circuit has a PWM converter for generating a pair of control signals. The PWM converter includes an up/down counter producing a count value and logic circuitry that produces the twos-complement of the correction signal. A pair of registers are coupled to the outputs of the controller and of the logic circuitry. A first comparator coupled to the outputs of the counter and of the first register produces the first control signal, if the count signal exceeds the value stored in the first register. A second comparator coupled to the counter and to the second register produces the second control signal, if the count signal overcomes the value stored in the second register.

Description

    FIELD OF THE INVENTION
  • The present invention relates to the field of pulse width modulation (PWM), and, more particularly, to a circuit for controlling the current flowing in a winding driven in PWM mode through a full-bridge stage. [0001]
  • BACKGROUND OF THE INVENTION
  • In a PWM switching regulator, a square wave drives the control terminal of a switch of a full-bridge stage determining its ON or off state. Alternating conduction states to nonconduction states, the load driven by the full-bridge stage will be either crossed by a current or not whose mean value during a turn-on and a turn-off phase can be controlled by varying the duty cycle of the driving square wave. [0002]
  • A particularly effective method of controlling a full-bridge is the one disclosed in U.S. Pat. No. 5,917,720 issued to the same assignee. A block diagram of a circuit implementing the method, including by a control loop of the PWM driver at a constant frequency, is depicted in FIG. 1. The point of interest of this method is that the current flowing in the load is controlled by varying the respective duty cycle of the two outputs OUT+ and OUT− of the power stage Power_Ampl. By increasing the duty cycle of the output OUT+ and by decreasing the duty cycle of the output OUT− or vice versa, a current having direction and intensity that depend on the difference between the duty cycles of the outputs is forced in the load. [0003]
  • The current is controlled by detecting the voltage drop on a current sensing resistance connected in series to the winding to be controlled, amplifying this voltage drop with an operational amplifier Sense_Ampl that produces a feedback voltage, and closing the feedback loop with the amplifier Error_Ampl, that compares the feedback voltage with a reference value representing the desired current value. The output Err_Out of the amplifier Error_Ampl is compared with two reference triangular wave signals Tria[0004] 1 and Tria2 of opposite phases thus generating the two driving signals In+ and In− of the power stage.
  • An important aspect of such a system is that the two signals Tria[0005] 1 and Tria2 of opposite phase must be precisely generated with the same amplitude and with a mean value equal to the reference voltage Vref to which the Sense_Ampl and the Error_Ampl are referred. This is not easy to achieve because of the offset of the operational amplifiers that make the generation of the two triangular wave oscillating signals critical and very often the two signals are not perfectly symmetrical and do not have the same mean value Vref.
  • This results in a degradation of the performance of the current control when operating at low currents and particularly when controlling at null current. In fact in that situation, by setting the input voltage Vctl equal to the reference voltage Vref, the output Err_Out of the Error_Ampl tends to equal Vref. However, because of asymmetries and unbalances of the two triangular wave references, the two driving signals of the power stage In+ and In− do not result perfectly in phase and do not have the same duty cycle and so the differential voltage applied to the load is not null, but assumes a value proportional to the difference between the two triangular wave voltage references. [0006]
  • It is evident that there is a need for a PWM current control circuit that prevents such a degradation of the control at a relatively low level of current in the load. [0007]
  • SUMMARY OF THE INVENTION
  • It is an object of the present invention to provide a partly analog and partly digital circuit controlling, through a feedback loop, the current flowing in a winding of an induction machine, such as a DC motor or a Voice Coil Motor, that overcomes the drawback of known circuits. The current flowing in the load is delivered by a full-bridge stage driven by a PWM digital converter. [0008]
  • More precisely, the invention includes a feedback control circuit of the current flowing in a load formed by a winding in series to a current sensing resistor. The circuit comprises an output full-bridge stage, driven by a pair of first and second control signals. The circuit may also include an amplifier having a noninverting and an inverting input respectively coupled to the terminals of the current sensing resistor for producing an amplified replica of the voltage drop on the sensing resistor. The circuit may also include a controller coupled to the output of the amplifier and to a reference voltage representing a desired value of the current in the load for producing a correction signal. In addition, the circuit may include a PWM converter coupled to the output of the controller and to a clock signal for generating the pair of control signals. [0009]
  • The point of interest of the control circuit of the invention includes the structure of the PWM converter that comprises an up/down counter fed with the clock signal, producing a certain count, combinatory logic circuitry coupled to the output of the controller producing a signal that is the twos-complement of the correction signal, and a pair of first and second registers coupled to the outputs of the controller and of the combinatory logic circuitry, respectively. Also, a first comparator is coupled to the outputs of the counter and of the first register for producing the first control signal if the count exceeds the value stored in the first register. A second comparator is coupled to the counter and to the second register for producing the second control signal if the count overcomes the value stored in the second register. According to a preferred embodiment of the invention the controller can be realized by an adder coupled to the reference voltage and to the output of the amplifier producing an error signal, and a correction filter coupled to the output of the adder, producing the correction signal.[0010]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The different aspects and advantages of the invention will become clearer through the following detailed description and by referring to the attached drawings wherein: [0011]
  • FIG. 1 is a schematic block diagram of a current control loop according to the prior art; [0012]
  • FIG. 2 is a schematic block diagram of the current control loop in accordance with the invention; [0013]
  • FIG. 3 is a schematic block diagram of the PWM Converter of FIG. 2; [0014]
  • FIG. 4 is a waveform diagram showing the waveforms of operation of the PWM Converter; [0015]
  • FIG. 5 is another waveform diagram showing the waveforms of operation of the PWM Converter; and [0016]
  • FIG. 6 is a schematic block diagram of an alternative embodiment of the current control loop in accordance with the invention.[0017]
  • DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
  • The present invention is directed to a PWM current control circuit that overcomes the mentioned problem of lack of precision when controlling driving, at minimum or null value, of the current flowing in the load caused by asymmetry and unbalances between the two triangular wave references. [0018]
  • A block diagram of an embodiment of the mixed analog/digital circuit of the invention is depicted in FIG. 2. The use of analog circuits together with digital circuits becomes very convenient because it makes possible the realization of a system that is perfectly compatible with the systems used at present wherein the driving voltage interface is an analog circuit, and to obtain an improved precision and ruggedness in generating the driving signals for the power stage. In fact the generation of these signals is done by a digital circuit that is practically exempt from the above mentioned asymmetry and unbalance problems. [0019]
  • The purely analog part of the circuit includes the sensing amplifier Sense_Ampl and the error amplifier Error_Ampl. The Sense_Ampl detects the current flowing in the load and the sensing resistor Rs producing an amplified voltage that is fedback and compared with the input voltage Vin, representing the desired value of the current to be forced in the winding. [0020]
  • The error signal resulting from the comparison is amplified by the Error_Ampl that also guarantees stability and a reduction of the high frequency components via the compensation network Rc and Cc. In this way, a quality detection of the current in the load and an outstanding precision in controlling the current is obtained while using the same analog interface with the driving voltage Vin as in known circuits. [0021]
  • The analog to digital converter A/D, which in FIG. 2 is depicted as an N bit converter, couples the analog part with the digital part of the current control loop. In the example considered, N is equal to 8 and so the output of the A/D converter is an integer number between 0 and 255. Of course, N may also be different from 8. The input dynamic of the A/D converter is established by the two references maximum Vxx+ and minimum Vxx− and is centered on the value of Vref. In this way, if the output of the Error_Ampl is equal to Vref, the output of the A/D converter is equal to 128. If the output of the Error_Ampl is equal to or lower than Vxx−, the output of the A/D converter is equal to 0. While if the output of the Error_Ampl is equal to or greater than Vxx+, the output of the A/D converter is equal to 255. [0022]
  • The digital conversion of the output voltage of the Error_Ampl is carried out in a synchronous manner in respect to the switching of the output stage and is commanded by the enable signal ADstart produced by the PWM_Converter. [0023]
  • A block diagram of the PWM_Converter of the circuit of the invention is depicted in FIG. 3. It comprises two registers D_In+ and D_In−, whereby the value ADout produced by the A/D converter is written in the first register and the twos-complement of the bit-string representing the value is written in the second register, an up/down counter Up/Dn_Counter and two digital comparators Comp1 and Comp2. The counter and the comparators are of 8 bits in this example. [0024]
  • The counter Up/Dn_Counter is increased and/or decreased at the rate of a system clock signal SysClk, determining with a complete up and down count cycle the switching frequency of the current in the load. The data ADout is complemented to two by producing a complement signal which, summed to ADout, provides a value equal to the number of states of the counter. In such a way, the digital comparators Comp[0025] 1 and Comp2 will produce two signals having complementary duty cycles, i.e. duty cycles whose sum is equal to 1. It is important that such a condition be verified to make the difference between the duty cycles of In+ and In−, that determines the intensity of the current forced in the load, vary in the broadest possible range, i.e. between −1 and +1.
  • The contents of the two registers D_In+ and D_In− are compared with the output of the Up/Dn_Counter by the digital comparator Comp[0026] 1 and by the digital comparator Comp2, respectively. The control signals In+ and In− of the comparators are respectively active when the value stored in D_In+ or in D_In− are equal to or greater than the output of the counter. The enabling signal of the analog/digital conversion is generated by the PWM_Converter, for example, each time the Up/Dn_Counter attains the values 0 and 255, or when it assumes the value of 128 or even in both cases.
  • Such a choice depends on the desired sampling frequency and on the conversion speed of the A/D that is used. The case in which the enable signal ADstart is generated when the output of the Up/Dn_Counter is equal to 0 or 255, will be considered by way of example. If the Error_Ampl produces a voltage Err_Out whose value is converted in the digital number ADout=128, then the PWM_Converter generates two signals In+ and In− having the same phase and duty cycle equal to 50%, because the registers D_In+ and D_In− will contain the same value. In fact if ADout=128, the two registers D_In+ and D_In− will contain the same value so that the comparators Comp1 and Comp2 generate the same result In+ and In− identical having the same phase and duty cycle equal to 50%. [0027]
  • It is clear that in such a condition the current in the load is null because the two branches of the full-bridge output stage are driven by two signals with the same phase and the same duty cycle, so even if the current terminal OUT+ and OUT− of the load are continuously switched from GND to the supply voltage Vp, across the load the potential difference is null. Should a current be forced in the load, from OUT+ to OUT−, the input data Vin must be greater than Vref and as a consequence, when the control loop reaches a stable condition, the output of the Error_Ampl assumes a value greater than Vref. [0028]
  • The digital conversion of the output of the Error_Ampl produces a number between 128 and 255, for example 150. The PWM_Converter stores this data in the register D_In+, while the value 106 (i.e. the complement to two of the 8 bits string representing the number 150) is stored in the register D_In−. The comparators Comp[0029] 1 and Comp2 compare the content of the registers D_In+ and D_In− with the output of the counter Up/Dn_Counter generating a signal In+ with duty cycle greater than 50% and a signal In− with duty cycle lower than 50% respectively, as depicted in FIG. 4. On the contrary, should a current be forced in the load, from OUT− to OUT+, the input data Vin must be lower than Vref and as a consequence, when the control loop reaches a stable condition, the output of the Error_Ampl assumes a value lower than Vref.
  • The digital conversion of the output of the Error_Ampl produces a number between 0 or 128, for example 30. The PWM_Converter stores this data in the register D_In+, while the value 226 (i.e. the twos-complement of the 8 bit string representing the number 30) is stored in the register D_In−. The comparators Comp1 and Comp2 compare the content of the registers D_In+ and D_In− with the output of the Up/Dn_Counter generating a signal In+ with duty cycle lower than 50% and a signal In− with duty cycle greater than 50%, respectively, as depicted in FIG. 5. [0030]
  • In both cases it is possible to note that the enable signal of the A/D converter is synchronous with the peaks of the triangular wave produced by the Up/Dn_Counter. Therefore, the digital conversion of the output of the Error_Ampl is carried out in the middle of the free-wheeling phase of the current in the load, when both the outputs OUT+ and OUT− are coupled to GND or to Vp. [0031]
  • The block diagram of another embodiment of the PWM current control circuit of the invention, is different from the one of FIG. 2 because it is almost completely digital. According to this alternative embodiment, the analog/digital conversion is carried out at the output of the Sense_Ampl, producing a feedback signal of the control loop in digital form that allows a digital embodiment of the controller. [0032]
  • The input datum Digital_Vin, representing the value of the desired current in the load, is in digital form and is fed together with the feedback signal to the Controller. The controller may be realized by hard wired logic and provides for summation amplification and filtering of the error signal Err with a certain transfer function F(z) satisfying the bandwidth constraint and ensuring stability to the current control loop. [0033]
  • At each sampling of the voltage produced by the Sense_Ampl, determined by the signal ADstart, the controller calculates the error signal Err as the difference between the input datum Digital_Vin indicating the current to be forced in the load and the feedback datum Adout, thereby producing by the filter F(z) the desired correction signal. A generic digital filter F(z) can be described by the following polynomial:[0034]
  • y n =a 0 x n +a 1 x n−1 + . . . +b 1 y n−1 +b 2 y n−2+ . . .
  • wherein x[0035] i is the i-th input, yi is the i-th output and the dots indicate that there are other terms that depend on the order of the filter.
  • The calculation of a filter generally needs M+N+1 products, where M is the order of the numerator and N the order of the denominator of the transfer function, and M+N sums. This must be considered when designing the filter because, when the adder has produced the error value Err, the filter F(z) must be able to complete its computations before the next ADstart signal. [0036]
  • Once the coefficients, and the signals and have been quantized, the filter is calculated with an infinite precision. Therefore, in designing the filter it is necessary to avoid internal saturations and thus provide a sufficiently high number of bits for each internal signal. In particular it is more convenient to assign to the coefficients of the filter, a sufficiently high number of bits to prevent the calculation of the filter from introducing an excessive quantization noise. [0037]
  • According to a preferred embodiment of the invention, the filter F(z) is an IIR filter of the first order, whose transfer function is: [0038] H ( z ) = a 0 z + a 1 b 0 z + b 1
    Figure US20010033504A1-20011025-M00001
  • Depending on the desired performances in terms of bandwidth and phase margin of the current control loop, the order of the filter can be changed. [0039]

Claims (4)

That which is claimed is:
1. A feedback control circuit of the current flowing in a load constituted by a winding in series to a current sensing resistor, comprising
a full-bridge stage, driven by a pair of control signals first (In+) and second (In−), coupled to the current terminals of said load,
an amplifier (Sense_Ampl) having a noninverting input and an inverting input respectively coupled to the terminals of said sensing resistor, producing an amplified replica voltage (Vsense) of the voltage drop on said sensing resistor,
a controller (Controllore) coupled to the output of said amplifier and to a voltage reference from outside (Vin) representing a desired value of the current in the load, producing a correction signal,
a PWM converter coupled to the output of said controller and to a clock signal (sys_clk), generating said pair of control signals (In+, In−),
characterized in that said PWM converter comprises
an up/down counter coupled to said clock signal (sys_clk), producing a count value;
a logic circuitry coupled to the output of said controller, producing a signal that is the complement to two of said correction signal;
a pair of registers first (D_In+) and second (D_In−) respectively coupled to the outputs of said controller and of said circuitry;
a first comparator (comp1) coupled to the outputs of said counter and of said first register (D_In+), producing said first control signal (In+) if said count value exceeds the value stored in the first register (D_In+);
a second comparator (comp2) coupled to the outputs of said counter and of said second register (D_In−), producing said second control signal (In−) if said count value exceeds the value stored in the second register (D_In−).
2. The circuit of
claim 1
wherein said controller is constituted by
an adder coupled to said voltage reference (Vin) and to the output of said amplifier (Sense_Ampl), producing an error signal (err),
a correction filter coupled to the output of said adder, producing said correction signal.
3. The circuit of
claim 2
, wherein said counter produces an enable flag (ADstart) each time it attains the top value or the bottom value of the count and includes
an integrator coupled to the output of said adder producing an intermediate signal (Err_Out),
an analog/digital converter enabled by said enable flag (ADstart) and coupled to the output of said integrator, producing said correction signal.
4. The circuit according to
claim 2
, wherein
said counter produces an enable flag (ADstart) each time it attains the top value or the bottom value of the count,
said controller comprises an analog/digital converter enabled by said enable flag (ADstart), coupled to the output of said amplifier (Sense_Ampl) and providing to said adder a datum (A/Dout) representing said amplified replica voltage (Vsense),
said correction filter is an infinite impulse response digital filter (IIR).
US09/814,176 2000-03-23 2001-03-21 Analog/digital PWM control circuit of a winding Expired - Lifetime US6385067B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
EP00830225 2000-03-23
EP00830225A EP1137162B1 (en) 2000-03-23 2000-03-23 Analog/digital PWM control circuit of a winding
EP00830225.9 2000-03-23

Publications (2)

Publication Number Publication Date
US20010033504A1 true US20010033504A1 (en) 2001-10-25
US6385067B2 US6385067B2 (en) 2002-05-07

Family

ID=8175257

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/814,176 Expired - Lifetime US6385067B2 (en) 2000-03-23 2001-03-21 Analog/digital PWM control circuit of a winding

Country Status (3)

Country Link
US (1) US6385067B2 (en)
EP (1) EP1137162B1 (en)
DE (1) DE60018163D1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050063684A1 (en) * 2003-09-18 2005-03-24 Alcatel Speed controlling method for an electric motor, control circuit and electric motor
US20070210783A1 (en) * 2006-03-08 2007-09-13 Nec Electronics Corporation PWM current controlling apparatuses capable of optimally correcting load current
US20080151990A1 (en) * 2006-12-14 2008-06-26 University Of West Bohemia Digital generator of phase shift modulation
US20080211318A1 (en) * 2007-03-02 2008-09-04 Beyond Innovation Technology Co., Ltd. Switch circuit
US7479753B1 (en) * 2004-02-24 2009-01-20 Nvidia Corporation Fan speed controller
US7548047B1 (en) * 2005-05-03 2009-06-16 Marvell International Ltd. Pulse width modulated buck voltage regulator with stable feedback control loop
US7849332B1 (en) 2002-11-14 2010-12-07 Nvidia Corporation Processor voltage adjustment system and method
US7882369B1 (en) 2002-11-14 2011-02-01 Nvidia Corporation Processor performance adjustment system and method
US7886164B1 (en) 2002-11-14 2011-02-08 Nvidia Corporation Processor temperature adjustment system and method
US8370663B2 (en) 2008-02-11 2013-02-05 Nvidia Corporation Power management with dynamic frequency adjustments
US8839006B2 (en) 2010-05-28 2014-09-16 Nvidia Corporation Power consumption reduction systems and methods
US9134782B2 (en) 2007-05-07 2015-09-15 Nvidia Corporation Maintaining optimum voltage supply to match performance of an integrated circuit
US9256265B2 (en) 2009-12-30 2016-02-09 Nvidia Corporation Method and system for artificially and dynamically limiting the framerate of a graphics processing unit
US9830889B2 (en) 2009-12-31 2017-11-28 Nvidia Corporation Methods and system for artifically and dynamically limiting the display resolution of an application
TWI635708B (en) * 2017-05-10 2018-09-11 晶豪科技股份有限公司 Pulse width modulation converter and converting method thereof
CN108988833A (en) * 2017-06-05 2018-12-11 晶豪科技股份有限公司 Pulse width modulation converter and its conversion method

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1339163B1 (en) * 2002-02-19 2004-12-29 SGS-THOMSON MICROELECTRONICS S.r.l. PWM/linear driver for an electromagnetic load
US6750842B2 (en) * 2002-04-24 2004-06-15 Beyond Innovation Technology Co., Ltd. Back-light control circuit of multi-lamps liquid crystal display
US6965339B2 (en) * 2004-04-07 2005-11-15 Motorola, Inc. Method and system for analog to digital conversion using digital pulse width modulation (PWM)
US20070001515A1 (en) * 2005-05-18 2007-01-04 Stmicroelectronics Sa Supply of loads of different powers by a D.C./D.C. converter
JP4837354B2 (en) * 2005-09-30 2011-12-14 ルネサスエレクトロニクス株式会社 PWM signal generation device, PWM signal generation method, motor control device, and motor control method
US7142436B1 (en) * 2006-01-25 2006-11-28 Wise Life Technology Co., Ltd. Reliable bi-directional driving circuit for wide supply voltage and output range
EP1865505B1 (en) * 2006-06-09 2010-08-11 STMicroelectronics Srl Prevention of noise due to concurrent signals of H-bridge driving of a voice coil motor
JP5049707B2 (en) * 2007-09-07 2012-10-17 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit, PWM signal output device, and power conversion control device
US7746019B2 (en) * 2008-02-06 2010-06-29 Chip Goal Electronics Corporation Servo control circuit
CN102017412B (en) * 2008-04-10 2013-05-22 Nxp股份有限公司 Rotating pulse-width modulator
EP2330870A1 (en) 2009-08-28 2011-06-08 Freescale Semiconductor, Inc. Sampling trigger device and method thereof
US9490695B1 (en) * 2012-09-06 2016-11-08 Marvell International Ltd. Method and apparatus for eliminating shimmering
JP6088851B2 (en) * 2013-02-25 2017-03-01 株式会社東芝 Inverter control circuit and inverter circuit
US9998042B2 (en) 2013-03-04 2018-06-12 Seagate Technology Llc Torque disturbance cancellation for a motor
US10911061B2 (en) 2018-03-23 2021-02-02 The Boeing Company System and method for demodulation of resolver outputs
US10673368B2 (en) 2018-03-23 2020-06-02 The Boeing Company System and method for pulse-width modulation using an adjustable comparison criterion
US10830591B2 (en) 2018-03-23 2020-11-10 The Boeing Company System and method for dual speed resolver
US10913550B2 (en) 2018-03-23 2021-02-09 The Boeing Company System and method for position and speed feedback control

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56107788A (en) * 1980-01-25 1981-08-26 Toshiba Corp Voltage inverter
JPS63287371A (en) * 1987-05-15 1988-11-24 Mitsubishi Electric Corp Interphase reactor multiplex system pwm inverter
JP3156269B2 (en) * 1991-04-10 2001-04-16 松下電器産業株式会社 Digital three-phase PWM waveform generator
EP0760552B1 (en) * 1995-08-31 2001-11-07 STMicroelectronics S.r.l. Method and circuit for PWM mode driving a bridge and disk guide using the same
EP0892500B1 (en) * 1997-07-17 2003-02-26 STMicroelectronics S.r.l. System for increasing the definition in converting a digital datum in a PWM signal for driving a full-bridge output stage
EP0897213B1 (en) * 1997-08-11 2004-03-31 SGS-THOMSON MICROELECTRONICS S.r.l. Monitoring of current in an inductive load, PWM driven through a bridge stage

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7886164B1 (en) 2002-11-14 2011-02-08 Nvidia Corporation Processor temperature adjustment system and method
US7882369B1 (en) 2002-11-14 2011-02-01 Nvidia Corporation Processor performance adjustment system and method
US7849332B1 (en) 2002-11-14 2010-12-07 Nvidia Corporation Processor voltage adjustment system and method
US20050063684A1 (en) * 2003-09-18 2005-03-24 Alcatel Speed controlling method for an electric motor, control circuit and electric motor
US7479753B1 (en) * 2004-02-24 2009-01-20 Nvidia Corporation Fan speed controller
US7548047B1 (en) * 2005-05-03 2009-06-16 Marvell International Ltd. Pulse width modulated buck voltage regulator with stable feedback control loop
US7616458B2 (en) * 2006-03-08 2009-11-10 Nec Electronics Corporation PWM current controlling apparatuses capable of optimally correcting load current
US20070210783A1 (en) * 2006-03-08 2007-09-13 Nec Electronics Corporation PWM current controlling apparatuses capable of optimally correcting load current
US7480155B2 (en) * 2006-12-14 2009-01-20 University Of West Bohemia Digital generator of phase shift modulation
US20080151990A1 (en) * 2006-12-14 2008-06-26 University Of West Bohemia Digital generator of phase shift modulation
US20080211318A1 (en) * 2007-03-02 2008-09-04 Beyond Innovation Technology Co., Ltd. Switch circuit
US9134782B2 (en) 2007-05-07 2015-09-15 Nvidia Corporation Maintaining optimum voltage supply to match performance of an integrated circuit
US8775843B2 (en) 2008-02-11 2014-07-08 Nvidia Corporation Power management with dynamic frequency adjustments
US8370663B2 (en) 2008-02-11 2013-02-05 Nvidia Corporation Power management with dynamic frequency adjustments
US9256265B2 (en) 2009-12-30 2016-02-09 Nvidia Corporation Method and system for artificially and dynamically limiting the framerate of a graphics processing unit
US9830889B2 (en) 2009-12-31 2017-11-28 Nvidia Corporation Methods and system for artifically and dynamically limiting the display resolution of an application
US8839006B2 (en) 2010-05-28 2014-09-16 Nvidia Corporation Power consumption reduction systems and methods
TWI635708B (en) * 2017-05-10 2018-09-11 晶豪科技股份有限公司 Pulse width modulation converter and converting method thereof
CN108988833A (en) * 2017-06-05 2018-12-11 晶豪科技股份有限公司 Pulse width modulation converter and its conversion method

Also Published As

Publication number Publication date
EP1137162B1 (en) 2005-02-16
EP1137162A1 (en) 2001-09-26
DE60018163D1 (en) 2005-03-24
US6385067B2 (en) 2002-05-07

Similar Documents

Publication Publication Date Title
US6385067B2 (en) Analog/digital PWM control circuit of a winding
US6813173B2 (en) DC-to-DC converter with improved transient response
KR100607807B1 (en) Switching power supply
JP3982342B2 (en) Triangular wave generation circuit in class D amplifier and class D amplifier using the triangular wave generation circuit
US6275397B1 (en) Power factor correction control circuit for regulating the current waveshape in a switching power supply
US7449869B2 (en) Digital current mode controller with low frequency current sampling
US4364109A (en) Control device of inverters
US6583609B1 (en) Automatic bandwidth and stability control for switched pulse width modulation voltage regulator
US6519167B1 (en) PWM controller with single-cycle response
JP2790263B2 (en) Current mode control converter circuit
US20060103362A1 (en) Frequency stabilization technique for self oscillating modulator
JP3624186B2 (en) Control circuit for switching power supply device and switching power supply device using the same
JP4168935B2 (en) Power converter
JP2000009409A (en) Circuit for detecting variation of inductance
JP6219371B2 (en) Pulse generator for audio frequency amplifier and stabilized power supply
KR100270792B1 (en) Variable delay device
JPH0254695B2 (en)
RU2011275C1 (en) Switch stabilizer
JP2593250Y2 (en) Switching power supply
JP3097070B2 (en) Inverter control circuit
JP2632418B2 (en) High frequency PWM inverter device
JPS60230715A (en) Pulse width modulating circuit
JP4020860B2 (en) Switching power supply
JPH09275677A (en) Direct-current input and direct-current output converter
JP2656546B2 (en) Phase locked oscillator

Legal Events

Date Code Title Description
AS Assignment

Owner name: STMICROELECTRONICS S.R.L., ITALY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:GALBIATI, EZIO;NESSI, MAURIZIO;PALESTRA, MARCO;REEL/FRAME:011867/0570;SIGNING DATES FROM 20010426 TO 20010512

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12