Motor driver control method and device, electronic equipment and medium

By extracting the excitation pulsation component in the motor driver and performing torque current compensation, the torque pulsation problem caused by the reduction of DC bus capacitance is solved, and the operating stability and reliability of the motor under weak magnetic control are improved.

CN119010695APending Publication Date: 2024-11-22SHENZHEN INVT ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411243109.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

During the motor driving process, reducing the capacitance capacity of the DC bus will cause torque pulsation, affecting the running stability and reliability of the motor, especially under weak magnetic control conditions.

Method used

By extracting the excitation pulsation component in the reference excitation current and introducing it into the control link of the torque current for compensation, the torque pulsation component is generated to offset the excitation pulsation and torque pulsation and reduce the degree of pulsation of the motor output torque.

Benefits of technology

While reducing the capacitance capacity of DC bus and driver costs, it reduces the negative impact of torque pulsation, ensuring the stability and reliability of the motor operation process, especially under weak magnetic control conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010695A_ABST
    Figure CN119010695A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of a motor driver, electronic equipment and a medium, and relates to the field of motor control, the pulsation condition of the current output excitation current is determined by extracting the excitation pulsation component in the reference excitation current, and the excitation pulsation component is used for compensating the given torque current to generate the torque pulsation component, so that the motor driver is controlled. The excitation pulsation component in the reference excitation current and the torque pulsation component in the reference torque current of the final driving motor are offset, so that the pulsation degree of the output torque of the motor is reduced; by actively introducing the pulsation component of the reference exciting current into the control link of the torque current, the torque pulsation problem of the small direct-current bus capacitor driver during flux-weakening operation is improved, so that the motor driver can reduce the direct-current bus capacitor capacity, reduce the driver cost and improve the power density of the driver, and meanwhile, the torque pulsation problem of the small direct-current bus capacitor driver during flux-weakening operation is solved. The negative influence caused by torque pulsation is reduced, and the stability and reliability of motor operation are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor control, and in particular to a control method, device, electronic equipment and medium for a motor driver. Background Art

[0002] With the continuous development of motors, users have higher and higher requirements for motor drives. The inverter is a major motor driver and occupies an important position in industrial automation and modern industrial systems. It has the advantages of wide speed regulation range, significant energy saving effect, high degree of automation and convenient maintenance. After continuous technological iteration, the inverter has been continuously developed in terms of high performance, high power density and low cost. The main circuit of the inverter consists of a diode uncontrolled rectifier bridge, a DC bus capacitor and a three-phase voltage inverter bridge. The rectifier bridge converts the three-phase AC power of the power grid into pulsating DC power, the DC bus capacitor stores energy and filters the pulsating DC power, and the inverter bridge converts the DC power into three-phase AC power with adjustable amplitude and frequency to drive the motor to rotate. Among them, the DC bus capacitor will occupy 9% of the space in the main circuit of the inverter, and the material cost accounts for about 6%. If the capacity of the DC bus capacitor can be reduced, the cost can be reduced while increasing the power density, and the harmonic current at the input end of the inverter can be reduced to a certain extent.

[0003] However, during the motor driving process, if the capacity of the DC bus capacitor is reduced, the filtered DC voltage will pulsate. When the inverter bridge converts the pulsating DC power into AC power, the output current will also carry the fluctuation of the pulsating frequency component, that is, the beat frequency phenomenon. Especially for motors with reluctance torque characteristics, under high-speed weak magnetic operation conditions, the bus voltage closed-loop is usually used to adjust the excitation current to achieve the purpose of weak magnetic speed expansion. In this case, the pulsating bus voltage will also cause the output current of the weak magnetic regulator to pulsate, thereby causing the output torque of the drive motor to pulsate. Summary of the invention

[0004] The purpose of the present invention is to provide a control method, device, electronic device and medium for a motor driver, which improves the torque pulsation problem of a small DC bus capacitor driver during weak magnetic operation by actively introducing the pulsating component of a reference excitation current into the control link of a torque current, thereby enabling the motor driver to reduce the negative impact of torque pulsation while reducing the DC bus capacitor capacity, reducing the driver cost, and improving the driver power density, thereby ensuring the smoothness and reliability of the motor operation process, especially the motor operation process under weak magnetic control.

[0005] In order to solve the above technical problems, the present invention provides a control method of a motor driver, comprising:

[0006] Determine the reference excitation current output by the motor driver after performing field weakening control;

[0007] extracting the excitation pulsation component in the reference excitation current;

[0008] The given torque current of the motor driver is compensated based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

[0009] Optionally, determining a reference excitation current output by the motor driver after performing magnetic field weakening control includes:

[0010] When the motor enters a weak magnetic field operating condition, the weak magnetic field current output by the weak magnetic field controller of the motor driver is obtained;

[0011] Determine a given excitation current of the motor driver given by the current control process;

[0012] The field weakening current is added to the given excitation current to obtain a reference excitation current of the motor driver.

[0013] Optionally, obtaining the weak magnetic current output by the weak magnetic controller of the motor driver includes:

[0014] Determine the maximum voltage that the motor driver can output;

[0015] Subtracting the maximum voltage from the current output voltage of the motor driver;

[0016] Using a voltage controller to adjust the voltage of the difference between the maximum voltage and the current output voltage;

[0017] The difference result after voltage regulation is limited to obtain the weak magnetic current output by the current weak magnetic controller.

[0018] Optionally, extracting the excitation pulsation component in the reference excitation current includes:

[0019] determining an excitation steady-state component of the reference excitation current;

[0020] The result of subtracting the excitation steady-state component from the reference excitation current is taken as the excitation pulsation component in the reference excitation current.

[0021] Optionally, determining the excitation steady-state component of the reference excitation current includes:

[0022] The reference excitation current is input into a low-pass filter to obtain an excitation steady-state component of the reference excitation current.

[0023] Optionally, compensating the given torque current of the motor driver based on the excitation pulsation component includes:

[0024] Calculating a torque pulsation component for a given torque current based on the excitation pulsation component; the excitation pulsation component is negatively correlated with the torque pulsation component;

[0025] The torque pulsation component is superimposed on the given torque current to obtain a reference torque current output by the motor driver after compensation.

[0026] Optionally, the calculating of the torque pulsation component for a given torque current based on the excitation pulsation component comprises:

[0027] A torque pulsation component for the given torque current is calculated based on the excitation pulsation component, a preset compensation gain and the given torque current; the given torque current is negatively correlated with the torque pulsation component.

[0028] In order to solve the above technical problems, the present invention further provides a control device for a motor driver, comprising:

[0029] An excitation current determination unit, used to determine a reference excitation current output by the motor driver after performing field weakening control;

[0030] A pulsation component extraction unit, used for extracting the excitation pulsation component in the reference excitation current;

[0031] A compensation unit is used to compensate the given torque current of the motor driver based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

[0032] In order to solve the above technical problems, the present invention further provides an electronic device, comprising:

[0033] Memory for storing computer programs;

[0034] The processor is used to implement the steps of the motor driver control method as described above.

[0035] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the motor drive as described above are implemented.

[0036] The present invention provides a control method for a motor driver, which determines a reference excitation current output by a weak magnetic field control link of the motor driver, determines the pulsation of the excitation current currently output by the driver by extracting the excitation pulsation component in the reference excitation current, and uses the excitation pulsation component to compensate for a given torque current to generate a torque pulsation component, so that the excitation pulsation component in the reference excitation current of the motor and the torque pulsation component in the reference torque current are finally driven to cancel each other out, thereby reducing the pulsation degree of the motor output torque; by actively introducing the pulsation component of the reference excitation current into the control link of the torque current, the torque pulsation problem of a small DC bus capacitor driver during weak magnetic field operation is improved, so that the motor driver can reduce the negative impact of torque pulsation while reducing the DC bus capacitor capacity, reducing the driver cost, and improving the driver power density, thereby ensuring the smoothness and reliability of the motor operation process, especially the motor operation process under weak magnetic field control.

[0037] The present invention also provides a control device for a motor driver, an electronic device and a computer-readable storage medium, which have the same beneficial effects as the control method for the motor driver described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 A schematic flow chart of a control method for a motor driver provided by the present invention;

[0040] Figure 2 A control block diagram of a motor driver provided by the present invention;

[0041] Figure 3 A control block diagram of a magnetic field weakening controller provided by the present invention;

[0042] Figure 4 A control block diagram of a control method for a motor driver provided by the present invention;

[0043] Figure 5 A schematic diagram of the waveform of the change of the motor torque before and after the control method of the motor driver provided by the present invention is adopted;

[0044] Figure 6 A schematic diagram of the structure of a control device for a motor driver provided by the present invention;

[0045] Figure 7The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

[0046] The core of the present invention is to provide a control method, device, electronic device and medium for a motor driver. By actively introducing the pulsating component of the reference excitation current into the control link of the torque current, the torque pulsation problem of the small DC bus capacitor driver during weak magnetic operation is improved, so that the motor driver can reduce the negative impact of torque pulsation while reducing the DC bus capacitor capacity, reducing the driver cost, and improving the driver power density, thereby ensuring the smoothness and reliability of the motor operation process, especially the motor operation process under weak magnetic control.

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Please refer to Figure 1 , Figure 1 A flow chart of a control method of a motor driver provided by the present invention; please refer to Figure 2 , Figure 2 A control block diagram of a motor driver provided by the present invention; wherein the rectifier bridge DZ, the DC bus capacitor C0 and the three-phase PWM inverter circuit driving the AC motor drive the AC motor under the action of the driving signal output by the SVPWM module using the AC power supply. To solve the above technical problems, the present invention provides a control method for a motor driver, comprising:

