[go: up one dir, main page]

CN104362911A - Motor position detecting method and device as well as method using device - Google Patents

Motor position detecting method and device as well as method using device Download PDF

Info

Publication number
CN104362911A
CN104362911A CN201410723004.2A CN201410723004A CN104362911A CN 104362911 A CN104362911 A CN 104362911A CN 201410723004 A CN201410723004 A CN 201410723004A CN 104362911 A CN104362911 A CN 104362911A
Authority
CN
China
Prior art keywords
motor
main control
control chip
signal
rotary transformer
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.)
Pending
Application number
CN201410723004.2A
Other languages
Chinese (zh)
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.)
Chery New Energy Automobile Technology Co Ltd
Original Assignee
SAIC Chery Automobile 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 SAIC Chery Automobile Co Ltd filed Critical SAIC Chery Automobile Co Ltd
Priority to CN201410723004.2A priority Critical patent/CN104362911A/en
Publication of CN104362911A publication Critical patent/CN104362911A/en
Pending legal-status Critical Current

Links

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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • 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
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation
    • 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
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

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

Abstract

The invention discloses a motor position detecting method and device as well as a method using the device. The motor position detecting method comprises the following steps: step S101, controlling a decoding chip to start motor position detection by a main control chip; step S102, obtaining a rotary transformer input signal output by a rotary transformer by virtue of the decoding chip, generating an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal, and sending the SPI digital signal and the ABZ pulse signal to the main control chip; and step S103, receiving the SPI digital signal and the ABZ pulse signal generated by the decoding chip by the main control chip, and obtaining motor position information according to the SPI digital signal or the ABZ pulse signal. According to the motor position detecting method, the main control chip is used for obtaining the motor position information according to the SPI digital signal or the ABZ pulse signal; the motor position can be obtained by virtue of the ABZ pulse signal in a high-speed operation stage; by virtue of the ABZ pulse signal, the interference resistance and reliability of the signal can be improved, so that the motor control accuracy and reliability are improved.

Description

