[go: up one dir, main page]

CN112787566B - Control method and system - Google Patents

Control method and system Download PDF

Info

Publication number
CN112787566B
CN112787566B CN201911086170.5A CN201911086170A CN112787566B CN 112787566 B CN112787566 B CN 112787566B CN 201911086170 A CN201911086170 A CN 201911086170A CN 112787566 B CN112787566 B CN 112787566B
Authority
CN
China
Prior art keywords
electromotive force
motor
average value
back electromotive
related quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911086170.5A
Other languages
Chinese (zh)
Other versions
CN112787566A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Sanhua Research Institute Co Ltd
Original Assignee
Hangzhou Sanhua Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Sanhua Research Institute Co Ltd filed Critical Hangzhou Sanhua Research Institute Co Ltd
Priority to CN201911086170.5A priority Critical patent/CN112787566B/en
Publication of CN112787566A publication Critical patent/CN112787566A/en
Application granted granted Critical
Publication of CN112787566B publication Critical patent/CN112787566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/032Preventing damage to the motor, e.g. setting individual current limits for different drive conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Stepping Motors (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The invention discloses a control method for controlling a motor, which is used for comparing an obtained average value Bm of back electromotive force or related quantity of back electromotive force of the motor with a previous average value Bm0, if the average value Bm of the back electromotive force or related quantity of the back electromotive force of the motor changes towards the same direction for more than two times continuously and the variation reaches a first set value V1, or the sum of the variation of the back electromotive force or related quantity of the back electromotive force of the motor for more than two times continuously is larger than a second set value V2, the possibility of jumping is judged, so that the working state of the motor is obtained, and dynamic control is realized.

Description

Control method and system
Technical Field
The invention relates to the field of electric control, in particular to a control method.
Background
When the motor runs normally in the running process, the current of a motor coil can change according to a normal rule; another situation is that a locked-rotor condition may occasionally occur, i.e. a condition in which the motor rotates at 0 and still outputs torque, referred to herein as a locked-rotor condition, where the current of the motor coil may exceed the rated current of the motor. The motor and even the system can be influenced to a certain extent, so that the effective operation state of the motor is judged, and the subsequent problems caused by the locked rotor of the motor can be effectively reduced by correspondingly controlling the motor, thereby achieving the purpose of more effectively operating the motor and the whole system.
Disclosure of Invention
The application provides a control method and a control system, so that a motor and the system can run more effectively.
A control method, which can be used for a system with a motor; the control method comprises the following steps:
a, obtaining the counter electromotive force or the related quantity of the counter electromotive force of the motor when the motor runs; processing the data of the back electromotive force or the related quantity of the back electromotive force of the motor to obtain an average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor;
b, comparing the obtained average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor with the previous average value Bm0 of the back electromotive force or the related quantity of the back electromotive force, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor continuously changes in the same direction for n times or not, and whether the variation of the continuous n times is larger than or equal to a first set value V1 or not, if the variation of the continuous n times is larger than or equal to the first set value V1, judging that the variation is jumping, wherein n is an integer and is larger than or equal to 2; or comparing the obtained average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor with the previous average value Bm0 of the back electromotive force or the related quantity of the back electromotive force, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor changes in the same direction for n times continuously, whether the sum of the variation of the n times continuously is larger than or equal to a second set value V2, and if the sum of the variation of the n times continuously is larger than or equal to the second set value V2, judging that the jump is carried out.
The step b may specifically include:
when the working state of the motor is normal operation, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is smaller than the average value Bm0 of the last back electromotive force or the related quantity of the back electromotive force of the motor;
if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is smaller than the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor at the last time, obtaining the absolute value delta Bm of the difference between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 at the last time or obtaining the difference delta Bm of the average value Bm0 at the last time and the average value Bm at the current time;
whether the absolute value delta Bm of the difference between the counter electromotive force of the motor or the average value Bm of the related quantity of the counter electromotive force and the last average value Bm0 or whether the difference delta Bm of the obtained difference between the last average value Bm0 of the related quantity of the counter electromotive force of the motor and the current average value Bm is larger than or equal to a first set value V1 or not is judged, if the delta Bm is larger than or equal to the first set value V1, whether the counter electromotive force of the motor or the average value Bm of the related quantity of the counter electromotive force is reduced for n times continuously or not is judged, whether the delta Bm is larger than or equal to the first set value V1 for n times continuously or not is judged, and if yes, jump is judged; or, judging whether the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, if the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, whether the sum of Δ Bm of the n times continuously is larger than or equal to a second set value V2, and if so, judging that the jump is carried out.
The step b may also specifically include:
when the working state of the motor is locked rotor, judging whether the average value Bm of the counter electromotive force or the counter electromotive force related quantity of the motor is larger than the average value Bm0 of the last counter electromotive force or the counter electromotive force related quantity of the motor;
if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is larger than the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor at the last time, obtaining the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 at the last time;
whether the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the last average value Bm0 is larger than or equal to a first set value V1 or not is judged, whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times or not is judged if the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force and the last average value Bm0 is larger than or equal to the first set value V1 or not is judged, and if yes, jump is judged; or, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times, if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times, whether the sum of the difference Δ Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the last average value Bm0 of the motor for n times is larger than or equal to a second set value V2, and if so, judging the jump.
Also provided is a system comprising a control device and a motor, the control device comprising a temporary or random access memory capable of storing a back-emf or a back-emf related quantity of the motor, an average value Bm of the back-emf or the back-emf related quantity of the motor; the system is controlled to operate by the control method.
The technical scheme that this application provided, through detecting the running state of motor is judged whether probably changes to the counter electromotive force or the relevant volume of counter electromotive force and the law that changes of motor for self-adaptation detection and control or as the auxiliary control to the motor, can make system control more reliable.
Drawings
FIG. 1 is a schematic diagram of a portion of the logic of a control method according to an embodiment;
FIG. 2 is a schematic logic diagram of a portion of a control method according to another embodiment;
FIG. 3 is a schematic diagram of a partial logic of a control method according to yet another embodiment;
FIG. 4 is a flow diagram illustrating one manner of obtaining dynamic normal and locked rotor thresholds;
FIG. 5 is a schematic illustration of one result of dynamic verification using the present control method;
FIG. 6 is a schematic diagram of a partial logic of a control method according to another embodiment;
FIG. 7 is a schematic diagram of another process for obtaining dynamic normal and locked rotor thresholds;
FIG. 8 is a schematic flow chart of the motor state determination;
FIG. 9 is a partial flow diagram of motor control after obtaining motor status;
FIG. 10 is a partial flow diagram of a motor jump determination;
FIG. 11 is another partial flow diagram of motor jump determination;
FIG. 12 is a schematic partial flow chart of a motor jump determination;
fig. 13 is a partial flow diagram of a threshold update.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution will be described below with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the technical solution of the present invention, and not all embodiments. Those skilled in the art can modify, combine and replace the embodiments based on the embodiments, and all other embodiments obtained by the technical personnel without creative efforts shall fall within the protection scope of the present invention.
When the motor runs, the counter electromotive force may be changed according to the specific operating conditions of the system used, for example, different loads, such as different motor rotation speeds, may be distinguished from each other, and the motor may occasionally have a locked-rotor condition due to various reasons. The back electromotive force of the motor in normal operation and locked rotor is different.
The running working conditions of the motors are different, when different loads run at different speeds, the counter electromotive force of the motors is changed during normal running, and the counter electromotive force of the motors during locked-rotor can be different; the back electromotive force of the same load motor under two working conditions of normal operation and locked rotor is different. Therefore, when different loads operate, the threshold value for judging the operation state of the motor is preferably changed according to the operation condition; the threshold value for distinguishing normal operation and locked rotor of the motor is preferably adjusted correspondingly when the motor is under different loads and different speeds, which is referred to as a normal threshold value and a locked rotor threshold value, and the dynamic judgment on whether the motor is in normal operation or locked rotor is carried out, and the self-adaptive dynamic control is carried out, so that the accurate judgment can be carried out more accurately according to the counter electromotive force of the motor in operation or the related quantity of the counter electromotive force.
The correlation amount of the back electromotive force may be a positive correlation or a negative correlation, and the positive correlation is specifically described as an example below.
Referring to fig. 1, the local logic of one of the control methods may be combined with fig. 7, and the method includes the following steps:
and S11, when the motor runs, acquiring the back electromotive force of the motor or the related quantity Bemf of the back electromotive force at regular intervals. The related quantity of the back electromotive force means that the corresponding back electromotive force can be obtained according to the related quantity, such as a digital quantity or other electric signals related to the back electromotive force obtained by a sampling circuit, so that the back electromotive force can be obtained. The acquired interval time can be specifically set and adjusted, such as 10ms or 5ms or even 2ms interval time and the like; and storing the collected or obtained back electromotive force of the motor or the related quantity Bemf thereof into a temporary memory or a random access memory, wherein the memory can store corresponding data, such as 6 groups or 10 groups or 20 groups, and the like, and the newly obtained back electromotive force or the related quantity of data can replace the originally stored group of data.
The number of sets of data stored may be determined, resulting in a new set of data replacing the relatively oldest set of data in the set of data.
S12, removing the maximum value and the minimum value of the collected back electromotive force or the related quantity Bemf thereof, and averaging the rest groups of data to obtain the average value of the back electromotive force or the average value Bm of the related quantity of the back electromotive force;
step S13, comparing the obtained back electromotive force or the average value Bm of the related quantity Bemf with a stored normal threshold Br or an initial value of the normal threshold Br; if Bm > Br, go to step S15, if Bm is not greater than Br, go to step S14.Bm > Br shows that the motor is in a normal operation state.
When the operation is started, if the temporary memory or the random access memory does not have the normal threshold Br, the initial value of the normal threshold stored in the memory can be adopted; such as reading the initial value of the normal threshold of the memory as the normal threshold.
Step S14, comparing the obtained back electromotive force or the average value Bm of the correlation Bemf with a locked rotor threshold value Bs or an initial value thereof; if Bm < Bs, go to step S16, if Bm is not less than Bs, go to step S11; bm < Bs indicates that the motor may be in a locked-rotor state.
When the operation is started, if the temporary memory or the random access memory has no locked-rotor threshold Bs, the initial value of the locked-rotor threshold stored in the memory can be adopted; for example, an initial value of the locked-rotor threshold of the memory is read as the locked-rotor threshold.
Step S15, updating the normal threshold Br: according to the original normal threshold Br and the average value Bm, the normal threshold Br is given again through operation, namely, the normal threshold Br is properly adjusted according to the running back electromotive force or the average value Bm of the relevant quantity Bemf, so that the normal threshold Br is more reliable; the specific examples include: br + Bm (1-A) C2, and a new normal threshold Br is given after operation; wherein a is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, etc., A is greater than or equal to 0.7; c2 is a normal threshold coefficient, and 0.5 is constructed with C2 less than or equal to 0.9.
In addition, the calculation can also be performed according to the original normal threshold Br, the obtained average value Bm and the average value stored in the original locked-rotor state, that is, the new Br is related to the original normal threshold Br, the average value of the back electromotive force of the current normal operation and the average value of the back electromotive force of the original locked-rotor state.
Step S16, judging whether the motor is in an initialization stage, and if so, turning to step S17; if not, go to step S18;
s17, completing the initialization of the motor, and turning to the step S11;
and step S18, judging that the motor is possibly in a locked-rotor state. The motor locked-rotor signal can be sent out for alarming; or the motor is debugged in a locked-rotor manner, if the motor rotates forwards and backwards to improve locked-rotor, the judgment is carried out again; or the motor is judged to be possibly in a locked-rotor state, and a signal is sent out to further combine other signals for judgment and the like. The locked rotor threshold Bs can be updated at the same time: calculating according to the original locked rotor threshold value Bs and the current average value Bm, and endowing the locked rotor threshold value Bs again, namely, properly adjusting the locked rotor threshold value Bs according to the running back electromotive force or the average value Bm of the relevant quantity Bemf thereof, so that the locked rotor threshold value Bs is more reliable; the specific examples include: bs + Bm (1-B) C1; wherein B is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, etc., B is greater than or equal to 0.7; c1 is a locked-rotor threshold coefficient, and 2 is formed by the yarns C1. In addition, the lock-rotor threshold Bs may be updated after a certain number of times, such as 2 times, 3 times, or 5 times.
Or the calculation can be performed according to the original stalling threshold Bs, the obtained average value Bm of the current back electromotive force or the related quantity and the original normal running back electromotive force or the related quantity average value, that is, the new stalling threshold Bs is related to the original normal running back electromotive force average value, the current running back electromotive force average value and the original stalling threshold; the new normal threshold Br is associated with the average value of back emf for normal operation and the average value of back emf for the original stall and the original normal threshold.
Obtaining the possible locked rotor of the motor through the back electromotive force, and judging that the motor initialization is finished if the motor is in the initialization stage; if the motor stalling strategy is executed in the non-initialization stage, for example, the current command is executed or the motor is directly stopped after stalling occurs, and the command of an upper computer is waited for initialization or automatic initialization or further judgment and the like; or locked rotor debugging can be performed first.
Therefore, when a system motor operates, the system detection and judgment can be more reliable through the setting of the normal threshold and the locked rotor threshold, and the normal threshold or the locked rotor threshold is dynamically updated as necessary, so that the normal threshold or the locked rotor threshold is more suitable for the actual system operation condition, can be used for self-adaptive detection and control or as auxiliary control on the motor, can adapt to the control requirement of the change of the specific operation condition, can effectively avoid the subsequent problems caused by the locked rotor fault of the motor, and correspondingly improves the judgment accuracy, thereby achieving the purpose of protecting the motor and the whole system.
An additional embodiment is described below with reference to fig. 2 in conjunction with fig. 7. The control method comprises the following steps:
and S21, when the motor runs, acquiring the back electromotive force of the motor or the related quantity Bemf of the back electromotive force at regular intervals. The relative amount of the back electromotive force, such as a digital quantity or other electric signals obtained by a sampling circuit, can be used for obtaining the quantity or parameters of the back electromotive force. The acquired interval time can be specifically set and adjusted, such as 10ms or 5ms or even 2ms interval time and the like; the collected back electromotive force of the motor or the related quantity Bemf thereof is stored in a temporary memory (random access memory), the memory can store corresponding data, such as 6 groups, 10 groups, 20 groups and the like, and the collected data can replace the originally stored group of data.
The number of sets of data stored may be determined, resulting in new data replacing the relatively oldest set of data in the set of data.
Step S22, removing the maximum value and the minimum value or removing abnormal values such as abnormally large or abnormally small values from the collected counter electromotive force or the related quantity Bemf thereof, and averaging the rest groups of data to obtain an average value Bm of the counter electromotive force or the related quantity Bemf thereof;
step S23, comparing the obtained back electromotive force or the average value Bm of the related quantity Bemf with a stored normal threshold Br; if Bm > Br, go to step S25, if Bm is not greater than Br, go to step S24.Bm > Br shows that the motor is in a normal operation state.
Step S24, comparing the obtained back electromotive force or the average value Bm of the related quantity Bemf with the stored locked rotor threshold value Bs; if Bm < Bs, go to step S26, if Bm is not less than Bs, go to step S21; bm < Bs indicates that the motor may be in a locked-rotor state.
Step S25, updating the normal threshold Br: calculating according to the original normal threshold Br and the average value Bm, and endowing the normal threshold Br again, namely properly adjusting the normal threshold Br according to the running back electromotive force or the average value Bm of the relevant quantity Bemf thereof, so that the normal threshold Br is more reliable; the specific examples include: br + Bm (1-A) C2, and a new normal threshold Br is given after operation; wherein a is an adjustment coefficient, which may specifically be as follows: 0.7, 0.8, 0.9, etc., A is greater than or equal to 0.7; c2 is a normal threshold coefficient, and the 0.5-woven fabric C2 is less than or equal to 0.9.
Or the operation can be carried out according to the original normal threshold value Br, the obtained average value Bm and the original average value stored in the locked rotor, namely the new Br is related to the original normal threshold value Br, the current normal running back electromotive force average value and the original locked rotor back electromotive force average value.
Or judging whether the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is greater than a normal threshold value for n times continuously, and if not, continuing to detect and judge; if yes, updating the normal threshold value Br;
and S26, judging that the motor is possibly in a locked-rotor state, sending a motor locked-rotor signal for alarming, or performing locked-rotor prevention treatment on the motor, such as performing forward and reverse rotation to improve locked-rotor, and then judging again, or sending a signal to enable the system to further combine with others for judgment, and the like. The locked rotor threshold Bs can be updated at the same time: calculating according to the original locked rotor threshold value Bs and the average value Bm, and endowing the locked rotor threshold value Bs again, namely, properly adjusting the locked rotor threshold value Bs according to the running back electromotive force or the average value Bm of the relevant quantity Bemf thereof, so that the locked rotor threshold value Bs is more reliable; the operation formula may specifically be as follows: bs B + Bm (1-B) C1; wherein B is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, etc., B is greater than or equal to 0.7; c1 is a locked-rotor threshold coefficient, and 2 is formed by the yarns C1.
The updating of the threshold value can also be carried out according to whether the counter electromotive force of the motor or the average value Bm of the related quantity of the counter electromotive force is continuously smaller than the locked rotor threshold value for n1 times, so as to update the locked rotor threshold value Bs, and if not, the detection and the judgment are continuously carried out; if yes, updating the locked rotor threshold Bs.
Or the new locked rotor threshold Bs is related to the original normal running back electromotive force or the related quantity average value, the current running back electromotive force or the related quantity average value and the original locked rotor threshold value; the new normal threshold Br is associated with the average of the back emf or related quantities for normal operation and the average of the back emf or related quantities for the original stall and the original normal threshold.
This embodiment may be applied to the control of the normal operation process, i.e. the way the further control is initiated. In addition, the above embodiment may be changed, for example, it may be determined whether the value is smaller than the locked-rotor threshold, and then determined whether the value is larger than the normal threshold.
In addition, the depolarization value can also be in another mode, such as removing some obviously abnormal data and the like. Referring to fig. 3, the control method includes the following steps:
and S31, when the motor runs, acquiring the back electromotive force of the motor or the related quantity Bemf of the back electromotive force at regular intervals. The relative amount of the back electromotive force, such as a digital quantity or other electric signals obtained by a sampling circuit, can be used for obtaining the quantity or parameters of the back electromotive force. The acquired interval time can be specifically set and adjusted, such as 10ms or 5ms or even 2ms interval time and the like; the collected back electromotive force of the motor or the related quantity Bemf thereof is stored in a temporary memory (random access memory), the memory can store corresponding data, such as 5 groups, 6 groups, 10 groups or 20 groups, and the collected data can replace the originally stored group of data.
The number of sets of data stored may be determined, a new set of data may be obtained, and the relatively oldest set of data in the sets of data may be replaced.
Step S32, removing abnormal high or low values from the collected data to calculate the average value, and calculating the average value of the obtained data if no abnormal value exists; or removing the maximum value and the minimum value, and averaging the rest groups of data; obtaining the average value of the back electromotive force or the average value Bm of the related quantity thereof;
step S33, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with the stored locked rotor threshold value Bs; if Bm < Bs, go to step S34, and if Bm is not less than Bs, go to step S36.Bm < Bs indicates that the motor may be in a locked-rotor state.
Step S34, according to the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof and the original locked rotor threshold value Bs, operation is carried out to endow the locked rotor threshold value Bs again, namely, according to the running average value of the back electromotive force or the average value Bm of the related quantity thereof, the locked rotor threshold value Bs is properly adjusted, so that the locked rotor threshold value Bs is more reliable; the specific new stalling threshold Bs may be as follows: bs B + Bm (1-B) C1. In addition, whether or not to update the stalling threshold Bs may be determined based on whether or not the counter electromotive force of the motor or the average value Bm of the counter electromotive force correlation amount is smaller than the stalling threshold n1 times in succession.
And S35, judging whether the motor is possibly in a locked-rotor state, sending a motor locked-rotor signal for alarming, or performing anti-locked-rotor treatment on the motor, if the motor rotates in forward and reverse directions to improve locked-rotor, judging again or judging whether the motor is possibly in the locked-rotor state, sending a signal to enable the system to further combine other judgment, and the like. Further, the stalling threshold Bs may be updated at the same time from step S33 to step S35.
Step S36, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with a normal threshold Br; if Bm is greater than Br, updating the normal threshold Br, and turning to the step S31; if Bm is not greater than Br, go to step S31.Bm & gt Br shows that the motor is in a normal operation state
Updating a normal threshold Br: calculating according to the original normal threshold Br and the average value, and endowing the normal threshold Br again, namely properly adjusting the normal threshold Br according to the average value of the running back electromotive force or the average value Bm of the related quantity thereof, so that the normal threshold Br is more reliable; the specific examples include: br + Bm (1-A) C2, and a new normal threshold Br is given after operation;
wherein a is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, etc., A is greater than or equal to 0.7; c2 is a normal threshold coefficient, and the 0.5-woven fabric C2 is less than or equal to 0.9.B is an adjustment coefficient, which may be specifically as follows: 0.7, 0.8, 0.9, etc., B is greater than or equal to 0.7; c1 is a locked-rotor threshold coefficient, and 2 is formed by the yarns C1.
In addition, the calculation can also be performed according to the original lock-rotor threshold Bs, the obtained average value Bm and the stored average value during the original normal operation, that is, the new lock-rotor threshold Bs is related to the original normal operation back electromotive force average value, the current operation back electromotive force average value and the original lock-rotor threshold; the new normal threshold Br is associated with the average of the back emf for normal operation and the average of the back emf for the original stall and the original normal threshold.
Referring now to fig. 4, in another embodiment, the control method includes the steps of:
step S41, when the motor runs, acquiring a normal threshold Br and a locked rotor threshold Bs or initial values of the normal threshold Br and the locked rotor threshold Bs as the normal threshold Br and the locked rotor threshold Bs;
in step S42, an average value of the back electromotive forces of the motor operation or an average value Bm of the correlation thereof is acquired. Specifically, the back electromotive force of the motor or the related quantity Bemf thereof may be collected at regular intervals. The relative amount of back emf is, for example, a digital quantity or other electrical signal obtained by a sampling circuit. The time interval of the acquisition can be set and adjusted, such as the time interval of 10ms or 5ms or even 2ms and the like; the obtained back electromotive force or the related quantity Bemf thereof can be stored in a temporary memory or a random access memory, the memory can store corresponding data, such as 6 groups or 10 groups or 20 groups, and the like, the collected data of the back electromotive force can replace the originally stored group of data, and then the data are processed to obtain an average value. The number of sets of data stored may be determined, resulting in new data, which may replace the relatively oldest set of data with new data.
Step S43, judging whether the motor is locked or not according to the obtained initial values of the normal threshold Br and the locked rotor threshold Bs or the initial values of the normal threshold Br and the locked rotor threshold Bs and the average value of the back electromotive force or the related quantity Bemf thereof, if the judgment result is locked, turning to step S44, and if the judgment result is not locked, turning to step S45;
in step S44, the stalling threshold Bs is updated. According to the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof and the initial value of the original locked rotor threshold value Bs, the original locked rotor threshold value Bs is calculated and updated by the obtained locked rotor threshold value Bs, namely, the locked rotor threshold value Bs is properly adjusted according to the running average value of the back electromotive force or the average value Bm of the related quantity thereof, so that the locked rotor threshold value Bs can be dynamically updated, and the control is more reliable; specifically, the following operations can be performed: bs + A + Bm (1-A) C1 to obtain a new locked rotor threshold value Bs; in addition, counting can also be carried out, the locked rotor threshold Bs is updated after n1 times of continuous counting is reached, n1 is an integer, for example, the value ranges from 2 to 5, if a non-locked rotor state occurs in the middle, n1 is reset, and counting is restarted;
and step S45, judging whether the motor is in a normal running state, and if so, updating the normal threshold Br. Specifically, the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof is compared with a stored normal threshold, if the motor is judged to be in a normal running state, the original normal threshold Br is updated by calculating the obtained normal threshold Br after operation, that is, the normal threshold Br is appropriately adjusted according to the average value of the running back electromotive force or the average value Bm of the related quantity thereof, and the normal threshold Br is dynamically adjusted by combining the current running working condition of the motor, which specifically includes the following operations: br a + Bm (1-a) C2, resulting in a new normal threshold Br. In addition, counting can also be carried out, the normal threshold Br is updated after n times of continuous reaching, n is an integer, for example, between 2 and 5, if an abnormal state occurs in the middle, n is reset, and counting is restarted.
Wherein a is an adjustment coefficient, which may specifically be as follows: 0.7, 0.8, 0.85, 0.9, etc., A is greater than or equal to 0.7; c2 is a normal threshold coefficient, and the 0.5-woven fabric C2 is less than or equal to 0.9. C1 is a locked-rotor threshold coefficient, and 2 is formed by the yarns C1.
Or the new lock-rotor threshold Bs is related to the original normal running back electromotive force or the related quantity average value, the current running back electromotive force or the related quantity average value and the original lock-rotor threshold value; the new normal threshold value Br is related to the normal running counter electromotive force average value, the original locked-rotor counter electromotive force average value and the original normal threshold value; the initial value can be used as a reference initially, and the dynamic normal threshold or locked rotor threshold is used as a reference after operation.
By using the control method, the threshold value is correspondingly adjusted along with the running working condition of the motor, and the probability of misjudgment caused by the mode of setting the fixed threshold value is reduced aiming at the fluctuation of the counter electromotive force caused by the change of the working condition. The use of two thresholds makes the determination relatively more reliable. Fig. 5 is a schematic diagram of one result of dynamic threshold verification using the present control method. The normal threshold Br and the locked rotor threshold Bs can be properly changed along with the change of the back electromotive force related quantity Bm, so that the control is more stable and reliable, and the possibility of misjudgment is reduced. Bemf is the actual acquisition result, which is the AD sampling result, and is positively correlated with the back electromotive force. In addition, the actual voltage value can be used, step is position operation feedback of a product, for example, the actual mechanical stroke of the product for the motor is 3093 half steps, and in order to acquire locked-rotor BEMF data, the software stroke of the product is set to 4000 half steps, so that in the process of product operation, after the stroke exceeds 3093 half steps, the locked-rotor condition occurs. From the results of the Bemf acquisition, it can be seen that in the locked-rotor state, the Bemf value is relatively smaller than the results of the normal operation. Br is a normal threshold value, namely the BEMF exceeding the threshold value is judged to be normal; bs is a stalling threshold, i.e., BEMF less than the threshold is judged to be possible stalling. The normal threshold Br is larger than the locked-rotor threshold Bs, the locked-rotor threshold Bs is larger than most of back electromotive force when the motor is locked-rotor, and the normal threshold Br is smaller than most of back electromotive force when the motor normally runs; the normal threshold Br is larger than the average value of the counter electromotive force when the motor is locked and the counter electromotive force when the motor normally runs, and the locked-rotor threshold Bs is smaller than the average value of the counter electromotive force when the motor normally runs and the counter electromotive force when the motor is locked; or the normal threshold Br is larger than the average value of the back electromotive force when the motor is locked and the average value of the back electromotive force during normal operation, and the locked threshold Bs is smaller than the average value of the back electromotive force when the motor is normally operated and the average value of the back electromotive force during locked operation.
In addition, the control method may further include the embodiment shown in fig. 6, and the control method includes the steps of:
and S61, when the motor runs, acquiring the back electromotive force of the motor or the related quantity Bemf of the back electromotive force at certain time intervals.
The relative amount of back emf is, for example, a digital quantity or other electrical signal obtained by a sampling circuit. The acquired interval time can be specifically set and adjusted, such as 10ms or 5ms or even 2ms interval time and the like; the collected back electromotive force of the motor or the related quantity Bemf thereof is stored in a temporary memory, i.e. a random access memory, the memory can store corresponding data, such as 6 groups or 10 groups or 20 groups, and the collected back electromotive force or the related quantity Bemf thereof can replace the originally stored group of data. The number of sets of data stored may be determined, resulting in a new set of data that may replace the relatively oldest set of data in the set of data.
Step S62, removing abnormal values, such as a particularly high value or a particularly low value, of the collected back electromotive force or the related quantity Bemf thereof, and averaging the rest of data; if no abnormal value exists, averaging the obtained data; obtaining the average value of the back electromotive force or the average value Bm of the related quantity thereof;
step S63, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with a stored normal threshold Br, starting to have no normal threshold, and comparing the normal threshold with an initial value of the normal threshold; if Bm is greater than Br, updating the normal threshold Br or counting, and updating the normal threshold Br after the counting reaches n times; and returns to step S61; if Bm is not greater than Br, go to step S64; bm > Br shows that the motor is in a normal operation state;
step S64, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with the original locked rotor threshold value Bs, and if no locked rotor threshold value exists, comparing the obtained average value with an initial locked rotor threshold value; if Bm < Bs, go to step S65, if Bm is not less than Bs, go to step S61.Bm < Bs indicates that the motor is possibly in a locked-rotor state;
and step S65, judging that the motor is possibly in a locked-rotor state, sending a motor locked-rotor signal alarm or a signal to a control device or an upper computer, or carrying out locked-rotor debugging on the motor, such as locked-rotor processing program, for example, carrying out forward and reverse rotation to improve locked-rotor, and then carrying out judgment again, and the like. In addition, the stalling threshold Bs may be updated simultaneously, or counted, the stalling threshold Bs may be updated after the count reaches n times, n1 is an integer, such as between 2-5 or 3-8, and if a non-stalling state occurs in the middle, n1 is reset, and the counting is restarted.
Referring to fig. 7, the control method includes the following steps:
step S71, when the motor runs, acquiring initial values of the normal threshold Br and the locked rotor threshold Bs or both, and acquiring an average value of the back electromotive force of the running motor or an average value Bm of the related quantity thereof. Specifically, the back electromotive force of the motor or the related quantity Bemf thereof may be collected at regular intervals. The relative amount of back emf is, for example, a digital quantity or other electrical signal obtained by a sampling circuit. The time interval of the acquisition can be specifically adjusted, such as 10ms or 5ms or even 2ms time interval and the like; the collected back electromotive force of the motor or the related quantity Bemf thereof is stored in a temporary memory, i.e., a random access memory, the random access memory can store corresponding data, such as 6 groups, 10 groups, 20 groups and the like, the collected data can replace the originally stored group of data, and then the average value is obtained by using the data. The number of sets of data stored may be determined, resulting in new data, which may replace the relatively oldest set of data with new data.
Step S72, judging whether the motor is locked or not according to the obtained normal threshold Br, the locked rotor threshold Bs or the initial value and the average value of the back electromotive force or the related quantity Bemf thereof, if so, turning to step S73, and if not, turning to step S74; the initial values of the normal threshold value Br and the locked rotor threshold value Bs can be original values stored in a memory, or the normal threshold value Br and the locked rotor threshold value Bs stored in a temporary memory in the last operation;
step S73, the stalling threshold Bs is updated. Calculating and updating the original locked rotor threshold value Bs by the obtained locked rotor threshold value Bs according to the obtained average value of the back electromotive force or the average value Bm of the related quantity of the back electromotive force and the original locked rotor threshold value Bs, namely properly adjusting the locked rotor threshold value Bs according to the average value of the running back electromotive force or the average value Bm of the related quantity of the running back electromotive force to enable the locked rotor threshold value Bs to be more suitable for the requirements of actual running working conditions; specifically, the following operations can be performed: bs + Bm (1-B) C1 to obtain a new locked rotor threshold value Bs; alternatively, counting may be performed, wherein the stalling threshold Bs is updated after n1 consecutive times, n1 is an integer, such as between 2-5 or 3-8, and if a non-stalling state occurs in the middle, n1 is reset and counting is resumed.
Wherein B is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, 0.85, etc., B is greater than or equal to 0.7; c1 is a locked-rotor threshold coefficient, and 2 is formed by the yarns C1.
And step S74, judging whether the motor is in a normal running state, and if so, updating the normal threshold Br. Specifically, the obtained average value Bm of the back electromotive force or the average value Bm of the related quantity thereof is compared with a stored normal threshold Br or an initial value thereof, if the motor is judged to be in a normal operation state, the normal threshold Br is updated by calculating the obtained normal threshold Br after operation, that is, the normal threshold Br is appropriately adjusted according to the average value Bm of the back electromotive force or the average value of the related quantity thereof, and the normal threshold Br is more reliable by combining the current operating condition of the motor, and the following operations are specifically performed: br a + Bm (1-a) C2, resulting in a new normality threshold Br.
Wherein a is an adjustment coefficient, which may specifically be: 0.7, 0.8, 0.9, 0.85, etc., A is greater than or equal to 0.7; c2 is a normal threshold coefficient, and 0.5 is constructed with C2 less than or equal to 0.9.
In addition, the calculation can also be carried out according to the original stalling threshold Bs, the obtained average value Bm and the stored back electromotive force or correlation value average value in the original normal operation, namely, the new stalling threshold Bs is related to the original back electromotive force or correlation value average value in the normal operation, the back electromotive force or correlation value average value in the current operation and the original stalling threshold; the new normal threshold value Br is related to the back electromotive force or the average value of the related quantity of the normal operation, the original blocked back electromotive force or the average value of the related quantity and the original normal threshold value;
according to the embodiment, the initial values of the reasonable normal threshold and the locked rotor threshold are set and stored in the system or the control product according to the characteristics of the control product used by the motor. And simultaneously, the counter electromotive force or related data in the normal operation state and the counter electromotive force or related data in the locked rotor state can be stored. And during actual operation, dynamically updating the back electromotive force data in the normal operation state according to the obtained back electromotive force related data in the normal operation state, and dynamically updating the related data in the locked rotor state according to the obtained back electromotive force or related quantity data in the locked rotor state. When the operation is started, the normal threshold value can be dynamically updated by the initial value of the normal threshold value and the BEMF data in the normal operation state, and the locked-rotor threshold value can be dynamically updated by the initial value of the locked-rotor threshold value and the BEMF data in the locked-rotor state; or the normal threshold value can be dynamically updated according to the initial value of the normal threshold value, the back electromotive force related data in the normal running state and the back electromotive force related data in the locked rotor state, and the locked rotor threshold value can be dynamically updated according to the initial value of the locked rotor threshold value, the back electromotive force related data in the locked rotor state and the back electromotive force related data in the normal running state; and then, the updated normal threshold and the updated locked-rotor threshold are used for carrying out self-adaptive dynamic control, so that even if the system applied by the motor has larger change, the dynamic control can be adapted and carried out. Specifically, the original data is replaced by the obtained new threshold, that is, the finally obtained normal threshold and the locked-rotor threshold are stored in the temporary memory after each operation and used for the next operation; or, the original stored initial values of the normal threshold and the locked-rotor threshold are called each time the operation is started, the stored initial values of the normal threshold and the locked-rotor threshold can be stored in the memory, the original initial values are called each time the operation is started, the updated threshold is only used for the operation, the updated data are stored in the random access memory, and the initial values are kept in the memory unchanged. The control method can generate a threshold value for dynamic judgment according to the actual running condition, and the dynamic judgment threshold value is used as a judgment basis for judging the motor locked rotor or normal running; and judging the filtered back electromotive force according to the dynamically judged threshold value, outputting a state result for an upper-layer control strategy to apply, and taking the state result as a main or auxiliary basis for judging locked rotor.
The control method can also refer to fig. 8, and the subroutine is mainly used for obtaining the motor state, updating the motor state and performing corresponding control, and the method comprises the following steps:
and S81, acquiring the back electromotive force of the motor or the related quantity Bemf of the back electromotive force at regular intervals when the motor runs. The related quantity of the back electromotive force is a quantity or parameter of the back electromotive force which can be obtained through digital quantity or other electric signals obtained by a sampling circuit. The time interval of the acquisition can be specifically adjusted, such as 10ms or 5ms or even 2ms time interval and the like; the collected back electromotive force of the motor or the related quantity Bemf thereof is stored in a temporary memory (random access memory), the memory can store corresponding data, such as 5 groups, 6 groups, 10 groups or 20 groups, and the collected back electromotive force data can replace the originally stored group of data.
The number of data sets stored in the temporary memory may be determined, resulting in a new set of data that may replace the relatively oldest set of data in the data set. Initially data can be read from the memory. The data stored in the memory may include an initial value of a normal threshold, an initial value of a locked rotor threshold, BEMF data for a locked rotor state, BEMF data for a normal operating state. These data can remain unchanged, thus requiring memory and temporary storage; in addition, updates may be made so that only one memory need be included.
S82, removing abnormally high or abnormally low values of the acquired data, and averaging the acquired data if no abnormal value exists; or removing the maximum value and the minimum value, and averaging the rest groups of data; obtaining the average value of the back electromotive force or the average value Bm of the related quantity thereof;
step S83, is the original motor status locked? If yes, go to S84, if no, go to S86;
step S84, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with the stored locked rotor threshold value Bs; if Bm < Bs, it is determined that the motor is in the locked state and step S85 is performed, and if Bm is not less than Bs, it is determined that the motor may not be in the locked state and step S85 is performed. Bm < Bs indicates that the motor may be in a locked-rotor state.
And step S85, obtaining the current motor state, namely the locked-rotor state, and switching to a corresponding motor drive control program, and meanwhile, updating the threshold value when the conditions are met.
Step S86, comparing the obtained average value of the back electromotive force or the average value Bm of the related quantity thereof with a stored normal threshold Br; if Bm > Br, the motor belongs to the normal operation state and goes to step S85, if Bm is not greater than Br, it is determined that the motor may not belong to the normal operation state and goes to step S85.
For specific motor control, as shown in fig. 9, this is a schematic diagram of a subroutine of motor control, and includes the following steps:
step S91, is the motor state normal running state (i.e., motor state R)? If yes, turning to S92 or normal operation, returning to obtain information again and judging, and if not, turning to S93;
step S92, the motor normally runs and returns;
in step S93, is the motor state locked (i.e., motor state S)? If yes, go to S95, if no, go to S94;
step S94, stopping the motor;
step S95, is the motor initialized? If yes, go to S96, if no, go to S97;
step S96, the motor initialization is finished, and the motor is controlled to operate by returning to a normal operation state;
step S97, sending out an alarm signal: and (5) motor stalling or debugging and processing the motor stalling.
In addition, as shown in fig. 10, this is a schematic diagram of an embodiment of determining whether the motor jumps during a normal operation process, and may be specifically applied to a combination application when a suspected motor of the system is locked, or to a subroutine for a normal determination during a normal operation, and specifically includes the following steps:
step S101, in a normal running state (motor state R) of the motor, acquiring an average value of back electromotive force of the motor or an average value Bm of related quantity of the back electromotive force;
step S102, comparing the obtained average value Bm with the previous average value Bm0 of the back electromotive force or the BEMF of the related quantity, judging whether the current average value Bm is smaller than the previous average value Bm0, if so, turning to S103, and if not, returning to the previous-stage program or returning to S101; bm is not less than the last average value Bm0, which shows that the average value Bm is not a trip point and can exclude the possibility of being the trip point;
step S103, an absolute value Δ Bm of a difference between the current average value Bm and the previous average value Bm0 of the back electromotive force or the correlation BEMF; or calculating the difference delta Bm between the average value Bm0 of the BEMF of the back electromotive force of the previous time and the average value of the current time;
step S104, whether the delta Bm is larger than or equal to a first set value V1 or whether the accumulative total of the difference of the average values of more than two continuous times, such as two, three or five continuous times, is larger than or equal to a second set value V2 or not; if yes, judging that the counter electromotive force of the motor jumps downwards to a certain degree, namely possibly a jump point, turning to step S106, and if not, turning to step S105;
step S105, judging whether the current point is a trip point, returning to a previous-level program or resetting and returning to S101;
step S106, judging whether the current point is a trip point, and adding 1 to the count N; and S107;
step S107, whether the jumping point count N reaches N or not is judged to be jumping if the jumping point count N reaches N; if not, go to S101.n is an integer of 1 or more, and specifically may be 1, 2, 3, 5 or the like. Judging to use the sum of the differences Δ Bm several times, e.g. three times in succession as in S104, n may be 1; if step S104 determines whether the difference Δ Bm at each time is greater than or equal to the first set value V1, n may be 2, 3, 4, 5, etc., which is only an example. Because the back emf that appears at one time may be a disturbance caused by a system anomaly, while 2 or 3 consecutive times are generally less likely to disturb.
Some of the above steps may be replaced by some similar functions, or combined, for example, step S102 and step S103 may be combined, and step S106 and step S107 may be combined. If the back electromotive force or the related quantity Bemf of the motor changes to the opposite direction in the process, the occasional interference is possible, the jumping point can be basically eliminated, and the back electromotive force or the related quantity Bemf changes to the same direction for a certain amount for n times continuously, the motor jumps, and if the motor is in the original normal operation state, the motor is continuously reduced for 3 times, and the motor is possibly locked.
The counter electromotive force or the related quantity Bemf thereof changes a certain quantity to the same direction for n times continuously, which indicates that the motor jumps, for example, in a locked-rotor state, an anti-blocking rotor program is operated, the counter electromotive force or the related quantity Bemf thereof continuously increases for n times, for example, 3 times, the motor may be converted into a normal operation state, and the locked-rotor state is not stopped. Referring to fig. 11, a schematic diagram of a subroutine for determining whether the motor is in a normal operation state in a locked-rotor state includes the following steps:
step S111, in a motor locked-rotor state (motor state S), when a system runs a locked-rotor debugging program, acquiring the counter electromotive force of the motor or the average value Bm of the BEMF of the related quantity of the motor;
step S112, comparing the obtained average value Bm with the previous average value Bm0, judging whether the current average value Bm is larger than or equal to the previous average value Bm0, if so, turning to S113, and if not, returning to the previous-stage program or returning to S111; bm is not larger than the last average value Bm0, which shows that the average value Bm is not a trip point and can exclude the possibility of the trip point;
step S113, obtaining a difference Δ Bm between the average value Bm of this time and the average value Bm0 of the BEMF of the last back electromotive force;
step S114, whether the delta Bm is larger than or equal to a first set value V1 or whether the accumulation of the difference of average values of three times of continuous times is larger than or equal to a second set value V2; if yes, judging that the counter electromotive force of the motor jumps upwards to a certain degree, namely possibly a jump point, and turning to the step S116, otherwise, turning to the step S115;
step S115, judging whether the current point is a trip point, returning to the previous-level program or resetting and returning to the step S111;
step S116, judging whether the current point is a trip point, and adding 1 to the count N; and S117;
step S117, whether the jumping point count N reaches N or not is judged to be jumping if the jumping point count N reaches N, and the previous-stage program can be returned, and or corresponding information is fed back to the control device or the system at the same time; if not, go to S111.n is an integer of 1 or more, and specifically may be 1, or 2, or 3, or 5. Judging as S114, using the sum of several consecutive times, such as three times of difference Δ Bm, n can be 1; if step S114 determines whether the difference Δ Bm is greater than or equal to the first setting value V1, n may be 3, which is only an example. Because the back emf that appears at one time may be a disturbance caused by a system anomaly, while 2 or 3 consecutive times are generally less likely to disturb.
Some of the above steps may be replaced by some similar functions, or combined, for example, step S112 and step S113 may be combined, or step S111, step S112 and step S113 may be combined; step S116 and step S117 may be combined.
In addition, the jump determination procedure may also be changed, mainly by determining whether Bm changes and whether the direction of change is the same all the time, as shown in fig. 12, which is a schematic diagram of another sub-procedure for determining whether to block the rotation, including the following steps:
step S121, obtaining the back electromotive force of the motor or the average value Bm of the related quantity BEMF; comparing the obtained average value Bm with the previous average value Bm0, judging whether the current average value Bm is larger than the previous average value Bm0, if so, turning to S122, and if not, turning to S131;
step S122, obtaining the difference delta Bm between the average value Bm of the current time and the average value Bm0 of the previous back electromotive force or the related quantity BEMF;
step S123, whether Δ Bm is equal to or greater than the first set value V1, or whether the sum of the differences between the average values of two or more consecutive times, for example, three times, or five times, is equal to or greater than the second set value V2; if yes, the counter electromotive force of the motor is judged to jump upwards to a certain degree, namely possibly to be a jump point, step S124 is carried out, if not, the jump point is judged not to be the jump point, counting is reset, and the previous-stage program is returned;
step S124, judging whether the current point is a trip point, and adding 1 to the count N; and S125;
step S125, judging whether the jumping point count N reaches N, if so, judging that the jumping is carried out, returning to the upper-level program, and/or feeding corresponding information back to the control system at the same time; if not, go to S121;
step S131, obtaining the back electromotive force of the motor or the average value Bm of the related quantity BEMF or the average value of the related quantity thereof; comparing the obtained average value Bm with the previous average value Bm0, judging whether the current average value Bm is smaller than the previous average value Bm0, if so, turning to S132, and if not, returning to the previous-stage program;
step S132, obtaining the absolute value delta Bm of the difference between the average value Bm of the current time and the average value Bm0 of the previous back electromotive force or the related quantity BEMF;
step S133, whether the delta Bm is larger than or equal to a first set value V1 or whether the accumulation of the difference of the average values of the delta Bm for continuous times such as three times is larger than or equal to a second set value V2; if yes, judging that the counter electromotive force of the motor jumps downwards to a certain degree, namely possibly a jump point, turning to step S134, if not, judging that the counter electromotive force is not the jump point, counting, resetting and returning to the previous-stage program;
step S134, judging whether the trip point is possible, and adding 1 to the count N; and S125;
step S135, whether the jumping point count N reaches N or not is judged to be jumping if the jumping point count N reaches N, and the previous-stage program can be returned, and or the corresponding information is fed back to the control system at the same time; if not, turning to S131, continuing to acquire Bm and judging.
n is an integer of 1 or more, specifically 1, or 2, or 3, or 5, and the like, and may be related to the sampling interval and the determination method. Judging as S114, using the sum of several consecutive times, such as three times of difference Δ Bm, n can be 1; if step S114 determines whether the difference Δ Bm at each time is greater than or equal to the first set value V1, n may be 3, which is only an example. Because the back emf occurring at one time may be a disturbance caused by a system anomaly, while 2 or 3 consecutive times, the disturbance is generally less likely.
Some of the above steps may be replaced by some similar functions or combined, for example, step S124 and step S125 may be combined, or step S122 and step S123 may be combined, or step S132 and step S133 may be combined, and step S134 and step S135 may be combined.
An operation flow of the normal threshold Br and the locked rotor threshold Bs is described below, which is illustrated in fig. 13, and includes the following steps:
step S141, when the motor runs, acquiring the initial value of the normal threshold Br and the locked rotor threshold or the initial value of the normal threshold Br and the initial value of the locked rotor threshold Bs, and the average value of the back electromotive force or the average value Bm of the related quantity thereof;
step S142, determine whether the motor is locked? Or acquiring the running working state of whether the motor is locked; if the result is locked rotor, go to step S143, if not, go to step S144;
step S143, updating the stalling threshold Bs: obtaining a new locked rotor threshold value Bs and updating the locked rotor threshold value Bs according to the locked rotor threshold value Bs, an average value Bms of an average value Bm of counter electromotive force or related quantity Bemf during locked rotor and an average value Bmr of the average value Bm of the counter electromotive force or related quantity Bemf during normal operation of the motor; specifically, a new locked rotor threshold Bs is given: bs B1+ (Bmr + Bms) × (1-B1) × C3/2;
step S144, determine whether the motor is in a normal operation state? Or acquiring whether the motor normally runs; if yes, updating the normal threshold Br or turning to the step S145;
step S145; updating a normal threshold Br: obtaining a new normal threshold Br according to the original normal threshold Br, the average Bms of the average Bm of the counter electromotive force or the related quantity Bemf thereof during the locked rotor and the average Bmr of the average Bm of the counter electromotive force or the related quantity Bemf thereof during the normal operation of the motor, and updating the normal threshold; the normal threshold value Br is closer to the actual running state, so that the control is more reliable; specifically, the following operations can be performed: br A1+ (Bmr + Bms) (1-A1) × C4/2, to obtain a new normal threshold Br;
wherein, A1 and B1 are adjustment coefficients, which may specifically be as follows: 0.7, 0.85, 0.9, etc., A1 is greater than 0.7, B1 is greater than 0.7; c4 is a normal threshold coefficient, 1-woven fabric C4 is less than or equal to 1.3, C3 is a locked-rotor threshold coefficient, and 0.5-woven fabric C3 is less than or equal to 0.9.
Specifically, according to the obtained average value Bm of the back electromotive force or the related quantity thereof and the current working running state, if the current working running state is locked rotor, the data of the average value Bm of the back electromotive force or the related quantity thereof at the time of locked rotor is updated, and if the current working running state is the normal running state, the data of the average value Bm of the back electromotive force or the related quantity thereof at the normal running state is updated, such as updating a group of data thereof; then obtaining an average value Bms of the average value Bm of the new locked rotor back electromotive force or the related quantity Bemf thereof or an average value Bmr of the average value Bm of the normal running back electromotive force or the related quantity Bemf thereof of the motor according to the updated data; and then obtaining a threshold value needing to be updated in the current working state according to the original normal threshold value and the locked rotor threshold value Bs or the initial value of the normal threshold value Br and the initial value of the locked rotor threshold value Bs, if the current locked rotor is locked, updating the locked rotor threshold value Bs, and if the current locked rotor is in normal operation, updating the normal threshold value Br. And the system performs control and judgment according to the updated threshold value. For example, the memory may store the initial value of the most original normal threshold Br, the initial value of the most original stalling threshold Bs, and the data of the stalled back electromotive force or the related quantity Bemf thereof or the data of the average value Bm, the data of the motor normal operation back electromotive force or the related quantity Bemf thereof or the data of the average value Bm; when the system starts to run, the data can be read and stored in the random access memory, and subsequent updating and operation are carried out through the data of the random access memory, such as calculation, updating and the like. Alternatively, the data retained last time at each run time may be used as the basic data, and these may be selected.
Bemf, in addition to being the back emf, may also be an electrical quantity or a digital signal related to the back emf, such as an AD sampling result related to the back emf, or may also be an actual voltage value.
The initial value of the normal threshold Br and the initial value of the locked rotor threshold Bs can be obtained by the following method: the motor is enabled to normally operate, a certain amount of motor back electromotive force or related quantity Bemf thereof is obtained when the motor operates under various working conditions, after data processing or pole removing is carried out, the average value is calculated, and the obtained average value is discounted to obtain an initial value of a normal threshold Br; initial value of locked rotor threshold Bs: the method comprises the following steps that a motor is enabled to run under a locked-rotor condition, a certain number of motor back electromotive forces or related quantities Bemf thereof are obtained, after data processing or a pole removing value is carried out, an average value is obtained, and the obtained average value is multiplied by a coefficient larger than 1 to obtain an initial value of a locked-rotor threshold value Bs; or, letting the motor normally operate, operate in various working conditions, obtain the data of the counter electromotive force or the related quantity Bemf thereof when a certain number of motors normally operate, perform data processing or depolarizing values, then calculate an average value to obtain the average value Bmr of the counter electromotive force or the average value Bm of the related quantity Bemf thereof when the motor normally operates, let the motor operate in a locked-rotor condition to obtain the data of the counter electromotive force or the related quantity Bemf thereof when a certain number of motors lock-rotor, obtain the average value Bms of the counter electromotive force or the average value Bm of the related quantity Bemf thereof when the motor is locked-rotor, obtain the normal threshold Br and the locked-rotor threshold Bs according to the average value Bmr of the counter electromotive force or the average value Bm of the related quantity Bemf thereof when the motor normally operates, and the average value Bms of the counter electromotive force or the average value Bm of the related quantity Bemf thereof when the motor is locked-rotor, such as:
Br=x1*Bmr+y1*Bms;
Bs=x2*Bmr+y2*Bms;
x1 and y1 are normal threshold coefficients, x2 and y2 are locked-rotor threshold coefficients, wherein x1 is more than or equal to 0.5 and less than 0.9, and x2 is less than 0.5.
In addition, the average value Bmr of the average value Bm of the counter electromotive force or the related quantity Bemf thereof when the motor normally runs and the average value Bms of the average value Bm of the counter electromotive force or the related quantity Bemf thereof when the motor is locked can also be averaged, the normal threshold value Br is obtained by multiplying the average value of the normal threshold value Br by a coefficient larger than 1, and the locked rotation threshold value Bs is obtained by folding the average value of the normal threshold value Br and the locked rotation threshold value Bs; if the normal threshold Br is the average Bmr of the average Bm of the back emf or the average Bs of the related amount Bemf thereof when the motor normally operates, X times, e.g., 1.2 times, the average Bms of the average of the back emf or the average Bs of the related amount Bemf thereof when the motor is locked, the locked threshold Bs is the average Bmr of the average Bm of the back emf or the average Bm of the related amount Bemf thereof when the motor normally operates, and y times, e.g., 0.8 times, the average Bms of the average Bs of the back emf or the average Bs of the related amount Bemf thereof when the motor is locked: br = x (Bmr + Bms)/2, bs = y (Bmr + Bms)/2,x ≧ 1.15, y ≦ 0.85.
According to the control method provided by the application, when the motor runs, the actual counter electromotive force of the motor or the data of the related quantity Bemf of the motor is utilized, the original data is compared, the judgment is carried out according to the actual running state, the dynamic control can be carried out according to the dynamic condition, and the control is closer to the actual running requirement, or the auxiliary judgment is carried out. The control device can be arranged independently, such as being matched with the motor or being arranged together with the motor; in addition, the system used by the motor can also be provided with a corresponding control module, for example, the motor is applied to an automobile air conditioning system, the control device can be a module of the automobile air conditioning system, or the control device of the automobile air conditioning system controls the motor by applying the control method.
The above description is only an example of the technical solution of the present invention, and is not intended to limit the present invention in any way. Those skilled in the art can make numerous possible variations and modifications to the present teachings, or modify equivalent embodiments to equivalent variations, without departing from the scope of the present teachings, using the methods and techniques disclosed above. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (8)

1. A control method for a system with a motor;
the control method comprises the following steps:
a, obtaining the counter electromotive force or the related quantity of the counter electromotive force of the motor when the motor runs; processing the data of the counter electromotive force or the related quantity of the counter electromotive force of the motor to obtain an average value Bm of the counter electromotive force or the related quantity of the counter electromotive force of the motor;
b, comparing the obtained average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor with the previous average value Bm0 of the back electromotive force or the related quantity of the back electromotive force, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor continuously changes in the same direction for n times or not, and whether the variation of the continuous n times is larger than or equal to a first set value V1 or not, if the variation of the continuous n times is larger than or equal to the first set value V1, judging that the variation is jumping, wherein n is an integer and is larger than or equal to 2; or comparing the obtained average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor with the previous average value Bm0 of the back electromotive force or the related quantity of the back electromotive force, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor changes in the same direction for n times continuously, whether the sum of the variation of the n times continuously is larger than or equal to a second set value V2, and if the sum of the variation of the n times continuously is larger than or equal to the second set value V2, judging that the jump is carried out.
2. The control method according to claim 1, wherein the step b specifically comprises:
when the working state of the motor is normal operation, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is smaller than the average value Bm0 of the last back electromotive force or the related quantity of the back electromotive force of the motor;
if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is smaller than the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor at the last time, obtaining the absolute value delta Bm of the difference between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 at the last time or obtaining the difference delta Bm of the average value Bm0 at the last time and the average value Bm at the current time;
whether the absolute value delta Bm of the difference between the counter electromotive force of the motor or the average value Bm of the related quantity of the counter electromotive force and the last average value Bm0 or whether the difference delta Bm of the obtained difference between the last average value Bm0 of the related quantity of the counter electromotive force of the motor and the current average value Bm is larger than or equal to a first set value V1 or not is judged, if the delta Bm is larger than or equal to the first set value V1, whether the counter electromotive force of the motor or the average value Bm of the related quantity of the counter electromotive force is reduced for n times continuously or not is judged, whether the delta Bm is larger than or equal to the first set value V1 for n times continuously or not is judged, and if yes, jump is judged; or, judging whether the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, if the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, whether the sum of Δ Bm of the n times continuously is larger than or equal to a second set value V2, and if so, judging that the jump is carried out.
3. The control method according to claim 1, wherein the step b specifically comprises:
when the working state of the motor is locked rotor, judging whether the average value Bm of the counter electromotive force or the related quantity of the counter electromotive force of the motor is larger than the average value Bm0 of the last counter electromotive force or the related quantity of the counter electromotive force of the motor;
if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is larger than the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor at the last time, obtaining the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 at the last time;
whether the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the last average value Bm0 is larger than or equal to a first set value V1 or not is judged, whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times or not is judged if the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force and the last average value Bm0 is larger than or equal to the first set value V1 or not is judged, and if yes, jump is judged; or, judging whether the counter electromotive force of the motor or the average value Bm of the counter electromotive force related quantity is increased for n times continuously, if the counter electromotive force of the motor or the average value Bm of the counter electromotive force related quantity is increased for n times continuously, whether the sum of the difference delta Bm between the counter electromotive force of the motor or the average value Bm of the counter electromotive force related quantity of the last time and the average value Bm0 of the counter electromotive force related quantity of the last time is larger than or equal to a second set value V2, and if the sum is larger than or equal to the second set value V2, judging to be jumping.
4. The control method according to claim 1, wherein the step b specifically comprises:
c1, when the motor runs, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is larger than the average value Bm0 of the last back electromotive force or the related quantity of the back electromotive force of the motor; if yes, go to step C2, if no, go to step d1;
if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is larger than the average value Bm0 of the last back electromotive force or the related quantity of the back electromotive force of the motor, obtaining the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 of the last time;
whether the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the last average value Bm0 is larger than or equal to a first set value V1 or not is judged, whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times or not is judged if the difference delta Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force and the last average value Bm0 is larger than or equal to the first set value V1 or not is judged, and if yes, jump is judged; or, judging whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times, if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously increased for n times, whether the sum of the difference Δ Bm between the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor and the last average value Bm0 of the motor for n times is larger than or equal to a second set value V2, if so, judging to jump;
d1, judging whether the average value Bm of the counter electromotive force or the counter electromotive force related quantity of the motor is smaller than the average value Bm0 of the counter electromotive force or the counter electromotive force related quantity of the motor last time; if yes, go to step d2;
d2: if the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is smaller than the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor at the last time, obtaining the absolute value delta Bm of the difference between the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm0 at the last time or obtaining the difference delta Bm of the average value Bm0 of the back electromotive force or the related quantity of the back electromotive force of the motor and the average value Bm at the current time;
whether the difference or the absolute value delta Bm of the difference is larger than or equal to a first set value V1 or not is judged, if the difference or the absolute value delta Bm of the difference is larger than or equal to the first set value V1, whether the average value Bm of the back electromotive force or the related quantity of the back electromotive force of the motor is continuously decreased for n times or not is judged, whether the difference or the absolute value delta Bm of the difference is continuously larger than or equal to the first set value V1 for n times or not is judged, and if the difference or the absolute value delta Bm of the difference is jumping is judged; or, judging whether the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, if the back electromotive force of the motor or the average value Bm of the related quantity of the back electromotive force is decreased for n times continuously, whether the sum of the differences or the absolute values Δ Bm of the differences for n times continuously is larger than or equal to a second set value V2, and if so, judging that the jump is carried out.
5. The control method according to any one of claims 1 to 4, wherein the system further comprises a control device, the control device comprising a temporary memory or a random access memory; the number n of continuous changes of the counter electromotive force or the average value Bm of the counter electromotive force related quantity of the motor to the same direction is more than or equal to 3, the temporary storage can be used for storing the counter electromotive force or the counter electromotive force related quantity of the motor, the average value Bm of the counter electromotive force or the counter electromotive force related quantity of the motor and other operational data, and the counter electromotive force or the counter electromotive force related quantity of the motor and the average value Bm of the counter electromotive force or the counter electromotive force related quantity of the motor can be dynamically updated.
6. The control method according to any one of claims 1 to 4, wherein the step a of processing the counter electromotive force or the data of the counter electromotive force-related quantity of the motor includes removing an abnormally large or small value and averaging the remaining data.
7. The control method according to any one of claims 1 to 4, wherein the step a of processing the back electromotive force or the data of the back electromotive force-related quantity of the motor comprises removing a maximum value and a minimum value and averaging the remaining data.
8. A system comprising a control device and a motor, the control device comprising a temporary or random access memory operable to store a back-emf or back-emf related quantity of the motor, an average value Bm of the back-emf or back-emf related quantity of the motor; the system operates according to the control method of any one of claims 1 to 7.
CN201911086170.5A 2019-11-08 2019-11-08 Control method and system Active CN112787566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911086170.5A CN112787566B (en) 2019-11-08 2019-11-08 Control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911086170.5A CN112787566B (en) 2019-11-08 2019-11-08 Control method and system

Publications (2)

Publication Number Publication Date
CN112787566A CN112787566A (en) 2021-05-11
CN112787566B true CN112787566B (en) 2022-10-25

Family

ID=75748282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911086170.5A Active CN112787566B (en) 2019-11-08 2019-11-08 Control method and system

Country Status (1)

Country Link
CN (1) CN112787566B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113503107A (en) * 2021-07-21 2021-10-15 东风柳州汽车有限公司 Control method and device for vehicle window motor
CN114337380B (en) * 2022-02-16 2023-05-09 北京航空航天大学宁波创新研究院 Method and system for detecting locked rotor fault of electronic oil pump motor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0602977A2 (en) * 1992-12-17 1994-06-22 STMicroelectronics, Inc. Method and apparatus for operating polyphase DC motors using a PWM chopping signal in zero crossing determination
CN103344916A (en) * 2013-06-28 2013-10-09 江苏浩峰汽车附件有限公司 Motor stalling detection method
WO2015003619A1 (en) * 2013-07-09 2015-01-15 Shenzhen Byd Auto R&D Company Limited Motor control system of electric vehicle and controlling method for motor control system of electric vehicle and electric vehicle
CN105227011A (en) * 2014-05-27 2016-01-06 大陆汽车有限公司 The BEMF without transducer in the brushless motor of Current Control measures
CN109828164A (en) * 2019-01-28 2019-05-31 北京理工大学 Method for detecting phases and device, computer equipment, computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7016762B2 (en) * 2018-04-13 2022-02-07 ルネサスエレクトロニクス株式会社 Semiconductor devices, motor drive systems, and motor control programs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0602977A2 (en) * 1992-12-17 1994-06-22 STMicroelectronics, Inc. Method and apparatus for operating polyphase DC motors using a PWM chopping signal in zero crossing determination
CN103344916A (en) * 2013-06-28 2013-10-09 江苏浩峰汽车附件有限公司 Motor stalling detection method
WO2015003619A1 (en) * 2013-07-09 2015-01-15 Shenzhen Byd Auto R&D Company Limited Motor control system of electric vehicle and controlling method for motor control system of electric vehicle and electric vehicle
CN105227011A (en) * 2014-05-27 2016-01-06 大陆汽车有限公司 The BEMF without transducer in the brushless motor of Current Control measures
CN109828164A (en) * 2019-01-28 2019-05-31 北京理工大学 Method for detecting phases and device, computer equipment, computer readable storage medium

Also Published As

Publication number Publication date
CN112787566A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN112787566B (en) Control method and system
EP3809580B1 (en) Electric vehicle, method and device for diagnosing rotary transformer initial position, and computer readable medium
CN112787567B (en) Control method and system
US7701224B2 (en) Wire abnormality detecting device
WO2009007681A2 (en) Electric motor control
US6949903B2 (en) Method and apparatus for digitizing a voltage
US20180143250A1 (en) Vehicle including multiple analog switch monitoring system with simultaneous switch-state detection
CN112325442A (en) Motor locked-rotor detection method, air conditioner and readable storage medium
JP6969463B2 (en) Battery monitoring device
US20040066200A1 (en) Vehicular alternator failure determination apparatus
CN112350626B (en) Method and device for determining the rotational speed and the rotational angle of a motor shaft of a DC motor
JP2022063249A (en) Power control device and power control method
US8234053B2 (en) Fully-closed position learning method and vehicle motion control apparatus
CN116995616A (en) Motor protection method, protection device and computer readable medium
CN113251906B (en) Magnetic suspension bearing suspension state detection method and device
US7460030B2 (en) System and method for encoder failure detection
CN107643117B (en) load profile
US9638765B2 (en) Device and method for monitoring signal levels
US6555930B1 (en) Device for automatically detecting a generator type of a motor vehicle
CN117783856A (en) Motor idling detection method and device
CN114083987A (en) Battery monitoring parameter correction method and device and computer equipment
KR20140079312A (en) Mothod and device for monitoring signal levels
CN111366844B (en) Vehicle, motor drive control system, and motor phase loss detection method and device
CN112671270A (en) Motor start control method and device, processor and nonvolatile storage medium
JP5762685B2 (en) Control rotational speed calculation device, control rotational speed calculation method, and control rotational speed calculation program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant