Positive and negative rotation control circuit and method of motor without position sensor and motor controller
By combining the logic control module and the rotor angle estimation module, and integrating open-loop and closed-loop control, the problem of rotor direction change caused by external force interference in sensorless motors is solved, ensuring motor operation stability and equipment safety.
Patent Information
- Application Number
- CN202310575344.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2024-11-22
AI Technical Summary
Existing sensorless motors may experience rotor direction changes due to external interference during operation, affecting the reliability of motor closed-loop control and equipment safety, and potentially causing equipment damage, especially in certain special applications.
The system employs a combination of logic control module, rotor angle calculation module, rotor angle estimation module, and selection module. By combining open-loop and closed-loop control modes, it uses the voltage and current signals of the motor to estimate the rotor angle, limits the angle increment, and ensures the stability of the motor direction.
It achieves dynamic balance and stability of permanent magnet synchronous motor under closed-loop control, avoids unnecessary changes in motor direction, improves the reliability of the motor system, and prevents equipment damage.
Smart Images

Figure CN119010686A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor vector control, and in particular to a forward and reverse control circuit and method for a position sensorless motor and a motor controller. Background Art
[0002] At present, the control method of permanent magnet synchronous motor without position sensor has been widely used in motor control systems. The permanent magnet synchronous motor without position sensor control adopts open-loop asynchronous forced drag mode to start at low speed, and switches to closed-loop control after reaching a certain speed. The observer method is used to calculate the d-axis and q-axis back electromotive force. The back electromotive force constructs the speed through PLL (phase-locked loop detection) and PI (proportional integral control), and then generates a position signal.
[0003] However, during the operation of the closed-loop position sensorless motor using the above method, due to the effect of wind or external force, the position signal of the motor after the observer, PLL, and PI calculations will accumulate errors as the motor's operating time increases, causing the constructed position signal to change from forward to reverse, or from reverse to forward, destroying the dynamic balance of the position sensorless closed-loop control, reducing the reliability of the motor closed-loop control, and may even cause damage to equipment components. In some special applications, such as for compressors that only allow high-speed rotation in one direction, rotor reversal will affect the operating reliability of the compressor; for example, the cooling fan working in the server, when a new fan is inserted, the fan's direction will change, affecting the server system availability; for example, the car assistant steering oil pump motor needs to ensure unidirectional operation, and if the direction changes in the reverse direction, it may cause equipment damage.
[0004] The change in rotor direction can usually be solved by changing the structural design, such as adding a current detection unit to the compressor to limit the direction of the rotor by the consistency of the direction of the induced current and the reference current; or by increasing the backflow to avoid the change of the fan direction, but these two methods are costly. Some methods use software intervention strategies to ensure that the movement direction of the rotor is consistent with the normal operation direction during the motor startup positioning process, but no effective method is proposed for the situation where the rotation direction of the rotor changes due to external interference during the closed-loop operation of the motor.
[0005] Therefore, how to effectively solve the reliability problems and equipment damage problems caused by the change of rotor direction has become one of the problems that technical personnel in this field need to solve urgently.
[0006] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present invention and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because these solutions are described in the background technology section of the present invention. Summary of the invention
[0007] In view of the shortcomings of the prior art described above, an object of the present invention is to provide a forward and reverse control circuit, method and motor controller for a position sensorless motor, so as to solve the problems of poor reliability and easy damage to equipment caused by changes in the rotor direction in the prior art.
[0008] In order to achieve the above-mentioned object and other related objects, the present invention provides a forward and reverse control circuit of a position sensorless motor, wherein the forward and reverse control circuit of the position sensorless motor at least comprises:
[0009] Logic control module, rotor angle calculation module, rotor angle estimation module and selection module;
[0010] The logic control module is used to provide configuration parameters and control signals;
[0011] The rotor angle calculation module receives the forced drag angle increment and the forced drag angle initial value provided by the logic control module, and obtains the rotor angle calculation value by accumulation;
[0012] The rotor angle estimation module receives the configuration parameters provided by the logic control module, estimates the angle increment based on the voltage and current signals of the motor, and limits the angle increment estimation value based on the forward and reverse control, and obtains the rotor angle estimation value by accumulation;
[0013] The input end of the selection module is connected to the output end of the rotor angle calculation module and the output end of the rotor angle estimation module respectively, and the rotor angle calculation value or the rotor angle estimation value is selected to control the motor based on the selection signal provided by the logic control module.
[0014] Optionally, the rotor angle calculation module includes a first adder; the first adder is connected to the output end of the logic control module, and sums the forced drag angle increment at the current moment and the rotor angle calculation value at the previous moment to obtain the rotor angle calculation value at the current moment.
[0015] Optionally, the forward and reverse control circuit of the position sensorless motor also includes a warning module, which is connected to the output end of the rotor angle estimation module, and determines whether a limitable forward and reverse control event occurs based on the angle increment estimated before and after the forward and reverse control, and outputs an effective warning signal when a limitable forward and reverse control event occurs.
[0016] More optionally, the rotor angle estimation module includes an angle plus increment estimation unit, a first increment limiting unit, a second adder, a second increment limiting unit, a forward and reverse rotation limiting unit and a third adder;
[0017] The angle plus increment estimation unit estimates the angle plus increment intermediate value based on the current and voltage signals in the stationary two-phase coordinate system;
[0018] The first increment limiting unit is connected to the output end of the angle plus increment estimating unit, and limits the upper and lower limits of the angle plus increment intermediate value to obtain the angle plus increment estimated value;
[0019] The second adder is connected to the output end of the first increment limiting unit, and sums the angle increment estimated value at the current moment and the angle increment estimated value at the previous moment to obtain the angle increment intermediate value at the current moment;
[0020] The second increment limiting unit is connected to the output end of the second adder, and directly outputs the intermediate value of the angle increment in open-loop control; and limits the minimum speed of the angle increase in closed-loop control;
[0021] The forward and reverse limiting unit is connected to the output end of the second increment limiting unit, and outputs a corresponding angle increment estimation value based on the forward and reverse control signal;
[0022] The third adder is connected to the output end of the forward and reverse rotation limiting unit, and sums the angle increment estimation value at the current moment and the rotor angle estimation value at the previous moment to obtain the rotor angle estimation value at the current moment.
[0023] More optionally, the angle plus increment estimation unit includes an observer, a phase-locked loop and a proportional-integral regulator; the observer receives current and voltage signals in a stationary two-phase coordinate system, and estimates the back electromotive force of the motor; the phase-locked loop is connected to the output end of the observer, and is used to calculate the back electromotive force error; the proportional-integral regulator is connected to the output end of the phase-locked loop, and estimates the intermediate value of the angle plus increment based on the back electromotive force error.
[0024] In order to achieve the above-mentioned object and other related objects, the present invention provides a motor controller, which at least includes: a forward and reverse control circuit of the above-mentioned position sensorless motor.
[0025] To achieve the above-mentioned object and other related objects, the present invention provides a forward and reverse rotation control method of a position sensorless motor, the forward and reverse rotation control method of the position sensorless motor at least comprising:
[0026] 1) The motor is started in an open-loop control mode, and the rotor angle and angle increment of the motor are estimated. As the rotor angle increases, the motor speed gradually increases;
[0027] 2) When back electromotive force is detected and the deviation between the rotor angle and the estimated rotor angle and the deviation between the angle increment and the estimated angle increment are within the corresponding preset range, the motor is controlled by the estimated rotor angle to enter a closed-loop control mode; and the sign of the estimated angle increment is limited based on the forward and reverse control signals to avoid changes in the direction of the motor.
[0028] Optionally, in the open-loop control mode, the initial value of the forced drag angle is continuously accumulated as a forced drag angle increment to determine the rotor angle; and the motor is controlled to rotate forward and reverse based on the signs of each forced drag angle increment.
[0029] More optionally, in closed loop control mode:
[0030] 21) Estimating the angle plus increment intermediate value based on the current and voltage signals in the stationary two-phase coordinate system;
[0031] 22) limiting the upper and lower limits of the intermediate value of the angle plus increment to obtain an estimated value of the angle plus increment;
[0032] 23) Sum the angle increment estimate at the current moment and the angle increment estimate at the previous moment to obtain the intermediate value of the angle increment at the current moment;
[0033] 24) limiting the lower limit of the intermediate value of the angle increment greater than zero, and limiting the upper limit of the intermediate value of the angle increment less than zero;
[0034] 25) Outputting corresponding angle increment estimation value based on the forward and reverse control signals;
[0035] 26) The angle increment estimate at the current moment and the rotor angle estimate at the previous moment are summed to obtain the rotor angle estimate at the current moment.
[0036] More optionally, in step 25), when the forward and reverse control signals are configured to allow only clockwise rotation,
[0037] When the forward and reverse control signals are configured to allow only counterclockwise rotation,
[0038] in, is the estimated value of the angle increment, is the intermediate value of the angle increment obtained in step 24).
[0039] More optionally, the forward and reverse rotation control method of the position sensorless motor further includes: determining whether the intermediate value of the angle increment is equal to the estimated value of the angle increment, and outputting a valid warning signal if they are not equal.
[0040] As described above, the forward and reverse control circuit, method and motor controller of the position sensorless motor of the present invention have the following beneficial effects:
[0041] 1. The forward and reverse control circuit, method and motor controller of the position sensorless motor of the present invention ensure the dynamic balance of the permanent magnet synchronous motor under the closed-loop control algorithm, while improving the stability of the permanent magnet synchronous motor without position control, avoiding the problem of reduced motor system reliability and equipment damage caused by unnecessary motor direction changes during motor rotation.
[0042] 2. The forward and reverse control circuit of the position sensorless motor of the present invention is simple to implement, occupies a small area, and occupies less software resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 Shown is a schematic structural diagram of a forward and reverse rotation control circuit of a position sensorless motor of the present invention.
[0044] Figure 2 It is a schematic diagram of the structure of the phase-locked loop and proportional-integral regulator of the present invention.
[0045] Figure 3 Shown is a schematic diagram of the input and output ports of the incremental limiting unit of the present invention.
[0046] Figure 4 It is a schematic diagram showing the input and output ports of the forward and reverse limiting unit of the present invention.
[0047] Figure 5 It is a schematic flow chart of the forward and reverse rotation control method of a position sensorless motor according to the present invention.
[0048] Component number description
[0049] 1 Forward and reverse control circuit of position sensorless motor
[0050] 11 Logic Control Module
[0051] 12 Rotor Angle Calculation Module
[0052] 13 Rotor Angle Estimation Module
[0053] 131 Angle plus increment estimation unit
[0054] 131a Observer
[0055] 131b Phase-Locked Loop
[0056] 13a First multiplication unit
[0057] 13b Second multiplication unit
[0058] 13c Fourth adder
[0059] 13d First filter
[0060] 13e Second filter
[0061] 131c Proportional Integral Regulator
[0062] 132 First increment limit unit
[0063] 133 Second Adder
[0064] 134 Second increment limit unit
[0065] 135 Forward and reverse limiting unit
[0066] 136 Third Adder
[0067] 14 Select Module
[0068] 15 Warning module DETAILED DESCRIPTION
[0069] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.
[0070] See also Figure 1 to Figure 5 It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, and the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0071] like Figure 1 As shown, the present invention provides a forward and reverse control circuit 1 for a position sensorless motor, and the forward and reverse control circuit 1 for a position sensorless motor comprises:
[0072] A logic control module 11 , a rotor angle calculation module 12 , a rotor angle estimation module 13 and a selection module 14 .
[0073] like Figure 1 As shown, the logic control module 11 is used to provide configuration parameters and control signals.
[0074] Specifically, in this embodiment, the logic control module 11 is implemented by a CPU (Central Processing Unit); the signals provided by the logic control module 11 include but are not limited to the configuration parameters of each module, control signals (including but not limited to selection signals), and the signals received by the logic control module 11 include but are not limited to motor feedback signals and write data, which are not described one by one here. In actual use, any module that can realize logic control is applicable to the present invention, not limited to this embodiment.
[0075] like Figure 1 As shown, the rotor angle calculation module 12 receives the forced drag angle increment Δθ and the forced drag angle initial value provided by the logic control module 11, and obtains the rotor angle calculation value θ by accumulation. n .
[0076] Specifically, in this embodiment, the rotor angle calculation module 12 includes a first adder; the first adder is connected to the output end of the logic control module 11, and calculates the rotor angle increment Δθ at the current moment and the rotor angle calculation value θ at the previous moment. n-1 Sum and get the calculated rotor angle θ at the current moment n , satisfying the following relationship: n =θ n-1 +Δθ(n>0).
[0077] It should be noted that, as an example, the first adder only implements the addition function, and the rotor angle calculation value θ at the previous moment n-1 Temporarily stored through an external register; as another example, the first adder realizes the function of addition and temporary storage of the rotor angle calculation value at the previous moment.
[0078] like Figure 1 As shown, the rotor angle estimation module 13 receives the configuration parameters provided by the logic control module 11, estimates the angle increment based on the voltage and current signals of the motor, and limits the angle increment estimation value based on the forward and reverse control. The rotor angle estimate is obtained by accumulating
[0079] Specifically, the rotor angle estimation module 13 limits the estimated angle increment through the forward and reverse control signals to obtain the angle increment estimation value. When forward and reverse rotation is allowed, the estimated angle increment is directly output as the angle increment estimate When only clockwise rotation is allowed, angle increments greater than zero are output as angle increment estimates. When only counterclockwise rotation is allowed, angle increments less than zero are output as angle increment estimates This realizes forward and reverse control.
[0080] Specifically, in this embodiment, the rotor angle estimation module 13 includes an angle increment estimation unit 131 , a first increment limiting unit 132 , a second adder 133 , a second increment limiting unit 134 , a forward and reverse rotation limiting unit 135 and a third adder 136 .
[0081] More specifically, the angle increment estimation unit 131 is based on the current signal I in the stationary two-phase coordinate system (α-β coordinate system). α ,I β And voltage signal U α , U β Estimate the angle plus the intermediate value of the increment Among them, the current signal I α ,I β is the sampling signal, the voltage signal U α , U β As an example, the angle plus increment estimation unit 131 includes an observer 131a, a phase-locked loop 131b and a proportional integral regulator 131c. The observer 131a receives the current and voltage signals in the stationary two-phase coordinate system and estimates the motor back electromotive force. The observer 131a includes but is not limited to a synovial observer and a Lomborg observer. Any observer that can estimate the back electromotive force of the motor is applicable to the present invention and will not be described in detail here. The phase-locked loop 131b is connected to the output end of the observer 131a, and the back electromotive force error Δe is calculated based on the motor energy observed by the observer 131a and the sine and cosine feedback signals of the estimated angle of the previous cycle; Figure 2 As shown, in this example, the phase-locked loop 131b includes a first multiplication unit 13a, a second multiplication unit 13b and a fourth adder 13c. The first multiplication unit 13a converts the motor back electromotive force The inverted cosine feedback signal of the estimated rotor angle The second multiplier 13b multiplies the motor back electromotive force Sinusoidal feedback signal with rotor angle estimate The fourth adder 13c adds the output signals of the first multiplication unit 13a and the second multiplication unit 13b to obtain an estimated back electromotive force error Δe. As another implementation of the present invention, the phase-locked loop 131b further includes a first filter 13d and a second filter 13e, which are respectively connected to the input ends of the first multiplication unit 13a and the second multiplication unit 13b, and perform a first-order digital low-pass filter on the input motor back electromotive force to obtain a filtered value of the motor back electromotive force. and The proportional-integral regulator 131c is connected to the output end of the phase-locked loop 131b, and estimates the intermediate value of the angle plus increment based on the back electromotive force error Δe. In this example, the proportional-integral regulator 131c performs a proportional-integral operation, satisfying the following relationship: KP*(Δe n -Δe n-1 )+KI*Δe n , where KP is the proportional coefficient and KI is the integral coefficient. Any intermediate value of the angle plus the increment can be estimated The circuit structures of the present invention are applicable to the present invention and are not limited to this embodiment.
[0082] More specifically, the first increment limiting unit 132 is connected to the output end of the angle increment estimating unit 131, and The upper and lower limits are limited to obtain the angle plus incremental estimate like Figure 3 As shown, as an example, the incremental limiting unit includes three input terminals and two output terminals, wherein the input signal LMT is the limiting parameter configured by the logic control module 11 (wherein LMT>0; in actual use, the absolute values of the upper and lower limits can be set to different values), the input signal wIN is the amount to be limited, the control terminal BYPASS is used to determine whether the limit acts on the input amount to be limited, and the signals output by the output terminals w01 and w02 respectively satisfy:
[0083]
[0084] The BYPASS terminal signal of the first incremental limiting unit 132 is invalid, and the amount to be limited is the angle plus the incremental intermediate value. Output terminal w01 outputs the angle plus the incremental estimated value The output terminal w02 does not output or does not set the corresponding function.
[0085] More specifically, the second adder 133 is connected to the output end of the first increment limiting unit 132, and adds the increment estimated value to the current angle. And the estimated angle increment at the previous moment Sum and get the middle value of the angle increment at the current moment Satisfies the following relationship:
[0086] It should be noted that, as an example, the second adder 133 only implements the addition function, and the angle increment estimation value at the previous moment Temporarily stored through an external register; as another example, the second adder 133 realizes the function of addition and temporary storage of the angle increment estimation value at the previous moment.
[0087] More specifically, the second increment limiting unit 134 is connected to the output end of the second adder 133, and directly outputs the intermediate value of the angle increment in open-loop control; and limits the minimum speed of the angle increase in closed-loop control. Figure 3 As shown, the structure of the second incremental limiting unit 134 is the same as that of the first incremental limiting unit 132. The BYPASS terminal signal of the second incremental limiting unit 134 is valid during open-loop control, and the BYPASS terminal signal of the second incremental limiting unit 134 is invalid during closed-loop control. The amount to be limited is the intermediate value of the angle increment. The output terminal w02 outputs the adjusted signal The output terminal w01 does not output or does not set the corresponding function.
[0088] It should be noted that the structures of the first increment limiting unit 132 and the second increment limiting unit 134 may also be different, and corresponding structures are set according to their respective required functions, which is not limited to this embodiment.
[0089] More specifically, the forward and reverse limiting unit 135 is connected to the output end of the second increment limiting unit 134, and outputs the corresponding angle increment estimation value based on the forward and reverse control signal. like Figure 4 As shown, the forward and reverse limiting unit 135 has two input terminals and one output terminal, wherein the control terminal CW receives the forward and reverse control signal configured by the logic control module 11, and is used to limit the angle increment estimation value of the forward and reverse direction. When the CW terminal is configured to allow forward and reverse directions, When the CW end is configured to allow only clockwise rotation, When the CW end is configured to allow counterclockwise rotation only, This ensures that the motor's rotation direction does not change.
[0090] More specifically, the third adder 136 is connected to the output end of the forward and reverse limiting unit 135, and calculates the angle increment estimation value at the current moment. and the estimated rotor angle at the previous moment Sum and get the estimated value of the rotor angle at the current moment Satisfies the following relationship:
[0091] It should be noted that, as an example, the third adder 136 only implements the addition function, and the rotor angle estimation value at the previous moment Temporarily stored through an external register; as another example, the third adder 136 realizes the function of addition and temporary storage of the rotor angle estimation value at the previous moment.
[0092] like Figure 1 As shown, the input end of the selection module 14 is connected to the output end of the rotor angle calculation module 12 and the rotor angle estimation module 13 respectively, and the rotor angle calculation value θ is selected based on the selection signal SWITCH provided by the logic control module 11. n Or the rotor angle estimate Control the motor.
[0093] Specifically, in this embodiment, the selection module 14 is a two-choice multiplexer, which selects the rotor angle calculation value θ when the open loop control is performed. n The output is the rotor angle θ r , when closed loop control is performed, the rotor angle estimate is selected The output is the rotor angle θ r .
[0094] like Figure 1 As shown, as another implementation of the present invention, the forward and reverse control circuit 1 of the position sensorless motor also includes a warning module 15, and the warning module 15 is connected to the output end of the rotor angle estimation module 13, and determines whether a limitable forward and reverse control event occurs based on the angle increment estimated before and after the forward and reverse control, and outputs an effective warning signal when a limitable forward and reverse control event occurs.
[0095] Specifically, in this embodiment, the warning module 15 is connected to the output end of the second adder 133 and the forward and reverse limiting unit 135, and compares the output signal of the second adder 133 with the output signal of the forward and reverse limiting unit 135. It means that no restrictive forward and reverse control event has occurred; if It means that a limitable forward and reverse control event has occurred (that is, an abnormal event has occurred that will change the direction of motor rotation), and the warning signal SpeedError is valid. After receiving the valid warning signal SpeedError, the logic control module 11 investigates the abnormal event. The abnormal event includes but is not limited to external force interference, abnormal back electromotive force data, etc., which are not elaborated here.
[0096] The present invention further provides a motor controller, which is used to control the operation of the motor and at least includes a forward and reverse control circuit 1 of the position sensorless motor.
[0097] like Figure 5As shown, the present invention also provides a forward and reverse control method for a position sensorless motor. In this embodiment, the forward and reverse control method for the position sensorless motor is implemented based on the forward and reverse control circuit 1 of the position sensorless motor. In actual use, any software, hardware, or a combination of software and hardware that can implement this method is applicable to the present invention. The forward and reverse control method for the position sensorless motor includes:
[0098] 1) The motor is started in an open-loop control mode, and the rotor angle and angle increment of the motor are estimated. As the rotor angle increases, the motor speed gradually increases.
[0099] Specifically, in this embodiment, the motor rotor forced drag angle increment Δθ, the forced drag angle initial value θ0, the motor parameters used by the observer 131a, the proportional integral parameters, the parameters of the incremental limiting unit and the parameters of the forward and reverse limiter are written in advance (manually) into the logic control module 11.
[0100] Specifically, when the motor speed is in the low speed range (back electromotive force cannot be detected), the system uses the open loop mode to control the running angle of the motor. In this mode, the logic control module 11 controls the selection signal SWITCH to a low level. At this time, the rotor angle θ of the motor r The rotor angle calculation module 12 determines by iteratively accumulating the strong drag angle increment Δθ of the strong drag angle initial value θ0, satisfying: θ r =θ n =θ n-1 +Δθ. At the same time, the logic control module 11 can control the forward and reverse rotation of the motor by the sign of each forced drag angle increment Δθ, wherein when Δθ≥0, the motor rotates clockwise; when Δθ<0, the motor rotates counterclockwise; in this stage, the logic control module 11 completes the limited forward and reverse motor control, and as the logic control module 11 increases the value of |Δθ|, the speed of the motor increases.
[0101] Specifically, in this mode, the selection signal SWITCH controls the second increment limiting unit 132 to be a BYPASS function (ie ), control the forward and reverse limiting unit 135 to allow the forward and reverse directions (i.e. The estimated rotor angle is calculated in an open loop manner. The observer 131a estimates the motor back electromotive force of the α-axis and the β-axis based on the sampled current and voltage. and Then the back electromotive force and The back electromotive force error Δe is input into the phase-locked loop 131b, and the back electromotive force error Δe is input into the proportional-integral regulator 131c to construct the angle plus increment intermediate value. (where Δ 2 θ″ reflects the acceleration of the motor rotor rotation to a certain extent), the angle increment intermediate value The first increment limiting unit 132 is input to convert the estimated variable representing the motor rotor acceleration (i.e., the angle plus the incremental estimated value) into ) is limited to the range of [-LMT, LMT] (in actual use, the absolute values of the upper and lower limits can be set to different values). According to this structure, the oscillation error of the angle plus incremental estimation value caused by external factors is reduced, and the convergence of the rotor angle estimation channel is accelerated. The angle plus incremental estimation value After two iterative calculations of the adder, the estimated value of the rotor angle is obtained. Used for observation by the logic control module 11 .
[0102] 2) When back electromotive force is detected and the deviation between the rotor angle and the estimated rotor angle and the deviation between the angle increment and the estimated angle increment are within the corresponding preset range, the motor is controlled by the estimated rotor angle to enter a closed-loop control mode; and the sign of the estimated angle increment is limited based on the forward and reverse control signals to avoid changes in the direction of the motor.
[0103] Specifically, when the motor speed reaches a certain speed, the back electromotive force can be detected, and the rotor angle approaches the estimated rotor angle value, and the angle increment approaches the estimated angle increment value. At this time, the logic control module 11 switches the motor from the open-loop mode to the closed-loop mode. In this mode, the logic control module 11 controls the selection signal SWITCH to a high level. At this time, the rotor angle θ of the motor r Determined by the rotor angle estimation module 13, it satisfies:
[0104] More specifically, the operation mode of the rotor angle estimation module 13 in the closed-loop mode is basically the same as that in the open-loop mode, except that the BYPASS terminal signal of the second increment limiting unit 132 is invalid, and the forward and reverse direction limiting unit 135 limits the forward and reverse directions. In this embodiment, the rotor angle estimation module 13 determines the rotor angle θ of the motor r The steps include:
[0105] 21) The angle plus increment intermediate value is obtained based on the current and voltage signals in the stationary two-phase coordinate system
[0106] 22) Add an incremental intermediate value to the angle The upper and lower limits are limited to the range of [-LMT, LMT] (see above for the specific relationship, which will not be repeated here), and the angle plus incremental estimate is obtained
[0107] 23) Add the incremental estimate to the current angle And the estimated angle increment at the previous moment Sum and get the middle value of the angle increment at the current moment satisfy:
[0108] 24) The lower limit of the intermediate value of the angle increment greater than zero is restricted, and the upper limit of the intermediate value of the angle increment less than zero is restricted. The intermediate value of the angle increment greater than zero is restricted to the range of [LMT, +∞), and the intermediate value of the angle increment less than zero is restricted to the range of (-∞, -LMT]. The specific relationship formula is as mentioned above and will not be described here one by one. In actual use, the absolute values of the upper and lower limits can be set to different values.
[0109] 25) Output the corresponding angle increment estimate based on the forward and reverse control signal
[0110] Specifically, in this step, the forward and reverse control signals are configured to allow only clockwise rotation or only counterclockwise rotation; when configured as forward rotation mode only and the angle increment parameter LMT is configured, The value greater than or equal to LMT will participate in the iteration of the third adder 136, so that the motor will not generate reverse torque during the high-speed closed loop period to cause the sudden reversal of the motor; when configured as the reversal mode only and the angle increment parameter LMT is configured, The value less than or equal to -LMT is used to participate in the iteration of the third adder 136, so that the motor will not generate positive torque during the high-speed closed loop period to cause the motor to suddenly rotate forward, thereby controlling the motor to run stably. The specific relationship is shown above and will not be repeated here.
[0111] It should be noted that the value of the LMT of each incremental limiting unit is set according to needs and is not limited one by one here.
[0112] 26) Estimate the angle increment at the current moment and the estimated rotor angle at the previous moment Sum and get the estimated value of the rotor angle at the current moment satisfy:
[0113] As another implementation of the present invention, the forward and reverse control method of the position sensorless motor also includes: determining whether the intermediate value of the angle increment is equal to the estimated value of the angle increment. If they are not equal, it indicates that a limitable forward and reverse control event has occurred, and an effective warning signal is output.
[0114] In summary, the present invention provides a forward and reverse control circuit, method and motor controller for a position sensorless motor, comprising: a logic control module, a rotor angle calculation module, a rotor angle estimation module and a selection module; the logic control module is used to provide configuration parameters and control signals; the rotor angle calculation module receives the forced drag angle increment and the forced drag angle initial value provided by the logic control module, and obtains the rotor angle calculation value by accumulation; the rotor angle estimation module receives the configuration parameters provided by the logic control module, estimates the angle increment based on the voltage and current signals of the motor, and obtains the rotor angle estimation value by accumulation based on the forward and reverse control limit angle increment estimate; the input end of the selection module is respectively connected to the output end of the rotor angle calculation module and the rotor angle estimation module, and selects the rotor angle calculation value or the rotor angle estimation value to control the motor based on the selection signal provided by the logic control module. The forward and reverse control circuit, method and motor controller of the position sensorless motor of the present invention ensure the dynamic balance of the operation of the permanent magnet synchronous motor under the closed-loop control algorithm, and at the same time improve the stability of the operation of the permanent magnet synchronous motor without position control, avoiding the problem of reduced reliability of the motor system and equipment damage caused by unnecessary motor direction changes during the motor rotation process. The forward and reverse control circuit of the position sensorless motor of the present invention is simple to implement, occupies a small area, and occupies less software resources. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0115] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A forward and reverse control circuit for a position sensorless motor, characterized in that: The forward and reverse control circuit of the position sensorless motor at least includes: Logic control module, rotor angle calculation module, rotor angle estimation module and selection module; The logic control module is used to provide configuration parameters and control signals; The rotor angle calculation module receives the forced drag angle increment and the forced drag angle initial value provided by the logic control module, and obtains the rotor angle calculation value by accumulation; The rotor angle estimation module receives the configuration parameters provided by the logic control module, estimates the angle increment based on the voltage and current signals of the motor, and limits the angle increment estimation value based on the forward and reverse control, and obtains the rotor angle estimation value by accumulation; The input end of the selection module is connected to the output end of the rotor angle calculation module and the output end of the rotor angle estimation module respectively, and the rotor angle calculation value or the rotor angle estimation value is selected to control the motor based on the selection signal provided by the logic control module.
2. The forward and reverse control circuit of a position sensorless motor according to claim 1, characterized in that: The rotor angle calculation module includes a first adder; the first adder is connected to the output end of the logic control module, and sums the forced drag angle increment at the current moment and the rotor angle calculation value at the previous moment to obtain the rotor angle calculation value at the current moment.
3. The forward and reverse control circuit of a position sensorless motor according to claim 1, characterized in that: The forward and reverse control circuit of the position sensorless motor also includes a warning module, which is connected to the output end of the rotor angle estimation module. It determines whether a limitable forward and reverse control event occurs based on the angle increment estimated before and after the forward and reverse control, and outputs an effective warning signal when a limitable forward and reverse control event occurs.
4. The forward and reverse control circuit of a position sensorless motor according to any one of claims 1 to 3, characterized in that: The rotor angle estimation module includes an angle plus increment estimation unit, a first increment limiting unit, a second adder, a second increment limiting unit, a forward and reverse rotation limiting unit and a third adder; The angle plus increment estimation unit estimates the angle plus increment intermediate value based on the current and voltage signals in the stationary two-phase coordinate system; The first increment limiting unit is connected to the output end of the angle plus increment estimating unit, and limits the upper and lower limits of the angle plus increment intermediate value to obtain the angle plus increment estimated value; The second adder is connected to the output end of the first increment limiting unit, and sums the angle increment estimated value at the current moment and the angle increment estimated value at the previous moment to obtain the angle increment intermediate value at the current moment; The second increment limiting unit is connected to the output end of the second adder, and directly outputs the intermediate value of the angle increment in open-loop control; and limits the minimum speed of the angle increase in closed-loop control; The forward and reverse limiting unit is connected to the output end of the second increment limiting unit, and outputs a corresponding angle increment estimation value based on the forward and reverse control signal; The third adder is connected to the output end of the forward and reverse rotation limiting unit, and sums the angle increment estimation value at the current moment and the rotor angle estimation value at the previous moment to obtain the rotor angle estimation value at the current moment.
5. The forward and reverse control circuit of a position sensorless motor according to claim 4, characterized in that: The angle plus increment estimation unit includes an observer, a phase-locked loop and a proportional-integral regulator; the observer receives current and voltage signals in a stationary two-phase coordinate system and estimates the back electromotive force of the motor; the phase-locked loop is connected to the output end of the observer and is used to calculate the back electromotive force error; the proportional-integral regulator is connected to the output end of the phase-locked loop and estimates the intermediate value of the angle plus increment based on the back electromotive force error.
6. A motor controller, characterized in that: The motor controller comprises at least: a forward and reverse control circuit for a position sensorless motor as described in any one of claims 1 to 5.
7. A method for controlling forward and reverse rotation of a position sensorless motor, characterized in that: The forward and reverse control method of the position sensorless motor at least comprises: 1) The motor is started in an open-loop control mode, and the rotor angle and angle increment of the motor are estimated. As the rotor angle increases, the motor speed gradually increases; 2) When back electromotive force is detected and the deviation between the rotor angle and the estimated rotor angle and the deviation between the angle increment and the estimated angle increment are within the corresponding preset range, the motor is controlled by the estimated rotor angle to enter a closed-loop control mode; and the sign of the estimated angle increment is limited based on the forward and reverse control signals to avoid changes in the direction of the motor.
8. The method for controlling the forward and reverse rotation of a position sensorless motor according to claim 7, characterized in that: In the open-loop control mode, the initial value of the forced drag angle is continuously accumulated with the forced drag angle increment to determine the rotor angle; and the motor is controlled to rotate forward and reverse based on the sign of each forced drag angle increment.
9. The forward and reverse control method of a position sensorless motor according to claim 7 or 8, characterized in that: In closed loop control mode: 21) Estimating the angle plus increment intermediate value based on the current and voltage signals in the stationary two-phase coordinate system; 22) limiting the upper and lower limits of the intermediate value of the angle plus increment to obtain an estimated value of the angle plus increment; 23) Sum the angle increment estimate at the current moment and the angle increment estimate at the previous moment to obtain the intermediate value of the angle increment at the current moment; 24) limiting the lower limit of the intermediate value of the angle increment greater than zero, and limiting the upper limit of the intermediate value of the angle increment less than zero; 25) Outputting corresponding angle increment estimation value based on the forward and reverse control signals; 26) The angle increment estimate at the current moment and the rotor angle estimate at the previous moment are summed to obtain the rotor angle estimate at the current moment.
10. The forward and reverse rotation control method of a position sensorless motor according to claim 9, characterized in that: In step 25), when the forward and reverse control signals are configured to allow only clockwise rotation, When the forward and reverse control signals are configured to allow only counterclockwise rotation, in, is the estimated value of the angle increment, is the intermediate value of the angle increment obtained in step 24).
11. The forward and reverse rotation control method of a position sensorless motor according to claim 9, characterized in that: The forward and reverse rotation control method of the position sensorless motor also includes: judging whether the intermediate value of the angle increment is equal to the estimated value of the angle increment, and outputting a valid warning signal if they are not equal.
Citation Information
Cited By
Motor starting direction judgment method, storage medium and motor control system
CN120150561A
