Current control methods, devices, equipment and storage media for permanent magnet synchronous motors
By constructing a stator torque current differential model that considers iron loss and total system disturbance, torque current observation and disturbance estimation are performed. Combined with feedforward and disturbance compensation voltage, the problem of precise torque current control in permanent magnet synchronous motors is solved, improving current control accuracy and system efficiency.
Patent Information
- Application Number
- CN202611524615.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-17
AI Technical Summary
Existing technologies make it difficult to accurately control the current that actually generates torque in permanent magnet synchronous motors, especially when iron losses are present, which leads to a decrease in torque output capability and a reduction in system efficiency.
By obtaining the stator torque current differential model of the permanent magnet synchronous motor, considering the effects of iron loss, incremental inductance and total system disturbance, an observation model is constructed to perform torque current observation and disturbance estimation. Combined with feedforward and disturbance compensation voltage, the target control input voltage is determined to improve control accuracy.
Despite the presence of iron losses, the current control accuracy of the permanent magnet synchronous motor is improved, the control difficulty is reduced, and the torque output capability and system efficiency are enhanced.
Smart Images

Figure CN123122350A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of permanent magnet synchronous motor technology, and in particular to a method, device, equipment and storage medium for current control of a permanent magnet synchronous motor. Background Technology
[0002] Permanent magnet synchronous motors (PMSMs), which are widely used in industries such as automotive drives and construction machinery, generate iron losses during actual operation. As their speed increases, the iron losses also increase, resulting in a decrease in torque output capability and a reduction in system efficiency.
[0003] In actual operation of PMSM, the stator current includes torque current and iron loss current. The existing method of directly controlling the stator current makes it difficult to accurately control the torque current that actually generates torque. Therefore, how to accurately control the current that actually generates torque in the presence of iron loss has become an urgent problem to be solved. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, device and storage medium for controlling the current of a permanent magnet synchronous motor, so as to achieve the purpose of accurately controlling the current that actually generates torque in the presence of iron loss.
[0005] To achieve the above objectives, the embodiments of this application provide the following technical solutions:
[0006] In a first aspect, embodiments of this application disclose a current control method for a permanent magnet synchronous motor, the method comprising:
[0007] Obtain the stator torque current differential model of the permanent magnet synchronous motor, wherein the stator torque current differential model is a model that considers the influence of iron loss, incremental inductance, apparent inductance and total system disturbance on the operation of the permanent magnet synchronous motor;
[0008] The torque current and torque current command value of the permanent magnet synchronous motor are obtained, and the torque current command value is processed by feedforward to obtain the feedforward voltage.
[0009] Using the torque current as the observation input, the observation model constructed based on the stator torque current differential model is used to perform observations, and the observed torque current value and the estimated total system disturbance value are obtained.
[0010] The disturbance compensation voltage is determined based on the estimated total system disturbance.
[0011] The target control input voltage is determined by superimposing the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage.
[0012] The permanent magnet synchronous motor is controlled by the target control input voltage.
[0013] Secondly, embodiments of this application disclose a permanent magnet synchronous current control device, the device comprising:
[0014] The acquisition unit is used to acquire the stator torque current differential model of the permanent magnet synchronous motor. The stator torque current differential model is a model that considers the influence of iron loss, incremental inductance, apparent inductance and total system disturbance on the operation of the permanent magnet synchronous motor.
[0015] The feedforward unit is used to acquire the torque current and torque current command value of the permanent magnet synchronous motor, and to perform feedforward processing on the torque current command value to obtain the feedforward voltage.
[0016] The observation unit is used to perform observations based on the observation model constructed according to the stator torque current differential model, with the torque current as the observation input, to obtain the observed torque current value and the estimated value of the total system disturbance.
[0017] The determining unit is used to determine the disturbance compensation voltage based on the total system disturbance estimate; and to determine the target control input voltage by superimposing the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage.
[0018] The control unit is used to control the operation of the permanent magnet synchronous motor using the target control input voltage.
[0019] Thirdly, embodiments of this application disclose an electronic device, which includes at least one processor and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the permanent magnet synchronous motor current control method disclosed in the first aspect.
[0020] Fourthly, embodiments of this application disclose a storage medium storing a program thereon, which, when executed by a controller, implements the permanent magnet synchronous motor current control method disclosed in the first aspect.
[0021] Based on the permanent magnet synchronous motor current control method, apparatus, device, and storage medium provided in the above embodiments of this application, the following steps are taken: A stator torque current differential model of the permanent magnet synchronous motor is obtained, which considers the influence of iron loss, incremental inductance, apparent inductance, and total system disturbance on the operation of the permanent magnet synchronous motor; the torque current and torque current command value of the permanent magnet synchronous motor are obtained, and the torque current command value is fed forward to obtain a feedforward voltage; using the torque current as the observation input, observations are performed using the observation model constructed based on the stator torque current differential model to obtain the observed torque current value and the estimated value of the total system disturbance; the disturbance compensation voltage is determined based on the estimated value of the total system disturbance; the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage are superimposed to determine the target control input voltage; and the permanent magnet synchronous motor is controlled using the target control input voltage.
[0022] In this embodiment, a stator torque current differential model considering the effects of iron loss, incremental inductance, apparent inductance, and total system disturbance on the operation of a permanent magnet synchronous motor (PMSM) is obtained. Based on this model, the actual changes in the dynamic and transient currents of the PMSM are simulated. The torque current command value is fed forward to improve the current response speed of the PMSM and reduce the observation pressure on the torque current and total system disturbance. The torque current is used as the observation input, and the observation model constructed based on the stator torque current differential model is used to obtain the observed torque current value and the estimated value of the total system disturbance. The disturbance compensation voltage is determined based on the estimated value of the total system disturbance. Finally, the target control input voltage is determined by combining the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage. This achieves the goal of improving the current control accuracy of the PMSM and reducing the control difficulty in the presence of iron loss. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0024] Figure 1 This is a flowchart illustrating a current control method for a permanent magnet synchronous motor disclosed in an embodiment of this application.
[0025] Figure 2 This is a schematic diagram of the structure of a permanent magnet synchronous motor current control device disclosed in an embodiment of this application;
[0026] Figure 3 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0029] As is known from the background art, existing methods that directly control the stator current are insufficient for accurately controlling the torque current that actually generates torque. Therefore, this application discloses a current control method for a permanent magnet synchronous motor (PMSM). It obtains a stator torque current differential model that considers the effects of iron losses, incremental inductance, apparent inductance, and total system disturbance on the operation of the PMSM. The collected stator current is separated for iron losses based on the relationship that the sum of the torque current and the iron loss current equals the stator current, thus obtaining the torque current that actually generates torque. This torque current is then used as the observation input, and observations are performed using an observation model constructed based on the stator torque current differential model to obtain the observed torque current value and the estimated total system disturbance value. Finally, the conventional control output voltage, feedforward voltage, and disturbance compensation voltage are superimposed to determine the target control input voltage. Based on this, using the torque current that actually generates torque as the control object is beneficial for improving the current control accuracy of the PMSM and reducing the control difficulty even when iron losses exist.
[0030] like Figure 1 The diagram shown is a flowchart illustrating a current control method for a permanent magnet synchronous motor disclosed in an embodiment of this application. The method includes the following steps:
[0031] S101: Obtain the stator torque current differential model of the permanent magnet synchronous motor.
[0032] In some implementations, the stator torque current differential model is a model that considers the effects of iron loss, incremental inductance, apparent inductance, and total system disturbance on the operation of the permanent magnet synchronous motor.
[0033] The stator torque current differential model uses the d-axis torque current and q-axis torque current as state variables, and includes the total system disturbance along the d-axis and q-axis, respectively. The stator torque current differential model characterizes the stator torque current dynamics using the nominal incremental inductance value, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, the stator control input voltage, the torque current, and the total system disturbance.
[0034] In this embodiment of the application, the stator torque current differential model can be understood as a differential equation model based on the relationship that the stator current is equal to the sum of the torque current and the iron loss current.
[0035] In some implementations, the specific process of obtaining the stator torque current differential model of a permanent magnet synchronous motor includes:
[0036] S1011: Based on the relationship that the sum of torque current and iron loss current equals stator current, a first stator torque current differential model considering the influence of iron loss current is established.
[0037] In some implementations, the stator current is expressed as the sum of the torque current and the iron loss current.
[0038] Specifically, stator d-axis current ,in, Represents the d-axis iron loss current. This represents the d-axis torque current; the stator q-axis current. ,in, This represents the q-axis iron loss current. This represents the q-axis torque current.
[0039] Based on the relationship that the sum of torque current and iron loss current equals stator current, a differential model of the first stator torque current considering the influence of iron loss current is established as shown in formula (1):
[0040] (1)
[0041] in, Indicates the stator shaft current resistance. Indicates the stator iron loss resistance; This represents the control input voltage of the stator d-axis. This represents the control input voltage of the stator q-axis; Indicates the rotor flux angular velocity. Indicates the magnetic flux linkage of the rotor permanent magnet; Represents differentiation operations; Indicates the stator d-axis inductance. This represents the stator q-axis inductance.
[0042] S1012: In the first stator torque current differential model, the d-axis incremental inductance and q-axis incremental inductance are used to characterize the dynamic current change rate of the stator d-axis and stator q-axis, respectively, and the d-axis apparent inductance and q-axis apparent inductance are used to characterize the steady-state current change rate of the stator d-axis and stator q-axis, respectively, thus obtaining the second stator torque current differential model considering iron loss, incremental inductance and apparent inductance.
[0043] In some implementations, incremental inductance mainly affects the dynamic current regulation capability of permanent magnet synchronous motor, while apparent inductance mainly affects the steady-state current regulation capability of permanent magnet synchronous motor. In other words, apparent inductance characterizes the coupling voltage of permanent magnet synchronous motor under steady-state operating conditions.
[0044] To accurately simulate the changes in stator torque current under transient and steady-state conditions of a permanent magnet synchronous motor, incremental inductance and apparent inductance are introduced into the first stator torque current differential model shown in formula (1). Specifically, the inductance in the first stator torque current differential model is distinguished as incremental inductance and apparent inductance. The coefficient corresponding to the dynamic current change rate is the incremental inductance, while the coefficient corresponding to the steady-state current, i.e., the coupling voltage under steady-state conditions, is the apparent inductance.
[0045] Based on this, we obtain the second stator torque current differential model considering iron loss, incremental inductance and apparent inductance, as shown in formula (2).
[0046] (2)
[0047] in, This represents the incremental inductance along the d-axis of the stator. Indicates the incremental inductance along the q-axis; This represents the apparent inductance along the d-axis of the stator. This represents the apparent inductance along the q-axis.
[0048] S1013: Fix the motor parameters that change with the system state in the second stator torque current differential model to the corresponding nominal parameter values, and incorporate the parameter deviations and unmodeled dynamics generated during the parameter fixing process into the total system disturbance to obtain the final stator torque current differential model.
[0049] In some implementations, motor parameters include stator shaft current and resistance. Stator iron loss resistance d-axis incremental inductance q-axis incremental inductance and rotor permanent magnet flux .
[0050] Due to stator shaft current resistance Stator iron loss resistance d-axis incremental inductance q-axis incremental inductance and rotor permanent magnet flux These parameters change with the system state, and real-time parameter identification is difficult to meet the needs of practical engineering. Therefore, in this embodiment, the time-varying stator shaft current resistance is used... Stator iron loss resistance d-axis incremental inductance q-axis incremental inductance and rotor permanent magnet flux By fixing the parameter values, their corresponding nominal parameter values are obtained. These nominal parameter values are the parameter values of the permanent magnet synchronous motor under rated operating conditions. Based on this, the control difficulty is reduced, and the needs of practical engineering are met.
[0051] In some implementations, the stator shaft current resistor is used. Fixed as the nominal resistance of the stator shaft current stator iron loss resistance Fixed as the stator nominal iron loss resistance Incremental inductance along the d-axis Fixed as the d-axis nominal incremental inductance Incremental inductance along the q-axis Fixed as q-axis nominal incremental inductance The rotor permanent magnet flux linkage Fixed as nominal permanent magnet magnetic flux .
[0052] The parameter deviation generated during parameter fixation is the deviation between the actual parameter and the nominal parameter during parameter standardization. The parameter deviation generated during parameter fixation and the unmodeled dynamics are included in the total system disturbance, and the final stator torque current differential model is obtained as shown in formula (3).
[0053] The stator torque current differential model uses the d-axis torque current and q-axis torque current as state variables, and includes the total disturbance of the d-axis and the total disturbance of the q-axis, respectively. The stator torque current dynamics are characterized by the nominal incremental inductance value, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, the stator control input voltage, the torque current, and the total disturbance.
[0054] (3)
[0055] in, This represents the nominal incremental inductance value along the d-axis of the stator. This represents the nominal incremental inductance value along the q-axis. The nominal resistance indicates the stator shaft current. Indicates the nominal iron loss resistance of the stator; This represents the total system disturbance along the d-axis of the stator. , The modelable perturbation representing the d-axis includes time-varying inductance characteristics, parameter deviations, and d-axis coupling characteristics. Represents other unmodeled dynamic quantities of the d-axis that are difficult to represent; This represents the total system disturbance along the q-axis. , The modelable perturbation representing the q-axis includes time-varying inductance characteristics, parameter deviations, and q-axis coupling characteristics. This represents other unmodeled dynamic quantities of the d-axis that are difficult to represent.
[0056] S102: Obtain the torque current and torque current command value of the permanent magnet synchronous motor, and perform feedforward processing on the torque current command value to obtain the feedforward voltage.
[0057] In S102, the torque current of a permanent magnet synchronous motor refers to the current that actually generates torque.
[0058] In some implementations, the specific process of obtaining the torque current and torque current command value of the permanent magnet synchronous motor includes:
[0059] S1021: Collects the stator d-axis current and stator q-axis current of the permanent magnet synchronous motor.
[0060] In some implementations, the stator three-phase current of the permanent magnet synchronous motor is collected by a current sensor, and then the stator three-phase current is transformed by coordinate transformation to obtain the stator d-axis current in a rotating coordinate system. and stator q-axis current The rotor position angle used for coordinate transformation is obtained by a position sensor.
[0061] S1022: Based on the relationship that the sum of torque current and iron loss current equals stator current, the d-axis torque current and q-axis torque current of the permanent magnet synchronous motor are determined according to the stator d-axis current, d-axis control input reference voltage, stator shaft current nominal resistance and stator nominal iron loss resistance, as well as the stator q-axis current, q-axis control input reference voltage, stator shaft current nominal resistance and stator nominal iron loss resistance.
[0062] In some implementations, the torque current is the current component in the stator current that actually generates torque, and the iron loss current is the current component in the stator current corresponding to iron loss; the d-axis control input reference voltage and the q-axis control input reference voltage are the control input reference voltages calculated in the current control cycle, or the control input reference voltages actually applied to the permanent magnet synchronous motor in the previous control cycle.
[0063] Based on stator d-axis current Stator q-axis current The relationship is based on the stator d-axis current. d-axis control input reference voltage Stator shaft current nominal resistance and stator nominal iron loss resistance Determine the d-axis torque current of the permanent magnet synchronous motor. As shown in formula (4):
[0064] (4)
[0065] Among them, the d-axis control input reference voltage , This indicates the normal control output voltage of the stator d-axis. This represents the torque current and voltage along the d-axis of the stator. Represents the total disturbance of the d-axis system The estimated value.
[0066] Based on stator q-axis current The relationship is based on the stator q-axis current. q-axis control input reference voltage Stator shaft current nominal resistance and stator nominal iron loss resistance Determine the q-axis torque current of the permanent magnet synchronous motor. As shown in formula (5):
[0067] (5)
[0068] Among them, the q-axis control input reference voltage , This indicates the normal control output voltage of the stator q-axis. This represents the torque current and voltage of the stator q-axis. Represents the total disturbance of the q-axis system The estimated value.
[0069] In the embodiments of this application, it can be seen from formulas (4) and (5) that the iron loss separation of the stator current is achieved, and the obtained torque current is the current component that actually participates in the torque generation after removing the iron loss current.
[0070] S1023: Obtain the d-axis torque current command value and the q-axis torque current command value.
[0071] In some implementations, the d-axis torque current command value and q-axis torque current command value The configuration is based on the torque requirement by the host controller; in this embodiment, the torque current command value is directly used as the control target during subsequent feedforward processing, so that the controlled object is consistent with the current component that actually generates torque.
[0072] In some implementations, the specific process of feedforwarding the torque current command value to obtain the feedforward voltage includes:
[0073] Based on the torque current command value and the rate of change of the torque current command value, and based on the stator torque current differential model, the d-axis feedforward voltage corresponding to the stator d-axis and the q-axis feedforward voltage corresponding to the stator q-axis are determined respectively, so that the torque current tracks the torque current command value.
[0074] Specifically, the stator control input voltage required to make the torque current track the torque current command value is obtained by inverse solving the stator torque current differential model. This stator control input voltage is the stator torque current voltage, which is directly used as the feedforward voltage in this embodiment of the application.
[0075] In this embodiment, the voltage corresponding to the total system disturbance is borne by the disturbance compensation voltage, therefore the total system disturbance is not included in the feedforward processing.
[0076] In some implementations, the feedforward voltage, i.e., the stator torque current voltage, is as shown in formula (6):
[0077] (6)
[0078] in, and These are the torque current and voltage of the stator d-axis and q-axis, respectively; and These represent the torque current command values for the stator d-axis and q-axis, respectively.
[0079] S103: Using torque current as the observation input, the observation model constructed based on the stator torque current differential model is used to conduct observations and obtain the observed torque current value and the estimated value of the total system disturbance.
[0080] In some implementations, the torque current is used as the observation input. The torque current and the total system disturbance are observed through an observation model constructed based on the stator torque current differential model, and the observed torque current value and the estimated value of the total system disturbance are obtained.
[0081] In some implementations, the observation model includes a d-axis observation model and a q-axis observation model. The construction process of the d-axis and q-axis observation models includes:
[0082] For the d-axis, a corresponding d-axis observation model is constructed based on the stator torque current differential model. This d-axis observation model includes a sign function term based on the first observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the d-axis. Specifically, it is shown in formula (7).
[0083] (7)
[0084] in, This represents the observed value of the d-axis torque current; This represents the estimated total system disturbance along the d-axis; Represents a symbolic function; This represents the first adjustable fundamental gain coefficient of the stator d-axis. This represents the second adjustable fundamental gain coefficient of the stator d-axis; This indicates the stator d-axis control input reference voltage; This represents the first observation error of the d-axis torque current. The d-axis torque current is shown in formula (4).
[0085] It is usually set to 1. Based on the first observation error of the d-axis torque current The size is dynamically adjusted.
[0086] In some implementations, when the first observation error of the d-axis torque current... A larger value can be selected when the first observation error of the d-axis torque current is large. A smaller value can be chosen when the value is small. Optionally, the first observation error... The larger value is between 0 and 1, taking 0.99; first observation error The smaller value is 0.01, which is between 0 and 1.
[0087] This represents the first observation gain coefficient along the d-axis of the stator. This represents the second observation gain coefficient of the stator d-axis.
[0088] in, This represents the d-axis current loop observation bandwidth. In this embodiment, the first observation gain coefficient is reduced compared to the conventional observation gain value. This improved the observation results.
[0089] For the q-axis, a corresponding q-axis observation model is constructed based on the stator torque current differential model. This q-axis observation model includes a sign function term based on the second observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the q-axis. Specifically, it is shown in formula (8).
[0090] (8)
[0091] in, This represents the observed value of the q-axis torque current; This represents the estimated total system disturbance along the q-axis. Represents a symbolic function; This represents the first adjustable fundamental gain coefficient of the stator q-axis. This represents the second adjustable fundamental gain coefficient of the stator q-axis; This indicates the stator q-axis control input reference voltage; This represents the second observation error of the q-axis torque current. The q-axis torque current is shown in formula (5).
[0092] It is usually set to 1. Based on the second observation error of the q-axis torque current The size is dynamically adjusted.
[0093] In some implementations, when the second observation error of the q-axis torque current... A larger value can be selected when the q-axis torque current has a larger observation error. A smaller value can be chosen when the value is small. Optionally, the second observation error... The larger value is 0.99, which is between 0 and 1; the second observation error The smaller value is 0.01, which is between 0 and 1.
[0094] This represents the first observation gain coefficient along the q-axis of the stator. This represents the second observation gain coefficient of the stator q-axis.
[0095] in, This represents the q-axis current loop observation bandwidth. In this embodiment, the first observation gain coefficient is reduced compared to the conventional observation gain value. This improved the observation results.
[0096] In this embodiment, the first adjustable base gain is set to 1, and the second adjustable base gain is adjusted according to the magnitude of the observation error of the corresponding axis; the first observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis, the stator axis current nominal resistance, the stator nominal iron loss resistance, and the corresponding axis nominal incremental inductance; the second observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis.
[0097] S104: Determine the disturbance compensation voltage based on the estimated total system disturbance.
[0098] In some implementations, the total system disturbance estimate includes the total system disturbance estimate along the d-axis. The system total disturbance estimate along the q-axis .
[0099] Based on the nominal incremental inductance of the d-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the d-axis system, the d-axis disturbance compensation voltage is determined; this d-axis disturbance compensation voltage is... .
[0100] Based on the nominal incremental inductance of the q-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the q-axis system, the q-axis disturbance compensation voltage is determined; the d-axis disturbance compensation voltage is... .
[0101] In the embodiments of this application, the disturbance compensation voltage is used to compensate for the parameter deviation and total system disturbance generated during the parameter fixation process, thereby transforming the time-varying PMSM current control system into a parameter-fixed system and reducing the control difficulty.
[0102] S105: The target control input voltage is determined by superimposing the conventional control output voltage, feedforward voltage, and disturbance compensation voltage.
[0103] In some implementations, the conventional control output voltage is generated by a current loop regulator based on the difference between the torque current command value and the torque current observation value.
[0104] In some implementations, the conventional control output voltage includes the conventional control output voltage of the stator d-axis. and the conventional control output voltage of the stator q-axis Feedforward voltage includes d-axis feedforward voltage. and q-axis feedforward voltage The disturbance compensation voltage includes the d-axis disturbance compensation voltage. and q-axis disturbance compensation voltage .
[0105] The target control input voltage is specifically shown in formula (9):
[0106] (9)
[0107] in, This represents the d-axis control input reference voltage, which is also the target control input voltage for the d-axis. This represents the q-axis control input reference voltage, which is also the target control input voltage for the q-axis.
[0108] S106: Use the target control input voltage to control the operation of the permanent magnet synchronous motor.
[0109] In some implementations, the target control input voltage is subjected to coordinate transformation and pulse width modulation to generate a pulse width modulation signal, and the corresponding stator voltage is applied to the permanent magnet synchronous motor through an inverter, thereby realizing the current control of the permanent magnet synchronous motor.
[0110] Based on the permanent magnet synchronous motor current control method disclosed in this application, a stator torque current differential model considering the influence of iron loss, incremental inductance, apparent inductance, and total system disturbance on the operation of the permanent magnet synchronous motor is obtained. The collected stator current is separated by iron loss according to the relationship that the sum of torque current and iron loss current equals stator current, to obtain the actual torque current that generates torque. Using this torque current as the observation input, the observation model constructed based on the stator torque current differential model is used to obtain the observed value of torque current and the estimated value of total system disturbance. Then, the conventional control output voltage, feedforward voltage, and disturbance compensation voltage are superimposed to determine the target control input voltage. Based on this, using the actual torque current that generates torque as the control object is beneficial to improving the current control accuracy of the permanent magnet synchronous motor and reducing the control difficulty when iron loss exists.
[0111] Based on the permanent magnet synchronous motor current control method disclosed in the above embodiments of this application, this application also discloses a permanent magnet synchronous motor current control device, such as... Figure 2 As shown, the device includes: an acquisition unit 201, a feedforward unit 202, an observation unit 203, a determination unit 204, and a control unit 205.
[0112] The acquisition unit 201 is used to acquire the stator torque current differential model of the permanent magnet synchronous motor. The stator torque current differential model is a model that considers the influence of iron loss, incremental inductance, apparent inductance and total system disturbance on the operation of the permanent magnet synchronous motor.
[0113] The feedforward unit 202 is used to acquire the torque current and torque current command value of the permanent magnet synchronous motor, and to perform feedforward processing on the torque current command value to obtain the feedforward voltage.
[0114] The observation unit 203 is used to perform observations based on the observation model constructed using the torque current differential model as the observation input, and to obtain the observed torque current value and the estimated value of the total system disturbance.
[0115] The determination unit 204 is used to determine the disturbance compensation voltage based on the total disturbance estimate of the system; and to determine the target control input voltage by superimposing the conventional control output voltage, the feedforward voltage and the disturbance compensation voltage.
[0116] Control unit 205 is used to control the operation of permanent magnet synchronous motor using target control input voltage.
[0117] In some implementations, the acquisition unit 201 is specifically used for:
[0118] Based on the relationship that the sum of torque current and iron loss current equals stator current, a first stator torque current differential model considering the influence of iron loss current is established. In the first stator torque current differential model, the d-axis incremental inductance and q-axis incremental inductance are used to characterize the dynamic current change rate of the stator d-axis and stator q-axis, respectively, and the d-axis apparent inductance and q-axis apparent inductance are used to characterize the steady-state current change rate of the stator d-axis and stator q-axis, respectively, thus obtaining a second stator torque current differential model considering iron loss, incremental inductance, and apparent inductance. The motor parameters that change with the system state in the second stator torque current differential model are fixed as the corresponding nominal parameter values, and the parameter deviations and unmodeled dynamics generated during the parameter fixing process are included in the total system disturbance, thus obtaining the final stator torque current differential model.
[0119] In some implementations, the feedforward unit 202 is specifically used for:
[0120] The stator d-axis current and stator q-axis current of the permanent magnet synchronous motor are collected. Based on the relationship that the sum of torque current and iron loss current equals stator current, the d-axis torque current and q-axis torque current of the permanent magnet synchronous motor are determined according to the stator d-axis current, d-axis control input reference voltage, stator shaft current nominal resistance, and stator nominal iron loss resistance, as well as the stator q-axis current, q-axis control input reference voltage, stator shaft current nominal resistance, and stator nominal iron loss resistance. The d-axis torque current command value and q-axis torque current command value are obtained. Based on the torque current command value and its rate of change, and using the stator torque current differential model, the d-axis feedforward voltage corresponding to the stator d-axis and the q-axis feedforward voltage corresponding to the stator q-axis are determined to ensure that the torque current tracks the torque current command value.
[0121] In some implementations, the observation unit 203 is specifically used for:
[0122] Using the d-axis torque current as the observation input, observations are performed based on the d-axis observation model to obtain the observed d-axis torque current value. A first observation error is determined between the d-axis torque current and the observed d-axis torque current value. Based on the first observation error, the adjustable base gain coefficient of the d-axis observation model is adjusted, and the total disturbance estimate of the d-axis system is obtained based on the adjusted d-axis observation model. Using the q-axis torque current as the observation input, observations are performed based on the q-axis observation model to obtain the observed q-axis torque current value. A second observation error is determined between the q-axis torque current and the observed q-axis torque current value. Based on the second observation error, the adjustable base gain coefficient of the q-axis observation model is adjusted, and the total disturbance estimate of the q-axis system is obtained based on the adjusted q-axis observation model.
[0123] In some implementations, the device also includes an observation model building module, specifically used for:
[0124] For the d-axis, a corresponding d-axis observation model is constructed based on the stator torque current differential model. The d-axis observation model includes a sign function term based on the first observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the d-axis. For the q-axis, a corresponding q-axis observation model is constructed based on the stator torque current differential model. The q-axis observation model includes a sign function term based on the second observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the q-axis.
[0125] The first adjustable base gain is set to 1, and the second adjustable base gain is adjusted according to the magnitude of the observation error of the corresponding axis. The first observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis, the nominal resistance of the stator axis current, the nominal iron loss resistance of the stator, and the nominal incremental inductance of the corresponding axis. The second observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis.
[0126] In some implementations, unit 204 is specifically used for:
[0127] The d-axis disturbance compensation voltage is determined based on the nominal incremental inductance of the d-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the d-axis system. The q-axis disturbance compensation voltage is determined based on the nominal incremental inductance of the q-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the q-axis system.
[0128] The specific implementation process of the above module in realizing the current control of the permanent magnet synchronous motor can be found in the corresponding section of the aforementioned permanent magnet synchronous motor current control method, and will not be repeated here. This permanent magnet synchronous motor current control device is preferably used in a permanent magnet synchronous motor current control system, which is suitable for the fields of new energy vehicles or new energy sources.
[0129] Based on the permanent magnet synchronous motor current control method and corresponding apparatus disclosed in the above embodiments of this application, such as Figure 3 As shown in the embodiments of this application, an electronic device is also disclosed. The electronic device includes at least one processor 301, and at least one memory 302 connected to the processor 301, and a bus 303. The processor 301 and the memory 302 communicate with each other through the bus 303. The processor 301 is used to call program instructions in the memory 302 to execute the permanent magnet synchronous motor current control method disclosed in the aforementioned embodiments of this application.
[0130] This application also discloses a storage medium storing a program that, when executed by a controller, implements the aforementioned permanent magnet synchronous motor current control method.
[0131] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0132] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0133] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A current control method for a permanent magnet synchronous motor, characterized in that, The method includes: Obtain the stator torque current differential model of the permanent magnet synchronous motor, wherein the stator torque current differential model is a model that considers the influence of iron loss, incremental inductance, apparent inductance and total system disturbance on the operation of the permanent magnet synchronous motor; The torque current and torque current command value of the permanent magnet synchronous motor are obtained, and the torque current command value is processed by feedforward to obtain the feedforward voltage. Using the torque current as the observation input, the observation model constructed based on the stator torque current differential model is used to perform observations, and the observed torque current value and the estimated total system disturbance value are obtained. The disturbance compensation voltage is determined based on the estimated total system disturbance. The target control input voltage is determined by superimposing the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage. The permanent magnet synchronous motor is controlled by the target control input voltage.
2. The method according to claim 1, characterized in that, Obtain the stator torque current differential model of the permanent magnet synchronous motor, including: Based on the relationship that the sum of torque current and iron loss current equals stator current, a first stator torque current differential model considering the influence of iron loss current is established. In the first stator torque current differential model, the d-axis incremental inductance and q-axis incremental inductance are used to characterize the dynamic current change rate of the stator d-axis and stator q-axis, respectively, and the d-axis apparent inductance and q-axis apparent inductance are used to characterize the steady-state current change rate of the stator d-axis and stator q-axis, respectively, thus obtaining the second stator torque current differential model considering iron loss, incremental inductance and apparent inductance; The motor parameters that change with the system state in the second stator torque current differential model are fixed as the corresponding nominal parameter values, and the parameter deviations and unmodeled dynamics generated during the parameter fixing process are incorporated into the total system disturbance to obtain the final stator torque current differential model.
3. The method according to claim 1, characterized in that, Obtaining the stator torque current and torque current command value of the permanent magnet synchronous motor includes: The stator d-axis current and stator q-axis current of the permanent magnet synchronous motor are collected; Based on the relationship that the sum of torque current and iron loss current equals stator current, the d-axis torque current and q-axis torque current of the permanent magnet synchronous motor are determined according to the stator d-axis current, d-axis control input reference voltage, stator shaft current nominal resistance and stator nominal iron loss resistance, and the stator q-axis current, q-axis control input reference voltage, stator shaft current nominal resistance and stator nominal iron loss resistance, respectively. Obtain the d-axis torque current command value and the q-axis torque current command value.
4. The method according to claim 1 or 3, characterized in that, The torque current command value is fed forward to obtain a feedforward voltage, including: Based on the torque current command value and the rate of change of the torque current command value, and based on the stator torque current differential model, the d-axis feedforward voltage corresponding to the stator d-axis and the q-axis feedforward voltage corresponding to the stator q-axis are determined respectively, so that the torque current tracks the torque current command value.
5. The method according to claim 1, characterized in that, The observation model includes a d-axis observation model and a q-axis observation model. Using the torque current as the observation input, the observation model, constructed based on the stator torque current differential model, performs observations to obtain the observed torque current value and the estimated total system disturbance, including: Using the d-axis torque current as the observation input, observations are performed based on the d-axis observation model to obtain the observed values of the d-axis torque current. Determine the first observation error between the d-axis torque current and the observed value of the d-axis torque current, adjust the adjustable base gain coefficient of the d-axis observation model based on the first observation error, and obtain the total disturbance estimate of the d-axis system based on the adjusted d-axis observation model; Using the q-axis torque current as the observation input, observations are performed based on the q-axis observation model to obtain the observed values of the q-axis torque current. A second observation error is determined between the q-axis torque current and the observed q-axis torque current. Based on the second observation error, the adjustable base gain coefficient of the q-axis observation model is adjusted, and the total disturbance estimate of the q-axis system is obtained based on the adjusted q-axis observation model.
6. The method according to claim 5, characterized in that, The process of constructing the observation model includes: For the d-axis, a corresponding d-axis observation model is constructed based on the stator torque current differential model. The d-axis observation model includes a sign function term based on the first observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the d-axis. For the q-axis, a corresponding q-axis observation model is constructed based on the stator torque current differential model. The q-axis observation model includes a sign function term based on the second observation error, as well as a first adjustable basic gain term, a second adjustable basic gain term, a first observation gain coefficient term, and a second observation gain coefficient term corresponding to the q-axis. Wherein, the first adjustable base gain is set to 1, and the second adjustable base gain is adjusted according to the magnitude of the observation error of the corresponding axis; the first observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis, the stator axis current nominal resistance, the stator nominal iron loss resistance and the corresponding axis nominal incremental inductance; the second observation gain coefficient is determined based on the current loop observation bandwidth of the corresponding axis.
7. The method according to claim 1, characterized in that, The disturbance compensation voltage is determined based on the estimated total system disturbance, including: The d-axis disturbance compensation voltage is determined based on the nominal incremental inductance of the d-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the d-axis system. The q-axis disturbance compensation voltage is determined based on the nominal incremental inductance of the q-axis, the nominal resistance of the stator shaft current, the nominal iron loss resistance of the stator, and the estimated total disturbance of the q-axis system.
8. A permanent magnet synchronous current control device, characterized in that, The device includes: The acquisition unit is used to acquire the stator torque current differential model of the permanent magnet synchronous motor. The stator torque current differential model is a model that considers the influence of iron loss, incremental inductance, apparent inductance and total system disturbance on the operation of the permanent magnet synchronous motor. The feedforward unit is used to acquire the torque current and torque current command value of the permanent magnet synchronous motor, and to perform feedforward processing on the torque current command value to obtain the feedforward voltage. The observation unit is used to perform observations based on the observation model constructed according to the stator torque current differential model, with the torque current as the observation input, to obtain the observed torque current value and the estimated value of the total system disturbance. The determining unit is used to determine the disturbance compensation voltage based on the total system disturbance estimate; and to determine the target control input voltage by superimposing the conventional control output voltage, the feedforward voltage, and the disturbance compensation voltage. The control unit is used to control the operation of the permanent magnet synchronous motor using the target control input voltage.
9. An electronic device, characterized in that, The electronic device includes at least one processor and at least one memory connected to the processor, and a bus; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the permanent magnet synchronous motor current control method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, It stores a program that, when executed by the controller, implements the permanent magnet synchronous motor current control method as described in any one of claims 1 to 7.