[0049] S11: Determine the reference excitation current output by the motor driver after the motor driver performs the weak magnetic control;

[0050] It is not difficult to understand that when the DC bus voltage fluctuates, when the motor enters the weak magnetic operation range and the output voltage of the driver reaches the maximum voltage output capacity, the weak magnetic control voltage loop will intervene in the regulation work, and use the DC bus voltage to generate the excitation current for controlling the motor. If the DC bus voltage is pulsating, the reference excitation current output after the corresponding weak magnetic control will also produce certain fluctuations, and the output torque of the motor will be affected by the reference excitation current and pulsate. Therefore, if you want to eliminate the pulsation of this output torque, you first need to determine the pulsation of the reference excitation current based on the excitation pulsation component in the reference excitation current currently output by the weak magnetic control link in the motor driver. The reference excitation current refers to the excitation control value that the motor driver obtains after adjustment based on the given excitation current and is finally output to the drive signal generation module of the motor; and the given excitation current is the target excitation current that the motor driver needs to reach, which is determined by the application requirements of the motor.

[0051] S12: extracting the excitation pulsation component in the reference excitation current;

[0052] It is understandable that the reference excitation current contains an excitation pulsation component caused by the fluctuation of the DC bus voltage, and also contains an excitation steady-state component required for the control process itself. Therefore, before compensation, the excitation pulsation component needs to be extracted, and the extracted excitation pulsation component can accurately reflect the fluctuation of the DC bus voltage. The specific method of extracting the excitation pulsation component is not particularly limited in this application.

[0053] S13: Compensating the given torque current of the motor driver based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

[0054] Furthermore, after obtaining the excitation pulsation component of the excitation current, the excitation pulsation component is actively added to the control link of the torque current of the motor, that is, a torque pulsation component is generated by compensating the given torque current with the excitation pulsation component, and the generated torque pulsation component and the given torque current are used together as reference torque currents to participate in the drive control process of the motor. Among them, the given torque current of the motor driver is determined by the application requirements of the motor, and the motor needs to achieve the target torque current. The reference torque current is the torque control value of the motor driver that is finally output to the drive signal generation module of the motor after adjustment based on the given torque current.

[0055] It should be noted that the torque pulsation component generated by the excitation pulsation component is negatively correlated with the excitation pulsation component. Therefore, when the reference excitation current containing the excitation pulsation component and the reference torque current containing the torque pulsation component are used to drive the motor at the same time, the excitation pulsation component and the torque pulsation component will cancel each other out and will not affect the final drive signal to the motor, thereby reducing the pulsation degree of the output torque of the motor.

[0056] It can be understood that the main idea of ​​the present invention is to actively introduce the torque pulsation component of the torque current to generate a pulsating torque to offset the pulsating component of the reference excitation current, thereby reducing the pulsation degree of the motor output torque and improving the stability of the motor weak magnetic operation; the whole process is achieved by adjusting the control logic in the driver, and can be achieved through a pure software solution without adding additional hardware circuits. By introducing a torque pulsation component to offset the excitation pulsation component, and because the value of the torque pulsation component depends on the excitation pulsation component, no matter how the DC bus voltage fluctuates, the pulsation degree of the motor output torque can be effectively reduced, so that the control process of the motor can take into account both the maximum voltage utilization and the stability of the output torque.

[0057] It is not difficult to understand that the present invention can be applied to motor drivers that use small DC bus capacitors. When the DC bus capacitor value of the driver decreases and the DC bus voltage introduces periodic pulsation, the original control strategy will cause torque pulsation in the weak magnetic operation range. For this reason, the present invention proposes a torque pulsation suppression method for the motor driver to improve the stability of the driver's operation in the weak magnetic range.

[0058] In practical applications, the present invention can be applied to motor drivers with three-phase power supply as well as motor drivers with single-phase power supply; it can be applied to permanent magnet synchronous motors as well as electrically excited synchronous motors, synchronous reluctance motors, and asynchronous motors; the present invention can be applied to all occasions where the DC bus voltage fluctuates, and the causes of bus voltage fluctuations include but are not limited to: small DC bus capacitance, grid voltage fluctuations, DC voltage fluctuations when powered by batteries, etc., which are not specifically limited in this application. There are many options for the specific types and implementations of motors and motor drivers, which are not specifically limited in this application.

