CURRENT REGULATORS FOR PERMANENT MAGNET DC MACHINES

Information

  • Patent Application
  • 20190389505
  • Publication Number
    20190389505
  • Date Filed
    June 20, 2018
    6 years ago
  • Date Published
    December 26, 2019
    4 years ago
Abstract
Technical solutions are described for a motor control system to control a permanent magnet DC (PMDC) machine. An example motor control system includes one or more sensors for measuring an output current of the PMDC machine. The motor control system further includes a current regulator that generates a voltage command corresponding to an input current command for generating an amount of torque using the PMDC machine. The current regulator includes a current command compensator that generates a first voltage command based on the input current command received by the current regulator. The current regulator further includes a feedback compensator that generates a second voltage command based on the output current measured by the one or more sensors. The current regulator also includes an adder configured that generates the voltage command by adding the first voltage command and the second voltage command.
Description
BACKGROUND

The present application is generally related to improvements in operation of current regulators for permanent magnet dc (PMDC) machines, particularly for improving tuning of system dynamic responses for systems that use PMDC motor drives, such as electric power steering (EPS) systems.


PMDC machines are widely used in the EPS systems. Electric drive systems employing such machines require fewer sensors and relatively low-cost electronic circuitry, and are still able to deliver good performance through the entire operating space.


Torque control of PMDC machines is typically performed indirectly through current regulation utilizing current measurements. While steady state current tracking can be typically achieved by using proportional-integral (PI) controllers that act on the current error, the dynamic performance of the current control system is not satisfactory.


SUMMARY

According to one or more embodiments, an example motor control system includes one or more sensors for measuring an output current of the PMDC machine. The motor control system further includes a current regulator that generates a voltage command corresponding to an input current command for generating an amount of torque using the PMDC machine. The current regulator includes a current command compensator that generates a first voltage command based on the input current command received by the current regulator. The current regulator further includes a feedback compensator that generates a second voltage command based on the output current measured by the one or more sensors. The current regulator also includes an adder configured that generates the voltage command by adding the first voltage command and the second voltage command.


According to one or more embodiments, a method for controlling operation of a permanent magnet DC (PMDC) machine includes measuring, using one or more sensors, an output current of the PMDC machine. The method further includes generating, by a current regulator, a voltage command in response to receiving an input current command, and applying the voltage command to the PMDC machine for generating an amount of torque corresponding to the input current command. Generating the voltage command includes generating, by a current command compensator, a first voltage command based on the input current command received by the current regulator. Generating the voltage command further includes generating, by a feedback compensator, a second voltage command based on the output current measured by the one or more sensors. Generating the voltage command further includes generating, by an adder, the voltage command by adding the first voltage command and the second voltage command.


According to one or more embodiments, a steering system includes a permanent magnet DC (PMDC) motor, and one or more sensors for measuring an output current of the PMDC motor. The steering system further includes a motor control system that generates a voltage command, the voltage command is applied to the PMDC motor for generating an amount of torque. The motor control system includes a current regulator that receives an input current command, the voltage command corresponding to the input current command. The motor control system further includes a current command compensator that generates a first voltage command based on the input current command. The motor control system further includes a feedback compensator that generates a second voltage command based on the output current measured by the one or more sensors. The motor control system further includes an adder that generates the voltage command by adding the first voltage command and the second voltage command.


These and other advantages and features will become more apparent from the following description taken in conjunction with the drawings.





BRIEF DESCRIPTION OF THE DRAWINGS

The subject matter of the present disclosure is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features, and advantages of the present disclosure are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:



FIG. 1 is an exemplary embodiment of an electric power steering system according to one or more embodiments;



FIG. 2 depicts block diagram of an architecture of a motor control system performing torque (and current) control of PMDC machines according to one or more embodiments;



FIG. 3 depicts a block diagram of an architecture of a motor control system that provides a two degree of freedom (2DOF) feedback current control according to one or more embodiments;



FIG. 4 depicts a block diagram of the plant model of a PMDC machine represented by the above equations according to one or more embodiments;



FIG. 5 depicts a operating model of a power converter according to one or more embodiments;



FIG. 6 depicts a block diagram of an operational dataflow for a 1DOF motor control system according to one or more embodiments;



FIG. 7 depicts a block diagram depicting an operational dataflow for a 2DOF motor control system according to one or more embodiments;



FIG. 8 depicts a specific configuration of a 2DOF motor control system using a pre-compensator according to one or more embodiments;



FIG. 9 depicts another configuration of a 2DOF motor control system using a reference feedforward compensator according to one or more embodiments;



FIG. 10 depicts another configuration of a 2DOF motor control system using a state feedback compensator according to one or more embodiments;



FIG. 11 depicts a block diagram of a motor control system that uses an observer based disturbance compensator according to one or more embodiments;



FIG. 12 depicts a block diagram of a current regulator with state feedback as well as observer based disturbance compensation according to one or more embodiments;



FIG. 13 depicts a block diagram of the first order transfer function system according to one or more embodiments;



FIG. 14 depicts a block diagram of the second order transfer function system according to one or more embodiments;



FIG. 15 depicts a block diagram of an nth order transfer function system according to one or more embodiments;



FIG. 16 depicts a block diagram of a third order transfer function system according to one or more embodiments; and



FIG. 17 depicts a control system with a second order closed loop transfer function response using a pre-compensator block according to one or more embodiments.





DETAILED DESCRIPTION

As used herein the terms module and sub-module refer to one or more processing circuits such as an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and memory that executes one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality. As can be appreciated, the sub-modules described below can be combined and/or further partitioned.


The torque control of PMDC machines is typically performed indirectly through current regulation utilizing current measurements. While steady state current tracking is typically achieved through the use of proportional-integral (PI) type controllers that act on the current error, the dynamic performance of the current control system may not be satisfactory. Providing dynamic response is more complex due to the nonlinearities in PMDC machines, which are caused by factors such as the brush drop voltage and the variation of machine parameters due to changing operating conditions. Typical current control designs are not able to maintain a consistent current control frequency response through the operating space of the machine, and also do not have enough degrees of freedom to be able to change the response characteristics (for instance, being able to achieve a specific current response shape such as a second order transfer function response). The technical solutions described herein address such technical challenges.


The technical solutions described herein facilitate a motor control system two degree of freedom (2DOF) feedback current control architecture. Further, specific configurations of the 2DOF motor control system are described to facilitate the closed-loop current control system to be configured into different response characteristics, with additional ability to trade-off between performance parameters like robustness, disturbance rejection and noise transmission characteristics. The specific configurations described herein further facilitate easier tunability of the control system, thus reducing the time taken by a user, such as a technician or any other personnel for tuning the current control loop in a system using the motor control system. For example, the motor control system for the PMDC machine may be part of an electric power steering (EPS) system, a water pump, an industrial belt, an escalator, or any other such system using a PMDC.


Referring now to the Figures, where the present disclosure will be described with reference to specific embodiments, without limiting the same, it is to be understood that the disclosed embodiments are merely illustrative of the present disclosure that may be embodied in various and alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present disclosure.



FIG. 1 is an exemplary embodiment of an electric power steering system (EPS) 40 suitable for implementation of the disclosed embodiments. The steering mechanism 36 is a rack-and-pinion type system and includes a toothed rack (not shown) within housing 50 and a pinion gear (also not shown) located under gear housing 52. As the operator input, hereinafter denoted as a steering wheel 26 (e.g. a hand wheel and the like) is turned, the upper steering shaft 29 turns and the lower steering shaft 51, connected to the upper steering shaft 29 through universal joint 34, turns the pinion gear. Rotation of the pinion gear moves the rack, which moves tie rods 38 (only one shown) in turn moving the steering knuckles 39 (only one shown), which turn a steerable wheel(s) 44 (only one shown).


Electric power steering assist is provided through the control apparatus generally designated by reference numeral 24 and includes the controller 16 and an electric machine 19, which could be a permanent magnet DC motor, and is hereinafter denoted as motor 19. The controller 16 is powered by the vehicle power supply 10 through line 12. The controller 16 receives a vehicle speed signal 14 representative of the vehicle velocity from a vehicle velocity sensor 17. Steering angle is measured through position sensor 32, which may be an optical encoding type sensor, variable resistance type sensor, or any other suitable type of position sensor, and supplies to the controller 16 a position signal 20. Motor velocity may be measured with a tachometer, or any other device, and transmitted to controller 16 as a motor velocity signal 21. A motor velocity denoted ωm may be measured, calculated or a combination thereof. For example, the motor velocity ωm may be calculated as the change of the motor position θ as measured by a position sensor 32 over a prescribed time interval. For example, motor speed ωm may be determined as the derivative of the motor position θ from the equation ωm=Δθ/Δt where Δt is the sampling time and Δθ is the change in position during the sampling interval. Alternatively, motor velocity may be derived from motor position as the time rate of change of position. It will be appreciated that there are numerous well-known methodologies for performing the function of a derivative.


As the steering wheel 26 is turned, torque sensor 28 senses the torque applied to the steering wheel 26 by the vehicle operator. The torque sensor 28 may include a torsion bar (not shown) and a variable resistive-type sensor (also not shown), which outputs a variable torque signal 18 to controller 16 in relation to the amount of twist on the torsion bar. Although this is one type of torque sensor, any other suitable torque-sensing device used with known signal processing techniques will suffice. In response to the various inputs, the controller sends a command 22 to the electric motor 19, which supplies torque assist to the steering system through worm 47 and worm gear 48, providing torque assist to the vehicle steering.


It should be noted that although the disclosed embodiments are described by way of reference to motor control for electric steering applications, it will be appreciated that such references are illustrative only and the disclosed embodiments may be applied to any motor control application employing an electric motor, e.g., steering, valve control, and the like. Moreover, the references and descriptions herein may apply to many forms of parameter sensors, including, but not limited to torque, position, speed and the like. It should also be noted that reference herein to electric machines including, but not limited to, motors, hereafter, for brevity and simplicity, reference will be made to motors only without limitation.


