MOTOR CONTROL WITH REDUCED BACK CURRENT DURING BRAKING
20230238904 · 2023-07-27
Inventors
- Prasad Kulkarni (Bengaluru, IN)
- Venkata Pavan Mahankali (Bangalore, IN)
- Ganapathi Hegde (Bengaluru, IN)
Cpc classification
H02P21/10
ELECTRICITY
International classification
Abstract
Described examples include a method that includes setting a reference i.sub.q signal in a field-oriented control of a motor such that the field-oriented control modulates power from a power supply using a modulator to apply a torque on the motor that is opposite to a kinetic energy applied to the motor. The method also includes setting a reference i.sub.d signal in the field-oriented control such that the motor current provided to the power supply is reduced.
Claims
1. A motor control comprising: a field-oriented control having a reference i.sub.q input, a reference i.sub.d input and coil current feedback inputs configured to receive current signals from at least two current sensors detecting current through at least two coils in a motor, the field-oriented control configured to provide control signals to a modulator that modulates power from a power supply applied to the at least two coils; and a reference i.sub.d controller having a reference i.sub.dc input configured to receive a reference i.sub.dc signal, an i.sub.dc input configured to receive a supply current measure, and a reference i.sub.d output coupled to the reference i.sub.d input configured to provide a reference i.sub.d signal, wherein the reference i.sub.d controller is configured to increase the reference i.sub.d signal in proportion to a difference between the reference i.sub.dc input and the supply current measure when the i.sub.dc input indicates that power is flowing from the motor to the power supply.
2. The motor control of claim 1, wherein the reference i.sub.d controller includes: a combiner configured to pass the reference i.sub.dc signal as a combined i.sub.dref signal when the supply measure current indicates that power is not flowing from the motor to the power supply, and configured to provide the difference between the reference i.sub.dc signal and the supply measure current as the combined i.sub.dref signal when the supply current measure indicates that power is flowing from the motor to the power supply; and a proportional integrator configured to receive the combined i.sub.dref signal, integrate and proportionally adjust the combined i.sub.dref signal and provide an output i.sub.d signal.
3. The motor control of claim 1, wherein the field-oriented control is configured to control three stator coils of the motor.
4. The motor control of claim 1, wherein the modulator is a three-phase bridge.
5. The motor control of claim 1, wherein the at least two current sensors is three current sensors, and the three current sensors detecting current through three coils in the motor.
6. The motor control of claim 1, wherein the field-oriented control includes: a Clarke transform configured to receive the current signals from the at least two current sensors and provide an output i.sub.α signal and an output i.sub.β signal; a Park transform configured to receive the output i.sub.α signal and the output i.sub.β signal, and configured to receive an angular position signal, the Park transform configured to provide an output i.sub.q signal and an output i.sub.d signal; a first combiner having a first input configured to receive the reference i.sub.d signal and a second input configured to receive the output i.sub.d signal, the first combiner providing a combined i.sub.d signal that is a difference between the reference i.sub.d signal and the output i.sub.d signal; a first proportional integrator configured to receive the combined i.sub.d signal and provide an input i.sub.d signal that is a proportional integration of the combined i.sub.d signal; a second combiner having a first input configured to receive a reference i.sub.q signal and a second input configured to receive the output i.sub.q signal, the second combiner providing a combined i.sub.q signal that is a difference between the reference i.sub.q signal and the output i.sub.q signal; a second proportional integrator configured to receive the combined i.sub.q signal and provide an input i.sub.q signal that is a proportional integration of the combined i.sub.q signal; an inverse Park transform configured to receive the input i.sub.q signal, the input i.sub.d signal and the angular position signal and output an input i.sub.α signal and an input i.sub.β signal; and an inverse Clarke transform configured to receive the input i.sub.α signal and the input i.sub.β signal and configured to provide modulation signals to the modulator.
7. The motor control of claim 6, wherein the inverse Clarke transform is further configured to receive a measured voltage supply signal indicating a measured voltage across the power supply.
8. A motor control system adapted to be coupled to a power supply and a motor having a stator with at least two coils, the motor control system comprising: a modulator coupled to the power supply, wherein the modulator controls application of power from the power supply to the at least two coils; a field-oriented control having a reference i.sub.q input, a reference i.sub.d input and coil current feedback inputs configured to receive current signals from at least two current sensors detecting current through the at least two coils, the field-oriented control configured to provide control signals to the modulator; and a reference i.sub.d controller having a reference i.sub.dc input configured to receive a reference i.sub.dc signal, an i.sub.dc input configured to receive measured supply current provided by a current sensor on the power supply, and a reference i.sub.d output coupled to the reference i.sub.d input configured to provide a reference i.sub.d signal, wherein the reference i.sub.d controller is configured to increase the reference i.sub.d signal in proportion to a difference between the reference i.sub.dc input and the measured supply current when the i.sub.dc input indicates that power is flowing from the motor to the power supply.
9. The motor control system of claim 8, wherein the reference i.sub.d controller includes: a combiner configured to pass the reference i.sub.dc signal as a combined i.sub.dref signal when the measured supply current indicates that power is not flowing from the motor to the power supply, and configured to provide the difference between the reference i.sub.dc signal and the measured supply current as the combined i.sub.dref signal when the i.sub.dc input indicates that power is flowing from the motor to the power supply; and a proportional integrator configured to receive the combined i.sub.dref signal, integrate and proportionally adjust the combined i.sub.dref signal and provide an output i.sub.d signal.
10. The motor control system of claim 8, wherein the motor has three stator coils.
11. The motor control system of claim 8, wherein the modulator is a three-phase bridge.
12. The motor control system of claim 8, wherein the at least two current sensors is three current sensors, and the three current sensors detecting current through three coils in the motor.
13. The motor control system of claim 8, wherein the field-oriented control includes: a Clarke transform configured to receive the current signals from the at least two current sensors detecting current through the at least two stator coils and provide an output i.sub.α signal and an output i.sub.β signal; a Park transform configured to receive the output i.sub.α signal and the output i.sub.β signal, and configured to receive an angular position signal, the Park transform configured to provide an output i.sub.q signal and an output i.sub.d signal; a first combiner having a first input configured to receive the reference i.sub.d signal and a second input configured to receive the output i.sub.d signal, the first combiner providing a combined i.sub.d signal that is a difference between the reference i.sub.d signal and the output i.sub.d signal; a first proportional integrator configured to receive the combined i.sub.d signal and provide an input i.sub.d signal that is a proportional integration of the combined i.sub.d signal; a second combiner having a first input configured to receive a reference i.sub.q signal and a second input configured to receive the output i.sub.q signal, the second combiner providing a combined i.sub.q signal that is a difference between the reference i.sub.q signal and the output i.sub.q signal; a second proportional integrator configured to receive the combined i.sub.q signal and provide an input i.sub.q signal that is a proportional integration of the combined i.sub.q signal; an inverse Park transform configured to receive the input i.sub.q signal, the input i.sub.d signal and the angular position signal and output an input i.sub.α signal and an input i.sub.β signal; and an inverse Clarke transform configured to receive the input i.sub.α signal and the input i.sub.β signal and configured to provide modulation signals to the modulator.
14. The motor control system of claim 13, wherein the inverse Clarke transform is further configured to receive a measured voltage supply signal indicating a measured voltage across the power supply.
15. A method comprising: setting a reference i.sub.q signal in a field-oriented control of a motor such that the field-oriented control modulates power from a power supply using a modulator to apply a torque on the motor that is opposite to a rotation of the motor; and setting a reference i.sub.d signal in the field-oriented control, which includes: setting a dc reference current; determining a supply current measure; determining a difference between the dc reference current and the supply current measure; and setting the reference i.sub.d signal based on a proportional integration of the difference when the difference is greater than zero.
16. The method of claim 15, wherein the field-oriented control performs the steps of: measuring at least two coil currents through at least two stators of the motor; transforming the at least two coil currents to an i.sub.α signal and an i.sub.β signal using a Clarke transform; transforming the i.sub.α signal and the i.sub.β signal to an i.sub.q signal and an i.sub.d signal using a Park transform and an angular position of a rotor in the motor; combining the i.sub.q signal with the reference i.sub.q signal to produce a combined i.sub.q signal; integrating the combined i.sub.q signal to produce a v.sub.q signal; combining the i.sub.d signal with the reference i.sub.d signal to produce a combined i.sub.d signal; integrating the combined i.sub.d signal to produce a v.sub.d signal; transforming the v.sub.q signal and the v.sub.d signal to a v.sub.α signal and a v.sub.β signal using an inverse Park transform with the angular position of the rotor; and transforming the v.sub.α signal and the v.sub.β signal to control signals for the modulator using an inverse Clarke transform.
17. The method of claim 16, wherein the inverse Clarke transform receives a measured voltage supply signal indicating a measured voltage across the power supply.
18. The method of claim 16, wherein the reference i.sub.d signal is determined using a difference between reference rotational speed of the motor and an estimated speed of the motor.
19. The method of claim 16, wherein the angular position of the rotor is determined using a speed and position estimator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024] In the drawings, the same reference numbers and other reference designators are used to illustrate the same or similar (functionally and/or structurally) features. The drawings are not necessarily drawn to scale.
[0025]
[0026] Current is applied to winding 102, winding 104 and winding 106. By timing the pulses of current applied to winding 102, winding 104 and winding 106, a force is applied to rotate rotor 110. For example, in the position shown in
[0027]
[0028] In this example, the current through three coils (e.g. windings 102, 104 and 106) is detected by first current sensor 214, second current sensor 216 and third current sensor 218. Current detectors 214, 216 and 218 detect current signals i.sub.a, i.sub.b, and i.sub.c, respectively, which are the coil current feedback signals representing the current through three stator coils, examples of which are winding 102 (
[0029] Circuit 220 performs a Clarke transform (e.g. converts the time-domain components of a three-phase motor, such as currents i.sub.a, i.sub.b and i.sub.c into current values in a two-phase orthogonal stator frame, e.g. a fixed coordinate stator phase) and can be implemented using a processor, digital circuitry, a state machine, or other circuitry. Currents i.sub.a, i.sub.b and i.sub.c are indicative of the forces in the motor in three phases. Circuit 220 converts these current values to current values, i.sub.α and i.sub.β (e.g. equivalent signals in a stationary reference frame). Mathematically, this conversion follows Equations 1 and 2.
[0030] These values represent stator currents converted from a three-phase system to a stationary two-phase system. Thus, to convert these values to values that represent the force on the rotor (i.sub.q and i.sub.d) in the rotor reference frame, the angular position θ of the rotating plane of the rotor is required. Speed and position estimator circuitry 222 uses i.sub.α, i.sub.β, v.sub.α, and v.sub.β to determine angular position signal θ and rotational speed co. For examples of speed and positional estimation see Driss Yousfi, Abdallah Darkawi, “Comparison of two position and speed estimation techniques used in PMSM sensorless vector control,” 4th IET International Conference on Power Electronics, Machines and Drives (PEMD 2008), Apr 2008, York, United Kingdom. pp.626-630, which is hereby incorporated herein by reference. The determination of v.sub.α, and v.sub.β is discussed hereinbelow.
[0031] One of the outputs of speed and position estimator circuitry 222 is the estimated angular position θ of the rotor. Park transform circuitry 224 (implemented using, for example, a processor, state machine, digital circuitry and/or other circuitry) determines the i.sub.q signal (i.sub.q) and i.sub.d signal (i.sub.d) from i.sub.α, i.sub.β and θ using Equations 3 and 4.
i.sub.q=i.sub.βcos θ−i.sub.α sin θ (3)
i.sub.d=i.sub.β sin θ+i.sub.α cos θ (4)
[0032] FOC driving circuit 200 receives a reference rotational speed ω.sub.ref selected by a user or other speed selection circuitry (not shown), which is a desired or selected speed. The reference rotational speed ω.sub.ref is summed by first combiner 226 with the negative of the estimated speed ω provided by the speed and position estimator circuitry 222 to determine a difference between the desired speed of rotation of the motor 204 and an estimate of the actual speed. First proportional integrator 228 integrates the output of first combiner 226 and proportionally adjusts the magnitude of the integrated output to provide a reference i.sub.q signal (i.sub.qref) (i.e. multiplies the output of the integration by a fixed amount so that the output matches the range needed for this variable), which represents a change in the torque current i.sub.q to achieve the desired speed. Second combiner 230 receives i.sub.qref on a reference i.sub.q input 231 and sums i.sub.qref with the negative of i.sub.q provided by Park transform circuitry 224 to provide a combined i.sub.q signal. Second proportional integrator 232 integrates the output of second combiner 230 and adjusts the proportion to provide a v.sub.q signal that represents a voltage necessary to provide an adjusted torque necessary for the motor to reach the desired speed.
[0033] FOC driving circuit 200 receives on a reference i.sub.d input 235 a selected reference i.sub.d signal (i.sub.dref) for the d dimension, which is orthogonal to the q dimension, that is the portion of the applied forces that does not produce torque in the motor. In some motors, this value would be zero or less than zero due to the configuration of the motor. This is ideal because all of the current (i.sub.q) applied to the motor produces torque. In other motors, i.sub.d must be greater than zero for proper operation of the motor. The proper level of i.sub.d depends on the motor configuration and what is the most efficient combination of i.sub.d and i.sub.q for that configuration of motor. Third combiner 234 combines i.sub.dref with the negative of i.sub.d to provide a combined i.sub.d signal. Third proportional integrator 236 integrates the output of third combiner 234 and adjusts the proportion to provide a v.sub.d signal that represents an adjusted level in the d dimension for efficient operation of the motor.
[0034] Inverse Park transform circuitry 238 (implemented using, for example, a processor, state machine, digital circuitry and/or other circuitry) receives v.sub.q, v.sub.d, and θ, and provides a v.sub.α signal and a v.sub.β signal according to Equations 5 and 6.
v.sub.α=v.sub.d cos θ−v.sub.q sin θ (5)
v.sub.β=v.sub.d sin θ+v.sub.q cos θ (6)
These signals represent the voltages to be applied by the electro-magnets A, B, and C in the two vector (α and β) stator frame of reference. Inverse Clarke transform circuitry 240 (implemented using, for example, a processor, state machine, digital circuitry and/or other circuitry) receives v.sub.α, v.sub.β, and a measured voltage or measured voltage supply signal (V.sub.dc) provided by voltage sensor 242 (which measures the voltage of power source 202), and provides modulation signals (m.sub.a, m.sub.b, and m.sub.c) according to Equations 7-9.
[0035] Where in is a function of V.sub.dc and converts the parenthetical values of Equations (7), (8), and (9) to time values for the pulse widths applied by three-phase bridge 212 through first driving line 206, second driving line 208 and third driving line 210 to drive motor 204. Thus, three-phase bridge 212 serves to modulate the application of power to the motor thereby changing the speed and direction of rotor 110. (See Texas Instruments, “Clarke & Parke Transforms on the TMW320C2xx,” Lit. No. BPRA048 (1997), https:///www.ti.com/lit/an/bpra048/bpra0.48.pdf, which is incorporated herein by reference in its entirety.)
[0036] The braking or reversing of motor 204 in the example of
[0037]
[0038]
[0039]
P.sub.O=E*i.sub.q (10)
[0040] Because i.sub.q is negative, power is provided to the power supply. In terms of the FOC inputs, the power input to the motor is Equation 11.
P.sub.in=v.sub.di.sub.d+v.sub.qi.sub.q (11)
To make P.sub.in approximately equal to zero, v.sub.di.sub.d is set at approximately v.sub.q(−i.sub.q). Setting P.sub.in to approximately zero is ideal because it means that power is not being supplied to the power supply. However, in practical examples, P.sub.in is set to a positive value (the power supply is providing power) so that any disturbances due to the control loop or any other practical limitations will be absorbed by the buffer of extra power being drawn from source.
[0041]
[0042] Unlike the example embodiment of
[0043]
[0044] Third combiner 634 combines i.sub.dref with i.sub.d to provide an output that approximately offsets the energy from the motor 604 being provided to the power source 602. Thus, combiner 650 is not a simple combiner, but only acts as a combiner when i.sub.dc is negative. If i.sub.dc is positive, combiner 650 simply passes i.sub.dc_ref. In this manner, i.sub.dref is modulated to increase v.sub.d when needed to mitigate current flow from motor 604 to power source 602.
[0045]
[0046] At time 714, the first fan is again spun to the known speed by the second fan. At time 714, the same i.sub.q applied at time 708 is applied. However, i.sub.d is increased to offset the kinetic energy of the fan. Point 716 on line 706 shows that there is no significant increase in the voltage at the power supply.
[0047]
[0048]
[0049]
[0050]
[0051]
[0052] A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or re-configurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
[0053] As used herein, the terms “terminal”, “node”, “interconnection”, “pin” and “lead” are used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection between or a terminus of a device element, a circuit element, an integrated circuit, a device, or other electronics or a semiconductor component.
[0054] In this description, the term, a “combiner” is a device that combines two or more signals into one combined signal. The “combiner” as described herein may combine two or more signals into a single output or the “combiner” may simply pass one of the input signals to the output without combining it with the other input signals.
[0055] A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.
[0056] While the use of particular transistors is described herein, other transistors (or equivalent devices) may be used instead. For example, a p-type metal-oxide-silicon FET (“MOSFET”) may be used in place of an n-type MOSFET with little or no changes to the circuit. Furthermore, other types of transistors may be used (such as bipolar junction transistors (BJTs)), drain-extended MOSFETs (p-type or n-type) or other types of junction transistor and/or field effect transistors.
[0057] Circuits described herein are reconfigurable to include the replaced components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the shown resistor. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same nodes. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two nodes as the single resistor or capacitor.
[0058] Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means ±10 percent of the stated value. Modifications are possible in the described examples, and other examples are possible within the scope of the claims.