[0059] It should be noted that the control block diagram of the motor driver with a weak magnetic control link is as follows Figure 2 As shown in the figure, when the motor enters the weak magnetic operation range, the output voltage of the driver When the maximum voltage output capacity is reached, the weak magnetic voltage loop intervenes in the regulation work and inputs the reference voltage of the weak magnetic control The output voltage of the driver The difference is then sent to the voltage controller AVR and other links for calculation to obtain the final reference excitation current. In a motor driver with a small bus capacitor, the DC bus voltage pulsates greatly, and the reference voltage input to the weak magnetic control The maximum voltage that the driver can output is determined by the voltage of the power grid. It is determined by obtaining the DC bus voltage after the power grid is rectified. Therefore, this given voltage in the voltage loop Will pulsate with the bus voltage, resulting in the final reference excitation current control value Generate fluctuations. According to the calculation formula of the electromagnetic torque of the synchronous motor: ;in, is the electromagnetic torque output by the motor, is the number of magnetic pole pairs, is the direct-axis inductance, is the quadrature-axis inductance, is the permanent magnet flux, is the magnetizing inductance, is the rotor inductance, is the excitation current, is the torque current. It is not difficult to find that the output torque of the motor is also affected by the excitation current and torque current Therefore, the excitation pulsation component of the excitation current will cause the motor output torque Pulsation is not conducive to the stability of the control system.

[0060] It should be further explained that, from the expression of the output torque of the above motor, it is not difficult to find that the output torque of the motor is not only affected by the excitation current, but also by the torque current, that is, the excitation current and the torque current affecting the output torque of the motor will both cause the pulsation of the output torque. Actively generates a torque current The torque ripple component of the torque current is used The excitation pulsation component of the excitation current The pulsating torques generated cancel each other out, leaving only the steady-state component of the excitation current. The steady-state component of the torque current Affect the output torque of the motor, thereby keeping the output torque constant.

[0061] Specifically, the following is based on Figure 2 The control block diagram shown in the figure further explains the compensation in the motor driver and the drive control process of the motor. Figure 3 , Figure 3 This is a control block diagram of a weak magnetic controller provided by the present invention; please refer to Figure 4 , Figure 4A control block diagram of a control method for a motor driver provided by the present invention; the motor driver obtains a given frequency for controlling the motor according to the operating target required by the motor And given excitation current , and detect the running status of the motor in real time to obtain the three-phase current of the motor , , , and calculate the synchronous angle and synchronous frequency according to the real-time electrical angle of the motor. It will be fed back to the Park conversion module in the drive to provide the electrical angle for the Park conversion process. The calculated synchronous frequency Will be fed back to the driver for the given frequency The three-phase current of the motor will be transformed from the time domain component to two components in the orthogonal stationary coordinate system. and Then perform Park transformation on it, transform it from the αβ two-phase stationary coordinate system to the dq two-phase rotating coordinate system, and obtain the excitation current of the motor at present and the torque current of the motor , and finally obtained and It will be fed back into the control loop of the driver to generate the drive signal, forming a feedback loop.

[0062] It is not difficult to understand that the motor driver will set the given frequency Synchronous frequency with feedback After the difference is made, it is sent to the speed regulator ASR to generate a given torque current corresponding to the given frequency. , and then the generated torque ripple component Added to the given torque current, the reference torque current is finally generated , the reference torque current is then compared with the feedback After the difference is made, it is input into the current regulator ACR and converted into the motor Control value; the field weakening controller in the motor drive generates a and Generating field weakening current , weak field current and given excitation current Add together to get the reference excitation current , the reference excitation current is then fed back to After the difference is made, it is input into the current regulator ACR and converted into the motor Control value. Control value and The control value is then transformed into a two-phase stationary coordinate system to obtain and ,final and The SVPWM module generates the motor drive signal. and Generate corresponding drive signals to control the action of the three-phase PWM inverter circuit connected to the AC motor, thereby realizing vector control of the AC motor.

[0063] Among them, the internal control block diagram of the weak magnetic controller is as follows: Figure 3 As shown in the figure, the field weakening controller first generates and Get the output voltage of the driver , and then according to the input reference voltage of the weak magnetic control and driver output voltage The difference between the two is sent to the voltage controller AVR, and after being adjusted by the voltage controller, the pulsating weak magnetic current is obtained through the limiting link. ; The input reference voltage of the weak magnetic control is It is the maximum voltage that the drive can output, which is determined by the power grid. Since the DC bus voltage introduces periodic pulsation, the voltage obtained from the power grid is There is also a certain pulsation, which leads to a certain pulsation in the final weak magnetic current. With given excitation current Add together to get the reference excitation current ; In order to generate the torque pulsation component, the present application adds a torque pulsation generation module to the driver to implement the compensation process. The internal control block diagram of the torque pulsation generation module is as follows Figure 4 As shown, the reference excitation current Send it to the low-pass filter to get the steady-state component of the reference excitation current ; Set the reference excitation current Subtract the steady-state component of the reference excitation current , get the pulsating component of the reference excitation current ; Using the pulsating component of the reference excitation current , the given torque current output by the speed regulator , calculate the compensated pulsating torque current , that is, the torque pulsation component is generated. Finally, the pulsating torque current The steady-state torque current output by the speed loop Superposition, get the reference torque current ; Set the reference excitation current , reference torque current Send it into the current loop to complete the vector control of the motor.

