Motor control method, system and apparatus and computer readable storage medium
By acquiring the dq axis voltage and DC bus voltage of the motor, the dq axis compensation voltage and the given voltage are determined, thus solving the problem of output instability caused by BUS voltage ripple in the variable frequency smoke machine controller, achieving stability of motor output and cost reduction.
Patent Information
- Application Number
- CN202210194527.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-03-01
AI Technical Summary
In variable frequency range hood controllers, the BUS voltage ripple of the inverter increases under heavy load, resulting in weakened output capacity, poor control effect, and even shutdown. Existing technology reduces ripple voltage by adding large electrolytic capacitors, but this increases costs.
By acquiring the dq axis voltage and DC bus voltage of the motor, the dq axis compensation voltage and set voltage are determined, enabling motor control. The adjustment is simple and ensures output stability.
Stable motor output is achieved without adding hardware, reducing material costs and power consumption of the control circuit, and making adjustment simple.
Smart Images

Figure CN116743004B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of household appliance technology, and in particular to a motor control method, a computer-readable storage medium, a motor control system, and a motor control device. Background Technology
[0002] Variable frequency range hood controllers typically use three-phase bridge inverters to drive the fans. The inverter's BUS (bus) voltage is obtained by rectifying household electricity. However, in actual applications, the BUS voltage will generate ripple voltage of varying amplitude depending on the load. Especially when operating under heavy load, the ripple voltage of the BUS voltage will increase. When the BUS voltage is at its lowest point, the output capacity of the inverter will be reduced. In closed-loop control, this will deviate from the preset value, resulting in poor control performance and even the risk of shutdown.
[0003] In related technologies, large electrolytic capacitors are typically added to reduce ripple voltage amplitude, which increases costs. Summary of the Invention
[0004] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to propose a motor control method that determines the dq-axis compensation voltage by using the motor's dq-axis voltage and DC bus voltage, and then controls the motor based on the dq-axis compensation voltage and the given dq-axis voltage. This method is simple to adjust and ensures output stability.
[0005] A second objective of this invention is to provide a computer-readable storage medium.
[0006] The third objective of this invention is to provide a motor control system.
[0007] The fourth objective of this invention is to provide a motor control device.
[0008] To achieve the above objectives, a first aspect of the present invention provides a motor control method, comprising: acquiring the dq-axis voltage and DC bus voltage of the motor; determining the dq-axis compensation voltage based on the dq-axis voltage and DC bus voltage; determining the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage; and controlling the motor based on the dq-axis setpoint voltage.
[0009] According to the motor control method of this invention, firstly, the dq-axis voltage and DC bus voltage of the motor are acquired, and then the dq-axis compensation voltage is determined based on the dq-axis voltage and DC bus voltage. Next, the dq-axis setpoint voltage is determined based on the dq-axis compensation voltage and the dq-axis voltage. Finally, the motor is controlled based on the dq-axis setpoint voltage. Therefore, this method determines the dq-axis compensation voltage using the dq-axis voltage and DC bus voltage, and then controls the motor based on the dq-axis compensation voltage and the dq-axis setpoint voltage. This method is simple to adjust and ensures output stability.
[0010] In addition, the motor control method according to the above embodiments of the present invention may also have the following additional technical features:
[0011] According to one embodiment of the present invention, determining the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage includes: determining a compensation coefficient based on the dq-axis voltage and the DC bus voltage; and multiplying the dq-axis voltage by the compensation coefficient to obtain the dq-axis compensation voltage.
[0012] According to one embodiment of the present invention, determining the compensation coefficient based on the dq-axis voltage and the DC bus voltage includes: filtering the DC bus voltage to obtain a filtered voltage; obtaining the maximum and minimum values of the filtered voltage within a preset time period before the current time; and determining the compensation coefficient based on the filtered voltage, the maximum and minimum values, the dq-axis voltage, and the dq-axis compensation voltage of the previous time period.
[0013] According to one embodiment of the present invention, the compensation coefficient is determined in the following manner:
[0014] When|U' dq-1 +U dq | <V bus_min At that time, Kw = (V bus_max -V busFil ) / V busFil ;
[0015] When|U' dq-1 +U dq |≥V bus_min At that time, Kw = (V bus_min -|U' dq-1 +U dq |) / |U' dq-1 +U dq |;
[0016] Where Kw is the compensation coefficient, V bus_max V is the maximum value. bus_min For the minimum value, V busFil U′ is the filter voltage. dq-1 U is the dq-axis compensation voltage at the previous moment. dq This represents the dq-axis voltage.
[0017] According to one embodiment of the present invention, determining the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage includes: superimposing the dq-axis compensation voltage and the dq-axis voltage to obtain the dq-axis setpoint voltage.
[0018] According to one embodiment of the present invention, obtaining the dq-axis voltage of a motor includes: obtaining a given speed, a feedback speed, and a dq-axis feedback current of the motor; determining a given dq-axis current based on the given speed and the feedback speed; and determining the dq-axis voltage based on the given dq-axis current and the dq-axis feedback current.
[0019] According to one embodiment of the present invention, controlling the motor based on the given voltage of the dq axis includes: determining the voltage of the αβ axis based on the given voltage of the dq axis; obtaining a duty cycle signal based on the voltage of the αβ axis; and controlling the motor based on the duty cycle signal.
[0020] To achieve the above objectives, a second aspect of the present invention provides a computer-readable storage medium storing a motor control program thereon, which, when executed by a processor, implements the above-described motor control method.
[0021] According to the computer-readable storage medium of the present invention, the above-described motor control method is implemented by executing a motor control program through a processor. The adjustment is simple and the output stability is guaranteed.
[0022] To achieve the above objectives, a third aspect of the present invention provides a motor control system, comprising: a memory, a processor, and a motor control program stored in the memory and executable on the processor. When the processor executes the program, it implements the above-described motor control method.
[0023] According to the motor control system of the present invention, the above-mentioned motor control method is realized by running a motor control program through a processor. The adjustment is simple and the output stability is guaranteed.
[0024] To achieve the above objectives, a fourth aspect of the present invention provides a motor control device, comprising: a first acquisition module for acquiring the dq-axis voltage of the motor; a second acquisition module for acquiring the DC bus voltage; a compensation module for determining a dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage; a third acquisition module for determining a dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage; and a control module for controlling the motor based on the dq-axis setpoint voltage.
[0025] According to an embodiment of the present invention, the motor control device acquires the dq-axis voltage of the motor through a first acquisition module, acquires the DC bus voltage through a second acquisition module, determines the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage through a compensation module, determines the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage through a third acquisition module, and controls the motor based on the dq-axis setpoint voltage. Thus, the device determines the dq-axis compensation voltage using the motor's dq-axis voltage and the DC bus voltage, and then controls the motor based on the dq-axis compensation voltage and the dq-axis setpoint voltage. This allows the system to operate under heavy loads without requiring additional hardware, ensuring output stability, while significantly reducing the material cost and power consumption of the control circuit, and simplifying adjustment.
[0026] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0027] Figure 1 This is a flowchart of a motor control method according to an embodiment of the present invention;
[0028] Figure 2 This is a block diagram of the control strategy of a motor control method according to an embodiment of the present invention;
[0029] Figure 3 This is a block diagram of a voltage compensation module according to an embodiment of the present invention;
[0030] Figure 4 This is a block diagram of a motor control system according to an embodiment of the present invention;
[0031] Figure 5 This is a block diagram of a motor control device according to an embodiment of the present invention. Detailed Implementation
[0032] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0033] The following description, with reference to the accompanying drawings, outlines an embodiment of the present invention, including a motor control method, a computer-readable storage medium, a motor control system, and a motor control device.
[0034] Figure 1 This is a flowchart of a motor control method according to an embodiment of the present invention.
[0035] like Figure 1As shown, the motor control method of this invention includes the following steps:
[0036] S1, obtain the dq axis voltage and DC bus voltage of the motor.
[0037] According to one embodiment of the present invention, obtaining the dq-axis voltage of a motor includes: obtaining a given speed, a feedback speed, and a dq-axis feedback current of the motor; determining a given dq-axis current based on the given speed and the feedback speed; and determining the dq-axis voltage based on the given dq-axis current and the dq-axis feedback current.
[0038] Specifically, refer to Figure 2 As shown, the given speed ω of the motor is determined by the speed setting module. * The motor position is observed through a sensorless position observer module, obtaining the rotor position angle θ. The rotor position angle θ is then used by the ρ module to observe the rotor speed signal. The ρ module obtains the motor's feedback speed ω by differentiating the rotor position angle θ. Given a speed ω... * The speed ω0 obtained by subtracting the feedback speed ω is fed into the first PI (Proportional Integral) module, which acts as the outer loop speed control PI regulator of the system. This first PI module adjusts the speed ω0 in real time to obtain the dq axis given current. In addition, the rotor position angle θ output by the sensorless position observer module and the output current i of the inverter module obtained by observation s The input coordinate transformation module obtains the dq-axis feedback current i through coordinate transformation. dq , give current and dq axis feedback current i dq The differential output current i0 is fed to the second PI module, which acts as the inner loop current loop control PI regulator of the system to obtain the dq axis voltage U. dq .
[0039] S2, determine the dq axis compensation voltage based on the dq axis voltage and the DC bus voltage.
[0040] In other words, continue to refer to Figure 2 The bus voltage is acquired in real time by the bus voltage acquisition module, and the DC bus voltage V is output. bus The dq-axis voltage U output by the second PI module mentioned above dq With DC bus voltage V bus The dq-axis compensation voltage U' is calculated using the voltage compensation module. dq .
[0041] The following detailed examples illustrate how the voltage compensation module adjusts the dq-axis voltage U. dq With DC bus voltage V busObtain the dq axis compensation voltage U' dq .
[0042] According to one embodiment of the present invention, determining the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage includes: determining a compensation coefficient based on the dq-axis voltage and the DC bus voltage; and multiplying the dq-axis voltage by the compensation coefficient to obtain the dq-axis compensation voltage.
[0043] According to one embodiment of the present invention, determining the compensation coefficient based on the dq-axis voltage and the DC bus voltage includes: filtering the DC bus voltage to obtain a filtered voltage; obtaining the maximum and minimum values of the filtered voltage within a preset time period prior to the current moment; and determining the compensation coefficient based on the filtered voltage, the maximum and minimum values, the dq-axis voltage, and the dq-axis compensation voltage of the previous moment. The preset time period can be set according to actual conditions.
[0044] According to one embodiment of the present invention, the compensation coefficient is determined in the following manner:
[0045] When|U' dq-1 +U dq | <V bus_min At that time, Kw = (V bus_max -V busFil ) / V busFil (1);
[0046] When|U' dq-1 +U dq |≥V bus_min At that time, Kw = (V bus_min -|U' dq-1 +U dq |) / |U' dq-1 +U dq | (2);
[0047] Where Kw is the compensation coefficient, V bus_max V is the maximum value. bus_min For the minimum value, V busFil U' is the filter voltage. dq-1 U is the dq-axis compensation voltage at the previous moment. dq This represents the dq-axis voltage.
[0048] Specifically, such as Figure 3 As shown, firstly, the DC bus voltage V output by the bus voltage acquisition module is... bus The bus voltage ripple filter module within the voltage compensation module filters out noise signals and outputs a filtered voltage V. busFil Assuming the current time is t, and taking a preset time (ts, t) as an example, the filter voltage V within the time period (ts, t) is calculated and output through the bus voltage calculation module. busFil The maximum value V bus_maxand minimum value V bus_min Maximum value V bus_max and minimum value V bus_min Input compensation voltage calculation module, compensation voltage calculation module according to |U' dq-1 +U dq |with V bus_min The compensation coefficient Kw is determined by formula (1) or (2) based on the magnitude relationship. That is, assuming the dq axis compensation voltage U' of the previous moment is... dq-1 With the current dq-axis voltage U dq The absolute value obtained by adding them together is less than the minimum value V within the time interval (ts, t). bus_min The compensation coefficient Kw is calculated using formula (1), where the filter voltage V busFil Let U' be the filter voltage corresponding to the current time t, and let U' be the dq-axis compensation voltage of the previous time. dq-1 With the current dq-axis voltage U dq The absolute value obtained by adding them together is greater than or equal to the minimum value V within the time interval (ts, t). bus_min The compensation coefficient Kw is calculated using formula (2). Finally, the calculated compensation coefficient Kw is compared with the dq-axis voltage U. dq Multiplying them together yields the dq-axis compensation voltage U'. dq That is, the dq axis compensation voltage U' dq The calculation formula is U' dq =Kw*U dq Understandably, it is necessary to compensate for the dq-axis voltage U' obtained at the current time t. dq This information is stored so that it can be used in the calculation of the compensation voltage at the next time step; that is, it is used as U' in the calculation of the compensation coefficient Kw at the next time step. dq-1 .
[0049] It should be noted that the cutoff frequency on the bus voltage ripple filter module can be set according to the actual situation.
[0050] S3, determine the given voltage of the dq axis based on the dq axis compensation voltage and the dq axis voltage.
[0051] According to one embodiment of the present invention, determining the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage includes: superimposing the dq-axis compensation voltage and the dq-axis voltage to obtain the dq-axis setpoint voltage.
[0052] In other words, the dq-axis compensation voltage U' obtained above dq With dq axis voltage U dq The summation yields the given voltage along the dq axis. When the aforementioned compensation coefficient Kw is positive, it achieves the effect of adjusting the dq-axis voltage U. dqPositive compensation is achieved when the compensation coefficient Kw is negative, thus enabling the adjustment of the dq-axis voltage U. dq Negative compensation.
[0053] S4 controls the motor based on the voltage given by the dq axis.
[0054] According to one embodiment of the present invention, controlling the motor based on the given voltage of the dq axis includes: determining the voltage of the αβ axis based on the given voltage of the dq axis; obtaining a duty cycle signal based on the voltage of the αβ axis; and controlling the motor based on the duty cycle signal.
[0055] Specifically, continue to refer to Figure 2 The above-mentioned dq-axis given voltage The IPARK module converts a two-phase DC voltage into a two-phase AC voltage, outputting the αβ axis voltage U. αβ αβ axis voltage U αβ The SVPWM (Space Vector Pulse Width Modulation) module converts the duty cycle control signal that controls the switching transistors in the inverter module to conduct. The duty cycle control signal is then output to the inverter module, which generates a drive voltage that is output to the motor, thereby driving the motor to work.
[0056] Furthermore, such as Figure 2 As shown, the motor control method of this invention sets a given speed ω through a speed setting module. * The difference between the feedback speed ω generated by the ρ module and the current generated by the ρ module is passed through the first PI module, which outputs the dq-axis given current. The dq-axis feedback current i output by the coordinate transformation module dq The difference is passed through the second PI module, and the dq-axis voltage U output by the second PI module dq The dq-axis compensation voltage U' output by the voltage compensation module dq Added output dq axis given voltage dq axis given voltage On one hand, the drive voltage is sequentially output through the IPARK module, SVPWM module, and inverter module to drive the motor; on the other hand, it serves as the input signal for the bus voltage acquisition module. The inverter module outputs the DC bus voltage V through the bus voltage acquisition module. bus DC bus voltage V bus The bus voltage ripple filter module filters out noise signals and outputs a filtered voltage V. busFil The filter voltage V is calculated and output within the time period (ts, t) by the bus voltage calculation module. busFil The maximum value V bus_max and minimum value V bus_min Maximum value V bus_maxand minimum value V bus_min Input compensation voltage calculation module, compensation voltage calculation module according to |U' dq-1 +U dq |with V bus_min The magnitude relationship determines the compensation coefficient Kw, and the dq-axis voltage U output from the second PI module is received. dq The dq axis compensation voltage U' is calculated. dq This achieves compensation for bus voltage ripple, thus enabling output compensation under bus voltage ripple conditions based on a software algorithm. Furthermore, a sensorless position observer module installed on the motor outputs the rotor position angle θ. The rotor position angle θ is used to obtain the feedback speed ω through the ρ module, which is then compared with the given speed ω. * The differential input is used to the first PI module to form a closed-loop control loop for speed regulation, and the first PI module is used to realize real-time control and regulation of the motor speed. On the other hand, the rotor position angle θ and the current i obtained by sampling the output of the inverter module are also considered. s The input coordinate transformation module outputs the dq-axis feedback current i through coordinate transformation of multiple motor currents. dq dq axis feedback current i dq The dq-axis feedback current i output by the first PI module dq The difference is input to the second PI module, thus forming a current regulation closed-loop control circuit, and the current is controlled and regulated in real time through the second PI module. It is understood that the above motor control method can be applied to household appliances that use motor control, such as inverter range hoods, where this method can be used to improve the noise and vibration of the range hood.
[0057] It should be noted that the dq-axis voltage in this embodiment of the invention includes the d-axis voltage and the q-axis voltage, the corresponding dq-axis compensation voltage includes the d-axis compensation voltage and the q-axis compensation voltage, the dq-axis setpoint voltage includes the d-axis setpoint voltage and the q-axis setpoint voltage, and so on. In actual calculations, the two need to be calculated separately. For example, the d-axis compensation voltage is obtained based on the d-axis voltage, and the d-axis setpoint voltage is finally obtained. The q-axis compensation voltage is obtained based on the q-axis voltage, and the q-axis setpoint voltage is finally obtained. At the same time, in some control strategies, the q-axis setpoint current is obtained based on the first PI module, and the d-axis setpoint current is 0.
[0058] In summary, the motor control method according to embodiments of the present invention first acquires the dq-axis voltage and DC bus voltage of the motor, then determines the dq-axis compensation voltage based on these voltages, then determines the dq-axis setpoint voltage based on the compensation voltage and the dq-axis voltage, and finally controls the motor based on the setpoint voltage. Therefore, this method determines the dq-axis compensation voltage using the dq-axis voltage and the DC bus voltage, and then controls the motor based on these voltages, resulting in simple adjustment and ensuring output stability.
[0059] Corresponding to the above embodiments, the present invention also proposes a computer-readable storage medium.
[0060] The computer-readable storage medium of this invention stores a motor control program thereon, which, when executed by a processor, implements the motor control method described above.
[0061] According to the computer-readable storage medium of the present invention, the above-described motor control method is implemented by executing a motor control program through a processor. The adjustment is simple and the output stability is guaranteed.
[0062] In conjunction with the above embodiments, the present invention also proposes a motor control system.
[0063] like Figure 4 As shown, the motor control system 100 of this embodiment includes: a memory 110, a processor 120, and a motor control program stored in the memory 110 and executable on the processor 120. When the processor 120 executes the program, it implements the above-described motor control method.
[0064] According to the motor control system of the present invention, the above-mentioned motor control method is realized by running a motor control program through a processor. The adjustment is simple and the output stability is guaranteed.
[0065] Corresponding to the above embodiments, the present invention also proposes a motor control device.
[0066] like Figure 5 As shown, the motor control device of this embodiment may include: a first acquisition module 10, a second acquisition module 20, a compensation module 30, a third acquisition module 40, and a control module 50.
[0067] The system comprises the following modules: a first acquisition module 10 for acquiring the dq-axis voltage of the motor; a second acquisition module 20 for acquiring the DC bus voltage; a compensation module 30 for determining the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage; a third acquisition module 40 for determining the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage; and a control module 50 for controlling the motor based on the dq-axis setpoint voltage.
[0068] According to one embodiment of the present invention, the compensation module 30 determines the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage, specifically for: determining the compensation coefficient based on the dq-axis voltage and the DC bus voltage; and multiplying the dq-axis voltage by the compensation coefficient to obtain the dq-axis compensation voltage.
[0069] According to one embodiment of the present invention, the compensation module 30 determines the compensation coefficient based on the dq-axis voltage and the DC bus voltage, specifically for: filtering the DC bus voltage to obtain a filtered voltage; obtaining the maximum and minimum values of the filtered voltage within a preset time period before the current moment; and determining the compensation coefficient based on the filtered voltage, the maximum and minimum values, the dq-axis voltage, and the dq-axis compensation voltage of the previous moment.
[0070] According to one embodiment of the present invention, the compensation module 30 determines the compensation coefficient in the following manner:
[0071] When|U' dq-1 +U dq | <V bus_min At that time, Kw = (V bus_max -V busFil ) / V busFil ;
[0072] When|U' dq-1 +U dq |≥V bus_min At that time, Kw = (V bus_min -|U' dq-1 +U dq |) / |U' dq-1 +U dq |;
[0073] Where Kw is the compensation coefficient, V bus_max V is the maximum value. bus_min For the minimum value, V busFil U′ is the filter voltage. dq-1 U is the dq-axis compensation voltage at the previous moment. dq This represents the dq-axis voltage.
[0074] According to one embodiment of the present invention, the third acquisition module 40 determines the given voltage of the dq axis based on the dq axis compensation voltage and the dq axis voltage, specifically for: superimposing the dq axis compensation voltage and the dq axis voltage to obtain the given voltage of the dq axis.
[0075] According to one embodiment of the present invention, the first acquisition module 10 acquires the dq axis voltage of the motor, specifically for: acquiring the given speed, feedback speed and dq axis feedback current of the motor; determining the given current of the dq axis based on the given speed and feedback speed; and determining the dq axis voltage based on the given current of the dq axis and the dq axis feedback current.
[0076] According to one embodiment of the present invention, the control module 50 controls the motor according to the given voltage of the dq axis, specifically for: determining the voltage of the αβ axis according to the given voltage of the dq axis; obtaining the duty cycle signal according to the voltage of the αβ axis; and controlling the motor according to the duty cycle signal.
[0077] It should be noted that for details not disclosed in the motor control device of the present invention, please refer to the details disclosed in the motor control method of the above embodiments of the present invention, which will not be repeated here.
[0078] In summary, the motor control device according to embodiments of the present invention acquires the dq-axis voltage of the motor through a first acquisition module, acquires the DC bus voltage through a second acquisition module, determines the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage through a compensation module, determines the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage through a third acquisition module, and controls the motor based on the dq-axis setpoint voltage. Thus, this device determines the dq-axis compensation voltage by using the dq-axis voltage and the DC bus voltage, and then controls the motor based on the dq-axis compensation voltage and the dq-axis setpoint voltage. This allows the motor system to operate under heavy loads without requiring additional hardware, ensuring output stability, while significantly reducing the material cost and power consumption of the control circuit, and simplifying adjustment.
[0079] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0080] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0081] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0082] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0083] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0084] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A motor control method, characterized in that, include: Obtain the dq axis voltage and DC bus voltage of the motor; The dq-axis compensation voltage is determined based on the dq-axis voltage and the DC bus voltage. The dq-axis given voltage is determined based on the dq-axis compensation voltage and the dq-axis voltage. The motor is controlled according to the given voltage of the dq axis; Determining the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage includes: The compensation coefficient is determined based on the dq axis voltage and the DC bus voltage; The dq-axis compensation voltage is obtained by multiplying the dq-axis voltage by the compensation coefficient. The compensation coefficient is determined based on the dq-axis voltage and the DC bus voltage, including: The DC bus voltage is filtered to obtain the filtered voltage; Get the maximum and minimum values of the filtered voltage within a preset time period before the current moment; The compensation coefficient is determined based on the filter voltage, the maximum value, the minimum value, the dq-axis voltage, and the dq-axis compensation voltage at the previous moment. The compensation coefficient is determined in the following manner: when hour, ; when hour, ; Wherein, Kw is the compensation coefficient. The maximum value is... For the minimum value, The filtered voltage, This refers to the dq-axis compensation voltage at the previous moment. Let be the voltage of the dq axis.
2. The method according to claim 1, characterized in that, Determining the dq-axis setpoint voltage based on the dq-axis compensation voltage and the dq-axis voltage includes: The given voltage for the dq axis is obtained by superimposing the dq axis compensation voltage and the dq axis voltage.
3. The method according to claim 1, characterized in that, To obtain the dq axis voltages of the motor, the following steps are required: Obtain the given speed, feedback speed, and dq axis feedback current of the motor; The given current for the dq axis is determined based on the given rotational speed and the feedback rotational speed. The dq-axis voltage is determined based on the given dq-axis current and the feedback dq-axis current.
4. The method according to claim 1, characterized in that, Controlling the motor according to the given voltage of the dq axis includes: Determine the αβ axis voltage based on the given voltage of the dq axis; The duty cycle signal is obtained based on the αβ axis voltage; The motor is controlled according to the duty cycle signal.
5. A computer-readable storage medium, characterized in that, It stores a motor control program, which, when executed by a processor, implements the motor control method according to any one of claims 1-4.
6. A motor control system, characterized in that, include: A memory, a processor, and a motor control program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the motor control method according to any one of claims 1-4.
7. A motor control device, suitable for use with the motor control method according to any one of claims 1-4, characterized in that, include: The first acquisition module is used to acquire the dq axis voltage of the motor; The second acquisition module is used to acquire the DC bus voltage; The compensation module is used to determine the dq-axis compensation voltage based on the dq-axis voltage and the DC bus voltage; The third acquisition module is used to determine the given voltage of the dq axis based on the dq axis compensation voltage and the dq axis voltage; The control module is used to control the motor according to the given voltage of the dq axis.
Citation Information
Patent Citations
Vector control bus voltage fluctuation compensation method for permanent magnet synchronous motor without electrolytic capacitor
CN110165952A