In the control system 24 as depicted, the controller 16 utilizes the torque, position, and speed, and like, to compute a command(s) to deliver the required output power. Controller 16 is disposed in communication with the various systems and sensors of the motor control system. Controller 16 receives signals from each of the system sensors, quantifies the received information, and provides an output command signal(s) in response thereto, in this instance, for example, to the motor 19. Controller 16 is configured to develop the corresponding voltage(s) out of inverter (not shown), which may optionally be incorporated with controller 16 and will be referred to herein as controller 16, such that, when applied to the motor 19, the desired torque or position is generated. In one or more examples, the controller 24 operates in a feedback control mode, as a current regulator, to generate the command 22. Alternatively, in one or more examples, the controller 24 operates in a feedforward control mode to generate the command 22. Because these voltages are related to the position and speed of the motor 19 and the desired torque, the position and/or speed of the rotor and the torque applied by an operator are determined. A position encoder is connected to the steering shaft 51 to detect the angular position θ. The encoder may sense the rotary position based on optical detection, magnetic field variations, or other methodologies. Typical position sensors include potentiometers, resolvers, synchros, encoders, and the like, as well as combinations comprising at least one of the forgoing. The position encoder outputs a position signal 20 indicating the angular position of the steering shaft 51 and thereby, that of the motor 19.


Desired torque may be determined by one or more torque sensors 28 transmitting torque signals 18 indicative of an applied torque. One or more exemplary embodiments include such a torque sensor 28 and the torque signal(s) 18 therefrom, as may be responsive to a compliant torsion bar, T-bar, spring, or similar apparatus (not shown) configured to provide a response indicative of the torque applied.


In one or more examples, a temperature sensor(s) 23 located at the electric machine 19. Preferably, the temperature sensor 23 is configured to directly measure the temperature of the sensing portion of the motor 19. The temperature sensor 23 transmits a temperature signal 25 to the controller 16 to facilitate the processing prescribed herein and compensation. Typical temperature sensors include thermocouples, thermistors, thermostats, and the like, as well as combinations comprising at least one of the foregoing sensors, which when appropriately placed provide a calibratable signal proportional to the particular temperature.


The position signal 20, velocity signal 21, and a torque signal(s) 18 among others, are applied to the controller 16. The controller 16 processes all input signals to generate values corresponding to each of the signals resulting in a rotor position value, a motor speed value, and a torque value being available for the processing in the algorithms as prescribed herein. Measurement signals, such as the above mentioned are also commonly linearized, compensated, and filtered as desired to enhance the characteristics or eliminate undesirable characteristics of the acquired signal. For example, the signals may be linearized to improve processing speed, or to address a large dynamic range of the signal. In addition, frequency or time based compensation and filtering may be employed to eliminate noise or avoid undesirable spectral characteristics.


In order to perform the prescribed functions and desired processing, as well as the computations therefore (e.g., the identification of motor parameters, control algorithm(s), and the like), controller 16 may include, but not be limited to, a processor(s), computer(s), DSP(s), memory, storage, register(s), timing, interrupt(s), communication interface(s), and input/output signal interfaces, and the like, as well as combinations comprising at least one of the foregoing. For example, controller 16 may include input signal processing and filtering to enable accurate sampling and conversion or acquisitions of such signals from communications interfaces. Additional features of controller 16 and certain processes therein are thoroughly discussed at a later point herein.



FIG. 2 depicts block diagram of an architecture of a motor control system performing torque (and current) control of PMDC machines according to one or more embodiments. The motor control system 100 depicted is shown to control the PMDC motor 19, which may/may not be considered as part of the motor control system 100. Further, current measurement sensors 17 are depicted that measure output current (Ia) at the motor 19. The torque control of the PMDC motor 19 is implemented via feedback current regulation using the current measurements. The torque command requested (Tc), for example from the EPS system 40, is converted into an equivalent current command by a current command generator 110. In one or more examples, the current command generator 110 uses the model of the machine (and additional power management functions), which is preprogrammed in the current command generator 110. The current command generator 110 accordingly generates a corresponding current command (Ic) that is sent to a current regulator 120.


The current regulator 120 acts upon the current command (Ic) and the measured current (Ia) to generate voltage commands (V*), that are converted into voltages by power converter circuits 130 that use pulse width modulation (PWM) schemes to apply the voltage command V to the terminals of the PMDC machine 19. The PMDC machine 19 then generates actual currents (Ia) and therefore electromagnetic torque (Te). The generated currents (Ia) are sensed through the current measurement sensor 17 circuitry and then fed back to the current regulator 120 in order to perform feedback current control described above.


Typically, a compensator, such as proportional-integral (PI) controllers that only act on the current error are used as the regulator 120 for implementing feedback current control. Such compensators are called one degree of freedom (1DOF) compensators, since only the current error is processed to produce the control signal (voltage command V*). Thus, the tuning capability of the motor control system 100 is limited.


The technical solutions described herein address the technical challenges described herein by providing additional degrees of freedom, for example by separate processing of the current command (Ic) and the measured current signals (Ia). The one or more embodiments in the above case can provide a two degree of freedom (2DOF) feedback current control architecture.