[0064] It is not difficult to understand that the present invention provides a method for suppressing torque pulsation of a motor drive device when the DC bus voltage fluctuates, which can be mainly applied to motor drivers with small DC bus capacitors. When the DC bus capacitor value of the driver decreases and the DC bus voltage introduces periodic pulsation, the original control strategy will generate torque pulsation in the weak magnetic operation range. For this reason, the present invention proposes a method for suppressing torque pulsation of a motor driver with small DC bus capacitors to improve the stability of the driver in the weak magnetic range. The present invention improves the torque pulsation problem of a small DC bus capacitor driver during weak magnetic operation. Through the application of the present invention, the negative impact of torque pulsation can be reduced while reducing the DC bus capacitor capacity, reducing the driver cost, and increasing the driver power density.

[0065] The present invention provides a control method for a motor driver, which determines a reference excitation current output by the motor driver after closed-loop weak magnetic field control, determines the pulsation of the excitation current currently output by the driver by extracting the excitation pulsation component in the reference excitation current, and simultaneously uses the excitation pulsation component to compensate the torque current to generate a torque pulsation component, so that the excitation pulsation component of the excitation current and the torque pulsation component of the torque current cancel each other out, thereby reducing the pulsation degree of the motor output torque; by actively introducing the pulsation component of the reference excitation current into the control link of the torque current, the torque pulsation problem of a small DC bus capacitor driver during weak magnetic field operation is improved, so that the motor driver can reduce the negative impact of torque pulsation while reducing the DC bus capacitor capacity, reducing the driver cost, and improving the driver power density, thereby ensuring the smoothness and reliability of the motor operation process, especially the motor operation process under weak magnetic field control.

[0066] Based on the above embodiments:

[0067] As an optional embodiment, determining the reference excitation current output by the motor driver after performing the field weakening control includes:

[0068] When the motor enters a weak magnetic field operating condition, the weak magnetic field current output by the weak magnetic field controller of the motor driver is obtained;

[0069] Determine a given excitation current of a given motor driver in the current control process;

[0070] The reference excitation current of the motor driver is obtained by adding the field weakening current to the given excitation current.

[0071] It is not difficult to understand that after the weak magnetic current is generated, the weak magnetic current controller in the driver will superimpose the weak magnetic current on the given excitation current received by the driver to obtain the reference excitation current for the final control of the motor. Therefore, the reference excitation current can be determined by calculating the superposition result of the weak magnetic current and the given excitation current. The specific type and implementation method of the weak magnetic controller are not specifically limited in this application. There are many options for obtaining the corresponding weak magnetic current, which can be determined directly by detecting the output of the weak magnetic controller, or calculated according to the control logic of the weak magnetic controller. There are many options for the specific method of obtaining the given value of the excitation current, which can be directly input by the operator according to the operation requirements of the motor, or calculated by the host computer according to the operation requirements of the motor. This application does not make any special restrictions here.

[0072] Specifically, under the weak magnetic field operating condition of the motor, the reference excitation current for controlling the motor in the motor driver is obtained by superimposing the weak magnetic field current and the given excitation current. Combined with the control logic of the weak magnetic field controller and the current loop, an effective method for determining the reference excitation current is obtained to ensure the accuracy and reliability of the calculated reference excitation current.

[0073] As an optional embodiment, obtaining the weak magnetic current output by the weak magnetic controller of the motor driver includes:

[0074] Determine the maximum voltage that the motor driver can output;

[0075] Subtract the maximum voltage from the current output voltage of the motor driver;

[0076] The voltage controller is used to adjust the voltage based on the difference between the maximum voltage and the current output voltage;

[0077] The difference result after voltage regulation is limited to obtain the weak magnetic current output by the current weak magnetic controller.

[0078] It is understandable that a specific implementation of the weak magnetic controller is as follows Figure 3 As shown in the figure, the maximum voltage that the motor driver can output is The current output voltage of the motor driver The difference is then further input into the voltage controller and the limiting link to process it, and the final weak magnetic current is obtained. The weak magnetic controller as a whole acts as a voltage loop, sensing the difference between the output voltage and the set reference voltage, and uses the voltage controller to output weak magnetic currents of different sizes according to the specific changes in the difference, thereby adjusting the size of the excitation current, so that the final output voltage of the driver remains stable. The specific types and implementation methods of the voltage controller and the limiting link are not specifically limited in this application. The limiting parameters of the limiting link can be selected and modulated according to the actual weak magnetic control requirements of the motor, and the application does not make any special restrictions here.

