Voltage control method and device, control system, electronic equipment and storage medium
Through the method of feedback adjustment and current adjustment, it is ensured that the control voltage of the motor is within the linear modulation area, which solves the problems of current harmonics and oscillation in the nonlinear modulation area of the space vector pulse width modulation technology, and improves the operating efficiency and stability of the motor. sex.
Patent Information
- Application Number
- CN202410692350.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-24
AI Technical Summary
The space vector pulse width modulation technology causes the current harmonics and oscillation to intensify in the nonlinear modulation region, reducing the operating efficiency and stability of the motor.
By obtaining the current output current and input voltage of the motor, performing feedback adjustment processing to determine the control voltage, and performing a second feedback adjustment when the control voltage exceeds the preset threshold, adjusting the adjustment current to ensure that the control voltage of the motor is within the linear modulation area, Weaken the magnetic field strength, reduce the output current and control voltage.
It improves the operating efficiency and stability of the motor, ensures that the control voltage is within the linear modulation zone, reduces harmonics and oscillation, and improves the performance and smooth operation of the motor.
Smart Images

Figure CN118694236A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of motor control, and more specifically, to a voltage control method, a voltage control device, a motor control system, an electronic device, and a non-volatile computer-readable storage medium. Background Art
[0002] Space Vector Pulse Width Modulation (SVPWM) is a three-phase voltage inversion technology used in AC motors, permanent magnet motors, and AC inverters. SVPWM can be used to control the operation of the motor based on the vector synthesis voltage. However, when the vector synthesis voltage is too large, the harmonics and oscillations of the current will be aggravated in the speed control mode, which can easily lead to low operating efficiency and stability of the motor. Summary of the invention
[0003] Embodiments of the present application provide a voltage control method, a voltage control device, a motor control system, an electronic device, and a non-volatile computer-readable storage medium.
[0004] The voltage control method of the embodiment of the present application is applied to a motor, and the method includes obtaining the current output current and the current input voltage of the motor collected in the current frame; performing a first feedback adjustment process on the current output current to determine the current control voltage; when the current control voltage is greater than a preset voltage threshold, performing a second feedback adjustment process on the current control voltage based on the preset voltage threshold to determine the current adjustment current, and the preset voltage threshold is determined according to the current input voltage; based on the current adjustment current, performing the first feedback adjustment process on the output current of the motor collected in the next frame to determine the target control voltage; and controlling the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0005] The voltage control device of the embodiment of the present application is applied to a motor, and the device includes an acquisition module, a first determination module, a second determination module, a third determination module and a control module. The acquisition module is used to acquire the current output current and the current input voltage of the motor collected in the current frame. The first determination module is used to perform a first feedback adjustment process on the current output current to determine the current control voltage. The second determination module is used to perform a second feedback adjustment process on the current control voltage based on a preset voltage threshold to determine the current adjustment current when the current control voltage is greater than a preset voltage threshold, and the preset voltage threshold is determined according to the current input voltage. The third determination module is used to perform the first feedback adjustment process on the output current of the motor collected in the next frame according to the current adjustment current to determine the target control voltage. The control module is used to control the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0006] The motor control system of the embodiment of the present application includes a motor, a voltage acquisition module, a current acquisition module, a first adjustment module, a second adjustment module and a voltage control module. The voltage acquisition module is used to obtain the current input voltage of the motor. The current acquisition module is used to obtain the current output current of the motor. The first adjustment module is used to perform a first feedback adjustment process on the current output current to determine the current control voltage, and based on the current adjustment current, perform the first feedback adjustment process on the output current of the motor collected in the next frame to determine the target control voltage. The second adjustment module is used to perform a second feedback adjustment process on the current control voltage based on a preset voltage threshold to determine the current adjustment current when the current control voltage is greater than a preset voltage threshold, and the preset voltage threshold is determined according to the current input voltage. The voltage control module is used to control the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage. Among them, the output end of the motor is connected to the input end of the current acquisition module, the input end of the first regulation module is respectively connected to the output end of the current acquisition module and the output end of the voltage acquisition module, the output end of the first regulation module is respectively connected to the input end of the voltage control module and the input end of the second regulation module, the output end of the second regulation module is connected to the input end of the first regulation module, and the input end of the motor is connected to the output end of the voltage control module.
[0007] The electronic device of the embodiment of the present application includes a processor, a memory and a computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing a voltage control method. The voltage control method includes obtaining the current output current and the current input voltage of the motor collected in the current frame; performing a first feedback adjustment process on the current output current to determine the current control voltage; when the current control voltage is greater than a preset voltage threshold, performing a second feedback adjustment process on the current control voltage based on the preset voltage threshold to determine the current adjustment current, and the preset voltage threshold is determined according to the current input voltage; based on the current adjustment current, performing the first feedback adjustment process on the output current of the motor collected in the next frame to determine the target control voltage; and controlling the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0008] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program, and when the computer program is executed by a processor, the processor executes a voltage control method. The voltage control method includes obtaining the current output current and the current input voltage of the motor collected in the current frame; performing a first feedback adjustment process on the current output current to determine the current control voltage; when the current control voltage is greater than a preset voltage threshold, performing a second feedback adjustment process on the current control voltage based on a preset voltage threshold to determine the current adjustment current, and the preset voltage threshold is determined according to the current input voltage; based on the current adjustment current, performing the first feedback adjustment process on the output current of the motor collected in the next frame to determine the target control voltage; and controlling the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0009] The voltage control method, voltage control device, motor control system, electronic device and non-volatile computer-readable storage medium of the embodiment of the present application first determine the preset voltage threshold according to the maximum value of the linear modulation area, and the maximum value of the linear modulation area can be determined according to the current input voltage. Then the current input voltage is obtained to determine the preset voltage threshold, and the current output current is obtained so as to perform a first feedback adjustment process on the current output current to obtain the current control voltage, thereby facilitating the determination of whether the current control voltage is located in the linear modulation area. In the case of determining that the current control voltage is greater than the preset voltage threshold, it can be determined that the current control voltage is located in the nonlinear modulation area, and the strength of the magnetic field of the motor at this time is relatively strong. The current adjustment current can be used to control the strength of the magnetic field of the motor, so at this time, the current control voltage can be subjected to a second feedback adjustment based on the preset voltage threshold to determine the current adjustment current, so as to adaptively adjust the current adjustment current, so as to increase the ability of the current adjustment current to weaken the strength of the magnetic field. Then, after the output current of the motor of the next frame is collected, the output current of the motor collected in the next frame can be subjected to a first feedback adjustment process based on the current adjustment current to determine the target control voltage. It can be understood that the ability to weaken the strength of the magnetic field corresponding to the target control voltage at this time is relatively strong. Then, after the motor is controlled to run based on the target control voltage, the strength of the magnetic field generated by the motor will decrease, so that the output current at this time will also decrease, so that the control voltage at this time will also decrease and be located in the linear modulation area. In this way, once the control voltage exceeds the linear modulation area, the present application can adaptively adjust the regulation current to increase the ability of the current regulation current to weaken the strength of the magnetic field, thereby reducing the control voltage and ensuring that the control voltage can be quickly reduced and reach the linear modulation area, thereby ensuring that the motor's operating efficiency will be higher and the motor's operation will be smoother.
[0010] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0012] Figure 1 It is a schematic diagram of an application scenario of a voltage control method in some embodiments of the present application;
[0013] Figure 2 is a flow chart of a voltage control method according to certain embodiments of the present application;
[0014] Figure 3 is a flow chart of a voltage control method according to certain embodiments of the present application;
[0015] Figure 4 is a flow chart of a voltage control method according to certain embodiments of the present application;
[0016] Figure 5 is a flow chart of a voltage control method according to certain embodiments of the present application;
[0017] Figure 6 is a flow chart of a voltage control method according to certain embodiments of the present application;
[0018] Figure 7 is a module schematic diagram of a voltage control device in certain embodiments of the present application;
[0019] Figure 8 is a schematic diagram of the structure of an electronic device according to some embodiments of the present application;
[0020] Fig. 9 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION
[0021] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0022] Space Vector Pulse Width Modulation (SVPWM) is a three-phase voltage inversion technology used in AC motors, permanent magnet motors, and AC inverters. SVPWM can be used to control the operation of the motor based on the vector synthesis voltage. However, when the vector synthesis voltage is too large, the harmonics and oscillations of the current will be aggravated in the speed control mode, which can easily lead to low operating efficiency and stability of the motor.
[0023] Specifically, the linear modulation region and the nonlinear modulation region of SVPWM are two different stages in its application.
[0024] The linear modulation region is an important feature of SVPWM technology. In this region, all control voltages can be synthesized and followed by SVPWM technology. This is due to the fact that the maximum undistorted circular rotating voltage vector that the SVPWM algorithm can output is the inscribed circle of a regular hexagon, and its amplitude is the maximum undistorted sinusoidal phase voltage amplitude output by the inverter, where the amplitude is determined by the DC side voltage U of the motor controller. dc Determine, that is, determine according to the current input current of the motor, specifically U dc / √3. Within this range, SVPWM technology can ensure smooth operation of the motor, reduce noise and vibration, and achieve efficient power conversion.
[0025] However, when the amplitude of the control voltage increases further and exceeds the limit of the linear modulation area, some parts of the voltage circle trajectory will exceed the range of the maximum vector circle, and the SVPWM will enter the nonlinear modulation area. In the nonlinear modulation area, although the capacity of the inverter can be fully utilized, the harmonics and oscillations of the current will be aggravated in the speed control mode, which may have an adverse effect on the performance and stability of the motor.
[0026] In order to deal with the problems in the nonlinear modulation area, overmodulation technology was developed. Overmodulation technology is derived from the traditional SVPWM technology and is used to synthesize the voltage vector (i.e. control voltage) in the nonlinear modulation area. By adopting overmodulation technology, the problems caused by the nonlinear modulation area can be alleviated to a certain extent, but it may also introduce some new challenges, such as the increase of current harmonics.
[0027] In order to solve the above technical problems, an embodiment of the present application provides a voltage control method.
[0028] The following first introduces the application scenarios of the technical solution of this application. Figure 1 , which is a schematic diagram of an application scenario of a voltage control method provided in an embodiment of the present application, and the application scenario involves a motor control system 100. The motor control system 100 includes a motor 10, a voltage acquisition module 20, a current acquisition module 30, a first adjustment module 40, a second adjustment module 50 and a voltage control module 60.
[0029] The motor 10 refers to an electromagnetic device that realizes the conversion or transmission of electric energy according to the law of electromagnetic induction. The basic principle of the motor 10 to generate electricity is to use the law of electromagnetic induction. The motor 10 can be a permanent magnet synchronous motor 10 (PMSM). The working principle of the permanent magnet synchronous motor 10 is simply that the stator generates a rotating magnetic field by passing alternating current, and the rotor is a permanent magnet. The magnetic field generated by the stator drives the permanent magnet to rotate, and the speed is the synchronous speed.
[0030] The voltage acquisition module 20 is used to obtain the current input voltage of the motor 10. The motor control system 100 may also include other data acquisition modules, which can be used to obtain torque and rotation speed. The current input voltage Udc, torque torque and angular velocity ω collected by the data acquisition module and the voltage acquisition module 20 can be placed in a table. When needed, the corresponding data is obtained by looking up the table. The angular velocity ω can be determined according to the position angle θ of the rotor of the motor 10.
[0031] The current acquisition module 30 is used to acquire the current output current of the motor 10. For example Figure 1 As shown, the current acquisition module 30 includes a first conversion module 31 and a second conversion module 32, the first conversion module 31 is used to perform Clark transformation, and the second conversion module 32 is used to perform Park transformation. Clark transformation is mainly used to convert the time domain components of the three-phase system (in the abc coordinate system) into two components in the orthogonal stationary coordinate system (αβ). Park transformation is to convert the projection of the three-phase output currents ia, ib and ic of the motor 10 on the α and β axes (two-phase stationary coordinate system) to the d and q axes (two-phase rotating coordinate system), so that the currents on the stator are equivalent to the direct axis and the quadrature axis. Among them, the d axis is the direct axis in the motor 10, and the q axis is the quadrature axis. In the synchronous motor 10, the center line of the rotor pole is the direct axis direction, and the perpendicular bisector between two adjacent poles is the quadrature axis direction.
[0032] The current acquisition module 30 can measure the three-phase stator currents ia, ib and ic of the motor 10. The three-phase currents are transformed by Clark to obtain iα and iβ, and then transformed by Park to obtain lq* and ld*, where lq* and ld* are the current output currents, ld is the direct axis current (i.e., d-axis current), and lq is the quadrature axis current (i.e., q-axis current). By controlling the quadrature axis current, the torque of the motor 10 can be controlled, and by controlling the direct axis current, the strength of the magnetic field can be controlled. Therefore, the motor control system 100 can achieve precise control of the speed, torque and efficiency of the motor 10 by controlling the magnitude and direction of the quadrature axis current and the direct axis current.
[0033] Feedback regulation processing adjusts the output signal based on the error between the feedback signal and the expected signal of the system, so that the feedback signal can be closer to the expected signal, wherein the larger the error, the larger the adjustment amplitude of the output signal. For example, the first regulation module 40 and the second regulation module 50 can be a proportional-integral regulator (PI regulator), and the PI regulator can be based on the difference between the feedback signal and the expected signal of the system in the automatic control system, and adjust the output signal to make the feedback signal as close to the expected signal as possible. The parameters used by the PI regulator in determining the output signal are a preset proportional parameter and a preset integral parameter. The preset proportional parameter is used to adjust the size of the output signal and match the output signal with the size change of the difference; the preset integral parameter can expand the difference to offset the inevitable errors in the system.
[0034] The first regulating module 40 is used to perform a first feedback regulating process on the current input to the first regulating module 40 to determine the corresponding control voltage, so that after the motor 10 is controlled according to the regulated control voltage, the current current can be closer to the desired current value. The second regulating module 50 is used to perform a second feedback regulating process on the voltage input to the second regulating module 50 to determine the corresponding regulating current, so that after the control voltage is regulated according to the regulating current, the control voltage will be closer to the desired voltage value.
[0035] The voltage control module 60 can be used to control the operation of the motor 10 based on the control voltage determined by the first regulation module. The current input to the first regulation module includes a direct current and an alternating current, so the direct current and the alternating current can be respectively subjected to a first regulation feedback process to obtain a direct-axis voltage and a quadrature-axis voltage, and then the control voltage can be determined according to the direct-axis voltage and the quadrature-axis voltage. At this time, the voltage control module 60 can use the quadrature-axis voltage to control the torque of the motor 10, and can use the direct-axis voltage to control the magnetic field of the motor 10.
[0036] For example, the voltage control module 60 may include a third conversion module 61, an algorithm module 62 and an inverter 63. The third conversion module 61 is used to perform an inverse Park transformation, converting the direct-axis voltage into Uα and the quadrature-axis voltage into lβ, and then the three-phase voltages Ua, Ub and Uc can be obtained after passing through the algorithm module 62, wherein the algorithm module 62 can perform calculations based on the SVPWM algorithm. Then the inverter 63 can control the operation of the motor 10 according to Ua, Ub and Uc.
[0037] Among them, the output end of the motor 10 is connected to the input end of the current acquisition module 30, the input end of the first regulation module 40 is respectively connected to the output end of the current acquisition module 30 and the output end of the voltage acquisition module 20, the output end of the first regulation module 40 is respectively connected to the input end of the voltage control module 60 and the input end of the second regulation module 50, the output end of the second regulation module 50 is connected to the input end of the first regulation module 40, and the input end of the motor 10 is connected to the output end of the voltage control module 60.
[0038] The voltage control method of this application will be described in detail below:
[0039] See also Figure 2 , an embodiment of the present application provides a voltage control method, the voltage control method comprising:
[0040] Step 011: Obtain the current output current and current input voltage of the motor acquired in the current frame.
[0041] Specifically, the magnitude of the control voltage will change with the change of the magnetic field strength of the motor. The permanent magnetic flux of the motor's rotor will increase with the decrease in temperature. In a low temperature environment (generally below minus 10 degrees), the permanent magnetic flux will increase by about 10%. The increase in the rotor flux will cause the increase in the strength of the magnetic field, thereby causing the increase in the motor's back electromotive force. This situation is particularly obvious under high-speed torque mutations and high-speed, low-torque conditions. At this time, the direct-axis current of the motor is the direct-axis current before cooling. Obviously, the direct-axis current at this time is not enough to weaken the strength of the increased magnetic field to a suitable strength range, resulting in an increase in the current output current, which in turn causes the control voltage to rise and reach the nonlinear modulation area.
[0042] The preset voltage threshold is the maximum value of the linear modulation area. Once the control voltage exceeds the preset voltage threshold, it means that the voltage control module has entered the nonlinear modulation area. At this time, the efficiency of the motor is low. Therefore, the voltage acquisition module first obtains the current input voltage collected by the current frame to determine the preset voltage threshold, so that the voltage control module can be found in time to enter the nonlinear modulation area later. The current output current of the motor is affected by the strength of the magnetic field and can be used to reflect the magnetic field strength of the motor. Therefore, at this time, the current acquisition module will also obtain the current output current collected by the current frame.
[0043] Step 012: Perform a first feedback regulation process on the current output current to determine the current control voltage.
[0044] Specifically, the first regulation module may use the regulation current generated by the second regulation module as the expected signal and the current output current as the feedback signal, and perform the first feedback regulation processing on the current output current to adaptively adjust the control voltage and determine the current control voltage. At this time, the voltage control module can control the motor operation according to the current control voltage, so that after controlling the motor operation according to the current control voltage, the difference between the current output current and the regulation current used at this time is small.
[0045] Step 013: When the current control voltage is greater than a preset voltage threshold, a second feedback regulation process is performed on the current control voltage based on the preset voltage threshold to determine a current regulation current, wherein the preset voltage threshold is determined according to the current input voltage.
[0046] Specifically, the current regulating current may include a direct axis current and a quadrature axis current, so that the current regulating current can at least be used to adjust the strength of the magnetic field of the motor. After obtaining the current control voltage, it can be determined whether the current control voltage is within the linear modulation region to determine whether the current control voltage needs to be adjusted.
[0047] When the current control voltage is greater than the preset voltage threshold, it can be determined that the current control voltage is located in the nonlinear modulation area, and the magnetic field strength of the motor is relatively strong at this time. It can be understood that the ability of the regulating current used at this time to weaken the strength of the magnetic field is not enough to ensure that the current control voltage is located in the linear modulation area, and the magnitude of the regulating current needs to be adjusted in real time. Therefore, the second regulating module can use the preset voltage threshold as the expected signal and the current control voltage as the feedback signal to perform a second feedback regulation process on the current control voltage to adaptively adjust the regulating current to obtain the current regulating current, and at this time, the ability of the current regulating current to weaken the strength of the magnetic field is stronger, thereby ensuring that after the motor is controlled to run according to the current regulating current, the strength of the magnetic field of the motor can be reduced, so that the current control voltage can be closer to the preset voltage threshold.
[0048] Step 014: Based on the current regulation current, a first feedback regulation process is performed on the output current of the motor collected in the next frame to determine the target control voltage.
[0049] Specifically, when the output current collected in the next frame is obtained, the first regulation module can use the current regulation current as the expected signal and the output current collected in the next frame as the feedback signal, and perform the first feedback regulation processing on the current regulation current and the output current of the next frame to determine the target control voltage.
[0050] It can be understood that the current regulating current is determined according to the preset voltage threshold and the current control voltage, and the ability of the current regulating current to weaken the strength of the magnetic field has been adjusted in real time according to the current control voltage. Therefore, after determining the target control voltage according to the current regulating current and the output current collected in the next frame, the target control voltage can be used to reduce the strength of the magnetic field generated by the motor.
[0051] Step 015: Control the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0052] Specifically, after determining the target control voltage, the voltage control module can control the motor operation based on the target control voltage. Since the target control voltage has a strong ability to weaken the strength of the magnetic field, after the motor operation is controlled according to the target control voltage, the strength of the magnetic field generated by the motor will decrease, causing the current output current to decrease, thereby causing the motor control voltage to decrease and be located within the linear modulation area. In this way, it can be ensured that after the motor operation is controlled based on the target control voltage, the control voltage can return to the linear modulation area, so that the motor has a higher working efficiency and generates smaller harmonics, making the motor operation more stable.
[0053] The voltage control method of the embodiment of the present application first determines the preset voltage threshold according to the maximum value of the linear modulation area, and the maximum value of the linear modulation area can be determined according to the current input voltage. Then the current input voltage is obtained to determine the preset voltage threshold, and the current output current is obtained, so as to perform a first feedback adjustment process on the current output current to obtain the current control voltage, thereby facilitating the determination of whether the current control voltage is located in the linear modulation area. In the case of determining that the current control voltage is greater than the preset voltage threshold, it can be determined that the current control voltage is located in the nonlinear modulation area, and the strength of the magnetic field of the motor at this time is relatively strong. The current adjustment current can be used to control the strength of the magnetic field of the motor, so at this time, the current control voltage can be subjected to a second feedback adjustment based on the preset voltage threshold to determine the current adjustment current, so as to adaptively adjust the current adjustment current, so as to increase the ability of the current adjustment current to weaken the strength of the magnetic field. Then, after the output current of the motor of the next frame is collected, the output current of the motor collected in the next frame can be subjected to a first feedback adjustment process based on the current adjustment current to determine the target control voltage. It can be understood that the ability to weaken the strength of the magnetic field corresponding to the target control voltage at this time is relatively strong. Then, after the motor is controlled to run based on the target control voltage, the strength of the magnetic field generated by the motor will decrease, so that the output current at this time will also decrease, so that the control voltage at this time will also decrease and be located in the linear modulation area. In this way, once the control voltage exceeds the linear modulation area, the present application can adaptively adjust the regulation current to increase the ability of the current regulation current to weaken the strength of the magnetic field, thereby reducing the control voltage and ensuring that the control voltage can be quickly reduced and reach the linear modulation area, ensuring the vector control of the linear modulation area, thereby ensuring that the motor's operating efficiency will be higher and the motor will run more smoothly.
[0054] See also Figure 3 In some embodiments, the current regulating current includes a first regulating current and a second regulating current, the first regulating current is a direct-axis current of the motor, and the second regulating current is a quadrature-axis current of the motor. Step 013: when the current control voltage is greater than a preset voltage threshold, a second feedback regulation process is performed on the current control voltage based on the preset voltage threshold, including:
[0055] Step 0131: performing a second feedback adjustment process based on a preset voltage threshold and a current control voltage to determine a current adjustment value, where the current adjustment value is a direct-axis current;
[0056] Step 0132: determining a first regulating current according to the current adjustment value and the preset current value, wherein the first regulating current is a direct-axis current;
[0057] Step 0133: Determine a second regulating current according to the first regulating current and the current torque of the motor, where the second regulating current is a quadrature-axis current.
[0058] Specifically, the direct-axis current (ie, the first regulating current) and the quadrature-axis current (ie, the second regulating current) in the current regulating current may be respectively obtained.
[0059] The preset current value is the direct axis current value corresponding to when the motor loss is minimum or less than the preset loss threshold. The preset current value can be saved in a table and obtained by looking up the table when needed. When the motor just starts to run and the first regulating current has not yet been adjusted according to the current control voltage, the first regulating current can be determined as the preset current value to facilitate the subsequent determination of the control voltage.
[0060] When it is determined that the current control voltage is greater than the preset voltage threshold, it can be confirmed that the strength of the magnetic field is relatively strong at this time, and the first adjustment current is too small, and the weakening effect of the magnetic field is relatively poor. Therefore, at this time, the second feedback adjustment process can be performed according to the preset voltage threshold and the current control voltage to determine the current adjustment value, and the current adjustment value is also the direct axis current. It can be understood that the current adjustment value is the adjustment value that needs to be increased by the first adjustment current. Then the first adjustment current is determined according to the sum of the current adjustment value and the preset current value. That is, the first adjustment current can be determined according to the following formula:
[0061] idv=(id b +id PI ) (1)
[0062] Among them, idv is the first regulation current, id b is the preset current value, id PI is the current adjustment value.
[0063] In this way, the magnitude of the first regulating current can be increased according to the current control voltage and the preset voltage threshold, thereby adaptively increasing the ability of the first regulating current to weaken the intensity of the magnetic field.
[0064] Then the direct-axis current and quadrature-axis current can be combined according to the torque formula, where the torque formula is as follows:
[0065] T=1.5*P*iq*{(Ld-Lq)*id+φ f} (2)
[0066] Where, id is the direct axis current, iq is the quadrature axis current, Ld is the direct axis inductance, Lq is the quadrature axis inductance, φ f is the permanent magnet flux, P is the number of motor pole pairs, and T is the torque.
[0067] Therefore, the second regulating current can be determined according to the above formula (2), the first regulating current and the current torque of the motor, and the second regulating current is the quadrature-axis current, wherein the current torque can be obtained by looking up the table.
[0068] In this way, the first regulating current and the second regulating current can be obtained in sequence according to the preset voltage threshold, the current control voltage and the torque formula, so as to adaptively increase the first regulating current, enhance the ability of the first regulating current to weaken the magnetic field, and correspondingly obtain the second regulating current. After determining the target control voltage according to the current regulating current and controlling the motor to run according to the target control voltage, the strength of the magnetic field of the motor can be weakened, so that the control voltage can be reduced to within the range of the linear modulation area.
[0069] When the motor is running under rated working conditions and undergoing a temperature rise test, at the beginning of the rated temperature rise test, the rotor temperature is low, and the required direct-axis current is large. However, as the rotor temperature rises, the motor back electromotive force decreases, and the direct-axis current can be reduced, so that the motor temperature rise will also decrease. It can be understood that the magnitude of the direct-axis current needs to be adjusted in real time according to the operating conditions of the motor.
[0070] The regulating current of the present application is adjusted in real time according to the current operating voltage, and the first regulating current can also be adjusted in real time, so that the present application is applicable not only to motors working in normal temperature environments, but also to motors working in low temperature environments, thereby making the present application more portable and widely applicable. Moreover, the present application does not require modification of the motor to be implemented, so the present application also has the advantages of simple operation and easy implementation.
[0071] See also Figure 4 In some embodiments, step 0131: performing a second feedback regulation process based on a preset voltage threshold and a current control voltage to determine a current adjustment value includes:
[0072] Step 01311: Determine a first difference between a preset voltage threshold and a current control voltage;
[0073] Step 01312: Determine a current adjustment value according to a first preset proportional parameter, a first preset integral parameter and a first difference.
[0074] Specifically, the second feedback regulation process can be performed by the first proportional-integral regulator, that is, the second regulation module can be the first proportional-integral regulator. The parameters used by the first proportional-integral regulator in determining the output signal are the first preset proportional parameter and the first preset integral parameter. The first preset proportional parameter and the first preset integral parameter can be pre-set to ensure the accuracy of the second feedback regulation process.
[0075] Therefore, it is necessary to determine the first difference between the preset voltage threshold and the current control voltage, and then match the current adjustment value and the first difference according to the first preset proportional parameter and the first preset integral parameter, so as to obtain an accurate current adjustment value, thereby ensuring that the increase in the first regulating current can ensure that after the motor is controlled to run according to the target control voltage, the control voltage of the motor can be within the range of the linear modulation area. The formula used at this time can be as follows:
[0076] id PI =Kp1*ΔU+Ki1*∫ΔU (3)
[0077] Among them, id PI is the current adjustment value, Kp1 is the first preset proportional parameter, Ki1 is the first preset integral parameter, and ΔU is the first difference. The first preset proportional parameter and the first preset integral parameter can be determined according to the resistance value and the inductance value of the motor.
[0078] See also Figure 5 In some embodiments, the voltage control method further comprises:
[0079] Step 016: When the current control voltage is less than or equal to the preset voltage threshold, determine that the first regulating current is a preset current value.
[0080] Specifically, when the current control voltage is less than or equal to the preset voltage threshold, it can be confirmed that the motor is in the linear modulation area at this time, and the first regulating current at this time can be directly confirmed as the preset current value, so that after the motor operation is controlled according to the first regulating current, the loss of the motor is smaller, thereby making the operating efficiency of the motor higher.
[0081] In some embodiments, the output current of the motor includes a first output current and a second output current, the first output current is a direct axis current, and the second output current is a quadrature axis current. The first feedback regulation process is used to determine a first output voltage according to the first output current, the first output voltage is a direct axis voltage, and to determine a second output voltage according to the second output current, the second output voltage is a quadrature axis voltage. The control voltage is determined according to the first output voltage and the second output voltage. For example, the control voltage can be determined according to the root of the sum of the square of the first output voltage and the square of the second output voltage.
[0082] In this way, the synthesized control voltage can be used to determine whether the motor is in the linear modulation area, and the regulating current can be adjusted according to the control voltage. At the same time, the voltage control module can also use the obtained first output voltage and second output voltage to control the motor, so that the magnetic field of the motor can be accurately controlled, thereby ensuring that the control voltage of the motor can be accurately controlled.
[0083] See also Figure 6In some embodiments, step 014: performing a first feedback adjustment process on the output current of the motor collected in the next frame according to the current adjustment current to determine the target control voltage, including:
[0084] Step 0141: Determine a second difference between the first regulating current and the first output current;
[0085] Step 0142: Determine a first output voltage according to a second preset proportional parameter, a second preset integral parameter and a second difference;
[0086] Step 0143: Determine a third difference between the second regulated current and the second output current;
[0087] Step 0144: determining a second output voltage according to a third preset proportional parameter, a third preset integral parameter and a third difference;
[0088] Step 0145: Determine a target control voltage according to the first output voltage and the second output voltage.
[0089] Specifically, the first regulation module can use the second proportional-integral regulator and the third proportional-integral regulator to perform the first feedback regulation processing, the second proportional-integral regulator is used to convert the input direct-axis current into a direct-axis voltage, and the third proportional-integral regulator is used to convert the input quadrature-axis current into a quadrature-axis voltage.
[0090] The parameters used by the second proportional-integral regulator in determining the output signal are the second preset proportional parameter and the second preset integral parameter. At the same time, the second preset proportional parameter and the second preset integral parameter can be preset to ensure the accuracy of the second feedback regulation process.
[0091] At this time, the second difference between the first regulating current and the first output current can be determined, and then the first output voltage and the second difference can be matched according to the second preset proportional parameter and the second preset integral parameter, so as to obtain an accurate first output voltage. The formula used at this time can be as follows:
[0092] Ud=Kp2*ΔI+Ki2*∫ΔI (4)
[0093] Wherein, Ud is the first output voltage, Kp2 is the second preset proportional parameter, Ki2 is the second preset integral parameter, and ΔI is the second difference. The second preset proportional parameter and the second preset integral parameter can be determined according to the resistance value and the inductance value of the motor. Similarly, the parameters used by the third proportional integral regulator in determining the output signal are the third preset proportional parameter and the third preset integral parameter. At the same time, the third preset proportional parameter and the third preset integral parameter can be preset to ensure the accuracy of the second feedback regulation process.
[0094] At this time, the third difference between the second regulating current and the second output current can be determined, and then the second output voltage and the third difference can be matched according to the third preset proportional parameter and the third preset integral parameter, so as to obtain an accurate second output voltage. The formula used at this time can be as follows:
[0095] Uq=Kp3*ΔI+Ki3*∫ΔI (5)
[0096] Wherein, Ud is the second output voltage, Kp3 is the third preset proportional parameter, Ki3 is the third preset integral parameter, and ΔI is the third difference. The third preset proportional parameter and the third preset integral parameter can be determined according to the resistance value and the inductance value of the motor.
[0097] After the first output voltage and the second output voltage are determined, the target control voltage may be determined according to the first output voltage and the second output voltage. The formula used in this case may be as follows:
[0098]
[0099] Among them, Us is the target control voltage.
[0100] In this way, the first output voltage, the second output voltage and the target control voltage can be accurately obtained. The target control voltage can be used to determine whether the motor is in the linear modulation area. The voltage control module can use the first output voltage and the second output voltage to control the motor operation, thereby achieving control of the strength of the motor's magnetic field.
[0101] Of course, after obtaining the current output current, the current control voltage can also be obtained according to the above formulas (4) to (6), which will not be repeated here. It is only necessary to modify the current and voltage in the formula accordingly.
[0102] See also Figure 1 In summary, when the motor of the present application is running, the internal control process of the motor control system is as follows:
[0103] First, the current input voltage U can be determined by the voltage acquisition module dc and put it in a table for easy query. At the same time, the preset current value id can also be placed in the table.
[0104] The current acquisition module can collect the three-phase current (ia, ib and ic) of the motor in the current frame, and then after Clark transformation and Park transformation, the three-phase current can be converted into the first output current id* and the second output current iq*. At this time, the current output current can be determined according to the first output current id* and the second output current iq*. Then the first adjustment module can determine the first output voltage Ud according to the first adjustment current idv and the first output current id* determined in the previous frame, and the first adjustment module can determine the second output voltage Uq according to the second adjustment current iq and the second output current iq* determined in the previous frame. At this time, the voltage control module will obtain the first output voltage Ud and the second output voltage Uq, and control the operation of the motor. At the same time, the current control voltage Us can be determined based on the first output voltage Ud and the second output voltage Uq, so as to judge whether the current control voltage Us has reached the nonlinear modulation area, and facilitate the second adjustment module to determine the current control voltage Us according to the current control voltage Us and the preset voltage threshold U dc / √3 to determine the current adjustment value id PI Then, the preset current value id can be obtained by looking up the table, and the preset current value id and the current adjustment value id can be used to calculate the current value id. PI After adding, the current first regulating current idv can be obtained. Then the current torque is obtained, and the current second regulating current iq is obtained by combining the torque calculation formula, the torque and the current first regulating current idv. Then, after collecting the first output current id* and the second output current iq* of the next frame, the first output voltage Ud and the second output voltage Uq of the next frame can be determined according to the current first regulating current idv and the current second regulating current iq, and the target control voltage Us can be determined. Then, according to the target control voltage Us, it is determined whether the target control voltage Us reaches the nonlinear modulation area, and the motor operation is controlled according to the first output voltage Ud and the second output voltage Uq.
[0105] In this way, the output current collected in each frame can be used to generate the first output voltage and the second output voltage, thereby generating a control voltage. At this time, the motor operation can be controlled according to the first output voltage and the second output voltage to ensure that the motor can continue to run. At the same time, it can be determined whether the magnetic field strength at this time needs to be adjusted according to the control voltage, and when adjustment is required, a corresponding adjustment current is generated according to the control voltage, so that the control voltage of the next frame can be adjusted using the adjustment current, so that after the motor runs according to the adjusted control voltage, the magnetic field strength of the motor will decrease, so that the control voltage of the motor will drop to the linear modulation area.
[0106] See also Figure 7In order to better implement the voltage control method of the embodiment of the present application, the embodiment of the present application also provides a voltage control device 70. The voltage control device 70 may include an acquisition module 71, a first determination module 72, a second determination module 73, a third determination module 74 and a control module 75. The acquisition module 71 is used to acquire the current output current and the current input voltage of the motor collected in the current frame; the first determination module 72 is used to perform a first feedback adjustment process on the current output current to determine the current control voltage; the second determination module 73 is used to perform a second feedback adjustment process on the current control voltage based on the preset voltage threshold when the current control voltage is greater than the preset voltage threshold to determine the current adjustment current, and the preset voltage threshold is determined according to the current input voltage; the third determination module 74 is used to perform a first feedback adjustment process on the output current of the motor collected in the next frame according to the current adjustment current to determine the target control voltage; the control module 75 is used to control the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
[0107] The second determination module 73 is specifically used to perform a second feedback adjustment process based on a preset voltage threshold and a current control voltage to determine a current adjustment value, where the current adjustment value is a direct-axis current; determine a first adjustment current according to the current adjustment value and the preset current value, where the first adjustment current is a direct-axis current; determine a second adjustment current according to the first adjustment current and the current torque of the motor, where the second adjustment current is a quadrature-axis current.
[0108] The second determination module 73 is specifically used to determine a first difference between a preset voltage threshold and a current control voltage; and determine a current adjustment value according to a first preset proportional parameter, a first preset integral parameter and the first difference.
[0109] The voltage control device 70 further includes a fourth determining module 76, which is used to determine that the first regulating current is a preset current value when the current control voltage is less than or equal to a preset voltage threshold.
[0110] The third determination module 74 is specifically used to determine the second difference between the first regulating current and the first output current; determine the first output voltage according to the second preset proportional parameter, the second preset integral parameter and the second difference; determine the third difference between the second regulating current and the second output current; determine the second output voltage according to the third preset proportional parameter, the third preset integral parameter and the third difference; determine the target control voltage according to the first output voltage and the second output voltage.
[0111] The voltage control device 70 is described above from the perspective of a functional module in conjunction with the accompanying drawings. The functional module can be implemented in hardware form, can be implemented in software form, or can be implemented in combination with hardware and software modules. Specifically, each step of the method embodiment in the embodiment of the present application can be completed by an integrated logic circuit of hardware in a processor and / or an instruction in software form. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware coding processor for execution, or can be completed by a combination of hardware and software modules in a coding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.
[0112] See also Figure 8 The electronic device 200 of the embodiment of the present application includes a processor 210, a memory 220 and a computer program, wherein the computer program is stored in the memory 220 and executed by the processor 210, and the computer program includes instructions for executing the voltage control method of any of the above embodiments.
[0113] See also Fig. 9 The embodiment of the present application also provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the voltage control method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.
[0114] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0115] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0116] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A voltage control method, characterized in that: Applied to a motor, the method comprises: Acquire the current output current and current input voltage of the motor acquired in the current frame; Performing a first feedback regulation process on the current output current to determine a current control voltage; In the case where the current control voltage is greater than a preset voltage threshold, performing a second feedback regulation process on the current control voltage based on the preset voltage threshold to determine a current regulation current, wherein the preset voltage threshold is determined according to the current input voltage; According to the current regulation current, performing the first feedback regulation process on the output current of the motor collected in the next frame to determine the target control voltage; The motor is controlled to operate based on the target control voltage so that the control voltage of the motor is within a preset linear modulation region, where the linear modulation region is determined according to the current input voltage.
2. The voltage control method according to claim 1, characterized in that: The current regulating current includes a first regulating current and a second regulating current, the first regulating current is a direct-axis current of the motor, the second regulating current is a quadrature-axis current of the motor, and the performing a second feedback regulating process on the current control voltage based on a preset voltage threshold to determine the current regulating current includes: Performing a second feedback regulation process based on the preset voltage threshold and the current control voltage to determine a current adjustment value, wherein the current adjustment value is the direct-axis current; Determine a first regulating current according to the current adjustment value and the preset current value, wherein the first regulating current is a direct-axis current; A second regulating current is determined according to the first regulating current and the current torque of the motor, and the second regulating current is a quadrature-axis current.
3. The voltage control method according to claim 2, characterized in that: The performing a second feedback regulation process based on the preset voltage threshold and the current control voltage to determine the current adjustment value includes: Determining a first difference between the preset voltage threshold and the current control voltage; The current adjustment value is determined according to a first preset proportional parameter, a first preset integral parameter and the first difference.
4. The voltage control method according to claim 2, characterized in that: include: When the current control voltage is less than or equal to a preset voltage threshold, the first regulating current is determined to be the preset current value.
5. The voltage control method according to claim 2, characterized in that: The output current of the motor includes a first output current and a second output current, the first output current is the direct-axis current, and the second output current is the quadrature-axis current; The first feedback regulation process is used to determine the first output voltage according to the first output current, the first output voltage being a direct-axis voltage, and is used to determine the second output voltage according to the second output current, the second output voltage being a quadrature-axis voltage, and the control voltage is determined according to the first output voltage and the second output voltage.
6. The voltage control method according to claim 5, characterized in that: The step of performing the first feedback adjustment process on the output current of the motor collected in the next frame according to the current adjustment current to determine the target control voltage includes: determining a second difference between the first regulated current and the first output current; determining the first output voltage according to a second preset proportional parameter, a second preset integral parameter and the second difference; determining a third difference between the second regulated current and the second output current; determining the second output voltage according to a third preset proportional parameter, a third preset integral parameter and the third difference; The target control voltage is determined according to the first output voltage and the second output voltage.
7. A voltage control device, characterized in that: Applied to a motor, the device comprises: An acquisition module, used for acquiring the current output current and current input voltage of the motor acquired in the current frame; A first determining module, configured to perform a first feedback adjustment process on the current output current to determine a current control voltage; a second determining module, configured to perform a second feedback regulation process on the current control voltage based on the preset voltage threshold to determine a current regulation current when the current control voltage is greater than a preset voltage threshold, wherein the preset voltage threshold is determined according to the current input voltage; A third determination module is used to perform the first feedback adjustment process on the output current of the motor collected in the next frame according to the current adjustment current, so as to determine the target control voltage; A control module is used to control the operation of the motor based on the target control voltage so that the control voltage of the motor is located within a preset linear modulation area, and the linear modulation area is determined according to the current input voltage.
8. A motor control system, characterized in that: include: Motor; A voltage acquisition module, used to acquire the current input voltage of the motor; A current acquisition module, used to acquire the current output current of the motor; a first regulating module, configured to perform a first feedback regulating process on the current output current to determine a current control voltage, and to perform the first feedback regulating process on the output current of the motor collected in the next frame according to the current regulating current to determine a target control voltage; a second regulating module, configured to perform a second feedback regulating process on the current control voltage based on the preset voltage threshold to determine a current regulating current when the current control voltage is greater than a preset voltage threshold, wherein the preset voltage threshold is determined according to the current input voltage; a voltage control module, configured to control the operation of the motor based on the target control voltage so that the control voltage of the motor is within a preset linear modulation region, wherein the linear modulation region is determined according to the current input voltage; Among them, the output end of the motor is connected to the input end of the current acquisition module, the input end of the first regulation module is respectively connected to the output end of the current acquisition module and the output end of the voltage acquisition module, the output end of the first regulation module is respectively connected to the input end of the voltage control module and the input end of the second regulation module, the output end of the second regulation module is connected to the input end of the first regulation module, and the input end of the motor is connected to the output end of the voltage control module.
9. An electronic device, characterized in that: include: Processor, memory; and A computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing the voltage control method according to any one of claims 1 to 6.
10. A non-volatile computer-readable storage medium containing a computer program, wherein when the computer program is executed by a processor, the processor executes the voltage control method according to any one of claims 1 to 6.