Motor position detection method and device and method using device
Technical Field
The invention belongs to the technical field of electric automobiles, and relates to a motor position detection method, a motor position detection device and a method using the device.
Background
In a pure electric vehicle driving system, a sine wave permanent magnet synchronous motor is generally adopted, and the sine wave permanent magnet synchronous motor has the remarkable advantages of reliable operation, small volume, light weight, less loss, high efficiency, flexible and various shapes and sizes and the like.
In the sine wave permanent magnet synchronous motor, the motor comprises a stator and a rotor, the stator surrounds the outer side of the rotor, a plurality of permanent magnet pole pairs are arranged on the rotor, the number of the permanent magnet pole pairs is 2-4 generally, a magnetic field generated by the permanent magnet pole pairs is a sine wave magnetic field, the stator comprises three-phase windings, the windings of all phases are symmetrical, the magnetic field generated by the stator and the magnetic field generated by the rotor interact with each other by applying voltage on the three-phase windings, the rotor rotates under the interaction of the magnetic fields, and therefore electric energy is converted into mechanical energy; when three-phase alternating current is introduced through a three-phase winding of the stator, the rotary armature magnetomotive force generated by the three-phase alternating current and the established armature magnetic field cut the stator winding on one hand, and induced electromotive force is generated in the stator winding; on the other hand, the rotor is dragged to rotate at a synchronous speed by electromagnetic force, and magnetic fields generated by magnetomotive force of the stator and the rotor are distributed sinusoidally along the inner circle of the stator.
Torque control is mainly adopted for controlling the sine wave permanent magnet synchronous motor, and in order to realize accurate torque control, position information of the sine wave permanent magnet synchronous motor, namely information such as three-phase current of the motor, position (and magnetic pole position of a rotor) and speed of the rotor, needs to be obtained, and calculation is carried out according to the information, so that the torque control of the sine wave permanent magnet synchronous motor is executed.
The position information of the sine wave permanent magnet synchronous motor can be acquired by a sensor such as a photoelectric encoder or a resolver. Among them, a resolver is widely used for detecting a position of a motor, and the resolver is an electromagnetic sensor, which is also called a resolver. The small AC motor is used to measure angular displacement and speed of rotating shaft of rotating object and consists of stator and rotor. The stator winding is used as the primary side of the transformer and receives the excitation voltage, and the excitation frequency is usually 400, 3000, 5000HZ and the like. The rotor winding is used as a secondary side of the transformer, and induction voltage is obtained through electromagnetic coupling.
Generally, the decoding chip is matched with the rotary transformer for use, the decoding chip acquires position detection information of the motor through serial communication, however, when the motor runs at a high speed, the serial communication has the problems of poor anti-interference capability and poor reliability, so that the accuracy and the reliability of the acquired motor position signal can be influenced, the motor driving system is used as a main power system of the pure electric vehicle, and the reduction of the accuracy and the reliability of the position signal further causes the reduction of the safety and the reliability of the pure electric vehicle.
Disclosure of Invention
The invention provides a motor position detection method, a motor position detection device and a method using the device, which are used for solving the technical problem that in the prior art, the anti-interference capability of an SPI digital signal is poor when a motor runs at a high speed in the detection of a position signal.
In order to solve the above technical problem, the present invention provides a motor position detection method, for measuring a rotor position of a motor, wherein a resolver rotor of a resolver and a rotor of the motor are coaxially and fixedly connected, a resolver stator of the resolver and a stator of the motor are coaxially and fixedly connected, the resolver outputs a resolver input signal to a decoding chip according to rotation of the rotor of the motor, the decoding chip decodes the resolver input signal to obtain an SPI digital signal and an ABZ pulse signal, and a main control chip controls the decoding chip, the motor position detection method includes:
s101, a main control chip controls a decoding chip to start motor position detection;
step S102, a decoding chip acquires a rotary transformer input signal output by a rotary transformer, generates an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal, and sends the generated SPI digital signal and the ABZ pulse signal to a main control chip;
and S103, the main control chip receives the SPI digital signal and the ABZ pulse signal generated by the decoding chip and acquires the motor position information according to the SPI digital signal or the ABZ pulse signal.
Preferably, the step S103 of acquiring the motor position information according to the SPI digital signal or the ABZ pulse signal includes:
step S1031, the main control chip judges whether the motor is in a low-speed starting stage or a high-speed running stage, and if the motor is in the low-speed starting stage, the next step S1032 is executed; if the motor is in the high-speed operation stage, the process jumps to step S1033:
step S1032, the main control chip obtains the rotor position information of the motor in a low-speed starting stage through the SPI digital signal;
and step S1033, the main control chip acquires the rotor position information of the motor in a high-speed operation stage through the ABZ pulse signal.
Preferably, the step of acquiring the rotor position information of the motor in the high-speed operation stage by the main control chip through the ABZ pulse signal comprises: an incremental interface of the main control chip counts the AB signal increment and acquires the motor position information according to the value M of the AB signal increment counting; wherein,
when the increment counting is increased when the rotor is preset to run towards the positive direction, and when the main control chip judges that the combination sequence of the AB signals is the combination sequence of the positive direction, the increment counting is increased; when the main control chip judges that the combination order is the reverse combination order, the increment count is judged to be decreased;
when the increment counting is decreased when the rotor is preset to rotate towards the positive direction, and when the main control chip judges that the combination sequence is the combination sequence of the positive direction, the increment counting is determined to be decreased; when the main control chip judges that the combination order is the reverse combination order, the increment count is judged to be increased,
preferably, the motor position information includes a rotor position angle θ and an angular velocity ω;
the specific step of acquiring the motor position information according to the value M of the AB signal increment count is as follows: determining a position angle theta according to the value M, and then determining an angular speed omega according to the position angle theta; wherein,
<math> <mrow> <mi>&theta;</mi> <mo>=</mo> <mn>360</mn> <mo>&times;</mo> <mfrac> <mi>M</mi> <mn>4096</mn> </mfrac> <mo>,</mo> <mi>&omega;</mi> <mo>=</mo> <mfrac> <mi>d&theta;</mi> <mi>dt</mi> </mfrac> <mo>.</mo> </mrow> </math>
preferably, the step of judging whether the motor is in a low-speed starting stage or a high-speed running stage by the main control chip is specifically as follows:
the main control chip detects Z pulses in the ABZ pulse signals and judges whether N1Z pulses are detected within preset time T1 or not, and if the number of the Z pulses detected within preset time T1 is less than N1, the motor is judged to be in a low-speed starting stage; and if the number of the Z pulses detected in the preset time T1 is greater than or equal to N1, judging that the motor is in a high-speed operation stage.
Preferably, the step S103 further includes:
s1034, the main control chip carries out abnormity diagnosis on the motor through the ABZ pulse signal, and when the motor is judged to be abnormally operated, the main control chip sends an operation abnormity signal and controls the motor to stop operating; and when the motor is judged not to have abnormal operation, skipping to the step S1033, and continuously calculating and acquiring the position information of the motor.
Preferably, the main control chip performing abnormality diagnosis on the motor through the ABZ pulse signal includes:
the main control chip detects Z pulses in the ABZ pulse signals and judges whether the Z pulses are continuously detected in N2 electrical angle periods, and if the Z pulses are not continuously detected in N2 electrical angle periods, the motor is judged to be in fault; otherwise, judging the normal operation of the motor.
Preferably, the main control chip performing abnormality diagnosis on the motor through the ABZ pulse signal includes:
the main control chip acquires the change rate a1 of the angular velocity omega of the motor, judges whether the change rate a1 is larger than a preset change rate threshold value a0, and judges that the motor fails if the change rate a1 is larger than or equal to a preset change rate threshold value a 0; and if the change rate a1 is smaller than a preset change rate threshold value a0, judging that the motor normally runs.
In order to solve the technical problem, the invention also provides a motor position detection device, which is characterized by comprising a sensor rotary transformer for detection, a decoding chip and a main control chip; the rotary transformer comprises a rotary transformer rotor and a rotary transformer stator, the rotary transformer rotor is coaxially and fixedly connected with a rotor of the motor, the rotary transformer stator is coaxially and fixedly connected with a stator of the motor, and the rotary transformer is used for outputting a rotary transformer input signal according to the rotation induction of the motor and providing the rotary transformer input signal to the decoding chip; the decoding chip is used for acquiring the rotary transformer input signal, generating an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal and sending the generated SPI digital signal and the ABZ pulse signal to the main control chip; the main control chip is used for receiving the SPI digital signal and the ABZ pulse signal generated by the decoding chip and acquiring the motor position information according to the SPI digital signal and the ABZ pulse signal.
In order to solve the technical problem, the invention further provides a method using the motor position detection device, which comprises the step of detecting the position of the motor by using any one of the motor position detection methods.
The beneficial effects of the invention include:
in the embodiment of the invention, the main control chip receives the SPI digital signal and the ABZ pulse signal generated by the decoding chip, and obtains the motor position information according to the SPI digital signal or the ABZ pulse signal, the main control chip judges the running state of the motor, and a group of SPI digital signals or ABZ pulse signals is selected according to different running states to obtain the position information of the motor rotor of the permanent magnet synchronous motor, by adopting different position detection signals in the starting stage and the high-speed operation stage, the problem of poor anti-interference capability of the SPI digital signal when the motor runs at high speed is solved, the anti-interference capability and the reliability of the signal are improved through the ABZ pulse signal, therefore, the accuracy and the reliability of motor control are improved, in addition, the running state of the motor is diagnosed through the ABZ pulse signal, the running abnormity of the motor can be found in time, and the reliability of the motor control is further improved.
Drawings
Fig. 1 is a schematic frame diagram of a motor position detection apparatus according to an embodiment of the present invention.
Fig. 2A is a flowchart of a motor position detection method according to an embodiment of the present invention;
fig. 2B is a flowchart for acquiring the position information of the motor according to the SPI digital signal and the ABZ pulse signal according to the embodiment of the present invention;
FIGS. 3A and 3B are schematic diagrams of the timing and incremental counting of the ABZ signal;
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following describes a motor position detection method and a motor position detection device provided in the embodiments of the present invention in detail with reference to the accompanying drawings, and a method for using the device.
The motor position detection method provided by the embodiment of the invention detects the rotor position of the motor through the motor position detection device. Before describing the motor position detection method provided by the embodiment of the present invention, a description is first given of a motor position detection device provided by the embodiment of the present invention.
Fig. 1 is a schematic frame diagram of a motor position detecting device according to an embodiment of the present invention. As shown in fig. 1, the motor position detecting apparatus includes a sensor resolver 10 for detection, a decoding chip 20, and a main control chip 30, wherein a detection signal output line of the resolver 10 is connected to an input signal interface of the decoding chip 20, and the decoding chip 20 is connected to the main control chip 30; the resolver 10 is also a motor for detection, and the resolver 10 includes a resolver rotor and a resolver stator, where the resolver rotor is coaxial with and fixedly connected to the rotor of the motor so that the resolver rotor rotates with the rotation of the rotor of the motor, and the resolver stator is coaxial with and fixedly connected to the stator of the motor. When the rotor of the motor rotates, the stator of the motor is fixed, the stator and the rotor of the motor are coaxial with each other by taking a central shaft as the central shaft, and the rotor of the motor moves relative to the stator of the motor through the bearing support. Therefore, when the resolver rotor of the resolver 10 rotates, an induction signal is generated at the resolver stator, and thus, the resolver 10 may generate a resolver input signal according to the rotation of the motor rotor and provide the resolver input signal to the decoding chip 20; the decoding chip 20 is configured to obtain the resolver input signal, generate an SPI digital signal and an ABZ pulse signal according to the resolver input signal, and send the generated SPI digital signal and the generated ABZ pulse signal to the main control chip 30 through an output interface of the SPI digital signal and an output interface of the ABZ pulse signal, respectively; the main control chip 30 is configured to receive the SPI digital signal and the ABZ pulse signal generated by the decoding chip 20, and acquire the motor position information according to the SPI digital signal and the ABZ pulse signal.
The main control chip 30 includes an SPI serial communication interface 31 and an incremental interface 32, where the SPI serial communication interface 31 is used to send an SPI serial communication CLOCK signal (CLOCK signal) and a chip select signal (CS signal) to the decoding chip 20, the SPI serial communication interface 31 can also be used to receive an SPI digital signal sent by the SPI digital signal output interface of the decoding chip 20, and the incremental interface 32 is used to receive an ABZ pulse signal sent by the ABZ pulse signal output interface of the decoding chip 20.
Referring to fig. 2A, a flowchart of a motor position detecting method according to an embodiment of the invention is shown. As shown in fig. 2A, the motor position detection method includes:
and S101, controlling a decoding chip to start motor position detection by a main control chip.
Specifically, the main control chip transmits an SPI serial communication CLOCK signal (CLOCK signal) and a chip select signal (CS signal) to the decoding chip. When the main control chip sends the SPI serial communication clock signal and the chip selection signal to the decoding chip, the decoding chip is in a working state, otherwise, the decoding chip is in a non-working state. In the SPI serial communication, the SPI serial communication clock signal is used for synchronization in data communication, and the chip selection signal is used for starting the data communication of the SPI serial communication.
And S102, the decoding chip acquires a rotary transformer input signal output by the rotary transformer, generates an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal, and sends the generated SPI digital signal and the generated ABZ pulse signal to the main control chip.
When the motor rotor rotates, the decoding chip applies excitation to two groups of coils in the rotary transformer, so that the rotary transformer generates two groups of signals, namely a rotary-change input signal, wherein the two groups of signals are a sine carrier signal and a cosine carrier signal respectively; the rotary transformer sends the rotary input signal to the decoding chip, the decoding chip analyzes the two groups of signals to obtain an SPI digital signal and an ABZ pulse signal, and the SPI digital signal and the ABZ pulse signal are sent to the main control chip.
And S103, the main control chip receives the SPI digital signal and the ABZ pulse signal generated by the decoding chip and acquires the motor position information according to the SPI digital signal and the ABZ pulse signal.
The SPI digital signal is received through an SPI serial communication interface of the main control chip, and the ABZ pulse signal is received through an incremental interface of the main control chip. Wherein, the SPI digital signal is a position signal with 12bit resolution, and the decoding precision of the decoding chip is 2124096. The resolution of the ABZ pulse signal is 12 bits, the incremental interface counts the AB signal in increments, and the increment counting principle is to calculate the number of the AB signals collected after the Z signal is generated. The specific process of increment counting is as follows: the incremental interface counts once whenever either of the two signals AB is inverted (from high to low or low to high). Referring to fig. 3A and 3B, which are schematic diagrams of the timing and incremental count of the ABZ signal, when the rotor position is moving in the positive direction, the timing of the ABZ pulse signal is as shown in fig. 3A, and the AB incremental count is incremented; when the rotor position is operating in the reverse direction, the timing of the ABZ pulse signal is as shown in FIG. 3B, with the AB increment count decremented. Counting the corresponding increments below the timing of the three ABZ signalsNumerical values. As can be seen from fig. 3A and 3B, the combination order of the levels of the AB signals is different when the motor turns differently, for example, in fig. 3A and 3B, when the rotor is running in the positive direction, the combination order of the levels of the AB signals is: 10. 11, 01, 00; when the rotor runs in the reverse direction, the combined sequence of the levels of the AB signals is as follows: 00. 01, 11, 10; where 1 is high and 0 is low. Therefore, the main control chip can judge whether the combination order is a combination order in a forward direction or a combination order in a reverse direction according to the combination order of the levels of the AB signals, and judge whether the increment count is incremented or decremented according to the judgment result of the combination order. However, it may be preset that the AB increment count is incremented when the rotor position is operated in one of the forward direction and the reverse direction, and the AB increment count is decremented when the rotor position is operated in the other direction.
In the embodiment of the invention, when the increment counting is increased when the rotor is preset to rotate towards the positive direction, and the main control chip judges that the combination sequence is the combination sequence of the positive direction, the increment counting is increased; when the main control chip judges that the combination order is the reverse combination order, the increment count is judged to be decreased. When the increment counting is decreased when the rotor is preset to rotate towards the positive direction, and when the main control chip judges that the combination sequence is the combination sequence of the positive direction, the increment counting is determined to be decreased; when the main control chip judges that the combination sequence is the reverse combination sequence, the incremental count is judged to be increased.
In the embodiment of the invention, the AB incremental count can be adopted to increase progressively when the rotor position runs towards the positive direction, and the AB incremental count can be adopted to decrease progressively when the rotor position runs towards the negative direction. In fig. 3A and 3B, T is a period of the AB signal, T is one of 1024 electrical angle periods, the electrical angle period corresponds to a pair of magnetic poles of the motor, that is, a position relative to a stator of the motor, and a time interval between the passing of the position by the pair of magnetic poles and the passing of the position by the next pair of magnetic poles is one electrical angle period, that is, a time taken by the electrode to rotate by the pair of magnetic poles, and when the period of the AB signal is T, that is, the period of the AB signal is 1/1024 of the electrical angle period, in fig. 3A and 3B, a set of pulse count maps below a timing chart of three signals ABZ is a count value of incremental counts corresponding to the three signals ABZ, the AB incremental counts from 000 to FFF (the count value corresponding to FFF is 4095), which corresponds to exactly one electrical angle period. The Z signal is generated once in one electrical angle period, wherein the Z signal is generated by the decoding chip according to the output signal of the rotary transformer.
Referring to fig. 2B, a flowchart for acquiring the position information of the motor according to the SPI digital signal and the ABZ pulse signal according to the embodiment of the present invention is provided. As shown in fig. 2B, step S103 in fig. 2A specifically includes:
step S1031, the main control chip judges whether the motor is in a low-speed starting stage or a high-speed running stage, and if the motor is in the low-speed starting stage, the next step S1032 is executed; if the motor is in the high-speed running stage, it jumps to step S1033.
The main control chip specifically determines whether the motor is in a low-speed starting stage or a high-speed running stage:
the main control chip detects a Z pulse in the ABZ pulse signal, judges whether the motor is in a low-speed starting stage or a high-speed running stage according to the Z pulse, specifically, sets a low-speed point in advance, judges whether the motor is in the low-speed starting stage if the running speed of the motor is less than the low-speed point, and judges whether the motor is in the high-speed starting stage if the running speed of the motor is higher than the low-speed point. The main control chip can judge whether N1Z pulses are detected within a preset time T1, and if the number of the Z pulses detected within a preset time T1 is less than N1, the motor is judged to be in a low-speed starting stage; and if the number of the Z pulses detected in the preset time T1 is greater than or equal to N1, judging that the motor is in a high-speed operation stage. Where T1 and N1 are predetermined amounts set in accordance with the low speed point. Preferably, for example, the range of the low speed point may be set to 300rpm to 500rpm, if T1 is set to 1 minute, and N1 is 1 minute time, the number of Z pulses generated when the operation speed of the motor is 300rpm to 500rpm, and therefore, the corresponding N1 value is 1200-. When the low speed point is constant, the T1 setting changes, and the N1 also changes accordingly. In the above example, if T1 is set to 1 second, the corresponding N1 value is 20-34. For example, if the low speed point is set to 300rpm and T1 is set to 1 second, the corresponding N1 value is 20, and if the number of detected Z pulses in 1 second is less than 20, the motor is determined to be in the low speed starting stage; and if the number of the Z pulses detected in 1s is more than or equal to 20, judging that the motor is in a high-speed operation stage. For example, T1 has a value in the range of 0.5s to 5s, and it is further preferable that T1 is set to 1 s; n1 is a value obtained from a low speed point and T1, and N1 is in a range of 5 to 50.
And step S1032, the main control chip acquires the rotor position information of the motor in a low-speed starting stage through the SPI digital signal.
The motor is in a low-speed starting stage, wherein the SPI digital signal comprises information of a motor rotor position angle, the motor rotor position angle is determined according to a rotary transformer input signal and is a function of a decoding chip, the decoding chip can monitor the motor rotor position in real time after the rotary transformer is powered on, the motor rotor position angle is obtained according to the rotary transformer input signal, and the motor rotor position angle is sent to the main control chip. The decoding chip inputs excitation signals to the rotary transformer so as to excite two groups of coils in the rotary transformer, the rotary transformer outputs two groups of signals (rotary-variable input signals) according to the excitation signals in an induction mode, the two groups of signals are sine carrier signals and cosine carrier signals respectively, namely the rotary-variable input signals and are supplied to the decoding chip, and the decoding chip analyzes the real-time position angle according to the two groups of signals.
And step S1033, the main control chip acquires the rotor position information of the motor in a high-speed operation stage through the ABZ pulse signal.
Specifically, when the motor is in a high-speed operation stage, the incremental interface of the main control chip counts the AB signal in increments, and the motor position information is acquired according to the value M of the AB signal increment counting. Specifically, since the resolution of the ABZ pulse signal is 12 bits, the maximum value of M is smaller than 4096, and when M counts to 4096, M is automatically cleared, that is, M is M-4096; when M counts less than 0, M + 4096. The motor position information includes a rotor position angle theta and an angular velocity omega; first the position angle theta is determined from the value of M, and then the angular velocity omega is determined from the position angle theta, wherein,
<math> <mrow> <mi>&theta;</mi> <mo>=</mo> <mn>360</mn> <mo>&times;</mo> <mfrac> <mi>M</mi> <mn>4096</mn> </mfrac> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow> </math>
<math> <mrow> <mi>&omega;</mi> <mo>=</mo> <mfrac> <mi>d&theta;</mi> <mi>dt</mi> </mfrac> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>2</mn> <mo>)</mo> </mrow> </mrow> </math>
here, since the electrical angle period corresponding to a full 4096 count is 360 degrees, the corresponding position angle θ can be obtained by counting M, and the angular velocity ω can be calculated from the rate of change of the position angle.
S1034, the main control chip carries out abnormity diagnosis on the motor through the ABZ pulse signal, and when the motor is judged to be abnormally operated, the main control chip sends an operation abnormity signal and controls the motor to stop operating; and when the motor is judged not to have abnormal operation, skipping to the step S1033, and continuously calculating and acquiring the position information of the motor.
Wherein, main control chip judges whether the motor breaks down specifically to do:
the main control chip detects Z pulses in the ABZ pulse signals and judges whether the Z pulses are continuously detected in N2 electrical angle periods, and if the Z pulses are not continuously detected in N2 electrical angle periods, the motor is judged to be in fault; otherwise, judging the normal operation of the motor. N2 is a preset amount for preventing false alarm, preferably, the value range of N2 is 5-15, and further preferably, N2 is set to be 10; and/or:
the main control chip acquires a change rate a1 of the angular velocity omega of the motor (the change rate a1 is the acceleration of the angular velocity omega, and the derivative operation is performed on the angular velocity omega to obtain a change rate a1 of the angular velocity omega), and judges whether the change rate a1 is greater than a preset change rate threshold a0, and if the change rate a1 is greater than or equal to a preset change rate threshold a0, the motor is judged to be in fault; and if the change rate a1 is smaller than a preset change rate threshold value a0, judging that the motor normally runs. The a0 is calibrated according to the actual rotating speed step limit value of the motor, when the angular speed change rate of the motor exceeds the actual rotating speed step limit value of the motor, the motor is indicated to have a fault in operation, and through proper setting of the a0, the reliability of fault detection can be ensured, and the possibility of false alarm of the fault is reduced. Preferably, the value of a0 is in the range of 1500 rpm to 1800 rpm, and for example, the value of a0 may be set to 1600 rpm.
In the embodiment of the invention, the model of the main control chip can be Yingfei 1782, and in addition, the main control chip can also be realized by other types of single-chip microcomputers.
In the embodiment of the present invention, the type of the decoding chip may be AU6802 or other decoding chips capable of generating SPI digital signals and ABZ pulse signals.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A motor position detection method is used for measuring the position of a rotor of a motor, a rotary transformer rotor and the rotor of the motor are coaxially and fixedly connected, a rotary transformer stator is coaxially and fixedly connected with the stator of the motor, the rotary transformer outputs a rotary transformer input signal to a decoding chip according to the rotation of the rotor of the motor, the decoding chip decodes the rotary transformer input signal to obtain an SPI digital signal and an ABZ pulse signal, and a main control chip controls the decoding chip, and is characterized by comprising the following steps:
s101, a main control chip controls a decoding chip to start motor position detection;
step S102, a decoding chip acquires a rotary transformer input signal output by a rotary transformer, generates an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal, and sends the generated SPI digital signal and the ABZ pulse signal to a main control chip;
and S103, the main control chip receives the SPI digital signal and the ABZ pulse signal generated by the decoding chip and acquires the motor position information according to the SPI digital signal or the ABZ pulse signal.
2. The motor position detecting method according to claim 1, wherein the acquiring of the motor position information according to the SPI digital signal or the ABZ pulse signal in step S103 includes:
step S1031, the main control chip judges whether the motor is in a low-speed starting stage or a high-speed running stage, and if the motor is in the low-speed starting stage, the next step S1032 is executed; if the motor is in the high-speed operation stage, the process jumps to step S1033:
step S1032, the main control chip obtains the rotor position information of the motor in a low-speed starting stage through the SPI digital signal;
and step S1033, the main control chip acquires the rotor position information of the motor in a high-speed operation stage through the ABZ pulse signal.
3. The motor position detecting method of claim 2, wherein the acquiring of the rotor position information of the motor in the high-speed operation stage by the main control chip through the ABZ pulse signal comprises: an incremental interface of the main control chip counts the AB signal increment and acquires the motor position information according to the value M of the AB signal increment counting; wherein,
when the increment counting is increased when the rotor is preset to run towards the positive direction, and when the main control chip judges that the combination sequence of the AB signals is the combination sequence of the positive direction, the increment counting is increased; when the main control chip judges that the combination order is the reverse combination order, the increment count is judged to be decreased;
when the increment counting is decreased when the rotor is preset to rotate towards the positive direction, and when the main control chip judges that the combination sequence is the combination sequence of the positive direction, the increment counting is determined to be decreased; when the main control chip judges that the combination sequence is the reverse combination sequence, the incremental count is judged to be increased.
4. A motor position detection method according to claim 3, wherein the motor position information includes a rotor position angle θ and an angular velocity ω;
the specific step of acquiring the motor position information according to the value M of the AB signal increment count is as follows: determining a position angle theta according to the value M, and then determining an angular speed omega according to the position angle theta; wherein,
5. the motor position detecting method according to claim 2, wherein the step of judging whether the motor is in the low-speed starting stage or the high-speed running stage by the main control chip is specifically as follows:
the main control chip detects Z pulses in the ABZ pulse signals and judges whether N1Z pulses are detected within preset time T1 or not, and if the number of the Z pulses detected within preset time T1 is less than N1, the motor is judged to be in a low-speed starting stage; and if the number of the Z pulses detected in the preset time T1 is greater than or equal to N1, judging that the motor is in a high-speed operation stage.
6. The motor position detecting method according to claim 2, wherein the step S103 further includes:
s1034, the main control chip carries out abnormity diagnosis on the motor through the ABZ pulse signal, and when the motor is judged to be abnormally operated, the main control chip sends an operation abnormity signal and controls the motor to stop operating; and when the motor is judged not to have abnormal operation, skipping to the step S1033, and continuously calculating and acquiring the position information of the motor.
7. The motor position detecting method of claim 5, wherein the main control chip performing abnormality diagnosis on the motor by the ABZ pulse signal includes:
the main control chip detects Z pulses in the ABZ pulse signals and judges whether the Z pulses are continuously detected in N2 electrical angle periods, and if the Z pulses are not continuously detected in N2 electrical angle periods, the motor is judged to be in fault; otherwise, judging the normal operation of the motor.
8. The motor position detecting method of claim 5, wherein the main control chip performing abnormality diagnosis on the motor by the ABZ pulse signal includes:
the main control chip acquires the change rate a1 of the angular velocity omega of the motor, judges whether the change rate a1 is larger than a preset change rate threshold value a0, and judges that the motor fails if the change rate a1 is larger than or equal to a preset change rate threshold value a 0; and if the change rate a1 is smaller than a preset change rate threshold value a0, judging that the motor normally runs.
9. A motor position detection device is characterized by comprising a sensor rotary transformer for detection, a decoding chip and a main control chip; the rotary transformer comprises a rotary transformer rotor and a rotary transformer stator, the rotary transformer rotor is coaxially and fixedly connected with a rotor of the motor, the rotary transformer stator is coaxially and fixedly connected with a stator of the motor, and the rotary transformer is used for outputting a rotary transformer input signal according to the rotation induction of the motor and providing the rotary transformer input signal to the decoding chip; the decoding chip is used for acquiring the rotary transformer input signal, generating an SPI digital signal and an ABZ pulse signal according to the rotary transformer input signal and sending the generated SPI digital signal and the ABZ pulse signal to the main control chip; the main control chip is used for receiving the SPI digital signal and the ABZ pulse signal generated by the decoding chip and acquiring the motor position information according to the SPI digital signal and the ABZ pulse signal.
10. A method of using the motor position detecting apparatus according to claim 9, wherein the motor position is detected by the motor position detecting method according to any one of claims 1 to 8.
CN201410723004.2A 2014-12-02 2014-12-02 Motor position detecting method and device as well as method using device Pending CN104362911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410723004.2A CN104362911A (en) 2014-12-02 2014-12-02 Motor position detecting method and device as well as method using device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410723004.2A CN104362911A (en) 2014-12-02 2014-12-02 Motor position detecting method and device as well as method using device