[0079] Specifically, by adding this weak magnetic field control link in the driver, the reference excitation current of the final control motor can be adjusted by generating weak magnetic field current, thereby stabilizing the final output voltage of the driver, improving the stability and reliability of the entire voltage driver, and ensuring the stable operation of the motor.

[0080] As an optional embodiment, extracting the excitation pulsation component in the reference excitation current includes:

[0081] determining the excitation steady-state component of the reference excitation current;

[0082] The result of subtracting the excitation steady-state component from the reference excitation current is taken as the excitation pulsation component in the reference excitation current.

[0083] It is not difficult to understand that the reference excitation current includes a steady-state component and a pulsating component caused by the fluctuation of the DC bus voltage. Therefore, if you want to extract the excitation pulsating component, you can do it indirectly by first determining the excitation steady-state component. After obtaining the excitation steady-state component, you can obtain the pulsating component other than the steady-state component by subtracting the reference excitation current from the excitation steady-state component. This application does not make any special restrictions on the specific method of determining the excitation steady-state component.

[0084] Specifically, the excitation pulsating component in the reference excitation current can be indirectly determined by first determining the excitation steady-state component. Compared with the pulsating component, the steady-state component will not have serious fluctuations, is more stable, and is easier to determine and extract. Therefore, the accuracy of indirectly determining the excitation pulsating component in the reference excitation current through the excitation steady-state component is higher, which effectively ensures the accuracy and reliability of the final excitation pulsating component.

[0085] As an optional embodiment, determining the excitation steady-state component of the reference excitation current includes:

[0086] The reference excitation current is input into a low-pass filter to obtain the excitation steady-state component of the reference excitation current.

[0087] It is understandable that the extraction of the steady-state component in the reference excitation current can be achieved through a filter, and considering that the frequency of the excitation steady-state component in the reference excitation current is lower than the excitation pulsation component, a low-pass filter can be used to extract the excitation steady-state component in the reference excitation current. There are many options for the specific type and implementation of the low-pass filter, and its cut-off frequency can also be selected and set according to the actual operation of the motor. This application does not make any special restrictions here, such as Figure 4 As shown, an LPF filter (Low Pass Filter, first-order low-pass filter) can be used to achieve this.

[0088] Specifically, the process of extracting the steady-state component in the reference excitation current can be achieved by setting a filter, which is simple, effective and easy to implement. The filter can be implemented through software filtering and other methods, and has strong flexibility. The cutoff frequency can also be set according to the actual application of the motor, so that the entire compensation method can be applicable to different types of motors or different operating processes of the motor.

[0089] As an optional embodiment, compensating a given torque current of a motor driver based on an excitation pulsation component includes:

[0090] The torque pulsation component for a given torque current is calculated based on the excitation pulsation component; the excitation pulsation component is negatively correlated with the torque pulsation component;

[0091] The torque pulsation component is superimposed on the given torque current to obtain the reference torque current output by the compensated motor driver.

[0092] It is not difficult to understand that the process of compensating a given torque current is mainly to increase the torque pulsation component on the basis of the given torque current. At this time, the torque pulsation component will be superimposed on the given torque current as a compensation amount to obtain a reference torque current including the torque pulsation component. Therefore, it is necessary to first determine the torque pulsation component through the excitation pulsation component, so that the torque pulsation component can be added to the control loop as a compensation amount. In order to achieve the mutual cancellation of the torque pulsation component and the excitation pulsation component in the subsequent motor drive process, in the process of calculating the torque pulsation component, it is necessary to calculate a torque pulsation component that is negatively correlated with the excitation pulsation component, so that when the reference excitation current and the reference torque current simultaneously affect the motor output torque, the torque pulsation component and the excitation pulsation component can be mutually cancelled.

[0093] Specifically, the torque pulsation component calculated using the excitation pulsation component can be superimposed on the given torque current by means of a compensation amount to obtain the final reference torque current. According to the output torque expression of the motor, the output torque of the motor is positively correlated with the reference excitation current and the reference torque current. Therefore, this torque pulsation component needs to be negatively correlated with the excitation pulsation component to effectively achieve mutual offset in the control process and avoid the final impact on the motor torque.

[0094] As an optional embodiment, calculating the torque pulsation component for a given torque current based on the excitation pulsation component includes:

[0095] A torque pulsation component for a given torque current is calculated based on the excitation pulsation component, a preset compensation gain and a given torque current; the given torque current is negatively correlated with the torque pulsation component.