FIG. 3 depicts a block diagram of an architecture of a motor control system that provides a two degree of freedom (2DOF) feedback current control according to one or more embodiments. As is illustrated, the current regulator 120 includes a disturbance compensator 210, a command compensator 220, and a measurement compensator 230, among other modules and components. Each of these modules operate separately on respective components of input signals to the current regulator 120 to generate the voltage commands V*. The command compensator 220 operates on the input current command Ic generated by the current command generator 110. The measurement compensator 230 operates on the measured current signal Ia from the current sensor 17. Further, the disturbance compensator operates on an estimated disturbance d in the electrical circuit of the motor control system 100. Each of the compensators 210, 220, and 230, generate respective voltage command components which are added together (240) to generate the voltage command V*.


In the case of the EPS system 40, the plant is the electrical sub-system of the PMDC machine 19, for which the governing equations are given by:






v
=


L



di
a

dt


+

Ri
a

+


K
e



ω
m


+

v
B









T
e

=


K
e



i
a






Here, Ke, R, and L are the motor BEMF constant, resistance and inductance respectively. Further, v, ia and Te are the voltage input, current and electromagnetic torque of the motor 19. The brush voltage drop term vB is non-linear and is computed as,







v
B

=


σ


(

i
a

)





V
0

(

1
-

e

-




i
a


I
0







)






where the term σ(ia) refers to the sign of current. The quantities V0 and I0 are state variables of the function. The electrical parameters of the motor 19, namely the back-EMF constant or torque constant Ke, resistance R and inductance L vary dynamically, even though the variation is slow, with the operating condition of the motor 19.


For example, the governing equations for parameter variations for a given magnet temperature θTm is,






K
e
=γK
e(Ken(1+αMTm−θn)))


Here, the variable γKe is a scaling factor accounting for magnetic saturation, and is a function of motor current (Ia). The constant αM is the thermal coefficient of the permanent magnet material used in the motor 19.


Further, the inductance of the motor 19 is summarized by the following equation,






L=γ
L
L
n


where, the variable γL is a scaling factor for inductance based on the magnetic saturation characteristics of the motor 19, and is a function of the motor current (Ia).


Further yet, the motor circuit resistance is given by the following equation:






R=R
FET(1+αsiTSi−θn))+Rm(1+αcuTcu−θn))


It should be noted that the above equation gives the motor circuit resistance rather than the resistance of the motor windings only. Further, while not explicitly stated hereafter, it should be understood that the aforementioned models of the parameter variations are employed to continuously estimate the motor parameters in real-time, which results in improved estimation of the various signals.


When designing the motor control system 100, to overcome the nonlinearities in the above operating equations, in one or more examples, the non-linear brush-drop term may be linearized and a piece-wise observer structure may be employed. Alternatively, the brush-drop along with BEMF may be lumped into a total disturbance term d. Accordingly, the transfer function representation of the machine (plant) model is given by,










V


(
s
)


=





P


(
s
)





I
a



(
s
)



+

D


(
s
)









=





(

Ls
+
R

)




I
a



(
s
)



+

D


(
s
)











FIG. 4 depicts a block diagram of the plant model of a PMDC machine represented by the above equations according to one or more embodiments. As depicted, the plant (block 420) generates an output current (Ia) for received voltage command, which is a sum (at block 430) of an input voltage command and a disturbance component (Vdist) caused by the disturbance term d (block 410). Another representation of the above model using state-space representation is given by,







x
.

=

Ax
+
Bu
+
Ed









di
a

dt

=



[

-

R
L


]



i
a


+


[

1
L

]


v

+


[

1
L

]


d







FIG. 5 depicts a operating model of a power converter according to one or more embodiments. The block 510 in FIG. 5 depicts mathematical model of how a power converter 130 generates a voltage command V for the motor 19 given an input voltage command V* from the power regulator 120. An effect of the power converter is that the actual voltage is delayed due to the discrete nature of the operation of voltage conversion. This time delay may be modeled as a transport lag of Td which is typically an integer multiple of the PWM period Tp (which is the inverse of the PWM frequency fp). Additionally, nonlinearities introduced by the power converter 130 are not very substantial in affecting the current control design, and are overcome using voltage compensation techniques that are presently known. Accordingly, a model of the power converter 130 includes the transport lag, which may be modeled as a transfer function using the Pade approximation of appropriate order. For instance, the first order Pade approximation is given as follows







N


(
s
)


=


e


-

T
d



s





1
-


T
d


s



1
+


T
d


s









FIG. 6 depicts a block diagram of an operational dataflow for a 1DOF motor control system according to one or more embodiments. In the illustration, block 610 represents the current regulator 120 and the block 620 represents the power converter 130 and the electrical plant model of the motor 19. The block 610 receives a current error (Ie) which is a difference between the input current command (Ic) and a measured current (Im). Here, the measured current (Im) is depicted as the output current (Ia) being modified by an added noise component (Inoise) at block 630. The output current (Ia) is shown to be generated by the block 620 as a result of the voltage command V* from the current regulator block 610. The block 620 receives the voltage command V*, which is converted to the voltage command V by the power converter model 510. Further, the disturbance term d causes the voltage command V to change by a disturbance voltage component Vdist being added at block 430. The plant model 420 generates the output current (Ia) as a result of the received disturbed voltage command.


While such compensators (in FIG. 6) ensure steady state current command tracking, their dynamic performance may not be satisfactory especially due to time variation of system parameters as well as due lack of tuning flexibility for optimizing the tracking as well as disturbance rejection responses.



