CN111103867B - Motor controller rotation fault positioning and self-adaptive learning method - Google Patents

Motor controller rotation fault positioning and self-adaptive learning method Download PDF

Info

Publication number
CN111103867B
CN111103867B CN201911364174.5A CN201911364174A CN111103867B CN 111103867 B CN111103867 B CN 111103867B CN 201911364174 A CN201911364174 A CN 201911364174A CN 111103867 B CN111103867 B CN 111103867B
Authority
CN
China
Prior art keywords
abnormal
value
bit
delta
rotation
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
CN201911364174.5A
Other languages
Chinese (zh)
Other versions
CN111103867A (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.)
Shanghai Dajun Technologies Inc
Original Assignee
Shanghai Dajun Technologies Inc
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 Shanghai Dajun Technologies Inc filed Critical Shanghai Dajun Technologies Inc
Priority to CN201911364174.5A priority Critical patent/CN111103867B/en
Publication of CN111103867A publication Critical patent/CN111103867A/en
Application granted granted Critical
Publication of CN111103867B publication Critical patent/CN111103867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0286Modifications to the monitored process, e.g. stopping operation or adapting control

Abstract

The invention discloses a motor controller resolver fault positioning and self-adaptive learning method, which samples an I/O resolver value transmitted to a digital signal processor by a resolver decoding chip in real time; calculating the difference value of the current moment and the last moment of the rotary change sampling values, and calculating the difference value of the last moment and the last moment of the rotary change sampling values; calculating absolute values of the two difference values, starting calculation from the (n + 2) th bit when the rotary transformer has n-bit random run-out, and determining the output abnormal position of the rotary transformer by judging the absolute values of the two difference values when one bit m of the rotary transformer is abnormal and the absolute values of the two difference values are related to the acceleration of the motor, the sampling time, the n-bit random run-out value of the rotary transformer and the m-bit abnormal run-out value; and negating the current abnormal position to realize the self-adaptive learning function. The method can position a specific abnormal position, and when the abnormal position is positioned, the value of the abnormal position is judged through other normal rotary values, so that self-adaptive learning is achieved, and normal running of the vehicle is ensured.

Description

