Driving motor control method and device, driving motor and storage medium
The control method for PMSM drive motors uses a jitter waveform to adjust target speed and disperse energy spikes, addressing EMI interference and reducing costs by eliminating the need for magnetic rings.
Patent Information
- Application Number
- CN202411203597.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-06
AI Technical Summary
Existing PMSM drive motors face electromagnetic interference (EMI) issues due to harmonic energy generated during SVPWM control, which is concentrated in narrow-band energy peaks, requiring additional magnetic rings that increase manufacturing costs and system volume.
A control method that adjusts the target speed of the motor using a preset jitter waveform to disperse energy spikes, reducing EMI interference through pulse width modulation without the need for magnetic rings.
Effectively reduces EMI interference by dispersing energy peaks into a wider frequency range, achieving precise and stable motor control while saving hardware costs.
Smart Images

Figure CN119093822A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drive motor control, and in particular to a control method and device for a drive motor, a drive motor and a storage medium. Background Art
[0002] At present, in the existing PMSM drive motor, in order to achieve precise motor control, SVPWM (Sinusoidal Pulse Width Modulation) is usually used as a modulation strategy to generate a series of square wave signals to control the high-speed on and off of the inverter switch tube to achieve precise control of the motor.
[0003] However, when using SVPWM to control the high-speed on-off process of the inverter switch tube, harmonic energy will be generated, which is mainly concentrated in the narrow-band energy peaks of the switching cycle and its integer multiples. These peaks interfere with the drive motor itself and the external electromagnetic environment through cables and electromagnetic fields, namely electromagnetic interference (EMI). In order to reduce EMI interference, the existing solution generally adopts the method of adding magnetic rings to the three-phase lines of the motor. The magnetic ring can effectively suppress high-frequency interference, but this method will increase the manufacturing cost of the system and affect the volume and weight of the system. Summary of the invention
[0004] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and to provide a control method, device, drive motor and storage medium for a drive motor, which can perform jitter adjustment on the target speed of the motor based on a preset jitter waveform to achieve the effect of energy sharing, thereby reducing the EMI of the drive motor without adding a magnetic ring and saving hardware costs.
[0005] In a first aspect, an embodiment of the present invention provides a control method for a drive motor, comprising: obtaining a required speed of the drive motor; converting the required speed based on a preset jitter waveform to obtain a target speed that takes the required speed as a reference value and changes according to the jitter waveform; performing pulse width modulation using the target speed to obtain a PWM signal, and controlling the drive motor according to the PWM signal.
[0006] The control method of the drive motor provided in the embodiment of the present invention has at least the following beneficial effects: the application determines the required speed of the drive motor, converts the required speed based on a preset jitter waveform to obtain a target speed, and uses the target speed for pulse width modulation to generate a PWM signal, and then controls the drive motor according to the PWM signal to achieve precise and stable motor control; it can be understood that the traditional SVPWM control strategy generates a square wave signal through the high-speed on and off of the inverter switch tube to achieve precise control of the motor, but this traditional control method will generate energy spikes during the switching process, which are concentrated in a narrow band of the switching frequency and its integer multiples, resulting in EMI problems. Therefore, in order to solve the above problems, the present application scheme introduces a preset jitter waveform, which is a jitter variation. The waveform is used to adjust the target speed by jittering without changing the average speed of the motor; further, the required speed of the motor is combined with the jittering waveform to obtain the target speed, which is based on the required speed and adjusted according to the change of the jittering waveform, so that when the adjusted target speed is used for pulse width modulation to generate a PWM signal, the duty cycle of the PWM signal will change according to the change of the target speed, thereby controlling the on and off of the inverter switch tube; it can be imagined that due to the introduction of the jittering waveform, the energy peak originally concentrated at a specific frequency is dispersed into a wider frequency range, so that the energy at each frequency point is relatively small, so that when the PWM signal is used to control the drive motor and realize precise control of the motor speed, the overall EMI interference of the motor can be effectively reduced. Since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs.
[0007] In some embodiments, the required speed is converted based on a preset jitter waveform to obtain a target speed that takes the required speed as a reference value and changes according to the jitter waveform, including: obtaining a speed jitter period and a speed jitter amplitude corresponding to a preset jitter waveform; obtaining a speed adjustment value based on the speed jitter period and the speed jitter amplitude; converting the required speed based on the speed adjustment value to obtain a target speed that takes the required speed as a reference value and changes with the speed adjustment value.
[0008] In some embodiments, the jitter waveform is a periodic waveform, and the periodic waveform includes a sine wave and a triangle wave.
[0009] In some embodiments, the speed jitter period of the periodic waveform includes a first time period, a second time period, a third time period and a fourth time period connected in sequence, and the speed adjustment value gradually increases in the first time period and the fourth time period, and gradually decreases in the second time period and the third time period.
[0010] In some embodiments, in the first time period, the target speed gradually increases from the required speed to the first speed; in the second time period, the target speed gradually decreases from the first speed to the required speed; in the third time period, the target speed gradually decreases from the required speed to the second speed; in the fourth time period, the target speed gradually increases from the second speed to the required speed.
[0011] In some embodiments, the first time period, the second time period, the third time period and the fourth time period each include a plurality of electrical cycles, and an electrical cycle peak value corresponding to a modulation waveform of each electrical cycle increases as the target speed increases, and decreases as the target speed decreases.
[0012] In some embodiments, the maximum duty cycle corresponding to the PWM waveform of each electrical cycle increases as the peak value of the electrical cycle increases, and decreases as the peak value of the electrical cycle decreases.
[0013] In some embodiments, when the periodic waveform is the sine wave, obtaining the speed adjustment value according to the speed jitter period and the speed jitter amplitude includes: substituting the speed jitter period and the speed jitter amplitude into a speed adjustment value expression to obtain the speed adjustment value, wherein the speed adjustment value expression is as follows: Wherein, D(t) is the speed adjustment value at the current time t, T is the speed jitter period, and A is the speed jitter amplitude.
[0014] In some embodiments, the process of determining the speed jitter period and speed jitter amplitude of the jitter waveform includes the following methods: obtaining the speed control period of the drive motor; determining the speed jitter period of the jitter waveform according to the speed control period and a preset number of jitters; determining the speed jitter amplitude of the jitter waveform according to a speed jitter amplitude threshold corresponding to the speed jitter period.
[0015] In a second aspect, an embodiment of the present invention provides an operation control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a control method for a drive motor as described in any one of the first aspects is implemented.
[0016] The operation control device provided in an embodiment of the present invention has at least the following beneficial effects: the present application determines the required speed of the motor by executing a control method for driving the motor based on the operation control device, obtains the target speed by combining a preset jitter waveform conversion, and uses pulse width modulation to generate a PWM signal, thereby achieving precise and stable motor control, adjusting the target speed through a jitter waveform, dispersing energy spikes, and reducing EMI interference. Furthermore, since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs.
[0017] In a third aspect, an embodiment of the present invention provides a drive motor, comprising an operation control device as described in any one of the second aspects.
[0018] The drive motor provided according to the embodiment of the present invention has at least the following beneficial effects: the present application determines the required speed of the motor by executing the control method of the drive motor based on the operation control device in the drive motor, obtains the target speed by combining the preset jitter waveform conversion, and uses the pulse width modulation to generate a PWM signal, thereby achieving precise and stable motor control, adjusting the target speed through the jitter waveform, dispersing energy peaks, and reducing EMI interference. Moreover, since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs.
[0019] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the control method of a drive motor as described in any one of the first aspects.
[0020] The computer-readable storage medium provided in accordance with the embodiment of the present invention has at least the following beneficial effects: the present application determines the required speed of the motor by executing a control method for driving the motor based on the computer-readable storage medium, obtains the target speed by combining the preset jitter waveform conversion, and uses pulse width modulation to generate a PWM signal, thereby achieving precise and stable motor control, adjusting the target speed through the jitter waveform, dispersing energy spikes, and reducing EMI interference. Moreover, since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0022] The present invention is further described below in conjunction with the accompanying drawings and embodiments;
[0023] Figure 1is a method step diagram of a method for controlling a drive motor provided by an embodiment of the present invention;
[0024] Figure 2 is a method step diagram for obtaining a target speed in a method for controlling a drive motor provided by an embodiment of the present invention;
[0025] Figure 3 It is a method step diagram for determining a rotation speed jitter period and a rotation speed jitter amplitude in a control method for a driving motor provided by an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of rotation speed jitter provided by an embodiment of the present invention;
[0027] Figure 5 is another schematic diagram of rotation speed jitter provided by an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of an adjustment waveform provided by an embodiment of the present invention;
[0029] Figure 7 is a schematic diagram of duty cycle variation provided by an embodiment of the present invention;
[0030] Figure 8 It is a schematic diagram of an operation control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0032] In the description of the embodiments of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, "above", "below", "within", etc. are understood to include the number itself, "at least one" means one or more, "at least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. If there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0033] It should be noted that the terms such as setting, installing, and connecting in the embodiments of the present invention should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the embodiments of the present invention in combination with the specific content of the technical solution. For example, the term "connection" can be a mechanical connection, an electrical connection, or mutual communication; it can be directly connected or indirectly connected through an intermediate medium.
[0034] It should be noted that the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0035] At present, in the existing PMSM drive motor, in order to achieve precise motor control, SVPWM (Sinusoidal Pulse Width Modulation) is usually used as a modulation strategy, and a series of square wave signals are generated to control the high-speed on and off of the inverter switch tube to achieve precise control of the motor. However, in the process of using SVPWM to control the high-speed on and off of the inverter switch tube, harmonic energy will be generated, which is mainly concentrated in the narrow-band energy peaks of the switching cycle and its integer multiples. These peaks interfere with the drive motor itself and the external electromagnetic environment through cables and electromagnetic fields, that is, electromagnetic interference (EMI), so that its output current contains harmonics of the multiple frequency of the switching frequency. This type of harmonic has the characteristics of high frequency and narrow bandwidth, which will cause the motor to vibrate and generate narrowband noise, making people feel uncomfortable. In order to reduce EMI interference, the existing solution currently generally adopts the method of adding magnetic rings to the three-phase lines of the motor. The magnetic ring can effectively suppress high-frequency interference, but this method will increase the manufacturing cost of the system and affect the volume and weight of the system.
[0036] Based on this, the present invention discloses a control method, device, drive motor and storage medium for a drive motor, wherein the method includes obtaining a required speed of the drive motor; converting the required speed based on a preset jitter waveform to obtain a target speed that takes the required speed as a reference value and changes according to the jitter waveform; performing pulse width modulation using the target speed to obtain a PWM signal, and controlling the drive motor according to the PWM signal, wherein the present application can perform jitter adjustment on the target speed of the motor based on a preset jitter waveform to achieve an energy sharing effect, thereby reducing the EMI of the drive motor without adding a magnetic ring and saving hardware costs.
[0037] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0038] Reference Figure 1 , Figure 1 : is a method step diagram of a control method for a drive motor provided by an embodiment of the present invention; in a first aspect, an embodiment of the present invention provides a control method for a drive motor, including but not limited to the following steps:
[0039] Step S110, obtaining the required speed of the driving motor;
[0040] Step S120, converting the required speed based on a preset jitter waveform to obtain a target speed that takes the required speed as a reference value and changes according to the jitter waveform;
[0041] Step S130, pulse width modulation is performed using the target speed to obtain a PWM signal, and the drive motor is controlled according to the PWM signal.
[0042] In some embodiments, the drive motor refers to a motor that needs to be controlled, including a permanent magnet synchronous motor (PMSM); the required speed refers to the speed that the motor needs to reach when performing speed loop control based on the application scenario or operating requirements; the preset jitter waveform is a waveform designed to periodically adjust the target speed of the motor. The introduction of the jitter waveform is to disperse energy spikes and reduce EMI interference by periodically changing the target speed without changing the average speed of the motor; the target speed is the speed value obtained after adjustment based on the required speed and combined with the jitter waveform. The required speed will change with the change of the jitter waveform and is the input parameter of pulse width modulation; pulse width modulation (PWM) is a control technology that controls power output by adjusting the duty cycle of an electrical signal. In motor control, PWM is used to generate a signal to control the on and off of the inverter switch tube, thereby controlling the speed and torque of the motor; the PWM signal is a signal generated by pulse width modulation, and its duty cycle change reflects the change in the target speed.
[0043] In some embodiments, the present application determines the required speed of the driving motor, converts the required speed based on a preset jitter waveform to obtain a target speed, and uses the target speed for pulse width modulation to generate a PWM signal, and then controls the driving motor according to the PWM signal to achieve precise and stable motor control; it can be understood that the traditional SVPWM control strategy generates a square wave signal through the high-speed on and off of the inverter switch tube to achieve precise control of the motor, but this traditional control method will generate energy spikes during the switching process, which are concentrated in a narrow band of the switching frequency and its integer multiples, resulting in EMI problems. Therefore, in order to solve the above problems, the present application scheme introduces a preset jitter waveform, which is a jitter-changing waveform, and its purpose is to jitter-adjust the target speed without changing the average speed of the motor; further, the required speed of the motor is combined with the jitter waveform to obtain the target speed, and the target speed is adjusted based on the required speed as the reference value according to the change of the jitter waveform, so that when the adjusted target speed is used for pulse width modulation to generate a PWM signal, the duty cycle of the PWM signal will change according to the change of the target speed, thereby controlling the on and off of the inverter switch tube.
[0044] It is conceivable that, due to the introduction of the jitter waveform, the energy distribution of the switching harmonic spectrum can be improved, the harmonic energy can be dispersed to have a wider bandwidth, and the energy peak originally concentrated at a specific frequency can be dispersed into a wider frequency range, so that the energy at each frequency point is relatively small, and the purpose of reducing the harmonic peak is achieved. When the PWM signal is used to control the drive motor and realize precise control of the motor speed, the EMI interference of the motor as a whole can be effectively reduced. Since the present application scheme achieves EMI reduction through software control, there is no need to add magnetic rings to the three-phase line of the motor, thereby saving hardware costs.
[0045] Reference Figure 2 , Figure 2 The method steps for obtaining the target speed in the control method of the drive motor provided by the embodiment of the present invention are as follows; in some embodiments, the required speed is converted based on a preset jitter waveform to obtain a target speed with the required speed as a reference value and changing according to the jitter waveform, including but not limited to the following steps:
[0046] Step S210, obtaining a rotation speed jitter period and a rotation speed jitter amplitude corresponding to a preset jitter waveform;
[0047] Step S220, obtaining a speed adjustment value according to the speed jitter period and the speed jitter amplitude;
[0048] Step S230 , converting the required speed according to the speed adjustment value to obtain a target speed that takes the required speed as a reference value and changes with the speed adjustment value.
[0049] In some embodiments, the jitter waveform may have specific periodicity and amplitude changes, wherein the speed jitter period is the time required for the jitter waveform to repeat once, which determines the frequency of the jitter waveform and affects the frequency of the motor speed adjustment; the speed jitter amplitude is the maximum speed change of the jitter waveform within one period, which determines the intensity of the speed change and affects the degree of energy dispersion; the speed adjustment value is calculated based on the speed jitter period and the speed jitter amplitude, and is used to adjust the required speed of the motor. The speed adjustment value reflects the specific value by which the required speed needs to be increased or decreased at a specific time point; conversion processing refers to the process of applying the speed adjustment value to the required speed. To ensure that the target speed changes periodically according to the jitter waveform while keeping the average value unchanged, the target speed is the speed value obtained after the conversion processing. The target speed changes with the speed adjustment value, but keeps its average value close to the required speed. By applying the calculated speed adjustment value to the required speed, the target speed may be different from the required speed at each time point, but fluctuates around the required speed as a whole to achieve energy dispersion. Therefore, the motor control method can effectively reduce the EMI interference caused by the high-speed switching of the inverter switch tube through software without sacrificing precise control, while avoiding additional hardware costs.
[0050] In some embodiments, the jitter waveform is a periodic waveform, and the periodic waveform includes a sine wave and a triangular wave. It can be understood that the present application can use a periodic waveform (such as a sine wave or a triangular wave that repeats and has a fixed period) as a jitter waveform to adjust the target speed of the motor, so as to periodically adjust the speed of the motor and achieve periodic jitter of the speed.
[0051] In some embodiments, the speed jitter cycle of the periodic waveform includes a first time period, a second time period, a third time period and a fourth time period connected in sequence, and the speed adjustment value gradually increases in the first time period and the fourth time period, and gradually decreases in the second time period and the third time period, wherein the speed adjustment value has a different changing trend in different time periods, and the speed adjustment value gradually increases in the first time period and the fourth time period, and gradually decreases in the second time period and the third time period, to correspond to the rising and falling parts of the periodic waveform.
[0052] In some embodiments, in a first time period, the target speed gradually increases from the required speed to a first speed; in a second time period, the target speed gradually decreases from the first speed to the required speed; in a third time period, the target speed gradually decreases from the required speed to a second speed; in a fourth time period, the target speed gradually increases from the second speed to the required speed, wherein the first speed and the second speed are two different values reached by the target speed at a specific point of the periodic waveform, the first speed is higher than the required speed, and the second speed is lower than the required speed, and the corresponding target speed adjustment process includes: in a first time period, the target speed starts from the required speed and gradually increases to the first speed, corresponding to the rising stage of the periodic waveform; in a second time period, the target speed gradually decreases from the first speed until it returns to the required speed, corresponding to the falling stage after the waveform reaches a peak; in a third time period, the target speed gradually decreases from the required speed again to reach the second speed, corresponding to the further decline of the waveform until it reaches a valley value; in a fourth time period, the target speed gradually increases from the second speed and returns to the required speed, corresponding to the waveform rising from the valley value back to the starting point; it can be understood that through this periodic speed adjustment, the speed of the motor can fluctuate around the required speed, but the average speed remains unchanged as a whole. This fluctuation helps to disperse the energy spikes caused by the high-speed on and off of the inverter switch tube, thereby reducing EMI interference. In turn, the present application can achieve precise control of the motor speed through software control, while effectively reducing EMI interference and avoiding additional hardware costs.
[0053] In some embodiments, the first time period, the second time period, the third time period, and the fourth time period all include multiple electrical cycles, and the electrical cycle peak value corresponding to the modulation waveform of each electrical cycle increases as the target speed increases, and decreases as the target speed decreases, wherein the electrical cycle refers to a complete cycle of the motor control signal (such as a PWM signal). In motor control, each electrical cycle corresponds to a complete change process of the motor magnetic field; the modulation waveform is a waveform related to the required motor speed in PWM control, which determines the duty cycle of the PWM signal; wherein, it can be understood that since the peak value of the modulation waveform of each electrical cycle is different, the energy is no longer concentrated on a specific frequency, but is dispersed over a wider frequency range, which can reduce the energy peak at a specific frequency and reduce EMI interference.
[0054] In some embodiments, the maximum duty cycle corresponding to the PWM waveform of each electrical cycle increases as the peak value of the electrical cycle increases, and decreases as the peak value of the electrical cycle decreases. It can be imagined that in the pulse width modulated signal, the duty cycle in each electrical cycle changes from minimum to maximum and then to minimum. The duty cycle can be adjusted by changing the width of the pulse, thereby achieving control of the output power or signal strength. In this case, the duty cycle can change within an electrical cycle to adapt to different control requirements, but the maximum duty cycle in a single electrical cycle corresponds to the peak value of the electrical cycle corresponding to the modulation waveform of each electrical cycle. Therefore, when the peak value of the modulation waveform increases, the maximum duty cycle of the PWM waveform also increases. When the peak value of the modulation waveform decreases, the maximum duty cycle of the PWM waveform decreases.
[0055] It can be understood that the speed jitter cycle includes multiple electrical cycles. If the speed is fixed, the duty cycle of the PWM signal and the peak value of the modulation waveform in each electrical cycle will also be fixed, which will cause the energy to be concentrated at a specific frequency (i.e., the switching frequency and its integer multiples), thereby generating larger energy spikes. These peaks are the main source of EMI interference. In the present application, the peak values of different electrical cycles are different, so energy concentration can be prevented. It can be understood that a target speed as a random quantity is introduced to change the peak value of different electrical cycles, thereby changing the amplitude of the modulation waveform; when the amplitude of the modulation waveform changes, the spectrum of the signal will change, so that the energy will be distributed in a wider frequency range instead of being concentrated on a specific harmonic frequency, because the signal is no longer a strictly periodic signal, thereby reducing the harmonic amplitude at a specific frequency in the traditional scheme, and effectively reducing the overall EMI interference of the motor.
[0056] In some embodiments, when the periodic waveform is a sine wave, the speed adjustment value is obtained according to the speed jitter period and the speed jitter amplitude, including: substituting the speed jitter period and the speed jitter amplitude into the speed adjustment value expression to obtain the speed adjustment value, wherein the speed adjustment value expression is as follows: Wherein, D(t) is the speed adjustment value at the current time t, T is the speed jitter period, and A is the speed jitter amplitude, so as to realize jitter adjustment of the motor target speed based on the preset jitter waveform to achieve the effect of energy sharing.
[0057] Reference Figure 3 , Figure 3 The method step diagram of determining the speed jitter period and the speed jitter amplitude in the control method of the driving motor provided by the embodiment of the present invention; in some embodiments, the process of determining the speed jitter period and the speed jitter amplitude of the jitter waveform includes but is not limited to the following steps:
[0058] Step S310, obtaining a speed control period of the driving motor;
[0059] Step S320, determining a rotation speed jitter cycle of the jitter waveform according to the speed control cycle and the preset jitter times;
[0060] Step S330, determining the speed jitter amplitude of the jitter waveform according to the speed jitter amplitude threshold corresponding to the speed jitter period.
[0061] In some embodiments, the speed control cycle is a time interval used to determine the motor response speed in a motor control system. The speed control cycle affects the motor's response time and control accuracy to speed changes; the speed jitter cycle is the time required for a jitter waveform to repeat once. The speed jitter cycle can be determined based on the speed control cycle and a preset number of jitters. The preset number of jitters refers to the number of cycles of the jitter waveform that the motor should complete within a speed control cycle to ensure that the setting of the speed jitter cycle allows at least one jitter control to be completed within a speed control cycle, thereby ensuring the real-time and effectiveness of the motor control; the speed jitter amplitude is the maximum speed change of the jitter waveform within one cycle. The speed jitter amplitude needs to be set according to the speed jitter cycle to avoid too rapid speed adjustment and affect the normal use of the motor. It can be understood that if the speed jitter cycle is too short and the speed jitter amplitude is too large, the motor may not be able to smoothly follow the changes in the target speed, resulting in a decrease in control accuracy or unstable motor operation.
[0062] Among them, the setting of the speed jitter period can be determined according to the response speed of the motor, ensuring that the drive motor can respond to speed changes in time while ensuring the stability and accuracy of the control; the setting of the speed jitter amplitude can be determined by balancing the control accuracy and the dynamic performance of the motor to prevent excessive speed jitter amplitude from causing excessive fluctuations in the motor speed, affecting the stability of the load and the service life of the motor, and avoiding users or loads from feeling significant changes in speed, thereby ensuring the smooth operation of the motor.
[0063] In some embodiments, after pulse width modulation is performed using the target speed to obtain a PWM signal, and the drive motor is controlled according to the PWM signal, the method also includes: obtaining the next required speed of the drive motor, converting the next required speed based on a preset jitter waveform, and obtaining the next target speed with the next required speed as the reference value and changing according to the jitter waveform, wherein, after pulse width modulation is performed using the target speed to obtain a PWM signal and control the drive motor, the present application can also obtain the next required speed of the drive motor, which is the new target speed that the motor needs to reach in the next control cycle, and then converting the next required speed based on the preset jitter waveform. This processing process is the same as described previously, and the purpose is to obtain the next target speed, which is based on the next required speed and changes periodically according to the jitter waveform.
[0064] In some embodiments, the modulation mentioned in the solution of the present application is not only applicable to sinusoidal pulse width modulation (SVPWM), but also applicable to space vector pulse width modulation (SPWM).
[0065] In some embodiments, the jitter waveform can also be a non-periodic waveform; unlike traditional periodic jitter, non-periodic jitter does not follow a fixed period or amplitude pattern. This jitter strategy can adjust the target speed more flexibly to further disperse the harmonic energy. Specifically, after obtaining the required speed, the actual controlled target speed will jitter up and down based on the required speed and change according to a non-periodic rule. This adjustment helps to disperse the harmonic energy originally concentrated near the switching frequency into a wider frequency range; the jitter amplitude in the non-periodic waveform can change randomly within a certain range instead of being fixed. For example, the starting and ending speeds of each jitter cycle can be different, and the change pattern within the cycle can also be different. At the same time, the model random regression algorithm can also be used to dynamically adjust the jitter amplitude. This algorithm can automatically adjust the jitter strategy according to the real-time feedback and performance requirements of the drive motor to optimize the EMI suppression effect and further improve the EMI suppression capability of the drive motor.
[0066] Reference Figure 4 , Figure 4 is a schematic diagram of speed jitter provided by an embodiment of the present invention, wherein Nreq represents the required speed, Nref represents the target speed obtained by conversion based on the sine wave, and the target speed is the actual control speed; in some embodiments, according to Figure 4 In the scheme shown, the target speed Nref is subjected to sinusoidal wave dithering. When the required motor speed of the drive motor is obtained as N=Nreq, in each speed dithering cycle, the control program can perform mathematical processing on Nreq to make Nref=Nreq+Asin(ωt), and then use Nref as the actual target speed of the speed loop. Where A is the required speed dithering amplitude, ω=2π / T, and T is the required speed dithering cycle. The calculated Nref is used as the target value of the actual speed control loop. For example, the speed dithering amplitude is set to 20 rpm and the speed dithering cycle is 20ms. When the required speed is 1000 rpm, the actual control speed is
[0067] Reference Figure 5 , Figure 5 is another speed jitter schematic diagram provided by an embodiment of the present invention, wherein Nreq represents the required speed, Nref represents the target speed obtained by conversion based on the triangular wave, and the target speed is the actual control speed; in some embodiments, according to Figure 4 In the scheme shown, the target speed Nref is subjected to sinusoidal wave jitter. When the motor speed required by the drive motor is obtained to be N=Nreq, in each speed jitter cycle, Figure 4 The same as the corresponding embodiment in the control program, the control program can obtain Nref by performing mathematical processing based on the triangle wave on Nreq, and then use Nref as the actual target speed of the speed loop.
[0068] Reference Figure 6 and Figure 7 , Figure 6 is a schematic diagram of an adjustment waveform provided by an embodiment of the present invention, Figure 7 is a schematic diagram of duty cycle variation provided by an embodiment of the present invention, Nreq represents the adjustment waveform and the maximum duty cycle variation waveform corresponding to the required speed, and Nref represents the adjustment waveform and the maximum duty cycle variation waveform corresponding to the target speed; in some embodiments, if the target speed is not subjected to dithering, then at a constant speed, according to the SVPWM modulation rule, the modulation wave is saddle-shaped, and its amplitude remains unchanged, and the duty cycle changes according to the saddle-shaped rule of the modulation wave, but its maximum duty cycle is constant, such as Figure 6 , 7 As shown in the waveform corresponding to Nreq; when the target speed is sinusoidally jittered, the peak value of the saddle-shaped modulation wave will change with the sinusoidal law of the speed Nref jitter, and the maximum duty cycle will also fluctuate with the sinusoidal law, such as Figure 6 , 7 As shown in the waveform corresponding to Nref; if a sine wave, triangle wave or other waveform is used for jittering, the peak value of the saddle shape changes with the sinusoidal or triangle regularity of the Nref jitter, and the pulse rising position of each electrical cycle is sinusoidal or triangle wave-shaped, thereby realizing energy dispersion and achieving a certain harmonic suppression effect.
[0069] In some embodiments, it is understood that SVPWM will generate three voltage waveforms with a phase difference of 120 degrees, and these waveforms will form a saddle-shaped modulation wave after synthesis. The characteristic of this modulation wave is that its peak value is constant in each cycle, and the duty cycle (i.e., the time ratio of the voltage waveform at a high level) will change according to the saddle-shaped waveform, but the maximum duty cycle is constant; and in the present application, the peak value of the voltage waveform of each phase can be changed with time according to the sine wave law through dithering processing, instead of remaining constant, so that the distribution of the voltage waveform in time becomes more uniform, thereby reducing the generation of harmonics.
[0070] In some embodiments, Figure 4 , Figure 5 , Figure 6 and Figure 7 T in it is the speed jitter period, Figure 6 and Figure 7 Te in is a single electrical cycle. It can be understood that Figure 6 and Figure 7The peak value of the electrical cycle and the maximum duty cycle of the medium modulation wave change with the sinusoidal wave only corresponding to the sinusoidal wave change process of the target speed in the period from 0 to T / 4. The speed, maximum duty cycle and electrical cycle peak value in the speed jitter cycle will all change in a sinusoidal wave, thereby achieving energy dispersion.
[0071] Reference Figure 8 , Figure 8 is a schematic diagram of an operation control device provided by an embodiment of the present invention. In a second aspect, an embodiment of the present invention provides an operation control device 800, including a memory 810, a processor 820, and a computer program stored in the memory 810 and executable on the processor 820. The processor 820 executes the program to implement the control method of the drive motor of the first aspect embodiment, for example, to execute Figure 1 Steps S110 to S130 of the method, Figure 2 Steps S210 to S230 of the method, Figure 3 Method steps S310 to S330 in.
[0072] Among them, the present application determines the required motor speed by executing a control method for driving the motor based on an operation control device, obtains the target speed by combining a preset jitter waveform conversion, and uses pulse width modulation to generate a PWM signal to achieve precise and stable motor control. The target speed is adjusted by a jitter waveform to disperse energy spikes and reduce EMI interference. Since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs.
[0073] The memory 810 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs and non-transitory computer executable programs, such as the control method of the drive motor in the above embodiment of the present invention. The processor 820 implements the control method of the drive motor in the above embodiment of the present invention by running the non-transitory software programs and instructions stored in the memory 810.
[0074] The memory 810 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data required to execute the control method of the drive motor in the above embodiment, etc. In addition, the memory 810 may include a high-speed random access memory 810, and may also include a non-volatile memory 810, such as at least one disk memory 810, a flash memory device, or other non-volatile solid-state memory 810. It should be noted that the memory 810 may optionally include a memory 810 remotely arranged relative to the processor 820, and these remote memories 810 may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0075] In the third aspect, an embodiment of the present invention provides a drive motor, including an operation control device 800 as described in the above-mentioned second aspect embodiment, based on the operation control device in the drive motor, wherein the present application determines the required speed of the motor by executing a control method for the drive motor based on the operation control device in the drive motor, converts the target speed in combination with a preset jitter waveform, and uses pulse width modulation to generate a PWM signal to achieve precise and stable motor control, adjust the target speed through the jitter waveform, disperse energy spikes, and reduce EMI interference. Moreover, since the present application scheme achieves EMI reduction through software control, there is no need to attach magnetic rings to the three-phase lines of the motor, thereby saving hardware costs.
[0076] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein computer executable instructions are used to cause a computer to execute a control method for a drive motor according to an embodiment of the first aspect, for example, to execute Figure 1 Steps S110 to S130 of the method, Figure 2 Steps S210 to S230 of the method, Figure 3 The method steps S310 to S330 in the present application determine the required motor speed by executing a control method for driving the motor based on a computer-readable storage medium, convert the target speed in combination with a preset jitter waveform, and use it for pulse width modulation to generate a PWM signal to achieve precise and stable motor control, adjust the target speed through the jitter waveform, disperse energy spikes, and reduce EMI interference. Since the present application scheme achieves EMI reduction through software control, there is no need to attach a magnetic ring to the three-phase line of the motor, thereby saving hardware costs.
[0077] It will be appreciated by those skilled in the art that all or some of the steps and drive motors disclosed in the above method may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor 820, such as a central processing unit 820, a digital signal processor 820, or a microprocessor 820, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium or a non-transitory medium and a communication medium or a temporary medium. As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory, or other memory 810 technology, CD-ROM, digital versatile disk DVD, or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0078] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. A control method for a drive motor, comprising: Obtaining a required rotation speed of the drive motor; The required speed is converted based on a preset jitter waveform to obtain a target speed that takes the required speed as a reference value and changes according to the jitter waveform; The target speed is used to perform pulse width modulation to obtain a PWM signal, and the drive motor is controlled according to the PWM signal.
2. The control method of the driving motor according to claim 1, characterized in that: The converting process of the required rotation speed based on the preset jitter waveform to obtain a target rotation speed which takes the required rotation speed as a reference value and changes according to the jitter waveform includes: Obtaining a speed jitter period and a speed jitter amplitude corresponding to a preset jitter waveform; Obtaining a speed adjustment value according to the speed jitter period and the speed jitter amplitude; The required rotational speed is converted according to the speed adjustment value to obtain a target rotational speed that takes the required rotational speed as a reference value and changes with the speed adjustment value.
3. The control method of a driving motor according to any one of claims 1 to 2, characterized in that: The jitter waveform is a periodic waveform, and the periodic waveform includes a sine wave and a triangle wave.
4. The control method of the driving motor according to claim 3, characterized in that: The speed jitter period of the periodic waveform includes a first period, a second period, a third period and a fourth period connected in sequence, and the speed adjustment value gradually increases in the first period and the fourth period, and gradually decreases in the second period and the third period.
5. The control method of the driving motor according to claim 4, characterized in that: In the first period, the target speed gradually increases from the required speed to a first speed; In the second period, the target speed gradually decreases from the first speed to the required speed; In the third period, the target speed gradually decreases from the required speed to a second speed; In the fourth period, the target speed gradually increases from the second speed to the required speed.
6. The control method of the driving motor according to claim 5, characterized in that: The first time period, the second time period, the third time period and the fourth time period each include a plurality of electrical cycles, and an electrical cycle peak value corresponding to a modulation waveform of each electrical cycle increases as the target speed increases, and decreases as the target speed decreases.
7. The control method of the driving motor according to claim 6, characterized in that: The maximum duty cycle corresponding to the PWM waveform of each electrical cycle increases as the peak value of the electrical cycle increases, and decreases as the peak value of the electrical cycle decreases.
8. The control method of the driving motor according to claim 3, characterized in that: In the case where the periodic waveform is the sine wave, obtaining the speed adjustment value according to the rotation speed jitter period and the rotation speed jitter amplitude includes: Substitute the rotation speed jitter period and the rotation speed jitter amplitude into the speed adjustment value expression to obtain the speed adjustment value, wherein the speed adjustment value expression is as follows: Wherein, D(t) is the speed adjustment value at the current time t, T is the speed jitter period, and A is the speed jitter amplitude.
9. The control method of the driving motor according to claim 2, characterized in that: The process of determining the rotation speed jitter period and the rotation speed jitter amplitude of the jitter waveform includes the following methods: Acquiring a speed control period of the driving motor; Determining a rotation speed jitter cycle of the jitter waveform according to the speed control cycle and a preset number of jitters; The speed jitter amplitude of the jitter waveform is determined according to a speed jitter amplitude threshold corresponding to the speed jitter period.
10. An operation control device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the drive motor as claimed in any one of claims 1 to 9 when executing the computer program.
11. A driving motor, characterized in that: It comprises the operation control device as claimed in claim 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the control method of the drive motor according to any one of claims 1 to 9.