FIG. 7 depicts a block diagram depicting an operational dataflow for a 2DOF motor control system according to one or more embodiments. As described earlier, the motor control system 100 includes a 2DOF current regulator 120 that includes independent compensators 210, 220, and 230 for the commanded current, the measured current, and the disturbance term, respectively. In FIG. 7, block 710 represents the disturbance compensator 210, block 720 represents the command compensator 220, and block 730 represents the measurement compensator 230. The disturbance compensation provided by block 710 may be feedforward in nature, or observer based disturbance compensation.


The voltage command output of the 2DOF current regulator 120 is:










V
*

=




V
D

+

V
C

+

V
H








=



DX
+

RI
c

+

HI
m









where the frequency term s has been omitted. Here, X is a general signal or a set of signals, which could represent either a predicted feedforward term or an output of another controller such as a disturbance observer. Here, VD is generated by the disturbance compensator block 710, VC is generated by the command compensator block 720, and VH is computed by the measurement compensator block 730. The resulting voltage command outputs are subsequently added at block 740 to generate the voltage command V* that is received by the power converter. It should be noted that in one or more examples, the block 610 may be represented to include only the blocks 720 and 730 for the command compensator 220 and the measurement compensator 230, with the block 710 being external to the regulator block 610.



FIG. 8 depicts a specific configuration of a 2DOF motor control system using a pre-compensator according to one or more embodiments. The illustration includes the blocks of the motor control system 100 discussed so far, and in addition, includes a pre-compensator 810. The pre-compensator 810 operates on the current command (IC) compensator, the result of which is used to compute a current error (Ie) by subtracting the measured current (Im). The current error (Ie) is then received by the current regulator 610. The operation of the pre-compensator 810 includes changing the input signal, in this case the current command using a gain factor B, which may be a dynamically adjustable function (such as a dynamic transfer function). In the depicted example, the current regulator 610 is a typical 1DOF compensator. In addition, in this configuration, the disturbance voltage (VD) gets added at 740. Accordingly, the voltage command of the current regulator 610 with the pre-compensator 810 can be expressed as follows:










V
*

=



DX
+

C


(


BI
c

-

I
m


)









=



DX
+

CBI
c

-

CI
m









Accordingly, in the configuration of FIG. 8, the current command and the measured current are separate parameters that can be used to adjust the current regulation, by controlling C and B (=2 DOF).



FIG. 9 depicts another configuration of a 2DOF motor control system using a reference feedforward compensator according to one or more embodiments. The illustration includes the blocks of the motor control system 100 discussed so far, with the current regulator 220 being a typical 1DOF compensator block 610 that receives the current error Ic and generates a corresponding voltage command component. In addition, the configuration includes the current command compensator block 720 that receives the current command Ic and generates a corresponding voltage command component. Further, at 740, the voltage command component (VD) caused by the disturbance d is added with the voltage command components from the compensator 610 and the command compensator 720 to generate the voltage command V*.


The voltage command of this current regulator may be expressed as:










V
*

=



DX
+

RI
c

+

C


(


I
c

-

I
m


)









=



DX
+


(

R
+
C

)



I
c


-

CI
m









Accordingly, in the configuration of FIG. 9, the current command and the measured current are separate parameters that can be used to adjust the current regulation, by controlling C and R (=2 DOF).



FIG. 10 depicts another configuration of a 2DOF motor control system using a state feedback compensator according to one or more embodiments. The illustration includes the blocks of the motor control system 100 discussed so far, with the current regulator 220 being a typical 1DOF compensator block 610 that receives the current error Ie and generates a corresponding voltage command component. In addition, the configuration includes the measured current compensator block 730 that receives the measured current Im and generates a corresponding voltage command component. Further, at 740, the voltage command component (VD) caused by the disturbance d is added with the voltage command components from the compensator 610 and the measured current compensator 730 to generate the voltage command V*.


The voltage command of this regulator structure may be expressed as follows.










V
*

=



DX
+

C


(


I
c

-

I
m


)


+

HI
m








=



DX
+

CI
c

+


(

H
-
C

)



I
m










Accordingly, in the configuration of FIG. 10, the current command and the measured current are separate parameters that can be used to adjust the current regulation, by controlling C and H (=2 DOF).


It should be noted that the above configurations are examples, and that in one or more embodiments, the configuration of the one or more compensators described herein may be varied to generate different voltage commands than those explicitly described herein. These different configurations allow the control system designer to implement the individual compensators more intuitively.


In one or more examples, additional tuning variables may be changed in order to perform response optimization for different applications of the PMDC machine. The following description describes one or more embodiments that utilize some of the structures mentioned above that result in targeted closed loop transfer functions which produce tracking, disturbance rejection as well as noise transmission characteristics of at least predetermined levels.



FIG. 11 depicts a block diagram of a motor control system that uses an observer based disturbance compensator according to one or more embodiments. The illustration does not include all of the blocks that have been described so far, rather, FIG. 11 depicts a voltage command component V0 as input to the block 740, V0 including the components from other compensators in the motor control system 100. In addition, the power converter and plant blocks are depicted to depict the loop used by an observer based disturbance compensator that includes a first matrix block 1110 and a second matrix block 1120. Here, the observer is modeled as a dual-input-single-output transfer matrix, with the individual elements of the matrix shown by the first transfer function block 1110 and the second transfer function block 1120, respectively. The disturbance estimate may then be expressed as follows.






V
D
=M
y
I
m
+M
x
V*


Here, Mx and My are transfer functions that represent the observer dynamics and in general contain estimated motor/control parameters along with the observer gains.


It should be noted that the plant model in this configuration is an “effective plant”, which must be controlled by the design and inclusion of compensators that produce V0. By adding the individual compensators, dynamics of the voltage to current loop changes. For instance, in case of the above observer based disturbance compensator, the effective dynamics of the voltage V0 to actual current Ia are changed. Next, the transfer function of the effective plant is determined (ignoring delays). The transfer functions describing the system response is given as follows.






I
a
=L
pf
V
0
+L
nf
I
noise
+L
df
V
dist






L
pf=(I+PN(I+Mx)−1My)−1PN(I+Mx)−1






L
nf=−(I+PN(I+Mx)−1My)−1PN(I+Mx)−1My






L
df=(I+PN(I+Mx)−1My)−1P


Here Lpf represents the effective plant transfer function. By setting N(s)≈1 and assuming different actual and estimated parameters, the effective plant transfer function is obtained as follows.













I
a



(
s
)




p

=





L
pf



(
s
)





V
0



(
s
)









=






1

Ls
+
R




(


s


(



L
^


s

+

2

x


R
^



)


+



x
2




R
^

2



L
^



)



(


s


(



L
^






s

+

2

x


R
^



)


+




x
2




R
^

2



L
^




(



L
^






s

+

R
^


)



1

Ls
+
R




)





V
0



(
s
)










Here x is an observer gain scaling factor which dictates how fast the observer dynamics are when compared to plant dynamics. Note that the final observer transfer function used to obtain Lpf is shown for the special case when the observer gains are configured to be a scalar factor x times faster than the plant poles. In the equations, the “hat” ({circumflex over ( )}) implies estimated parameter values. If the parameters are assumed to be accurate, i.e., actual and estimated parameters are equal, the effective plant transfer function becomes as follows.








L
pf



(
s
)


=

1

Ls
+
R






The effective plant does not get changed from its original form. The original plant may still be used to develop compensators that produce V0. The advantage of adding the disturbance compensator is that the disturbance rejection properties improve without affecting the plant dynamics. The effective disturbance rejection transfer function Ldf may be obtained as follows.












L
a



(
s
)




|
dist


=





L
df



(
s
)





V
dist



(
s
)









=






1

Ls
+
R




(

s


(



L
^


s

+

2

x


R
^



)


)



(


s


(



L
^


s

+

2

x


R
^



)


+




x
2




R
^

2


L



(



L
^


s

+

R
^


)



1

Ls
+
R




)





V
dist



(
s
)










The effective disturbance rejection transfer function can be further expressed as follows using the parameters.








L

df








(
s
)


=


1

Ls
+
R






Ls
2

+

2

xRs



(


Ls
2

+

2

xRs

+



x
2



R
2


L


)







Using the above expression, the disturbance rejection properties of the current control system may be changed by changing x without affecting plant dynamics.


In the description from here on, the disturbance compensator 210 is considered be present in the current control loop even if not explicitly shown, however it is understood that the technical solutions described are applicable and extendable to other configurations as well.


The goal of the next few current control designs is to obtain a specific closed loop transfer function order. For this, the base current regulator with state feedback configuration (FIG. 10) is chosen, and the individual compensator transfer functions are obtained in terms of estimated machine parameters. In real-time operation, the parameters may be actively estimated parameters considering different nonlinearities such as temperature variation, magnetic saturation etc.



FIG. 12 depicts a block diagram of a current regulator with state feedback as well as observer based disturbance compensation according to one or more embodiments. The transfer functions for this configuration are given as follows.






I
a
=T
a
I
c
+T
n
I
noise
+T
d
V
dist






T
a=(I+PN(I+Mx)−1(My+C−H))−1PN(I+Mx)−1C






T
n=(I+PN(I+Mx)−1(My+C−H))−1PN(I+Mx)−1(H−C−My)






T
d=(I+PN(I+Mx)−1(My+C−H))−1P


In order to obtain specific transfer function orders for the closed loop current control transfer function Ta the state feedback compensator H(s) (block 730) is set to −R0 and the forward path error compensator C(s) (block 610) is a PI controller. R0 is a value that can be tuned/calibrated. With this, the transfer function Ta is obtained and simplified (assuming accurate parameter estimation) as follows.








T
a



(
s
)


=




I
a



(
s
)




I
c



(
s
)



=




(



K
p


s

+

K
i


)



(



L
^



s
2


+


(


R
^

+

L
1


)


s

+

L
2


)








s


(



L
^


s

+

R
^

+

L
1


)




(


Ls
2

+


(

R
+

R
o

+

K
p


)


s

+

K
i


)


+







L
2



(



L
^



s
2


+


(


R
^

+

R
o

+

K
p


)


s

+

K
i


)






=




K
p


s

+

K
i