Motor controller rotation fault positioning and self-adaptive learning method
Technical Field
The invention relates to the technical field of motor control, in particular to a method for positioning and self-adaptive learning of a rotation fault of a motor controller.
Background
The motor rotation value in the new energy automobile influences the control of a motor controller on the motor, and if the rotation value has large amplitude sudden change, current is out of control, so that the whole automobile loses power under the normal running condition.
At present, all the rotary transformer decoding chips have an internal signal fault detection function, the commonly used decoding chips have AD2S1210 of ADI, AU6803 of Morgan and PGA411 of TI, and all the internal fault detection functions are used, and when the analog signals received by the decoding chips are abnormal, the corresponding faults can be reported in real time in the decoding chips.
Generally, the 12bit AD value output by the decoding chip is connected to an I/O port of a digital signal processor, and the digital signal processor converts the received AD value into a corresponding rotation value. When the PCB connection between the decoding chip 12bit and the I/O port of the digital signal processor has an open circuit problem, the motor controller cannot judge whether the rotation value is abnormal or not because the decoding chip does not report a fault, and finally the controller works abnormally when the whole vehicle runs.
If the 12bit low bit output by the decoding chip is abnormal, the whole vehicle end is characterized in that the whole vehicle can shake when the whole vehicle runs at a low speed; if the 12bit high order output by the decoding chip is abnormal, the embodiment of the whole vehicle end is that the motor phase current is out of control, the motor controller reports overload and reduces power to operate, thereby seriously influencing the normal running of the vehicle and having certain potential safety hazard.
Disclosure of Invention
The invention aims to solve the technical problem of providing a motor controller resolver fault positioning and self-adaptive learning method, which solves the problems that the 12bit parallel port output of the traditional resolver decoding chip is abnormal but the specific position cannot be positioned.
In order to solve the technical problem, the method for positioning the rotational variation fault and self-adaptive learning of the motor controller comprises the following steps:
step one, sampling an I/O (input/output) rotary variable value transmitted to a digital signal processor by a rotary variable decoding chip in real time;
step two, calculating the current time t n The value of the sampling and t n-1 Calculating the difference value delta R1 of the sampling values of the time rotation change, and calculating t n-1 Time-rotation sampling value and t n-2 The difference value delta R2 of the sampling values is rotationally changed at the moment;
step three, calculating the absolute value of the difference value between the delta R1 and the delta R2, and when the motor is accelerated to a w Very small and the sampling time Δ t very short, theoretically a w ×Δt 2 The value is close to zero and is smaller than the lowest bit fluctuation value of the rotary transformer;
step four, when the rotary transformer has n-bit random jump, starting calculation from the n + 2bit, and when a certain bit m of the rotary transformer is abnormal, delta R1-delta R2= a w ×Δt 2 ±r 1 ±r 2 ±...±r n +r m When- | a w |×Δt 2 -r 1 -r 2 -...-r n +r m ≤|ΔR1-ΔR2|≤|a w |×Δt 2 +r 1 +r 2 +...+r n +r m When the output is abnormal, the m bit output of the rotary transformer is considered to be abnormal,
wherein n is less than m, r 1 、r 2 …r n Is a rotating n-bit random jitter value, r m A jitter value of a certain bit m of the rotary transformer which is abnormal;
and step five, when the rotation transformation fault is positioned to a certain abnormal position, inverting the current abnormal position to realize the self-adaptive learning function, and even if the rotation transformation fault is positioned to a certain abnormal position, the motor controller can normally run.
The motor controller resolver fault positioning and self-adaptive learning method adopts the technical scheme, namely the method samples the I/O resolver value transmitted to the digital signal processor by the resolver decoding chip in real time; calculating the difference value of the current moment and the last moment of the rotary change sampling values, and calculating the difference value of the last moment and the last moment of the rotary change sampling values; calculating the absolute values of two difference values, starting to calculate from the (n + 2) th bit when the rotary transformer has n-bit random jitter, and determining the output abnormal bit of the rotary transformer by judging the absolute values of the two difference values when a certain bit m of the rotary transformer is abnormal and the absolute values of the two difference values are related to the acceleration of the motor, the sampling time, the n-bit random jitter value of the rotary transformer and the m-bit abnormal jitter value; and negating the current abnormal position to realize the self-adaptive learning function. The method solves the problem that the 12bit parallel port output of the traditional rotary transformer decoding chip is abnormal but cannot be used for positioning specifically, can position specific abnormal bits, can shield the abnormal bits when the abnormal bits are positioned, and judges the value of the abnormal bits through other normal rotary transformer values, thereby achieving self-adaptive learning, ensuring the normal running of vehicles and avoiding potential safety hazards.
Drawings
The invention is described in further detail below with reference to the following figures and embodiments:
FIG. 1 is a schematic block diagram of a method for positioning a rotational fault and adaptive learning of a motor controller according to the present invention;
fig. 2 is a block diagram of the calculation of the rotation-variation sampling difference in the method.
Detailed Description
Embodiment as shown in fig. 1 and fig. 2, the method for locating and adaptively learning a rotational fault of a motor controller according to the present invention includes the following steps:
step one, sampling an I/O (input/output) rotary variable value transmitted to a digital signal processor by a rotary variable decoding chip in real time;
step two, calculating the current time t n The value of the sampling and t n-1 Calculating the difference value delta R1 of the sampling values of the time rotation change, and calculating t n-1 Time-rotation sampling value and t n-2 The difference value delta R2 of the sampling values is rotationally changed at the moment;
step three, calculating the absolute value of the difference value between the delta R1 and the delta R2, and when the motor is accelerated to a w Very small and the sampling time Δ t very short, theoretically a w ×Δt 2 The value is close to zero and is smaller than the lowest fluctuation value of the rotary transformer;
step four, when the rotary transformer has n-bit random jump, starting calculation from the n + 2bit, and when a certain bit m of the rotary transformer is abnormal, delta R1-delta R2= a w ×Δt 2 ±r 1 ±r 2 ±...±r n +r m When- | a w |×Δt 2 -r 1 -r 2 -...-r n +r m ≤|ΔR1-ΔR2|≤|a w |×Δt 2 +r 1 +r 2 +...+r n +r m When the output is abnormal, the m bits of the rotary transformer are considered to be abnormal,
wherein n is less than m, r 1 、r 2 …r n Is a rotating n-bit random jitter value, r m A jitter value of a certain bit m which is subjected to abnormal rotation; n represents the number of random jump bits of the rotary transformer, m represents a certain bit with abnormality in the rotary transformer, the abnormal bit is detected, and if the abnormal bit is smaller than the jump bit of the abnormal bit, the abnormal bit cannot be detected;
and step five, when the rotation transformation fault is positioned to a certain abnormal position, inverting the current abnormal position to realize the self-adaptive learning function, and even if the rotation transformation fault is positioned to a certain abnormal position, the motor controller can normally run.
In the self-adaptive learning, firstly, a level signal of a rotary transformer 12bit '0' or '1' output by a rotary transformer decoding chip is received; secondly, whether the level signal of the 12bit '0' or '1' of the rotational variation is accurate or not is continuously detected through the method, if the detection is accurate, the processing is not carried out, if the detection is wrong, the inversion operation is carried out, and because the level of the normal bit of the rotational variation is not '0' or '1', the error correction is realized through the inversion operation, and the purpose of self-adaptive learning is achieved.
In the process of sampling the rotary transformer, sampling the rotary transformer value in equal delta t sampling time, and calculating to obtain the current time t when the rotary transformer works normally n The value of the sampling and t n-1 Difference value delta R1, t of sampling values of time rotation n-1 Sampling value and t of time rotation n-2 The difference Δ R2 of the sampling values is rotated at the time. t is t n-1 Motor speed S of time n-1 =ΔR2/Δt,t n Motor speed S of time n = Δ R1/Δ t, the motor acceleration a w =(S n -S n-1 ) At,/Δ t, i.e. a w ×Δt 2 = Δ R1- Δ R2. Due to the precision limit of the rotation change decoding chip and the low-order jumping bit of the rotation change, if the rotation change has n-order random jumping, the delta R1-delta R2= a w ×Δt 2 ±r 1 ±r 2 ±...±r n I.e. | Delta R1-Delta R2| ≦ a w |×Δt 2 +r 1 +r 2 +...+r n When the output is normal, the rotation change output is considered to be normal. The rotary variable decoding chip used at present has the precision of 2LSB at most, namely two random jumps at most.
As shown in fig. 1, at the actual rotational fault location,
1. acquiring a rotation value in real time, and determining a random jumping bit n of the used rotation decoding chip according to an instruction manual of the rotation decoding chip;
2. calculating S 1 =|a w |×Δt 2 +r 1 +r 2 +...+r n If | Delta R1-Delta R2| is less than or equal to S 1 Considering the I/O transmission of the resolver decoding output to the digital signal processor to be normal;
3. if | Δ R1- Δ R2| > S 1 Then calculate S m-1 =-|α w |×Δt 2 -r 1 -r 2 -...-r n +r m While if | Δ R1- Δ R2| < S m-1 Considering that the I/O transmission of the resolver decoding output to the digital signal processor is abnormal;
4. if | Δ R1- Δ R2| > or more than S m-1 Then calculate S m+1 =|α w |×Δt 2 +r 1 +r 2 +...+r n +r m And meanwhile, if the | delta R1-delta R2| is less than or equal to S m+1 If so, the m-th bit is considered to be abnormal;
5. negating the mth bit;
6. if | Δ R1- Δ R2| > S m+1 Then calculate S m+2 =-|a w |×Δt 2 -r 1 -r 2 -...-r n +r m+1 While if | Δ R1- Δ R2| < S m+2 If the I/O transmission output by the rotary transformer decoding to the digital signal processor is abnormal;
7. if | Δ R1- Δ R2| ≧ S m+2 Then calculate S m+3 =|α w |×Δt 2 +r 1 +r 2 +...+r n +r m+1 And meanwhile, if the | delta R1-delta R2| is less than or equal to S m+3 If so, the m +1 th bit is considered to be abnormal and inverted; the other bits are analogized in turn.
The method can detect the abnormal connection between the 12bit output by the rotary transformer decoding chip and the I/O port of the digital signal processor, can position a specific abnormal point of the rotary transformer, and finally realizes the self-adaptive learning function by negating the current abnormal point.

Claims (1)

1. A motor controller rotation fault positioning and self-adaptive learning method is characterized by comprising the following steps:
step one, sampling an I/O (input/output) rotary variable value transmitted to a digital signal processor by a rotary variable decoding chip in real time;
step two, calculating the current time t n Resolver sampling value and t n-1 Calculating the difference value delta R1 of the sampling values of the time rotation change, and calculating t n-1 Sampling value and t of time rotation n-2 The difference value delta R2 of the sampling values is rotationally changed at the moment;
step three, calculating the absolute value of the difference value between the delta R1 and the delta R2, and when the motor is accelerated to a w Very small and the sampling time deltat very short, theoretically a w ×Δt 2 Is close to zero, less thanThe lowest bit fluctuation value of the rotation;
step four, when the rotary transformer has n-bit random jump, starting calculation from the n + 2bit, and when a certain bit m of the rotary transformer is abnormal, delta R1-delta R2= a w ×Δt 2 ±r 1 ±r 2 ±…±r n +r m When- | a w |×Δt 2 -r 1 -r 2 -…-r n +r m ≤|ΔR1-ΔR2|≤|a w |×Δt 2 +r 1 +r 2 +…+r n +r m When the output is abnormal, the m bits of the rotary transformer are considered to be abnormal,
wherein n is<m,r 1 、r 2 …r n Is a rotating n-bit random jitter value, r m A jitter value of a certain bit m which is subjected to abnormal rotation;
and step five, when the rotation transformer fault is positioned to a certain abnormal position, inverting the current abnormal position to realize the self-adaptive learning function, and even if the transmission of a certain rotation transformer is abnormal, the motor controller can also normally operate.
CN201911364174.5A 2019-12-23 2019-12-23 Motor controller rotation fault positioning and self-adaptive learning method Active CN111103867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911364174.5A CN111103867B (en) 2019-12-23 2019-12-23 Motor controller rotation fault positioning and self-adaptive learning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911364174.5A CN111103867B (en) 2019-12-23 2019-12-23 Motor controller rotation fault positioning and self-adaptive learning method