[0096] It can be understood that the compensation of the given torque current not only needs to consider its final offset effect with the excitation pulsation component, but also needs to consider the influence of different given torque currents on the final output reference torque current. At the same time, in order to take into account both effects, the compensation gain is added as a calculation coefficient in the process of calculating the torque pulsation component. Finally, the torque pulsation component is calculated based on the excitation pulsation component, the preset compensation gain and the given torque current. The final calculation relationship for compensating the given torque current is: ;in, is the torque pulsation component, that is, the generated torque pulsation component, is the excitation pulsation component, is the given torque current; The preset compensation gain can be adjusted and set according to the actual application of the motor and the compensation effect. The specific value is not particularly limited in this application.

[0097] As a specific embodiment, the effectiveness of the torque pulsation method proposed in the present invention can be verified on a motor simulation platform such as a small bus capacitor motor driver platform or a motor simulation platform. The parameters of the experimental platform are set as follows: DC bus capacitor value 50uF, permanent magnet synchronous motor rated power 7.5kW, rated voltage 380V, rated current 12.4A, rated frequency 75Hz, rated speed 1500r / min, stator resistance 2.75Ω, direct axis inductance 7.87mH, quadrature axis inductance 23.73mH. The output torque of the motor is collected through a torque analyzer.

[0098] Please refer to Figure 5 , Figure 5 A schematic diagram of the waveform of the change of the motor torque before and after the control method of the motor driver provided by the present invention is adopted; Figure 5(a) shows the effect before using the torque pulsation suppression method of the present invention, and (b) shows the effect after using the torque pulsation suppression method of the present invention. Figure 5 The horizontal axis of the schematic diagram is time, and the vertical axis is the output torque of the motor, when the operating frequency of the motor is 98Hz. Before using the method of the present invention, the torque pulsation of the motor was about 17Nm. After using the compensation method provided by the present invention, the torque pulsation range of the motor was about 14Nm, which was significantly improved. After performing multiple simulation operations and performing FFT (Fast Fourier Transformation) analysis on the output torque of the motor, it can be roughly determined based on statistical data that after using the torque pulsation suppression method of the present invention, the pulsation of the output torque of the motor can be reduced by about 34%, and can be effectively suppressed.

[0099] Please refer to Figure 6 , Figure 6 The present invention provides a schematic diagram of a control device for a motor driver; To solve the above technical problems, the present invention also provides a control device for a motor driver, comprising:

[0100] The excitation current determination unit 11 is used to determine the reference excitation current output by the motor driver after the motor driver performs the weak magnetic control;

[0101] A pulsation component extraction unit 12, used to extract the excitation pulsation component in the reference excitation current;

[0102] The compensation unit 13 is used to compensate the given torque current of the motor driver based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

[0103] As an optional embodiment, the excitation current determining unit 11 includes:

[0104] A weak magnetic current acquisition unit, used to acquire the weak magnetic current output by the weak magnetic controller of the motor driver when the motor enters a weak magnetic operation condition;

[0105] A given excitation current determination unit, used to determine a given excitation current of the motor driver given in the current control process;

[0106] The excitation current determination subunit is used to add the weak magnetic current to the given excitation current to obtain a reference excitation current of the motor driver.

[0107] As an optional embodiment, the magnetic field weakening current acquisition unit includes:

[0108] A maximum output voltage determination unit, used to determine the maximum voltage that the motor driver can output;

[0109] A difference unit, used for making a difference between the maximum voltage and the current output voltage of the motor driver;

[0110] A voltage regulating unit, configured to use a voltage controller to perform voltage regulation on a difference between the maximum voltage and the current output voltage;

[0111] The limiting unit is used to limit the difference result after voltage regulation to obtain the weak magnetic current output by the current weak magnetic controller.

[0112] As an optional embodiment, the pulsation component extraction unit 12 includes:

[0113] A steady-state component extraction unit, used to determine the excitation steady-state component of the reference excitation current;

[0114] The pulsation component extraction subunit is used to control the reference excitation current to make a difference with the excitation steady-state component, and take the result of subtracting the excitation steady-state component from the reference excitation current as the excitation pulsation component in the reference excitation current.

[0115] As an optional embodiment, the steady-state component extraction unit includes:

[0116] The steady-state component extraction subunit is used to input the reference excitation current into a low-pass filter to obtain the excitation steady-state component of the reference excitation current.

[0117] As an optional embodiment, the compensation unit 13 includes:

[0118] A torque pulsation component calculation unit, used for calculating the torque pulsation component for a given torque current based on the excitation pulsation component; the excitation pulsation component is negatively correlated with the torque pulsation component;

[0119] The compensation subunit is used to superimpose the torque pulsation component with the given torque current to obtain a reference torque current output by the motor driver after compensation.

[0120] As an optional embodiment, the torque pulsation component calculation unit includes:

[0121] The torque pulsation component calculation subunit is used to calculate the torque pulsation component of the given torque current based on the excitation pulsation component, the preset compensation gain and the given torque current; the given torque current is negatively correlated with the torque pulsation component.

[0122] For an introduction to a control device for a motor driver provided by the present invention, please refer to the embodiment of the control method for the motor driver described above, and the present invention will not be described in detail here.

[0123] Please refer to Figure 7, Figure 7 The present invention provides a schematic diagram of the structure of an electronic device. To solve the above technical problems, the present invention also provides an electronic device, including:

[0124] A memory 21, used for storing computer programs;

[0125] The processor 22 is used to implement the steps of the motor driver control method as described above.

[0126] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 can be implemented in at least one hardware form of DSP (Digital Signal Processor), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit; the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may integrate a GPU (graphics processing unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0127] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program, wherein, after the computer program is loaded and executed by the processor 22, the relevant steps of the control method of the motor driver disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 21 may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include but is not limited to the data of the control method of the motor driver, etc.

[0128] In some embodiments, the electronic device may further include a display screen, an input and output interface, a communication interface, a power supply, and a communication bus.

[0129] It can be understood by those skilled in the art that Figure 7 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0130] For an introduction to an electronic device provided by the present invention, please refer to the embodiment of the control method of the motor driver mentioned above, and the present invention will not be described in detail here.

[0131] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the motor drive as described above are implemented.

[0132] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. Specifically, the computer-readable storage medium may include but is not limited to any type of disk, including a floppy disk, an optical disk, and a mobile hard disk, or any type of medium or device suitable for storing instructions, data, etc., and the present application does not make any special restrictions here.

[0133] For an introduction to a computer-readable storage medium provided by the present invention, please refer to the embodiment of the control method of the motor driver described above, and the present invention will not be repeated here.

[0134] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0135] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0136] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0137] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be 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 the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method for a motor driver, It is characterized in that include: Determine the reference excitation current output by the motor driver after performing field weakening control; extracting the excitation pulsation component in the reference excitation current; The given torque current of the motor driver is compensated based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

2. The control method of the motor driver according to claim 1, It is characterized in that The step of determining a reference excitation current output by the motor driver after performing magnetic field weakening control comprises: When the motor enters a weak magnetic field operating condition, the weak magnetic field current output by the weak magnetic field controller of the motor driver is obtained; Determine a given excitation current of the motor driver given by the current control process; The field weakening current is added to the given excitation current to obtain a reference excitation current of the motor driver.

3. The control method of the motor driver according to claim 2, It is characterized in that The step of obtaining the weak magnetic current output by the weak magnetic controller of the motor driver comprises: Determine the maximum voltage that the motor driver can output; Subtracting the maximum voltage from the current output voltage of the motor driver; Using a voltage controller to adjust the voltage of the difference between the maximum voltage and the current output voltage; The difference result after voltage regulation is limited to obtain the weak magnetic current output by the current weak magnetic controller.

4. The control method of the motor driver according to claim 1, It is characterized in that The extracting the excitation pulsation component in the reference excitation current comprises: determining an excitation steady-state component of the reference excitation current; The result of subtracting the excitation steady-state component from the reference excitation current is taken as the excitation pulsation component in the reference excitation current.

5. The control method of the motor driver according to claim 4, It is characterized in that The step of determining the excitation steady-state component of the reference excitation current comprises: The reference excitation current is input into a low-pass filter to obtain an excitation steady-state component of the reference excitation current.

6. The control method of the motor driver according to any one of claims 1 to 5, It is characterized in that The compensating the given torque current of the motor driver based on the excitation pulsation component comprises: Calculating a torque pulsation component for a given torque current based on the excitation pulsation component; the excitation pulsation component is negatively correlated with the torque pulsation component; The torque pulsation component is superimposed on the given torque current to obtain a reference torque current output by the motor driver after compensation.

7. The control method of the motor driver according to claim 6, It is characterized in that The step of calculating the torque pulsation component for a given torque current based on the excitation pulsation component comprises: A torque pulsation component for the given torque current is calculated based on the excitation pulsation component, a preset compensation gain and the given torque current; the given torque current is negatively correlated with the torque pulsation component.

8. A control device for a motor driver, It is characterized in that include: An excitation current determination unit, used to determine a reference excitation current output by the motor driver after performing field weakening control; A pulsation component extraction unit, used for extracting the excitation pulsation component in the reference excitation current; A compensation unit is used to compensate the given torque current of the motor driver based on the excitation pulsation component to obtain a reference torque current including the torque pulsation component, so as to drive the motor using the reference excitation current and the reference torque current.

9. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the motor drive control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the motor drive control method according to any one of claims 1 to 7 are implemented.