CN110212818B - Angle detection method for permanent magnet motor - Google Patents

Angle detection method for permanent magnet motor Download PDF

Info

Publication number
CN110212818B
CN110212818B CN201910622786.3A CN201910622786A CN110212818B CN 110212818 B CN110212818 B CN 110212818B CN 201910622786 A CN201910622786 A CN 201910622786A CN 110212818 B CN110212818 B CN 110212818B
Authority
CN
China
Prior art keywords
sec
permanent magnet
degrees
counter
detection method
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
CN201910622786.3A
Other languages
Chinese (zh)
Other versions
CN110212818A (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201910622786.3A priority Critical patent/CN110212818B/en
Publication of CN110212818A publication Critical patent/CN110212818A/en
Application granted granted Critical
Publication of CN110212818B publication Critical patent/CN110212818B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

The invention discloses a permanent magnet motor angle detection method, which comprises the following steps: three-phase analog signals are output through 3 linear Hall sensors uniformly distributed on the periphery of the motor
Figure DDA0002126051980000011
Processing three-phase analog signals to obtain sine waves H with a fixed phase difference of 120 degreesn(n-1, 2,3), the sine waveform Hn(n is 1,2,3) and obtaining square waves sec (2), sec (1) and sec (0) with the phase difference of 120 degrees after comparison; the method comprises the steps of utilizing a counter to count edges of square waves sec (2), sec (1) and sec (0), and calculating the current position of the motor according to the counting of the counter.

Description

Angle detection method for permanent magnet motor
Technical Field
The invention belongs to the technical field of motor detection, and particularly relates to a permanent magnet motor angle detection method.
Background
The current motor motion control needs the detection of the position of a rotor, and the linear Hall sensor has the advantages of small volume, low cost and the like, and can replace a high-precision encoder to realize the angle detection of the permanent magnet motor. The prior art provides an absolute coding technology based on linear hall, a certain section of hall signals are extracted through section division to carry out position detection, however, the linearity of the extracted signals is poor, and arcsin and arctan inverse trigonometric functions need to be calculated. However, most of the existing linear hall-based position detection needs to calculate an inverse trigonometric function, which results in calculation consumption in memory and time delay.
Disclosure of Invention
In order to solve the defects in the prior art, the method for detecting the angle of the permanent magnet motor is provided, and the Hall signal wave band with better linearity is extracted through more reasonable section division and is approximately processed as a straight line, so that the calculation of an inverse trigonometric function is avoided, and unnecessary calculation consumption is reduced.
The technical scheme adopted by the invention is as follows:
a permanent magnet motor angle detection method comprises the following steps: three-phase analog signals are output through 3 linear Hall sensors uniformly distributed on the periphery of the motor
Figure BDA0002126051960000011
Processing three-phase analog signals to obtain sine waves H with a fixed phase difference of 120 degreesn(n-1, 2,3), the sine waveform Hn(n is 1,2,3) and obtaining square waves sec (2), sec (1) and sec (0) with the phase difference of 120 degrees after comparison; the edges of the square waves sec (2), sec (1) and sec (0) are counted by a counter respectively, and the current position of the motor is calculated according to the counting sum of the counter, and the calculation is expressed as follows:
Figure BDA0002126051960000012
wherein, cnt2, cnt1, and cnt0 are respectively the counters counting the edges of square waves sec (2), sec (1), and sec (0).
Further, by
Figure BDA0002126051960000013
Processing the three-phase analog signals to obtain sine waves with a fixed phase difference of 120 degrees;
further, the three-phase analog signal
Figure BDA0002126051960000014
Expressed as:
Figure BDA0002126051960000015
wherein A isnAnd DnAnd (n is 1,2 and 3) is the amplitude gain and the direct current component of the nth Hall signal respectively.
Further, the sine wave Hn(n ═ 1,2,3) is represented by:
Figure BDA0002126051960000021
the invention has the beneficial effects that:
according to the method, the approximate straight line of the waveform segment with good linearity is extracted for processing through a more reasonable section division mode, so that the inverse trigonometric function calculation is avoided, and the calculation consumption is reduced.
Drawings
FIG. 1 is a linear Hall sensor layout diagram;
FIG. 2 is a schematic diagram of position detection based on normalized Hall signals;
fig. 3 is a timing diagram of sector transition detection.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in figure 1, 3 linear Hall sensors are uniformly distributed around a motor with a 120-degree phase difference, and three-phase analog signals are output
Figure BDA0002126051960000022
As raw static hall signals:
Figure BDA0002126051960000023
where θ is the angular displacement of the rotor relative to the Hall sensor, AnAnd DnThe (n-1, 2 and 3) is the amplitude gain and the direct current component of the nth hall signal, which are easy to be obtained by measurement, and then the original static hall signal has amplitude error and direct current error.
By:
Figure BDA0002126051960000024
a sinusoidal waveform with a fixed phase difference of 120 degrees that can be approximated as ideal is obtained, with the expression:
Figure BDA0002126051960000025
wherein N is the normalized amplitude gain;
the normalized Hall signal based position detection mechanism, as shown in FIG. 2, once three Hall sensor signals H are collected1, H2And H3The comparator outputs sec (2), sec (1) and sec (0), and sec (2), sec (1) and sec (0) are 3 square waves with a phase difference of 120 degrees, the electrical angle of 360 degrees is roughly divided into six segments each containing 60 electrical angles, edges of sec (2), sec (1) and sec (0) are counted by a counter 2, a counter 1 and a counter 0, respectively, as shown in fig. 3, and thus a change in the segment to which the rotor position belongs is detected, and the direction is determined. The sum of counter 2, counter 1 and counter 0 is then the total number of sectors rotated by the rotor position. Thus, when the rotor jumps from one sector to the preceding sector, the count is increased by 1 and vice versa. And after the 60-degree section of the current position is obtained, extracting a wave band of which each section is in the middle size to perform accurate position calculation. The thick lines in fig. 3 extract the mid-position band for each sector. Because the waveform linearity of the section of-30 degrees to 30 degrees is good, the section can be processed approximately as a line segment under the appropriate precision requirement. The calculation expression of the current position of the motor is as follows:
Figure BDA0002126051960000031
where θ is the detected motor angle and H is the intermediate magnitude hall signal extracted for each sector.
The above embodiments are only used for illustrating the design idea and features of the present invention, and the purpose of the present invention is to enable those skilled in the art to understand the content of the present invention and implement the present invention accordingly, and the protection scope of the present invention is not limited to the above embodiments. Therefore, all equivalent changes and modifications made in accordance with the principles and concepts disclosed herein are intended to be included within the scope of the present invention.

Claims (4)

1. The angle detection method of the permanent magnet motor is characterized in that three-phase analog signals are output by 3 linear Hall sensors uniformly distributed on the periphery of the motor
Figure FDA0002572532240000011
Processing three-phase analog signals to obtain sine waves H with a fixed phase difference of 120 degreesnN is 1,2,3, the sine waveform HnN is 1,2,3, and square waves sec (2), sec (1) and sec (0) with a phase difference of 120 degrees are obtained after comparison; counting the edges of square waves sec (2), sec (1) and sec (0) by using a counter respectively, further detecting that the section to which the rotor position belongs changes, and determining the direction at the same time; after the 60-degree section where the current position is located is obtained, extracting a wave band of which each section is in the middle size to calculate the position, and calculating the current position of the motor according to the counting of the counter, wherein the calculation is represented as follows:
Figure FDA0002572532240000012
wherein, cnt2, cnt1, and cnt0 are respectively the edge counts of square wave sec (2), sec (1), and sec (0) by the counter, where θ is the detected motor angle, N is the normalized amplitude gain, and H is the middle-sized hall signal extracted for each segment.
2. The angle detection method of the permanent magnet motor according to claim 1, characterized by comprising the step of
Figure FDA0002572532240000013
Processing the three-phase analog signals to obtain sine waves with a fixed phase difference of 120 degrees, AnAnd DnThe amplitude gain and the direct current component of the nth Hall signal are respectively, and n is 1,2 and 3.
3. The method of claim 1, wherein the three-phase analog signal is used for detecting the angle of the permanent magnet motor
Figure FDA0002572532240000014
Expressed as:
Figure FDA0002572532240000015
wherein A isnAnd DnThe amplitude gain and the direct current component of the nth Hall signal are respectively, and n is 1,2 and 3.
4. The angle detection method of claim 1, wherein the sine wave H isnExpressed as:
Figure FDA0002572532240000016
CN201910622786.3A 2019-07-11 2019-07-11 Angle detection method for permanent magnet motor Active CN110212818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910622786.3A CN110212818B (en) 2019-07-11 2019-07-11 Angle detection method for permanent magnet motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910622786.3A CN110212818B (en) 2019-07-11 2019-07-11 Angle detection method for permanent magnet motor

Publications (2)

Publication Number Publication Date
CN110212818A CN110212818A (en) 2019-09-06
CN110212818B true CN110212818B (en) 2020-10-27

Family

ID=67797192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910622786.3A Active CN110212818B (en) 2019-07-11 2019-07-11 Angle detection method for permanent magnet motor

Country Status (1)

Country Link
CN (1) CN110212818B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111620056B (en) * 2020-05-19 2022-06-07 浙江衣拿智能科技股份有限公司 Push rod positioning system and method, and track control system and method
CN112986608B (en) * 2021-03-31 2023-04-11 长光卫星技术股份有限公司 Micro-nano satellite reaction flywheel speed measurement method based on linear Hall

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105811824A (en) * 2014-12-30 2016-07-27 上海新跃仪表厂 Micro/nano-satellite reaction flywheel control method based on linear Hall
CN105958875A (en) * 2016-05-30 2016-09-21 北京理工大学 High precision speed regulation control method of speed sensorless permanent magnet synchronous motor
CN106374790A (en) * 2015-07-23 2017-02-01 德昌电机(深圳)有限公司 Rotor rotating position positioning system, positioning method and sampling system
US20170353130A1 (en) * 2016-06-05 2017-12-07 Firstec Co., Ltd. Device for correcting hall sensor installation position error of bldc motor having linear hall sensor, and method thereof
CN108400733A (en) * 2018-04-27 2018-08-14 齐鲁工业大学 A kind of rotor position detecting method of automobile permanent magnet synchronous motor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105811824A (en) * 2014-12-30 2016-07-27 上海新跃仪表厂 Micro/nano-satellite reaction flywheel control method based on linear Hall
CN106374790A (en) * 2015-07-23 2017-02-01 德昌电机(深圳)有限公司 Rotor rotating position positioning system, positioning method and sampling system
CN105958875A (en) * 2016-05-30 2016-09-21 北京理工大学 High precision speed regulation control method of speed sensorless permanent magnet synchronous motor
US20170353130A1 (en) * 2016-06-05 2017-12-07 Firstec Co., Ltd. Device for correcting hall sensor installation position error of bldc motor having linear hall sensor, and method thereof
CN108400733A (en) * 2018-04-27 2018-08-14 齐鲁工业大学 A kind of rotor position detecting method of automobile permanent magnet synchronous motor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Computationally Efficient Coordinate Transformation for Field-Oriented Control Using Phase Shift of Linear Hall-Effect Sensor Signals;YU, Zhangguo 等;《IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS》;20190619;第67卷(第5期);第3442-3451页 *

Also Published As

Publication number Publication date
CN110212818A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN107607037B (en) Magnetoelectric encoder calibration method based on arc tangent trans-interval tabulation method
CN102111158B (en) Device for subdividing sine signal and cosine signal of position sensor and coding data, and implementation method thereof
CN101521480B (en) Resolution method and resolver for signals of rotating transformer
CN109945819B (en) Method for measuring position of rotor of permanent magnet synchronous motor
CN110212818B (en) Angle detection method for permanent magnet motor
WO2009116241A1 (en) Rotation angle detection apparatus
CN108871181B (en) Dynamic multi-window interval prediction angle subdivision method for multi-pair-electrode magnetoelectric encoder
CN105978570B (en) High-precision signal processing system of sine and cosine encoder
JPS62162968A (en) Speed detecting device
CN103222168B (en) A kind of servomotor and servo-control system
CN103731077A (en) Motor rotor device and rotation speed detecting device and method
CN111457953A (en) Automatic calibration detection system and method for rotary encoder
CN202364092U (en) Servo motor and servo control system
CN112985325B (en) Position decoding method and device of sine and cosine encoder and computer readable medium
CN112945288B (en) Full-angle measuring device and method for rotary transformer
CN105305755A (en) Detection method for rotor position of permanent-magnet synchronous motor
CN201858990U (en) Device for subdividing sine-cosine signals and encoding data of position sensor
US6515471B1 (en) Absolute position hall string sensor
CN102829714A (en) Method for realizing absolute angle measurement based on circular induction synchronizer
CN112434254A (en) Method, system, device, processor and storage medium for implementing incremental pulse count value correction processing for sine and cosine encoder
CN111982164B (en) Multi-track sector positioning off-axis absolute value encoder
CN110133316B (en) Precise speed measurement system and method for photoelectric encoder
US9593965B2 (en) Non-contact adjustable hysteretic magnetic encoder
CN112665531B (en) Multi-pair-level rotation-transformation coordinate transformation angle solving method
CN110086399B (en) Permanent magnet synchronous motor rotor position composite detection and starting operation method

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