Publications (2)

Publication Number Publication Date
CN111103867A CN111103867A (en) 2020-05-05
CN111103867B true CN111103867B (en) 2022-11-08

Family

ID=70424276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911364174.5A Active CN111103867B (en) 2019-12-23 2019-12-23 Motor controller rotation fault positioning and self-adaptive learning method

Country Status (1)

Country Link
CN (1) CN111103867B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078743A (en) * 1998-08-28 2000-03-14 Toshiba Corp Phase-difference calculator
US6389373B1 (en) * 1998-08-05 2002-05-14 Toyota Jidosha Kabushiki Kaisha Resolver signal processing system
CN104321624A (en) * 2013-05-15 2015-01-28 日本精工株式会社 Resolver malfunction detection method, angle detection device, motor, and transport device
CN104362911A (en) * 2014-12-02 2015-02-18 奇瑞汽车股份有限公司 Motor position detecting method and device as well as method using device
CN205033966U (en) * 2015-10-20 2016-02-17 卧龙电气集团股份有限公司 Take normal processing apparatus's that makes a variation soon motor of electric vehicle
CN106841988A (en) * 2017-01-26 2017-06-13 西安应用光学研究所 One kind rotation becomes decoding chip fault locator and detection method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389373B1 (en) * 1998-08-05 2002-05-14 Toyota Jidosha Kabushiki Kaisha Resolver signal processing system
JP2000078743A (en) * 1998-08-28 2000-03-14 Toshiba Corp Phase-difference calculator
CN104321624A (en) * 2013-05-15 2015-01-28 日本精工株式会社 Resolver malfunction detection method, angle detection device, motor, and transport device
CN104362911A (en) * 2014-12-02 2015-02-18 奇瑞汽车股份有限公司 Motor position detecting method and device as well as method using device
CN205033966U (en) * 2015-10-20 2016-02-17 卧龙电气集团股份有限公司 Take normal processing apparatus's that makes a variation soon motor of electric vehicle
CN106841988A (en) * 2017-01-26 2017-06-13 西安应用光学研究所 One kind rotation becomes decoding chip fault locator and detection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《EPS电机位置传感器故障诊断策略设计》;郑虎等;《上海汽车》;20170810;全文 *

Also Published As

Publication number Publication date
CN111103867A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US7253614B2 (en) Proximity detector having a sequential flow state machine
US20160264173A1 (en) Intermittent failure diagnostic system and electric power steering apparatus provided with the same
CN106286154B (en) System for measuring azimuth angle of wind wheel of wind driven generator
JP2001111632A (en) Receiver recovering coded data in serial communication channel
CN111103867B (en) Motor controller rotation fault positioning and self-adaptive learning method
US6644433B2 (en) Control apparatus for controlling an electric power steering mechanism
US6411080B1 (en) Signal processing method for a variable reluctance vehicle speed sensing mechanism
CN105915123B (en) Motor control fault-tolerance processing method, device, motor and electric vehicle
EP2223403B1 (en) Fault direction determination
US5412385A (en) Error correction testing system and method for a multistage A/D converter
JPH10235538A (en) Anomaly detecting method for rotary tool and device therefor
CN108803462B (en) Fault detection method for servo system position feedback
US7079069B2 (en) Analog-digital converter and method for analog-digital converting
US5847260A (en) Physical parameter sensor with self-diagnosis circuit
CN108382269A (en) A kind of control method of motor output torque, device and electric vehicle
CN106093456B (en) A kind of high robust rotary speed detecting system of the high-precision of high-speed motor
SE409793B (en) KITS IN WHICH TRANSMISSION OF PCM INFORMATION REDUCES THE NEED OF THE NUMBER OF TRANSFER BITS AND DEVICE FOR PERFORMING THE KIT
EP4181386A1 (en) Method for implementing brushless direct current motor hall position sensor fault processing
CN116910585B (en) Method for generating hydropower equipment fault diagnosis rules based on similar fault case set
KR101179859B1 (en) Method And Apparatus for Compensating Middle Point Location of Torque Sensor equipped in Vehicle
JP3283188B2 (en) Pulse count circuit
CN111006697B (en) Position data processing and transmission control system, method and application of encoder
EP4253102A1 (en) Abnormality detection apparatus for wheel assembly
US20150333869A1 (en) Receiving device
WO2020202850A1 (en) Information processing device

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