Ls
2

+


(

R
+

R
o

+

K
p


)


s

+

K
i









In order to obtain a first order closed loop response with a specific bandwidth ωb the individual gains may be set as follows.






K
pb{tilde over (L)}






K
ib({tilde over (R)}+R0)


In this case, the parameters R0 and ωb are inputs based on desired performance, while the PI gains are computed online using the parameters along with estimated machine parameters in real-time. It should be noted that the variables R0 and ωb may be scheduled as a function of other signals to obtain performance enhancements. With these settings, the closed loop transfer function becomes as follows.







T
a

=


ω
b


s
+

ω
b








FIG. 13 depicts a block diagram of the first order transfer function system according to one or more embodiments. Further, in this setting/configuration, the disturbance rejection transfer function (ignoring disturbance compensation) becomes as follows.











T
d



(
s
)


=



s


Ls
2

+


(

R
+

R
o

+

K
p


)


s

+

K
i









=



s


(

s
+

ω
b


)



(

Ls
+
R
+

R
0


)










Hence, the disturbance rejection properties may be further improved by tuning R0 without affecting the closed loop transfer function. The term R0 is referred to here is a “virtual resistance” term, which, while not explicitly shown, is a state feedback term that results in an effective plant transfer function. The virtual resistance adds to the plant matrix as an additional resistance term. Accordingly, in the embodiments described herein, a first order transfer function is obtained for the current regulation.


To obtain a second order closed loop transfer function, the various compensators may be picked differently. For example, consider using the following transfer functions for the feedback compensator 730 and the current regulator 610, respectively.







H


(
s
)


=



-
2



ζω
n



L
~


+

R
~









C


(
s
)


=



ω
n
2



L
~


s





Here ωn and ζ represent the desired natural frequency and damping ratio of the second order transfer function. Thus, in this case, the forward path compensator 610 is a pure integral controller and the state feedback compensator 730 is a gain which is set to the value above (computed online).



FIG. 14 depicts a block diagram of the second order transfer function system according to one or more embodiments. As can be seen the current regulator 610 and the feedback compensator 730 are modified to use the above transfer functions to adjust the current regulation using second order transfer functions. The current regulator 610 is tuned by changing natural frequency (ωn) and damping ratio (ζ). The motor parameter estimates are used in order to compute the controller gains/parameters which include the tunable parameters such as the natural frequency and the damping ratio.


The current regulator may be further modified to obtain nth order transfer function. FIG. 15 depicts a block diagram of the nth order transfer function system according to one or more embodiments. As illustrated, this configuration uses a different configuration for the forward path compensator 610 as shown in the FIG. 15. The control system 100 uses multiple tunable parameters for obtaining the specific order desired. For instance, for nth order response, the current regulator has at least n tunable parameters. In this case, the desired transfer function is of the form shown below.








T
a



(
s
)


=



p
1



p
2













p
n




(

s
+

p
1


)



(

s
+

p
2


)













(

s
+

p
n


)







The individual parameters may be determined in order to obtain a response, for instance, as follows.








T
a



(
s
)


=


ω
n



(

s
+
ω

)

n






As an example, the above design is used to obtain a third order transfer function as shown in FIG. 16. In this case, the closed loop transfer function is obtained as follows.








T
a



(
s
)


=



K
i

L



s
3

+


s
2




(

R
+

R
o

+


α
1


L


)

L


+

s








α
1



(

R
+

R
o


)


L


+


K
i

L







where Ki, α1, R0 may be chosen in order to place poles at any desired locations. If the all poles are to be placed at the same locations, say s=−ω, then the characteristic desired and actual polynomials may be compared to find the tunable parameters.








(

s
+
ω

)

n




s
3

+


s
2








(

R
+

R
o

+

α





L


)

L


+

s



α


(

R
+

R
o


)


L


+


K
i

L






By comparing both sides, the three parameters may be determined the following equations.








K
i

L

=

ω
3








α
+


R
+

R
o


L


=

3

ω








α







R
+

R
o


L


=

3


ω
2






It should be noted that different types of C(s) (block 610) may be chosen if the nth order closed loop response needs to have certain number of zeros in addition to n poles.


The above embodiments described herein are for the configuration where the feedback compensator is included in the current loop to provide a 2DOF current control architecture. As another illustration of the 2DOF current control architecture, a second order closed loop transfer function response is obtained using the current controller with a pre-compensator configuration (FIG. 8).



FIG. 17 depicts a control system with a second order closed loop transfer function response using a pre-compensator block according to one or more embodiments. In this case, the pre-compensator (B(s)) 810 and forward path compensator (C(s)) 610 are chosen as follows.







C


(
s
)


=


2


ζω
n



L
~


-

R
~

+



ω
n
2



L
~


s









B


(
s
)


=



ω
n
2



L
~





(


2


ζω
n



L
~


-

R
~


)


s

+


ω
n
2



L
~








It should be noted that the equations described herein use “s”, which represents the derivative operation in continuous time (as opposed to discrete time), to describe one or more transfer functions of the compensators for simplicity. Because the implementation of the compensators is typically done in a digital controller, the calculations are performed using discrete time math. For discrete time implementation, therefore, s may be replaced by an appropriate estimate or approximation of the derivative operator, which may be represented by s. Note that the discrete time implementation of the compensators may be performed by conversion from analog (continuous time) to digital (discrete time) domain using any of the commonly known transformation methods such as the bilinear transform, or by directly designing the compensators in discrete time using various digital filter design techniques, and so on.