Publications (1)

Publication Number Publication Date
CN104362911A true CN104362911A (en) 2015-02-18

Family

ID=52530145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410723004.2A Pending CN104362911A (en) 2014-12-02 2014-12-02 Motor position detecting method and device as well as method using device

Country Status (1)

Country Link
CN (1) CN104362911A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105509774A (en) * 2015-11-30 2016-04-20 南京埃斯顿自动控制技术有限公司 Rotation transformer power-down circle-counting method and circuit
CN106130416A (en) * 2016-07-13 2016-11-16 中车株洲电力机车研究所有限公司 A kind of signal processing method and device
CN109654988A (en) * 2018-11-01 2019-04-19 汉宇集团股份有限公司 Motor in electric automobile position detection method of calibration and system, electric car
CN110726934A (en) * 2019-11-07 2020-01-24 陕西航空电气有限责任公司 Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip
CN111038514A (en) * 2019-12-30 2020-04-21 潍柴动力股份有限公司 Vehicle speed control method and related device
CN111077881A (en) * 2019-12-24 2020-04-28 中国兵器装备集团自动化研究所 Data abnormal value processing method, system, device and computer readable storage medium
CN111103867A (en) * 2019-12-23 2020-05-05 上海大郡动力控制技术有限公司 Motor controller rotation fault positioning and self-adaptive learning method
CN111506120A (en) * 2020-05-14 2020-08-07 深圳市星辰智能控制有限公司 Design method of ABZ pulse of regenerative encoder in servo control
CN113532264A (en) * 2021-07-13 2021-10-22 上海莘汭驱动技术有限公司 Control method and system of subminiature rotary transformer transmitter

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105509774A (en) * 2015-11-30 2016-04-20 南京埃斯顿自动控制技术有限公司 Rotation transformer power-down circle-counting method and circuit
CN106130416A (en) * 2016-07-13 2016-11-16 中车株洲电力机车研究所有限公司 A kind of signal processing method and device
CN106130416B (en) * 2016-07-13 2019-12-06 中车株洲电力机车研究所有限公司 Signal processing method and device
CN109654988A (en) * 2018-11-01 2019-04-19 汉宇集团股份有限公司 Motor in electric automobile position detection method of calibration and system, electric car
CN110726934A (en) * 2019-11-07 2020-01-24 陕西航空电气有限责任公司 Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip
CN110726934B (en) * 2019-11-07 2021-12-28 陕西航空电气有限责任公司 Method for detecting fault of rotary circuit of aviation starting motor by adopting AD2S1210 rotary transformer decoding chip
CN111103867A (en) * 2019-12-23 2020-05-05 上海大郡动力控制技术有限公司 Motor controller rotation fault positioning and self-adaptive learning method
CN111103867B (en) * 2019-12-23 2022-11-08 上海大郡动力控制技术有限公司 Motor controller rotation fault positioning and self-adaptive learning method
CN111077881A (en) * 2019-12-24 2020-04-28 中国兵器装备集团自动化研究所 Data abnormal value processing method, system, device and computer readable storage medium
CN111038514A (en) * 2019-12-30 2020-04-21 潍柴动力股份有限公司 Vehicle speed control method and related device
CN111506120A (en) * 2020-05-14 2020-08-07 深圳市星辰智能控制有限公司 Design method of ABZ pulse of regenerative encoder in servo control
CN113532264A (en) * 2021-07-13 2021-10-22 上海莘汭驱动技术有限公司 Control method and system of subminiature rotary transformer transmitter

