Motor starting control method and system, readable storage medium and motor device
By employing control methods for open-loop start-up, transition, and closed-loop operation stages, and utilizing the angle difference function to achieve smooth motor switching, the problems of torque pulsation and load adaptability in sensorless motor drives are solved, thereby improving the stability and efficiency of motor start-up.
Patent Information
- Application Number
- CN202510653499.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2026-11-20
AI Technical Summary
Existing sensorless motor drive methods suffer from torque pulsation and inability to start smoothly during motor startup, especially when the load changes and the observer angle cannot be switched, making the motor unable to adapt to different loads.
The control method adopts an open-loop start-up phase, a transition phase, and a closed-loop operation phase. By gradually reducing the difference between the open-loop angle and the observer angle through the angle difference function, a smooth switching is achieved, torque adjustment is avoided, and the motor is ensured to start smoothly.
It achieves smooth switching during motor startup, avoids torque pulsation and load adaptability issues, and improves the stability and efficiency of motor control.
Smart Images

Figure CN123144666A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology, and in particular to a motor starting control method and system, a readable storage medium, and a motor device. Background Technology
[0002] Currently, the driving of motors (such as permanent magnet synchronous motors PMSM) is generally achieved by combining sensorless driving (i.e., sensorless motor driving) technology with frequency conversion technology. As a result, motors are widely used in home appliances (such as air conditioners, refrigerators, etc.), electric vehicles, elevators, industrial equipment (such as industrial sewing machines, high-precision CNC machine tools, industrial robots, etc.), aerospace equipment and other application scenarios.
[0003] Typically, sensorless motor drive methods require an open-loop start-up to bring the motor to a certain speed (i.e., the rotational speed or angular velocity reaches a set speed threshold) and stabilize before the observer can converge and observe the actual rotor angle (also known as the "observer angle") θ. ob During this period, the angle θ used by FOC control (Field-Oriented Control, or Vector Control) is the open-loop angle θ. op And the open-loop angle θ op and observer angle θ ob There is a certain difference Δθ, and θ cannot be directly derived from θ. op Switch to θ ob Otherwise, torque pulsation will occur (that is, during the rotation of the motor, the instantaneous output torque changes continuously over time, but fluctuates around a certain average value. The greater the torque pulsation, the lower the speed stability and the higher the energy consumption of the motor), which will lead to the motor being unable to start smoothly and unable to adapt to different loads.
[0004] To address the aforementioned issues, the traditional method involves controlling the torque magnitude during the switching process to reduce Δθ. When Δθ approaches 0 degrees or falls below a certain threshold, the angle θ used by the FOC control can be directly switched to the observer angle θ. ob (At this point, the motor switches from open-loop speed control to closed-loop speed control). This method has two drawbacks:
[0005] 1. Torque jitter will still occur during the switching process; the smaller Δθ is, the less jitter there will be.
[0006] 2. Under load T L When (especially when the load fluctuates greatly), the torque must not be lower than a certain value T. limit Otherwise, the motor may jam, which could result in the error message "The torque has been adjusted to T". limit However, if the switching condition is not met (Δθ), then θ cannot be switched to the observer angle θ.ob .
[0007] Therefore, a new switching scheme is needed that eliminates the need to adjust the torque during the θ switching process, ensures a smooth switching process, and avoids the inability to switch to the observer angle θ. ob The situation. Summary of the Invention
[0008] The purpose of this invention is to provide a motor starting control method and system, a readable storage medium, and a motor device. The solution is simple, the switching process is smooth, and it can avoid situations where the switching conditions are not met.
[0009] To achieve the above objectives, the present invention provides a motor starting control method, which includes sequentially executing the following stages:
[0010] Open-loop start-up phase: using open-loop angle θ op The motor is controlled to start in an open-loop manner until its speed stabilizes and exceeds a preset speed threshold. When the motor speed stabilizes, the open-loop angle θ is... op and observer angle θ ob The angle difference Δθ0 between them is the initial value of the angle difference Δθ;
[0011] Transition phase: using θ = θ ob +f(⊿θ) controls the motor to continue running, where f(⊿θ) is a function of the angle difference ⊿θ, and f(⊿θ) is controlled to gradually decrease from the initial value of the angle difference ⊿θ0 to 0 or gradually decrease to a preset angle difference threshold.
[0012] Closed-loop operation phase: After Δθ drops to 0 or is less than the preset angle difference threshold, the motor is controlled to operate in a closed loop using the observer angle θob.
[0013] Optionally, the open-loop startup phase includes multiple open-loop phases executed sequentially, and each open-loop phase uses a different open-loop angle.
[0014] Optionally, the open-loop startup phase includes the following executed sequentially:
[0015] First open-loop stage: The motor is pre-positioned to pull the rotor of the motor to the preset position;
[0016] Second open-loop stage: linearly or non-linearly increase the speed of the motor to reach the speed threshold;
[0017] Third open-loop stage: Keep the speed of the motor constant and increase the open-loop angle.
[0018] Optionally, the start-up control method further includes at least one of the following items (1) to (3):
[0019] (1) In the first open-loop stage, the speed of the motor is 0 and the open-loop angle is a preset fixed value;
[0020] (2) During the second open-loop phase, the reference current and open-loop acceleration a of the motor are maintained. op2 All remain unchanged, wherein the speed ω of the motor op =a op2 *t, the open-loop angle θ op =∫ω op *dt;
[0021] (3) During the third open-loop phase, the reference current of the motor and the speed ω of the motor are maintained. op2 All remain unchanged, the open-loop angle θ op =θ op2 +∫ω op2 *dt, where θ op2 ω is the open-loop angle at the end of the second open-loop phase. op2 This is the velocity at the end of the second open-loop phase.
[0022] Based on the same inventive concept, the present invention also provides a motor starting control system, which is coupled to a motor and used to control the motor to sequentially experience an open-loop starting stage and a transition stage before entering a closed-loop operation stage, so as to complete the starting of the motor. The motor starting control system includes:
[0023] The first angle calculation module is used to calculate and output the open-loop angle θ during the open-loop startup phase. op ;
[0024] The second angle calculation module is used to employ the angle function θ during the transition phase. sw =θ ob +f(⊿θ) calculates and outputs the rotor angle θ sw , where f(⊿θ) is a function that decreases as the angle difference ⊿θ decreases;
[0025] An observer, coupled to the motor, is used to observe the motor rotor during the transition phase and the closed-loop operation phase, and outputs the observer angle θ. ob ;
[0026] Angle switching module, used to select and output the open-loop angle θ during the open-loop startup phase. op During the transition phase, the rotor angle θ is switched. sw Output, during the closed-loop operation phase, switch the observer angle θ ob Output;
[0027] The vector control module is coupled to the angle switching module and is used to control the motor to start and run using the rotor angle output by the angle switching module;
[0028] The open-loop start-up phase continues until the motor speed stabilizes and exceeds a preset speed threshold, and the first open-loop angle θ at the end of the open-loop start-up phase... op and observer angle θ ob The angle difference Δθ0 is the initial value of the angle difference Δθ and is used as the initial value of f(Δθ). During the transition phase, f(Δθ) is controlled to gradually decrease from the initial value of the angle difference Δθ0 to 0 or gradually decrease to a preset angle difference threshold.
[0029] Optionally, the vector control module is further configured to perform the following stages based on the output of the angle switching module during the open-loop startup phase:
[0030] First open-loop stage: The motor is pre-positioned to pull the rotor of the motor to the preset position;
[0031] Second open-loop stage: linearly or non-linearly increase the speed of the motor to reach or exceed the speed threshold;
[0032] Third open-loop stage: Keep the speed of the motor constant and increase the open-loop angle.
[0033] Optionally, the motor starting control system further includes at least one of the following items (1) to (3):
[0034] (1) The open-loop angle θ output by the first angle calculation module in the first open-loop phase op This is a preset fixed value;
[0035] (2) The open-loop angle θ output by the first angle calculation module in the second open-loop phase op =∫ω op *dt, where the ω op The speed of the motor is ω op =a op2 *t,a op2 Let t be the acceleration of the motor, and t be the duration of the second open-loop phase;
[0036] (3) The open-loop angle θ output by the first angle calculation module in the third open-loop stage op =θ op2 +∫ω op2 *dt, where θ op2 ω is the open-loop angle at the end of the second open-loop phase. op2This is the velocity at the end of the second open-loop phase.
[0037] Optionally, the motor starting control system further includes at least one of the following items (1) to (3):
[0038] (1) The observer is a sliding mode observer, a Romberg observer, or a flux linkage observer;
[0039] (2) The motor starting control system further includes a PI control module, which is coupled to the vector control module and the reference current in the second dual-axis coordinate system. It is used to perform a difference calculation on the reference current and the current in the second dual-axis coordinate system generated by the vector control module, and then perform a proportional-integral calculation or a proportional-integral-differential calculation to generate the voltage in the second dual-axis coordinate system.
[0040] (3) The motor starting control system further includes a three-phase inverter bridge, which is coupled to the vector control module and the motor, and is used to drive the motor to start and run according to the three-phase voltage output by the vector control module.
[0041] Optionally, the vector control module includes:
[0042] The Clark transformation module is coupled to the motor and is used to transform the current in the three-phase coordinate system into the current in the first dual-axis coordinate system.
[0043] The Park transformation module is coupled to the Clark transformation module and is used to transform the current output by the Clark transformation module in the first dual-axis coordinate system into the current in the second dual-axis coordinate system.
[0044] An inverse Park transformation module is coupled to the Park transformation module and the angle switching module, and is used to transform the voltage in the second dual-axis coordinate system output by the Park transformation module into the voltage in the first dual-axis coordinate system using the rotor angle output by the angle switching module.
[0045] The space vector pulse width modulation module is coupled to the inverse Park transformation module and is used to transform the voltage in the first dual-axis coordinate system output by the inverse Park transformation module into the voltage in the three-phase coordinate system.
[0046] Based on the same inventive concept, the present invention also provides a readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implements the motor starting control method as described in the present invention.
[0047] Based on the same inventive concept, the present invention also provides a motor device, which includes a motor and a motor starting control system coupled thereto as described in the present invention.
[0048] Compared with the prior art, the technical solution of the present invention adopts an open-loop angle θ op Control the motor to start in an open-loop manner, and when the motor speed reaches the preset speed threshold and stabilizes, adjust the open-loop angle θ. op and observer angle θ ob The angle difference Δθ0 between them is used as the initial value of the angle difference Δθ, and then the angle θ used is switched to θ. ob +f(Δθ), where f(Δθ) is a function of the angle difference Δθ, and it is controlled to gradually decrease from the initial angle difference value Δθ0 to 0 or a preset angle difference threshold. When Δθ decreases to 0, θ = θ ob The switching process is complete. The entire switching process is closed-loop control, eliminating the need for open-loop angle or torque adjustments. Debugging is simple, the switching process is smooth, and there are no situations where switching conditions cannot be met. Attached Figure Description
[0049] Those skilled in the art will understand that the accompanying drawings are provided to better understand the invention and do not constitute any limitation on the scope of the invention. Wherein:
[0050] Figure 1 This is a schematic flowchart of a motor starting control method according to an embodiment of the present invention.
[0051] Figure 2 This is a schematic diagram of the signal timing in a motor starting control method according to an embodiment of the present invention.
[0052] Figure 3 This is a schematic diagram of the architecture of a motor starting control system according to an embodiment of the present invention. Detailed Implementation
[0053] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention may be practiced without one or more of these details. In other instances, certain technical features well-known in the art have not been described in order to avoid confusion with the invention. It should be understood that the invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. The same reference numerals denote the same elements throughout. It should be understood that when an element is referred to as "connected to" or "coupled to" other elements, it may be directly connected to other elements, or there may be intervening elements. Conversely, when an element is referred to as "directly connected to" other elements, there are no intervening elements. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "comprising" is used to identify the presence of features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. When used herein, the term "and / or" includes any and all combinations of the associated listed items.
[0054] For rapid motor startup, the motor speed (i.e., rotor speed) generally needs to increase from a standstill to a high speed in a very short time; otherwise, the observer cannot converge and therefore cannot accurately estimate the rotor position. Therefore, the key during motor startup is to smoothly transition from open-loop to closed-loop control, ensuring the rotor position is aligned with the preset position. Open-loop and closed-loop refer to the rotor position estimation method. In open-loop control, the rotor position used in the algorithm is generally manually given and assumed to be consistent with the actual position; while in closed-loop control, the rotor position is automatically calculated and adjusted by sampling parameters such as current and using relevant algorithms. The open-loop angle of the motor refers to the angle of the motor rotor position determined by open-loop control in the motor control system. In sensorless motor drive technology, because there are no position sensors to measure the rotor position, it is obtained through a position estimation algorithm (which is usually calculated based on the motor model and current feedback).
[0055] The core idea of the technical solution of the present invention is to achieve a smooth switching of the angle used by FOC control (i.e. vector control) through a function of the angle difference between the open-loop angle and the observer angle, thereby realizing a strategy of smoothly switching from open-loop start-up to closed-loop operation.
[0056] The following is in conjunction with the appendix Figures 1 to 3 The technical solution of the present invention will be described in detail with reference to specific embodiments.
[0057] Please refer to Figure 1 and Figure 2 An embodiment of the present invention provides a motor starting control method, which includes sequentially executing the following stages:
[0058] S1, Open-loop start-up phase: using open-loop angle θ op Control the motor to perform open-loop start (i.e., the rotor angle θ = θ used by FOC control in this stage). op The open-loop angle θ is maintained until the speed of the motor stabilizes and exceeds a preset speed threshold. op and observer angle θ ob The angle difference ⊿θ0 between them is the initial value of the angle difference (⊿θ), and at this point, the observer has converged.
[0059] S2, Transition Phase: Using the angle function θ sw =θ ob +f(⊿θ) controls the motor to continue running (i.e., the rotor angle θ = θ used by FOC control in this stage). sw In this context, f(⊿θ) is a function of the angle difference ⊿θ, and f(⊿θ) is controlled to start from an initial angle difference value of ⊿θ0 and gradually decrease to 0 or to a preset angle difference threshold in a linear or non-linear manner. In one example, when f(⊿θ) decreases to 0, i.e., f(⊿θ) = 0, then θ sw =θ ob That is, the process from the open-loop angle θ is completed. op to the observer angle θ sw The switching process. Here, f(Δθ) can be any suitable function, not limited to a single rate of change; any rate of change falls within the protection scope of this invention. For example, f(Δθ) is a linear function that decreases linearly from Δθ0 to 0. Another example is that f(Δθ) is a quadratic function or a nonlinear function that decreases nonlinearly from Δθ0 to 0. Yet another example is that f(Δθ) is a piecewise function, including at least two different rates of change, thus decreasing piecewise from Δθ0 to 0.
[0060] S3, Closed-loop operation phase: After Δθ drops to 0 or is less than the preset angle difference threshold, the observer angle θ is used. ob Control the motor to operate in a closed loop.
[0061] In this embodiment of the motor start-up control method, the motor starts in the open-loop start-up phase S1, and in this phase, the angle θ used by the FOC control is the open-loop angle θ. op (i.e., θ = θ) op After the open-loop start-up phase (S1), the motor speed ω will stabilize and exceed the set speed threshold ω.th At this point, the open-loop startup phase ends and the observer converges, allowing the observer to measure the actual rotor angle (i.e., the "observer angle") θ. ob Record the open-loop angle θ at this time. op and observer angle θ ob The angle difference Δθ0 between them is used as the initial value of Δθ at the start of the transition phase of S2, and then the transition phase of S2 is entered, and the angle θ used by FOC control is switched to θ. sw =θ ob +f(⊿θ)(i.e., θ=θ) sw =θ ob +f(⊿θ)), in this stage, the initial value of f(⊿θ) is ⊿θ0. As time goes by, f(⊿θ) is gradually reduced until f(⊿θ) is controlled to decrease from the initial angle difference value ⊿θ0 to 0 or the preset angle difference threshold. The switching process is completed, and the closed-loop operation stage of S3 is entered. The angle θ used by FOC control is switched to θ ob .
[0062] Obviously, the motor starting control method of this implementation no longer uses the open-loop angle from the transition phase (i.e., the process of switching the angle θ used by FOC control from the open-loop angle to the observer angle), nor does it need to adjust the reference torque of the motor. Moreover, the entire switching process is closed-loop control. The scheme is simple, the switching process is smooth, and it can avoid situations where the switching conditions are not met. This enables the motor to adapt to different loads and start and run smoothly, which is conducive to improving the level and quality of motor control technology.
[0063] Optionally, the open-loop startup phase of S1 may include multiple open-loop phases executed sequentially, each of which may use different control parameters, such as the open-loop angle θ used in each open-loop phase. op different.
[0064] In one example, please combine Figure 1 and Figure 2 The open-loop startup phase of S1 includes the following, executed sequentially:
[0065] S1.1, First Open-Loop Stage: The motor is pre-positioned to pull its rotor to a preset position, thereby obtaining the rotor's initial position information; the motor speed ω in this stage... op =ω op1 Apply a reference current i to the d-axis of the motor. dref =Id op1 Apply a reference current i to the q-axis of the motor. qref =Iq op1 This generates electromagnetic torque, pulling the motor rotor to a preset position, at which point the open-loop angle θ... op =θop1 , and ω op1 =0, θ op1 It is a fixed value, such as 90° or other angular value. During this phase, the acceleration a = 0.
[0066] S1.2, Second Open-Loop Stage: The motor speed is linearly or non-linearly increased through I / F control to reach or exceed a preset speed threshold. For example, the reference currents for the d-axis and q-axis are kept constant, i.e., i... qref =Iq op1 i dref =Id op1 According to a fixed acceleration a op2 Alternatively, increase the acceleration a according to the given slope. op2 After a period of time t, the motor rotor is rapidly rotated from a stationary state to a certain speed (this speed exceeds a preset speed threshold). During this stage, a fixed acceleration a is applied. op2 When increasing the speed of a motor, the speed can be increased linearly, and the motor speed ω op2 =a op2 *t,θ op2 =∫ω op2 *dt. At the end of this phase, the motor speed ω op2 denoted as Ω op2 The open-loop angle θ of the motor op Let it be θ op2 I / F control is a motor control strategy that sets a suitable current-frequency ratio for the inverter based on the load characteristics of the permanent magnet synchronous motor. This generates electromagnetic torque through the projection component of the current vector onto the torque axis, driving the motor until the rotor position and the current vector maintain a relatively stationary, stable operating state. In this second open-loop stage, the observer can be simultaneously activated to estimate the rotor speed. This speed is then used as the initial speed when switching to closed-loop operation, ensuring a smooth transition during speed changes.
[0067] S1.3, Third Open-Loop Stage: Keep the motor speed constant and increase the open-loop angle θ. op For example, keeping the reference currents for the d-axis and q-axis constant, i.e., i qref =Iq op1 i dref =Id op1 At the same time, keep the motor speed constant ω op3= Ω op2 Therefore, the open-loop angle θ in this stage op= θ op3 =θ op2 +∫ω op3 *dt=θ op2 +∫ω op2*dt. During this stage, the electromagnetic torque of the motor can be kept constant, allowing the rotor to rotate at a predetermined maximum speed for a certain period of time, thereby enabling the rotor to overcome the system load and follow the stator's given magnetic flux in terms of speed. In this stage, the acceleration a = 0.
[0068] Based on the same inventive concept, please refer to Figure 3 This embodiment also provides a motor starting control system, which is coupled to a motor M and used to control the motor M to sequentially go through an open-loop starting stage and a transition stage before entering a closed-loop operation stage to complete the starting of the motor M. The motor starting control system includes an FOC control module 10, a PI control module 11, a first angle calculation module 12, a second angle calculation module 13, an observer 14, an angle switching module 15, and a three-phase inverter bridge 16.
[0069] Among them, motor M can be any suitable motor such as a permanent magnet motor.
[0070] The first angle calculation module 12 can operate during the open-loop start-up phase of the motor and is used to calculate and output the open-loop angle θ of the motor. op This open-loop start-up phase continues until the motor M reaches its speed (i.e., Figure 3 The open-loop velocity ω op Stable and ω op> ω th , where ω th It is a speed threshold defined artificially based on actual application. At the end of this open-loop startup phase, the first open-loop angle θ... op and observer angle θ ob The angle difference ⊿θ0 is the initial value of the angle difference ⊿θ.
[0071] The second angle calculation module 13 can operate during the transition phase of the motor and is used to calculate the angle function θ. sw =θ ob +f(⊿θ) outputs the rotor angle θ sw Here, f(⊿θ) is a function that decreases as the angle difference ⊿θ decreases. In one example, when f(⊿θ) decreases to 0, i.e., f(⊿θ) = 0, then θ sw =θ ob That is, the process from the open-loop angle θ is completed. op to the observer angle θ swThe switching process is described. The initial value of f(Δθ) is Δθ0. f(Δθ) is any suitable function controlled to decrease from Δθ0 to 0 or a pre-set angle difference threshold, not limited to a single rate of change; any rate of change falls within the protection scope of this invention. For example, f(Δθ) is a linear function, controlled to decrease linearly from Δθ0 to 0. Another example is a quadratic function or other nonlinear function, controlled to decrease nonlinearly from Δθ0 to 0. Yet another example is a piecewise function, including at least two rates of change, thus controlled to decrease piecewise from Δθ0 to 0.
[0072] Observer 14 is coupled to motor M and is used to observe the speed and angle of the rotor of motor M during the transition phase and closed-loop operation phase, and outputs the observer angle θ. ob and rotor speed ω ob Among them, the rotor speed ω of motor M observed by the observer 14 ob Stable, and ω ob >ω th, .
[0073] The angle switching module 15 is not only coupled to the vector control module 10, but can also be further coupled simultaneously or selectively to the first angle calculation module 12, the second angle calculation module 13, and the observer 14. The angle switching module 15 is used to select the open-loop angle θ output by the first angle calculation module 12 during the open-loop startup phase. op The current rotor angle θ is provided to the vector control module 10 for use, and during the transition phase, the rotor angle θ output by the second angle calculation module 13 is selected. sw The current rotor angle θ is provided to the vector control module 10 for use (i.e., the rotor angle used by the vector control module 10 is from θ). op Switch to θ sw During the closed-loop operation phase, the observer angle θ output by observer 14 is selected. ob The current rotor angle θ is provided to the vector control module 10 for use (i.e., the rotor angle used by the vector control module 10 is from θ). sw Switch to θ ob ).
[0074] The vector control module (i.e., FOC control module) 10 is coupled to the angle switching module 15 and is used to control the start-up and operation of the motor M using the rotor angle θ output by the angle switching module 15.
[0075] Optionally, please combine Figure 2 and Figure 3 The vector control module 10 is further configured to perform the following stages during the open-loop start-up phase of the motor M, based on the output of the angle switching module 15 (i.e., the output of the first angle calculation module 12):
[0076] S1.1, First Open-Loop Stage: Motor M is pre-positioned to pull its rotor to a preset position, thereby obtaining the rotor's initial position information. The speed ω of motor M in this stage... op =ω op1 Apply a reference current i to the d-axis of motor M dref =Id op1 Apply a reference current i to the q-axis of motor M. qref =Iq op1 This generates electromagnetic torque, pulling the rotor of motor M to a preset position, at which point the open-loop angle θ... op =θ op1 , and ω op1 =0, θ op1 It is a fixed value, such as 90° or other angle values.
[0077] S1.2, Second open-loop stage: Linearly or non-linearly increase the speed ω of motor M. op To make it reach or exceed the speed threshold ω th For example, keeping the reference currents for the d-axis and q-axis constant, i.e., i qref =Iq op1 i dref =Id op1 According to a fixed acceleration a op2 Alternatively, increase the acceleration a according to the given slope. op2 After a period of time t, the motor rotor is rapidly rotated from a stationary state to a certain speed (this speed exceeds a preset speed threshold). During this stage, a fixed acceleration a is applied. op2 When increasing the speed of a motor, the speed can be increased linearly, and the motor speed ω op2 =a op2 *t,θ op2 =∫ω op2 *dt. At the end of this phase, the motor speed ω op2 denoted as Ω op2 The open-loop angle θ of the motor op Let it be θ op2 .
[0078] S1.3, Third open-loop stage: Maintain the speed ω of the motor M. op Unchanged (i.e., velocity ω) op Stable and ω op >ω th And increase the open-loop angle θ op For example, during this stage, the reference currents for the d-axis and q-axis remain constant, i.e., i qref =Iq op1 i dref =Idop1 At the same time, keep the motor speed constant ω op3= Ω op2 Therefore, the open-loop angle θ in this stage op= θ op3 =θ op2 +∫ω op3 *dt=θ op2 +∫ω op2 *dt. During this stage, the electromagnetic torque of the motor can be kept constant, allowing the rotor to rotate at a predetermined maximum speed for a certain period of time, thereby enabling the rotor to overcome the system load and follow the stator's given magnetic flux in terms of speed.
[0079] PI control module 11 is coupled to vector control module 10 and the reference current (i.e., d-axis reference current i) in the second dual-axis coordinate system (i.e., dq coordinate system). dref q-axis reference current i qref The PI control module 11 is used to control the d-axis reference current i. dref q-axis reference current i qref The current i in the second dual-axis coordinate system generated by the vector control module 10 d i q After performing the difference operation, a proportional-integral (PI) operation or a proportional-integral-derivative (PID) operation is then performed to generate the voltage in the second dual-axis coordinate system (i.e., the d-axis voltage U). d q-axis voltage U q ).
[0080] The three-phase inverter bridge 16 is coupled to the vector control module 10 and the motor M, and is used to control the three-phase voltage U output by the vector control module 10. a U b and U c Drive motor M to run.
[0081] It should be understood that in the motor starting control system of this embodiment, the FOC control module 10, PI control module 11, first angle calculation module 12, second angle calculation module 13, observer 14, angle switching module 15 and three-phase inverter bridge 16 can all be implemented using any suitable design.
[0082] For example, observer 14 can be any suitable observer such as a sliding mode observer, a Luneburger observer, or a flux linkage observer.
[0083] For example, the three-phase inverter bridge 16 is composed of integrated power modules, which contain IGBT switching transistors, and can switch between three-phase voltages U a U b and U c The output control current is used to drive motor M under the control of the system.
[0084] For example, the vector control module 10 includes a Clark transform module 101, a Park transform module 102, an inverse Park transform module 103, and a space vector pulse width modulation (SVPWM) module 104.
[0085] Clark transformation module 101 is coupled to motor M and is used to transform the current i of motor M in the three-phase coordinate system abc. abc Transformed into the α-axis current i of motor M in the first dual-axis coordinate system (i.e., the α-β coordinate system). α and β-axis current i β .
[0086] Park converter module 102 is coupled to Clark converter module 101 and is used to convert the α-axis current i in the first dual-axis coordinate system (i.e., α-β coordinate system) output by Clark converter module 101. α and β-axis current i β Transformed into the second biaxial coordinate system (i.e., the dq coordinate system), the d-axis current i d and q-axis current i q .
[0087] The inverse Park transformation module 103 is coupled to the Park transformation module 102 and the angle switching module 15. The inverse Park transformation module 103 is used to adjust the d-axis current i output by the Park transformation module 102. d and q-axis current i q and the d-axis voltage U output by the PI control module 11 d and q-axis voltage U q To obtain and output the d-axis voltage U in the second dual-axis coordinate system (i.e., the dq coordinate system). d ’ and q-axis voltage U q ’ Then, the rotor angle θ output by the angle switching module 15 is used to convert the d-axis voltage U in the second dual-axis coordinate system (i.e., the dq coordinate system) output by the Park transformation module 102 into the d-axis voltage U. d ’ and q-axis voltage U q ’ Transformed into the α-axis voltage U in the first biaxial coordinate system (i.e., the α-β coordinate system) α and β-axis voltage U β .
[0088] The space vector pulse width modulation module 104 is coupled to the inverse Park transform module 103 and is used to convert the α-axis voltage U output by the inverse Park transform module 103 in the first dual-axis coordinate system. α and β-axis voltage U β Transformed into three-phase voltage U in a three-phase coordinate system a Ub and U c (i.e., three-phase PWM signal). Three-phase voltage U a U b and U c The power is then amplified by a three-phase inverter bridge (IGBT) and input to motor M to drive motor M.
[0089] It is worth noting that in the motor starting control system of this embodiment, the FOC control module 10, PI control module 11, first angle calculation module 12, second angle calculation module 13, observer 14, angle switching module 15 and three-phase inverter bridge 16 can be integrated into a controller chip, microcontroller unit (MCU) or application-specific integrated circuit (ASIC), which can be implemented in a combination of hardware and software. The motor starting control system can also contain functional modules (such as speed loop) or hardware circuits (memory) for its functions.
[0090] Furthermore, at least one of the FOC control module 10, PI control module 11, first angle calculation module 12, second angle calculation module 13, observer 14, and angle switching module 15 can be at least partially implemented as hardware circuits, such as field-programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems-on-a-chip, systems-on-a-substrate, systems-on-package, application-specific integrated circuits (ASICs), or can be implemented in hardware or firmware in any other reasonable manner of integrating or packaging the circuit, or in a suitable combination of software, hardware, and firmware implementations.
[0091] Alternatively, at least one of the FOC control module 10, PI control module 11, first angle calculation module 12, second angle calculation module 13, observer 14, and angle switching module 15 can be at least partially implemented as a computer program module, which can perform the functions of the corresponding module when the program is run by a computer and can be upgraded by software.
[0092] Based on the same inventive concept, an embodiment of the present invention also provides a readable storage medium for storing a computer program or instructions, which, when executed by a corresponding processor, implement the motor starting control method as described in the present invention.
[0093] The readable storage medium can be a tangible device capable of holding and storing instructions used by an instruction execution device, such as, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples of the readable storage medium (a non-exhaustive list) include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer program described herein can be downloaded from the readable storage medium to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. Each computing / processing device's network adapter card or network interface receives the computer program from the network and forwards it for storage in a readable storage medium within the respective computing / processing device. The computer program used to perform the operations of this invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" or similar languages. The computer program can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing state information from a computer program. These electronic circuits can execute computer-readable program instructions, thereby realizing various aspects of the present invention.
[0094] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, systems, and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by a computer program. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. These computer programs can also be stored in a readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the readable storage medium storing the computer program comprises an article of manufacture including instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams.
[0095] A computer program may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the computer program executing on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0096] Based on the same inventive concept, please refer to Figure 3 An embodiment of the present invention also provides a motor device, which includes a motor M and a motor starting control system as described in the present invention coupled thereto.
[0097] In summary, the motor starting control method and system, readable storage medium, and motor device of the present invention employ an open-loop angle θ. op Control the motor to start in an open-loop manner, and when the motor speed reaches the preset speed threshold and stabilizes, adjust the open-loop angle θ. op and observer angle θ ob The angle difference Δθ0 between them is used as the initial value of the angle difference Δθ, and then the angle θ used is switched to θ. ob +f(Δθ), where f(Δθ) is a function of the angle difference Δθ, and it is controlled to gradually decrease from the initial angle difference value Δθ0 to 0 or a preset angle difference threshold. When Δθ decreases to 0, θ = θ ob The switching process is complete. The entire switching process is closed-loop control, eliminating the need for open-loop angle and torque adjustments. This simplifies debugging, ensures a smooth switching process, and eliminates situations where switching conditions are not met. This allows the motor to adapt to different loads and start and run smoothly, thus improving the level and quality of motor control technology.
[0098] The above description is only a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the present invention.
Claims
1. A motor starting control method, characterized in that, This includes executing the following stages sequentially: Open-loop start-up phase: using open-loop angle θ op The motor is controlled to start in an open-loop manner until its speed stabilizes and exceeds a preset speed threshold. When the motor speed stabilizes, the open-loop angle θ is... op and observer angle θ ob The angle difference Δθ0 between them is the initial value of the angle difference Δθ; Transition phase: using the angle function θ sw =θ ob +f(⊿θ) controls the motor to continue running, where f(⊿θ) is a function of the angle difference ⊿θ, and f(⊿θ) is controlled to gradually decrease from the initial value of the angle difference ⊿θ0 to 0 or gradually decrease to a preset angle difference threshold. Closed-loop operation phase: After Δθ drops to 0 or is less than the preset angle difference threshold, the observer angle θ is used. ob Control the motor to operate in a closed loop.
2. The start-up control method as described in claim 1, characterized in that, The open-loop startup phase includes multiple open-loop phases executed sequentially, and each open-loop phase uses a different open-loop angle.
3. The start-up control method as described in claim 1 or 2, characterized in that, The open-loop startup phase includes the following, executed sequentially: First open-loop stage: The motor is pre-positioned to pull the rotor of the motor to the preset position; Second open-loop stage: linearly or non-linearly increase the speed of the motor to reach or exceed the speed threshold; Third open-loop stage: Keep the speed of the motor constant and increase the open-loop angle.
4. The start-up control method as described in claim 3, characterized in that, It also includes at least one of the following items (1) to (3): (1) In the first open-loop stage, the speed of the motor is 0 and the open-loop angle is a preset fixed value; (2) During the second open-loop phase, the reference current and open-loop acceleration a of the motor are maintained. op2 All remain unchanged, wherein the speed ω of the motor op =a op2 *t, the open-loop angle θ op =∫ω op *dt; (3) During the third open-loop phase, the reference current of the motor and the speed ω of the motor are maintained. op2 All remain unchanged, the open-loop angle θ op =θ op2 +∫ω op2 *dt, where θ op2 ω is the open-loop angle at the end of the second open-loop phase. op2 This is the velocity at the end of the second open-loop phase.
5. A motor starting control system, characterized in that, A motor starting control system is coupled to a motor and used to control the motor to sequentially go through an open-loop starting stage and a transition stage before entering a closed-loop operation stage to complete the motor starting process. The motor starting control system includes: The first angle calculation module is used to calculate and output the open-loop angle θ during the open-loop startup phase. op ; The second angle calculation module is used to employ the angle function θsw = θ during the transition phase. ob +f(⊿θ) calculates and outputs the rotor angle θ sw , where f(⊿θ) is a function that decreases as the angle difference ⊿θ decreases; An observer, coupled to the motor, is used to observe the motor rotor during the transition phase and the closed-loop operation phase, and outputs the observer angle θ. ob ; Angle switching module, used to select and output the open-loop angle θ during the open-loop startup phase. op During the transition phase, the rotor angle θ is switched. sw Output, during the closed-loop operation phase, switch the observer angle θ ob Output; The vector control module is coupled to the angle switching module and is used to control the motor to start and run using the rotor angle output by the angle switching module; The open-loop start-up phase continues until the motor speed stabilizes and exceeds a preset speed threshold, and the first open-loop angle θ at the end of the open-loop start-up phase... op and observer angle θ ob The angle difference Δθ0 is the initial value of the angle difference Δθ and is used as the initial value of f(Δθ). During the transition phase, f(Δθ) is controlled to gradually decrease from the initial value of the angle difference Δθ0 to 0 or gradually decrease to a preset angle difference threshold.
6. The motor starting control system as described in claim 5, characterized in that, The vector control module is further configured to perform the following stages during the open-loop startup phase, based on the output of the angle switching module: First open-loop stage: The motor is pre-positioned to pull the rotor of the motor to the preset position; Second open-loop stage: linearly or non-linearly increase the speed of the motor to reach or exceed the speed threshold; Third open-loop stage: Keep the speed of the motor constant and increase the open-loop angle.
7. The motor starting control system as described in claim 6, characterized in that, It also includes at least one of the following items (1) to (3): (1) The open-loop angle θ output by the first angle calculation module in the first open-loop phase op This is a preset fixed value; (2) The open-loop angle θ output by the first angle calculation module in the second open-loop phase op =∫ω op *dt, where the ω op The speed of the motor is ω op =a op2 *t,a op2 Let t be the acceleration of the motor, and t be the duration of the second open-loop phase; (3) The open-loop angle θ output by the first angle calculation module in the third open-loop stage op =θ op2 +∫ω op2 *dt, where θ op2 ω is the open-loop angle at the end of the second open-loop phase. op2 This is the velocity at the end of the second open-loop phase.
8. The motor starting control system as described in claim 5, characterized in that, It also includes at least one of the following items (1) to (3): (1) The observer is a sliding mode observer, a Romberg observer, or a flux linkage observer; (2) The motor starting control system further includes a PI control module, which is coupled to the vector control module and the reference current in the second dual-axis coordinate system. It is used to perform a difference calculation on the reference current and the current in the second dual-axis coordinate system generated by the vector control module, and then perform a proportional-integral calculation or a proportional-integral-differential calculation to generate the voltage in the second dual-axis coordinate system. (3) The motor starting control system further includes a three-phase inverter bridge, which is coupled to the vector control module and the motor, and is used to drive the motor to start and run according to the three-phase voltage output by the vector control module.
9. The motor starting control system as described in any one of claims 5-8, characterized in that, The vector control module includes: The Clark transformation module is coupled to the motor and is used to transform the current in the three-phase coordinate system into the current in the first dual-axis coordinate system. The Park transformation module is coupled to the Clark transformation module and is used to transform the current output by the Clark transformation module in the first dual-axis coordinate system into the current in the second dual-axis coordinate system. An inverse Park transformation module is coupled to the Park transformation module and the angle switching module, and is used to transform the voltage in the second dual-axis coordinate system output by the Park transformation module into the voltage in the first dual-axis coordinate system using the rotor angle output by the angle switching module. The space vector pulse width modulation module is coupled to the inverse Park transformation module and is used to transform the voltage in the first dual-axis coordinate system output by the inverse Park transformation module into the voltage in the three-phase coordinate system.
10. A readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the motor starting control method as described in any one of claims 1-4.
11. A motor device, characterized in that, The motor includes a motor and the motor starting control system coupled thereto as described in any one of claims 5-9.
