APPARATUS AND METHOD FOR CONTROLLING PERMANENT MAGNET SYNCHRONOUS MOTOR, AND STORAGE MEDIUM STORING INSTRUCTIONS TO PERFORM METHOD FOR CONTROLLING PERMANENT MAGNET SYNCHRONOUS MOTOR
20240405702 ยท 2024-12-05
Assignee
Inventors
- Jae Wook Jeon (Suwon-si, KR)
- Ton Hoang NGUYEN (Suwon-si, KR)
- Ty Trung NGUYEN (Suwon-si, KR)
- Sung Bhin OH (Suwon-si, KR)
- Youngsoo DO (Suwon-si, KR)
Cpc classification
H02P2207/05
ELECTRICITY
International classification
Abstract
There is provided an apparatus for controlling a permanent magnet synchronous motor in a permanent magnet synchronous motor system. The apparatus comprises a disturbance observation circuit unit configured to estimate concentrated disturbance of the permanent magnet synchronous motor using a nonlinear observation gain function; and a sliding mode controller configured to control the permanent magnet synchronous motor by reflecting the estimated concentrated disturbance in a position-current single-loop control in which back-stepping control and sliding mode control are integrated.
Claims
1. An apparatus for controlling a permanent magnet synchronous motor in a permanent magnet synchronous motor system, the apparatus comprising: a disturbance observation circuit unit configured to estimate concentrated disturbance of the permanent magnet synchronous motor using a nonlinear observation gain function; and a sliding mode controller configured to control the permanent magnet synchronous motor by reflecting the estimated concentrated disturbance in a position-current single-loop control in which back-stepping control and sliding mode control are integrated.
2. The apparatus of claim 1, wherein the sliding mode controller is configured to receive a signal including a reference current of a Direct-axis (D-axis) and reference position information of a rotor of the permanent magnet synchronous motor.
3. The apparatus of claim 2, wherein the reference current of the D-axis is set to 0.
4. The apparatus of claim 1, wherein the sliding mode controller is configured to control a current of a Quadrature-axis (Q-axis) and a current of the D-axis of the permanent magnet synchronous motor system.
5. The apparatus of claim 1, wherein the disturbance observation circuit unit is configured to calculate a derivative of the concerned disturbance and input the derivative to the sliding mode controller.
6. The apparatus of claim 1, wherein the permanent magnet synchronous motor system includes a space vector pulse width modulator configured to convert a two-axis rotating system into a two-axis stationary system and determine a pulse width modulation signal for an inverter switch to generate a three-phase voltage required by the permanent magnet synchronous motor system.
7. The apparatus of claim 1, wherein the back-stepping control includes a control for an adaptive convergence gain to prevent overshoot.
8. The apparatus of claim 1, wherein the nonlinear observation gain function includes a nonlinear design function combining a primary state variable and a second state variable.
9. The apparatus of claim 1, wherein the sliding mode controller includes an adaptive back-stepping sliding mode controller.
10. The apparatus of claim 1, wherein the disturbance observation circuit unit includes a nonlinear disturbance observer circuit unit.
11. A method for controlling a permanent magnet synchronous motor in a permanent magnet synchronous motor system by a control unit in a permanent magnet synchronous motor system, the method comprising: calculating an adaptive convergence gain, position error, and a first virtual control signal by the control unit when an input signal is input to the permanent magnet synchronous motor in the permanent magnet synchronous motor system; calculating a first difference between the first virtual control signal and an actual control signal and calculating a second virtual control signal based on the first difference and a concentrated disturbance of the permanent magnet synchronous motor system estimated by a nonlinear disturbance observer circuit unit; calculating a second difference between the second virtual control signal and the actual control signal and calculating a first sliding-mode surface function and a voltage control signal of a Quadrature-axis (Q-axis) based on the second difference; and calculating a third difference between a third virtual control signal based on the voltage control signal of the Q-axis and the actual control signal and calculating a second sliding-mode surface function and a voltage control signal of a Direct-axis (D-axis) based on the third difference.
12. The method of claim 11, wherein the input signal includes a reference current of the D-axis and reference position information of a rotor of the permanent magnet synchronous motor.
13. The method of claim 11, wherein the control unit is configured to control a current of the Q-axis coordinate system and a current of the D-axis of the permanent magnet synchronous motor system.
14. The method of claim 11, wherein the nonlinear disturbance observation circuit unit is configured to estimate the concentrated disturbance of the permanent magnet synchronous motor using nonlinear observation gain function, provide the concentrated disturbance of the permanent magnet synchronous motor system to the control unit, calculate a derivative of the concerned disturbance, and input the derivative of the concerned disturbance to the control unit.
15. The method of claim 11, wherein the permanent magnet synchronous motor system includes a space vector pulse width modulator configured to convert a two-axis rotating system into a two-axis stationary system and determine a pulse width modulation signal for an inverter switch to generate a three-phase voltage required by the permanent magnet synchronous motor system.
16. The method of claim 11, wherein the control unit is configured to control the permanent magnet synchronous motor system by integrating back-stepping control and sliding mode control, and wherein the back-stepping control includes a control for an adaptive convergence gain to prevent overshoot.
17. The method of claim 14, wherein the nonlinear observation gain function includes a nonlinear design function combining a primary state variable and a second state variable.
18. The method of claim 12, wherein the position error is calculated by a difference between the reference position information and the actual control signal.
19. The method of claim 11, wherein the calculating the second virtual control signal includes calculating a nominal virtual control signal without considering uncertainty and an external load torque.
20. A non-transitory computer readable storage medium storing computer executable instructions, wherein the instructions, when executed by a processor, cause the processor to perform a method for controlling a permanent magnet synchronous motor in a permanent magnet synchronous motor system, the method comprising: calculating an adaptive convergence gain, position error, and a first virtual control signal by the control unit when an input signal is input to the permanent magnet synchronous motor in the permanent magnet synchronous motor system; calculating a first difference between the first virtual control signal and an actual control signal and calculating a second virtual control signal based on the first difference and a concentrated disturbance of the permanent magnet synchronous motor system estimated by a nonlinear disturbance observer circuit unit; calculating a second difference between the second virtual control signal and the actual control signal and calculating a first sliding-mode surface function and a voltage control signal of a Quadrature-axis (Q-axis) based on the second difference; and calculating a third difference between a third virtual control signal based on the voltage control signal of the Q-axis and the actual control signal and calculating a second sliding-mode surface function and a voltage control signal of a Direct-axis (D-axis) based on the third difference.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
DETAILED DESCRIPTION
[0044] The advantages and features of the embodiments and the methods of accomplishing the embodiments will be clearly understood from the following description taken in conjunction with the accompanying drawings. However, embodiments are not limited to those embodiments described, as embodiments may be implemented in various forms. It should be noted that the present embodiments are provided to make a full disclosure and also to allow those skilled in the art to know the full range of the embodiments. Therefore, the embodiments are to be defined only by the scope of the appended claims.
[0045] Terms used in the present specification will be briefly described, and the present disclosure will be described in detail.
[0046] In terms used in the present disclosure, general terms currently as widely used as possible while considering functions in the present disclosure are used. However, the terms may vary according to the intention or precedent of a technician working in the field, the emergence of new technologies, and the like. In addition, in certain cases, there are terms arbitrarily selected by the applicant, and in this case, the meaning of the terms will be described in detail in the description of the corresponding invention. Therefore, the terms used in the present disclosure should be defined based on the meaning of the terms and the overall contents of the present disclosure, not just the name of the terms.
[0047] When it is described that a part in the overall specification includes a certain component, this means that other components may be further included instead of excluding other components unless specifically stated to the contrary.
[0048] In addition, a term such as a unit or a portion used in the specification means a software component or a hardware component such as FPGA or ASIC, and the unit or the portion performs a certain role. However, the unit or the portion is not limited to software or hardware. The portion or the unit may be configured to be in an addressable storage medium, or may be configured to reproduce one or more processors. Thus, as an example, the unit or the portion includes components (such as software components, object-oriented software components, class components, and task components), processes, functions, properties, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, database, data structures, tables, arrays, and variables. The functions provided in the components and unit may be combined into a smaller number of components and units or may be further divided into additional components and units.
[0049] Hereinafter, the embodiment of the present disclosure will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art may easily implement the present disclosure. In the drawings, portions not related to the description are omitted in order to clearly describe the present disclosure.
[0050] Several nonlinear techniques have been developed to improve control performance of a motor system such as back-stepping control, adaptive control, fuzzy-logic control, sliding mode control, and model predictive control.
[0051] Among these methods, the back-stepping control is a systematic and recursive approach based on Lyapunov stability theory that guarantees overall asymptotic stability. The back-stepping control can transform complex nonlinear control systems into simple reduced-order subsystems. Using recursive design and virtual control variables, control laws can be derived for tracking the position or regulating the speed of a motor. However, because the back-stepping control is a strict model-based approach, the robustness of the permanent magnet synchronous motor drive cannot be guaranteed due to uncertainty and external disturbances. It is known that a back-stepping tracking controller with a load torque observer has been developed using machine parameter data from the permanent magnet synchronous motor, enabling precise control of a given reference trajectory.
[0052] The sliding mode control is a useful method in the permanent magnet synchronous motor because of the robustness to disturbances, fast response time, and simplicity of implementation. However, to ensure the robustness of SMC under parameter uncertainty and external disturbances, a switching gain greater than the upper limit of the concentrated disturbance is generally required, which may cause an undesirable chattering phenomenon. Several approaches have been introduced to solve the chattering problem, such as boundary layer approach, high-order SMC, a fuzzy sliding-mode, and a reaching law method.
[0053] Among these approaches, the reaching law method has been proven to be an effective strategy to reduce chattering. It directly affects the reaching process by modifying the control gain function to meet the requirements for robustness and chattering reduction. The control gain has a potentially large value in the reaching step, but has a small value in the sliding step, and when external disturbances occur, the robustness near the sliding-mode surface function decreases.
[0054] A combination of the SMC and the disturbance observation circuit unit is an effective way to further improve the robustness of the SMC-based reaching law method. The disturbance observation unit can estimate unknown disturbances (parameter variations, external disturbances, or the like) and transmit the disturbances to the SMC. Moreover, the switching gain needs to be smaller than an upper limit of the concerned disturbance and larger than the estimation error to reduce chattering.
[0055] In the disturbance observation unit, control of the motor controller is essential due to inevitability of uncertainty and external disturbance in the motor system. Several disturbance observation approaches, such as a Luenberger observer, a sliding mode observer, an extended state observer, or the like, have been proposed to improve the control system performance of motors. This illustrates that disturbance can be alleviated in the output by transmitting the estimated disturbance to the controller without affecting the performance of the system. Nonlinear disturbance observation (NDO) control methods have been actively studied recently because they are easy to implement and generate reliable disturbance estimation values. This technology has been tested in robots, converters, and motor drives and illustrates very powerful performance. However, since these studies used a fixed observer gain for the NDO, the observer may give a slower convergence rate in certain scenarios such as rapid changes in external load torque.
[0056] A composite method that combines the advantages of the back-stepping control and the SMC for permanent magnet synchronous motor speed regulation provides stable control performance, fast response, reduced position steady-state error, and robustness to disturbances unknown to the motor driver. However, BSMC can cause a large overshoot in the position step profile due to the fixed convergence gain of the back-stepping method.
[0057] Accordingly, in one embodiment of the present disclosure, adaptive BSMC (ABSMC) including an adaptive convergence gain is proposed.
[0058] The method proposed in the present disclosure can accelerate the actual position to the target position while reducing overshoot.
[0059] In one embodiment of the present disclosure, parameter uncertainty and external load disturbance are also considered, and a technique to improve NDO, maintain the robustness of ABSMC, and reduce steady-state errors is proposed.
[0060] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the attached drawings.
[0061]
[0062] As illustrated in
[0063] The adaptive back-stepping sliding mode controller 100 is formed with a position current single loop control structure that integrates back-stepping control and sliding mode control and may control the permanent magnet synchronous motor system 300.
[0064] The nonlinear disturbance observation unit 200 may estimate a concerned disturbance of the permanent magnet synchronous motor system 300 using a nonlinear observation gain function, and transmit the result of estimating the concerned disturbance to the adaptive back-stepping sliding mode controller 100.
[0065]
[0066] In the motor control device of the permanent magnet synchronous motor system 300 according to one embodiment of the present disclosure, the inputs are the reference position .sub.ref and a d-axis current, which are set to 0 so as to provide constant flux conditions in the permanent magnet synchronous motor system 300.
[0067] The control outputs are motor voltage supplies V.sub.q and V.sub.d. The adaptive back-stepping sliding mode controller 100 is a combination of the back-stepping and the SMC control, and the back-stepping includes an adaptive convergence gain to prevent a large overshoot. Additionally, in order to reduce the influence of uncertainty parameters and external disturbances, the nonlinear disturbance observation unit 200 estimates unknown disturbances and transfers the estimated disturbances to the adaptive back-stepping sliding mode controller 100 to maintain the robustness of the motor system.
[0068] The permanent magnet synchronous motor system 300 includes a first conversion unit 302, a space vector pulse width modulator 304, an inverter 306, a permanent magnet synchronous motor 308, a second conversion unit 310, a third conversion 312, and a position and velocity calculation unit 314.
[0069] The first conversion unit 302, for example, performs an inverse Park transform, and may convert two-axis rotating system components (V.sub.d, V.sub.q) transmitted from the adaptive back-stepping sliding mode controller 100 to two-axis stationary system components (V.sub., V.sub.).
[0070] The space vector pulse width modulator 304 may determine the pulse width modulation signal for the inverter switch to generate the three-phase voltage required by the permanent magnet synchronous motor system 300.
[0071] The second conversion unit 310 may perform, for example, a Clarke transform and convert the three-phase system components (i.sub.a, i.sub.b, i.sub.c) into two-dimensional orthogonal system components (i.sub., i.sub.).
[0072] The third conversion unit 312, for example, performs Park transform and may convert two-axis stationary system components (i.sub., i.sub.) into two-axis rotating system components (i.sub.q, i.sub.d).
[0073] The position and velocity calculation unit 314 may measure the position feedback component () and a velocity feedback component (=d/dt) using an encoder.
[0074] Meanwhile, the motor control device of the permanent magnet synchronous motor system according to the embodiment of the present disclosure can be divided into the design of the Q-axis current controller, the design of the D-axis current controller, and the design of the nonlinear disturbance observation unit.
<Design of Q-axis Current Controller>
[0075] The position controller is designed to maintain the actual motor position accurately tracking the reference position x.sub.0.sup.ref=.sup.ref under variations in internal parameters and external disturbances. To achieve this control goal, the position error e.sub.0=x.sub.0.sup.refx.sub.0 should be minimized.
[0076] Step 1: Select a candidate Lyapunov function as V.sub.0=0.5e.sub.0.sup.2, then take the derivative of V.sub.q with respect to time as illustrated in [Equation 1].
[0077] In [Equation 1], the virtual control input is designed as illustrated in [Equation 2] below.
[0078] C.sub.0>0 is a strictly positive constant for the asymptotic convergence rate. Since V.sub.0=C.sub.0e.sub.0.sup.20 is guaranteed, e.sub.0 asymptotically converges to 0.
[0079] Step 2: Based on the value x.sub.1.sup.ref obtained in Step 1, determine the difference between x.sub.1.sup.ref and x.sub.1 as e.sub.1=x.sub.1.sup.refx.sub.1. The second Lyapunov function is chosen as V.sub.1=V.sub.0+0.5e.sub.1.sup.2. The time derivative of V.sub.1 is obtained as follows by [Equation 3].
[0080] In [Equation 2], the .sub.1 term is determined as follows by [Equation 4].
[0081] In [Equation 3] and [Equation 4], the term e.sub.0+.sub.1 is designed to be equal to c.sub.1e.sub.1 with c.sub.1>0.
[0082] Then, the virtual control input may be determined as follows by [Equation 6].
[0083] Here, x.sub.2n.sup.ref is a nominal virtual control signal that does not consider uncertainty and external load torque, and is expressed as [Equation 7].
[0084] The positive gains c.sub.0 and c.sub.1 in [Equation 2] and [Equation 7] represent the convergence gains of the back-step controller. When this gain is large, the system has a faster response and better robustness, but causes a large overshoot in the step profile. Meanwhile, when the value of this gain is small, the system reacts slowly and overshoot decreases. Therefore, there is a trade-off between setup time and overshoot.
[0085] The present disclosure proposes an adaptive gain function to reduce a large overshoot and obtain fast settling time by adjusting the gain values c.sub.0 and c.sub.1 online. This is expressed as [Equation 8] below.
[0086] Here, C.sub.initial is the initial value of the convergence gain. >0 is an experimentally determined threshold. >0 and >0. When the motor operates in a trapezoidal speed motion profile, |e.sub.0e.sub.1| is a small value, and c.sub.0=C.sub.initial. When the motor operates in the position step profile, |e.sub.0e.sub.1| is an excessively large value, and to reduce a large overshoot
[0087] Step 3: Based on the value x.sub.2.sup.ref obtained in Step 2 above, the difference between x.sub.2.sup.ref and x.sub.2 is determined as e.sub.2=x.sub.2.sup.refx.sub.2. In this step, sliding mode control is used to design the voltage supply vg of the motor, and the procedure is separated into two parts: sliding-mode surface function and reaching law method.
[0088] First, the sliding-mode surface function is designed as [Equation 9] below based on the error e.sub.2 and an integral thereof.
[0089] Considering the Lyapunov function V.sub.2=V.sub.1+0.557, the derivative of V.sub.2 with respect to time is determined as follows by [Equation 10].
[0090] The term (x.sub.1.sup.refx.sub.1) in [Equation 6] and [Equation 7] is calculated as follows by [Equation 11].
[0091] If [Equation 11] is replaced with [Equation 10], V.sub.2 can be rewritten as [Equation 12].
[0092] The constant proportional speed reaching law method for sliding mode is designed as follows by [Equation 13].
[0093] Therefore, the resulting control system is asymptotically stable V.sub.2=c.sub.0e.sub.2C.sub.1e.sub.2k.sub.1S.sub.1sgn(S.sub.1)k.sub.2S.sub.1.sup.20.
[0094] When the derivative of S.sub.1 in [Equation 9] is obtained, it is expressed as follows in [Equation 14].
[0095] The derivative of e.sub.2 with respect to time is determined as follows by [Equation 15].
[0096] Here, the nominal virtual control signal is equal to [Equation 16].
[0097] When [Equation 4] is replaced with [Equation 16], the following becomes [Equation 17].
[0098] Here, h.sub.q(x)=b.sub.n.sup.1 [{umlaut over (x)}.sub.0.sup.ref+(c.sub.0+c.sub.1){umlaut over (x)}.sub.0.sup.ref+(1+c.sub.0c.sub.1)({umlaut over (x)}.sub.0.sup.refx.sub.1)(c.sub.0+c.sub.1a.sub.n)(a.sub.nx.sub.1+b.sub.nx.sub.2)] and k.sub.ac=(c.sub.0+c.sub.1a.sub.n)b.sub.n.sup.1.
[0099] From [Equation 13] to [Equation 17], {dot over (S)}.sub.1 is derived as illustrated in [Equation 18] below.
[0100] In [Equation 18], the voltage supply to the q-axis can be derived as follows by [Equation 19].
[0101] x.sub.2.sup.ref is calculated in [Equation 6] and the control signal V.sub.q is calculated in [Equation 19], and a concerned disturbance x.sub.d and a derivative thereof {dot over (x)}_d which can cause unwanted dynamic responses in an unknown PMSM system are included. The concerned disturbance x.sub.d and the derivative thereof {dot over (x)}_d are estimated by providing feedforward compensation to the controller using NDO. More details are provided in the design of the nonlinear disturbance observation section below.
<D-axis Current Controller Design>
[0102] Step 4: This step designs the control signal V.sub.d so that the d-axis current output from the motor track is the reference current i.sub.d.sup.ref=x.sub.3.sup.ref. (As mentioned above, i.sub.d.sup.ref=0 gives constant flux.) To achieve this goal, the difference e.sub.3=0x.sub.3 must be minimized. As in Step 3, the SMC is used to design the control signal V.sub.d. The sliding surface is designed as follows by [Equation 20].
[0103] Here a.sub.2>0, and the control signal V.sub.d is derived using the reaching law method.
[0104] Finding the derivative of S.sub.2 in [Equation 18] is performed as follows in [Equation 22].
[0105] From [Equation 21] and [Equation 22], the control signal V.sub.d can be calculated as [Equation 23].
[0106] According to the Lyapunov function definition V.sub.3=0.5S.sub.2.sup.2, V.sub.3=k.sub.3S.sub.2sgn (S.sub.2)k.sub.4S.sub.20 can be guaranteed. Therefore, the value of x.sub.3 converges to 0.
<Design of Nonlinear Disturbance Observer Circuit Unit>
[0107] It can be considered that uncertainty and external disturbance are included along with the virtual control x.sub.2.sup.ref obtained in Step 2.
[0108] The nonlinear disturbance observation unit is designed as follows by [Equation 25].
[0109] Here,
is an observer gain function. An observer error e.sub.d=x.sub.d{circumflex over (x)}.sub.d, .sub.d is obtained as illustrated in [Equation 26] below.
[0110] Generally, the observer gain is selected as a fixed constant value L.sub.1>0, and the function p(x.sub.1)=L.sub.1x.sub.1 is designed as a linear function (LDO) to estimate the disturbance. The derivative of the observer error is .sub.d={dot over (x)}.sub.dL.sub.1e.sub.d. The observer error is given in [Equation 18]
[0111] Here, |{dot over (x)}.sub.d|< is the boundary of concerned disturbance x.sub.d.
[0112] In [Equation 27], when the system has a constant concerned disturbance {dot over (x)}.sub.d=0 (which means that =0), the observer error means that e.sub.d converges to 0, meaning that the disturbance observation circuit unit can accurately estimate the concerned disturbance. In the steady state, when the concerned disturbance changes slowly and the derivative of the disturbance is limited by , the observer error 37 is asymptotically and exponentially stable with respect to the initial error e.sub.d (0), while the steady-state error /L.sub.1 depends on the value of L.sub.1. The larger the observer gain, the smaller the observer error e.sub.d and the faster the disturbance estimate response. The fixed observer gain may cause the observer to provide a slower convergence rate in some critical scenarios such as rapid changes in the external load torque.
[0113] The present disclosure proposes a nonlinear design function p(x.sub.1) as illustrated in Equation 29 (NDO).
[0114] Here L.sub.1 and L.sub.2>0 are constant parameters. Unlike the fixed gain designed in [Equation 15] to [Equation 17], the proposed NDO uses a nonlinear design function p(x.sub.1) that combines a primary state variable and a secondary state variable. Differentiating the nonlinear function p(x.sub.1) with respect to x.sub.1 yields the following [Equation 30].
[0115] The observer gain observer gain l(x.sub.1) is configured to satisfy a global exponential stability condition of the observer error in [Equation 26]. It is clear that the proposed l(x.sub.1) has a larger size compared to the constant gain L.sub.1 used in [Equation 15] to [Equation 17]. As a result, the nonlinear gain l(x.sub.1) can provide faster convergence speed while reducing observer error.
[0116]
[0117] Specifically,
[0118] The proposed method combines two techniques, that is, the adaptive back-stepping sliding mode control and the nonlinear disturbance observation.
[0119] The adaptive back-stepping sliding control is a position-current single-loop control structure that simplifies the existing cascade position controller structure by integrating both the back-stepping control and SMC. A complex adaptive back-stepping sliding mode control provides the asymptotic stability of the back-stepping control and the robustness and rapid convergence of the SMC. The adaptive back-stepping sliding mode control also includes an adaptive law to adjust a back-stepping convergence gain, which can be used to prevent large overshoots in point-to-point positioning instructions.
[0120] The nonlinear disturbance observation unit uses an improved nonlinear observer gain function to estimate concerned disturbances in the permanent magnet synchronous motor system and reduce steady-state errors.
[0121] The combination of the adaptive back-stepping sliding mode control and the nonlinear disturbance observation can improve control performance in terms of fast transient response, robustness, and small steady-state error compared to PID and SMC position control methods.
<Mathematical Model of Permanent Magnet Synchronous Motor>
[0122]
[0123] The mathematical model of the permanent magnet synchronous motor system in a rotor d-q reference frame can be expressed as follows in [Equation 31], [Equation 32], and [Equation 33].
[0124] The items of [Equation 31], [Equation 32], and [Equation 33] may be defined as follows. [0125] V.sub.d and V.sub.q: stator voltage in d-q frame [0126] i.sub.d and i.sub.q: current in d-q frame [0127] R: stator resistance [0128] L.sub.d and L.sub.q: stator inductance in d-q frame [0129] F: number of rotor pole pairs [0130] .sub.f: flux linkage of rotor permanent magnet [0131] : rotor angular velocity [0132] T.sub.e: electromagnetic torque
[0133] Since the d-axis current is set to 0, the permanent magnet linkage .sub.f is a constant value. Therefore, the torque T.sub.e depends only on the q-axis current and can be simplified as follows by [Equation 34].
[0134] In fact, the equation of motion of the motor can be expressed by the influence of internal parameter changes and external load torque as illustrated in [Equation 35], [Equation 36], and [Equation 37] below.
[0135] The items of [Equation 35], [Equation 36], and [Equation 37] can be defined as follows. [0136] K.sub.t: torque constant [0137] J: total moment of inertia of rotor and load [0138] B: actual coefficient of friction [0139] T.sub.L: external load torque that can be considered as external disturbance [0140] J.sub.n and B.sub.n: nominal parameters; J and B are parameter changes [0141] d(t)=(Jd/dt+B.Math.+T.sub.L represents a concerned disturbance including internal parameter fluctuations and external load disturbance.
[0142] To facilitate controller design, [Equation 35], [Equation 37], [Equation 32], and [Equation 31] are collected and rewritten as [Equation 38] to [Equation 41] below, respectively.
[0143] Here, x.sub.0=0, x.sub.1=, x.sub.2=i.sub.q and x.sub.3=i.sub.d are measurable variables, and
is a lumped disturbance and an unknown value.
[0144] [Equation 38] to [Equation 40] were used to configure the Q-axis current control step (Steps S102, S104, and S108 in
[0145] Hereinafter, the motor control method of the permanent magnet synchronous motor system combining the adaptive back-stepping sliding mode control and the nonlinear disturbance observation according to one embodiment of the present disclosure will be described in more detail with reference to the attached
[0146] First, the embodiment of
[0147] Step 1: calculate adaptive convergence gains c.sub.0 and c.sub.1 as illustrated in [Equation 42] (S202). When starting a process, errors e.sub.0 and e.sub.1 are initialized to 0.
[0148] Step 2: calculate position error e.sub.0=.sup.refx.sub.0 (S204).
[0149] Step 3: calculate virtual control signal x.sub.1.sup.ref as input of [Equation 39] as illustrated in [Equation 43] (S206).
[0150] Step 4: calculate the difference between x.sub.1.sup.ref and x.sub.1:e.sub.1=x.sub.1.sup.refx.sub.1 (S208).
[0151] Step 5: calculate nominal virtual control signal x.sub.2n.sup.ref as follows by [Equation 44] without considering uncertainty and external load torque (S210).
[0152] Step 6: estimate concerned disturbance {circumflex over (x)}.sub.d and the derivative thereof {circumflex over (x)}.sub.d, and calculate p(x.sub.1) as illustrated in [Equation 45].
[0153] In addition, the observer gain l(x.sub.1) is calculated as follows by [Equation 46].
[0154] Additionally, the concerned disturbance {circumflex over (x)}.sub.d is estimated as follows by [Equation 47].
[0155] In addition, the derivative
or concerned disturbance is calculated.
[0156] Step 7: calculate virtual control signal x.sub.2.sup.ref as the input of [Equation 40] as illustrated in [Equation 48] (S212).
[0157] Step 8: calculate the difference between x.sub.2.sup.ref and x.sub.2:e.sub.2=x.sub.2.sup.refx.sub.2 (S214).
[0158] Step 9: Calculate the sliding-mode surface function S_1 as illustrated in [Equation 49] (S216).
[0159] Step 10: calculate voltage control signal v, as illustrated in [Equation 50] (S218).
[0160] Step 11: calculate the difference between x.sub.3.sup.ref and x.sub.3:e.sub.3=x.sub.3.sup.refx.sub.3 (S302).
[0161] Step 12: calculate sliding surface S.sub.2 for D-axis current controller as illustrated in [Equation 51] (S304).
[0162] Step 13: calculate voltage control signal V.sub.d as illustrated in [Equation 52] (S306).
[0163]
[0164] This setup consists of a PMSM attached to an incremental encoder of 2500 lines or 10000 pulses/revolution to measure the position and speed of a motor shaft. A ZKG-20AN powder clutch of Mitsubishi is mounted coaxially on the motor shaft to generate external load torque T.sub.2, and CTA3200 brake controller of OGURA CLUTCH is used to adjust the current applied to the powder brake.
[0165] The motor is driven by a field-oriented control board integrated with an ARM CortexM4 core (STM32F446VC) to implement all current and speed control loops for the PMSM system. All experimental results were transmitted to the computer through RS232 communication connected to the driver module, recorded data for debugging, and plotted the results using MATLAB software. The parameters of PMSM are listed in Table 1 below.
TABLE-US-00001 TABLE 1 Parameter Value Rate voltage 24 V Rate Speed 2500 rpm Torque constant 0.0613 N .Math. m/A L.sub.d, L.sub.q 1.13 mH B.sub.n 1.2 10.sup.3 kg .Math. m2/s Limited current 6.5 A Encoder Lines 2500 PPR Pole pairs 5 R 1.4 J.sub.n 54.2 10.sup.6 kg .Math. m2
[0166] In the present disclosure, the combined effect of the adaptive back-stepping sliding mode control (hereinafter referred to as ABSMC) and the nonlinear disturbance observation (hereinafter referred to as NDO) which were the proposed methods was compared with the PID+NDO and SMC+NDO methods. To ensure a fair comparison between the proposed method and other methods, experiments were conducted under the same conditions.
[0167] To obtain the best possible system response for each technique, the PID, SMC, and controller parameters for the proposed method were iteratively adjusted to select appropriate parameters through trial and error.
[0168] The relevant parameters of the three control methods are as follows.
[0169] First, the parameters for the nonlinear observer gain are L.sub.1=900 and L.sub.2=17. The PID and SMC position controls are based on a cascade control structure. The position controls include d and q internal PI current controllers. For PID and SMC experiments, the control gains of two PI controllers for the d- and q-axis current loops are configured using the elimination method. The cutoff frequency of current control is 1000 Hz and the current control gain is k.sub.p=7 and k.sub.t=8796.
[0170] In addition, the parameters for PID control are k.sub.p;pos=64.5, k.sub.i;pos=738, and k.sub.d;pos=1. The SMC position control with the sliding surface S.sub.3=.sub.0+C.sub.3e.sub.0 and the reaching law method {dot over (S)}.sub.3=k.sub.5sgn(S.sub.3)k.sub.6S.sub.3 was designed with the parameter c.sub.3=300. k.sub.5=15 and k.sub.6=30. The sampling frequency of the current loop is 20 kHz and the position control loop is 2 kHz. The parameters of ABSMC are C.sub.initialk.sub.6=30=180, a.sub.1=a.sub.2=800, k.sub.1=k.sub.3=170, and k.sub.2=k.sub.4=250. The adaptation parameters for ABSMC are =2.5, and =0.5 and threshold =2.
[0171]
[0172]
[0173] It can be confirmed that NDO, which applied the proposed nonlinear observer gain function, obtained a steady-state position error of 0.0009 rad, which was superior to the result of LDO (0.0016 rad).
[0174] Additionally, the performance of the proposed method was tested by combining NDO with PID, SMC, and the proposed ABSMC.
[0175]
[0176] ABSMC+NDO has a maximum position error of 0.008 rad, while PID+NDO has a maximum error of 0.017 rad, and SMC+NDO has a maximum error of 0.021 rad, which is the best result.
[0177] To check the robustness of the proposed method with respect to the sudden external load torque, an external load torque of 0.12 Nm was generated in 1 second, and the brake was controlled to release the load in 2 seconds. The position errors of motors using PID+NDO, SMC+NDO, and the proposed ABSMC+NDO are illustrated in
[0178]
[0179]
[0180] Meanwhile, the proposed ABSMC+NDO was found to have a maximum error of 0.43 rad, a setting time of 0.16 s, and a maximum steady-state error of 0.009 rad. These results prove that the ABSMC+NDO method has better performance in improving PMSM position tracking than the PID+NDO, SMC+NDO, and BSMC+NDO methods.
[0181] According to the embodiment of the present disclosure as described above, a control technology to improve the position tracking control performance of the permanent magnet synchronous motor was implemented. Specifically, 1) the position current single loop control is possible by combining back-stepping and SMC methods, which is a non-cascade controller that simplifies the controller structure. 2) The motor achieves reliable control performance, fast response speed, reduced position steady-state error, and robustness to disturbances of unknown motor drivers in the trapezoidal velocity motion profile, the step profile, and the sinusoidal profile compared to PID and SMC methods (reduced position error when moving with a trapezoidal velocity profile, reduced settling time and overshoot when moving with a position step profile, reduced steady-state error when moving with a sinusoidal profile, or the like). 3) Compared to PID and SMC methods, the influence of internal parameter changes and external load torque of the motor system can be reduced.
[0182] Combinations of steps in each flowchart attached to the present disclosure may be executed by computer program instructions. Since the computer program instructions can be mounted on a processor of a general-purpose computer, a special purpose computer, or other programmable data processing equipment, the instructions executed by the processor of the computer or other programmable data processing equipment create a means for performing the functions described in each step of the flowchart. The computer program instructions can also be stored on a computer-usable or computer-readable storage medium which can be directed to a computer or other programmable data processing equipment to implement a function in a specific manner. Accordingly, the instructions stored on the computer-usable or computer-readable recording medium can also produce an article of manufacture containing an instruction means which performs the functions described in each step of the flowchart. The computer program instructions can also be mounted on a computer or other programmable data processing equipment. Accordingly, a series of operational steps are performed on a computer or other programmable data processing equipment to create a computer-executable process, and it is also possible for instructions to perform a computer or other programmable data processing equipment to provide steps for performing the functions described in each step of the flowchart.
[0183] In addition, each step may represent a module, a segment, or a portion of codes which contains one or more executable instructions for executing the specified logical function(s). It should also be noted that in some alternative embodiments, the functions mentioned in the steps may occur out of order. For example, two steps illustrated in succession may in fact be performed substantially simultaneously, or the steps may sometimes be performed in a reverse order depending on the corresponding function.
[0184] The above description is merely exemplary description of the technical scope of the present disclosure, and it will be understood by those skilled in the art that various changes and modifications can be made without departing from original characteristics of the present disclosure. Therefore, the embodiments disclosed in the present disclosure are intended to explain, not to limit, the technical scope of the present disclosure, and the technical scope of the present disclosure is not limited by the embodiments. The protection scope of the present disclosure should be interpreted based on the following claims and it should be appreciated that all technical scopes included within a range equivalent thereto are included in the protection scope of the present disclosure.