While the present disclosure has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the present disclosure is not limited to such disclosed embodiments. Rather, the present disclosure can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate in scope with the present disclosure. Additionally, while various embodiments of the present disclosure have been described, it is to be understood that aspects of the present disclosure may include only some of the described embodiments or combinations of the various embodiments. Accordingly, the present disclosure is not to be seen as limited by the foregoing description.

Claims
  • 1. A motor control system for a permanent magnet DC (PMDC) machine, the motor control system comprising: one or more sensors for measuring an output current of the PMDC machine; anda current regulator configured to generate a voltage command in response to receiving an input current command, the voltage command is applied to the PMDC machine for generating an amount of torque corresponding to the input current command, the current regulator comprising: a current command compensator configured to generate a first voltage command based on the input current command received by the current regulator;a feedback compensator configured to generate a second voltage command based on the output current measured by the one or more sensors; andan adder configured to generate the voltage command by adding the first voltage command and the second voltage command.
  • 2. The motor control system of claim 1, wherein the current command compensator generates the first voltage command using a difference between the input current command and the output current measured by the one or more sensors.
  • 3. The motor control system of claim 1, wherein the current regulator further comprises: a disturbance compensator configured to generate a third voltage command based on a feedforward disturbance; andthe adder being configured to generate the voltage command by further adding the third voltage command.
  • 4. The motor control system of claim 1, further comprising: a power converter configured to receive the voltage command from the current regulator and generate pulse width modulated voltage signals for the PMDC machine based on a predetermined frequency.
  • 5. The motor control system of claim 1, wherein an order of a transfer function response of the current regulator is tuned based on a first transfer function of the current command compensator and a second transfer function of the feedback compensator.
  • 6. The motor control system of claim 5, wherein the second transfer function of the feedback compensator is set to −R0, R0 being a configurable value received as input.
  • 7. The motor control system of claim 5, wherein the first transfer function of the current command compensator is set to
  • 8. A method for controlling operation of a permanent magnet DC (PMDC) machine, the method comprising: measuring, using one or more sensors, an output current of the PMDC machine; andgenerating, by a current regulator, a voltage command in response to receiving an input current command, and applying the voltage command to the PMDC machine for generating an amount of torque corresponding to the input current command, generating the voltage command comprising: generating, by a current command compensator, a first voltage command based on the input current command received by the current regulator;generating, by a feedback compensator, a second voltage command based on the output current measured by the one or more sensors; andgenerating, by an adder, the voltage command by adding the first voltage command and the second voltage command.
  • 9. The method of claim 8, wherein the first voltage command is generated using a difference between the input current command and the output current measured by the one or more sensors.
  • 10. The method of claim 8, wherein generating the voltage command further comprises: generating, by a disturbance compensator, a third voltage command based on a feedforward disturbance; andgenerating, by the adder, the voltage command by further adding the third voltage command.
  • 11. The method of claim 8, further comprising: receiving, by a power converter, the voltage command from the current regulator and generating pulse width modulated voltage signals for the PMDC machine based on a predetermined frequency.
  • 12. The method of claim 8, wherein an order of a transfer function response of the current regulator is tuned based on a first transfer function of the current command compensator and a second transfer function of the feedback compensator.
  • 13. The method of claim 12, wherein the second transfer function of the feedback compensator is set to −R0, R0 being a configurable value received as input.
  • 14. The method of claim 12, wherein the first transfer function of the current command compensator is set to
  • 15. A steering system comprising: a permanent magnet DC (PMDC) motor;one or more sensors for measuring an output current of the PMDC motor; anda motor control system configured to generate a voltage command, the voltage command is applied to the PMDC motor for generating an amount of torque, the motor control system comprising: a current regulator configured to receive an input current command, the voltage command corresponding to the input current command;a current command compensator configured to generate a first voltage command based on the input current command;a feedback compensator configured to generate a second voltage command based on the output current measured by the one or more sensors; andan adder configured to generate the voltage command by adding the first voltage command and the second voltage command.
  • 16. The steering system of claim 15, wherein the current command compensator generates the first voltage command using a difference between the input current command and the output current measured by the one or more sensors.
  • 17. The steering system of claim 15, wherein the motor control system further comprises: a disturbance compensator configured to generate a third voltage command based on a feedforward disturbance; andthe adder being configured to generate the voltage command by further adding the third voltage command.
  • 18. The steering system of claim 15, further comprising: a power converter configured to receive the voltage command from the current regulator and generate pulse width modulated voltage signals for the PMDC motor based on a predetermined frequency.
  • 19. The steering system of claim 15, wherein an order of a transfer function response of the current regulator is tuned based on a first transfer function of the current command compensator and a second transfer function of the feedback compensator.
  • 20. The steering system of claim 19, wherein the second transfer function of the feedback compensator is set to −R0, R0 being a configurable value received as input, and wherein the first transfer function of the current command compensator is set to