Similar Documents

Publication Publication Date Title
CN104362911A (en) Motor position detecting method and device as well as method using device
US9755560B2 (en) Multigroup, multiphase driving system and driving method for rotary electric machine
CN103926508B (en) A kind of detecting system and method for motor stator winding
CN100454749C (en) Apparatus and method for controlling brushless DC motor
CN102053208A (en) Circuit and method for detecting short and disconnection of resolver for hybrid electric vehicle
CN104660120B (en) A kind of motor zero testing method and device
CN109314486A (en) Method and protective device for limiting the torque of a motor
CN103444072A (en) Method for operating an electric machine in short-ircuit operation
CN102055392A (en) Sensorless line back electromotive force (EMF) position detection method of brushless direct current motor (BLDCM)
CN104104285A (en) Control device for vehicle generator-motor and control method therefor
CN103620416A (en) Method for determining a rotary speed of a device
CN107561306B (en) Method for measuring rotating speed of wound-rotor motor based on rotor current
CN101977000A (en) Method for measuring position and speed of rotor of electrically excited synchronous motor and control device
CN102195543B (en) Integrated circuit for driving permanent magnet type DC (direct-current) motor by using Hall sensor
CN104145419A (en) Motor control device and control method therefor
EP2337216B1 (en) Dual purpose permanent magnets for a speed sensor and a generator
US11888430B2 (en) System and method of increasing resolution of position feedback for motor control
KR102155473B1 (en) Step Motor Drive Control System
CN109884334B (en) Method and system for measuring rotor speed of shield motor in non-working state
CN107389969A (en) A kind of brushless dc tachometer
JP2005192331A (en) Device for controlling generator for vehicle
CN217401239U (en) Control system for quickly starting mining fan by high-voltage frequency converter
CN108471268A (en) A kind of method that current of electric detection is synchronous with Rotating speed measring
Dabowsa et al. Design of an Automatic Synchronizing Device for Dual-Electrical Generators Based on CAN Protocol
CN202119787U (en) Automatic motor rotation speed detecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHERY NEW ENERGY AUTOMOBILE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: SAIC CHERY AUTOMOBILE CO., LTD.

Effective date: 20150714

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150714

Address after: 241000 Yijiang, Anhui Province, Jin Hua Road, No. 226, South Road, No.

Applicant after: New-energy automobile Technology Co., Ltd. of Cherry

Address before: 241006 Wuhu economic and Technological Development Zone, Anhui, No. 8 Changchun Road

Applicant before: Saic Chery Automobile Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150218