CN105823504A - Zero-point-crossing processing method of encoder - Google Patents

Zero-point-crossing processing method of encoder Download PDF

Info

Publication number
CN105823504A
CN105823504A CN201610227152.4A CN201610227152A CN105823504A CN 105823504 A CN105823504 A CN 105823504A CN 201610227152 A CN201610227152 A CN 201610227152A CN 105823504 A CN105823504 A CN 105823504A
Authority
CN
China
Prior art keywords
encoder
value
region
zero point
initial value
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.)
Granted
Application number
CN201610227152.4A
Other languages
Chinese (zh)
Other versions
CN105823504B (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.)
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
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 China Academy of Launch Vehicle Technology CALT, Beijing Institute of Space Launch Technology filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201610227152.4A priority Critical patent/CN105823504B/en
Publication of CN105823504A publication Critical patent/CN105823504A/en
Application granted granted Critical
Publication of CN105823504B publication Critical patent/CN105823504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

To effectively solve the problem of an angle measurement error brought during measurement of an encoder when crossing a zero point, the invention provides a zero-point-crossing processing method. The method includes the steps of: (1) obtaining an initial value of an encoder; (2) determining the zero-point-crossing type; and (3) performing zero-point-crossing processing according to the zero-point-crossing type. The zero-point-crossing processing method of the encoder is realized by adoption of a method of comparing a collected value with the initial value of the encoder, and can effectively solves the problem that an angle collection error is caused when the encoder crosses the zero point.

Description

A kind of more zero point processing method of encoder
Technical field
The present invention relates to Computer Control Technology field, more particularly, to the more zero point processing method of a kind of encoder.
Background technology
Encoder is the equipment needing accurately to have measured mechanism's angle values such as perpendicular, revolution, typically uses absolute value encoder.
But the absolute value encoder that how high range is all has zero point, if forward more zero crossing, the angle value gathered the value near full scale can become the value of zero crossings, if the most more zero crossing, the angle value gathered can become the value near full scale from the value of zero crossings.Forward and reverse more zero crossing all can bring mistake to angular surveying.
Zero point is avoided when being to install in the whole range region measured by a kind of solution, and this method motility is poor, makes troubles especially when using product in batches.If work carelessness arises that potential angular surveying mistake.
Summary of the invention
In order to effectively solve the angular surveying Problem-Error that when encoder is measured, more zero point is brought, the invention provides a kind of method that more zero point processes, including:
(1) initial value of encoder is obtained;
(2) more zero point type is determined;
(3) carry out more zero point according to more zero point type to process.
Further, described step (1) including: obtained the initial value of encoder by collection value and measured value.
Further, the described initial value by collection value and measured value acquisition encoder includes:
(11) the actual coding device collection value that the zero point of the equipment that tag encoder is measured is corresponding is obtained;
(12) measure device measuring angle by third party, obtain the angle value that the measured value of angle, i.e. actual requirement are measured;
(13) difference of the measured value of described actual coding device collection value and described angle is the initial value of encoder.
Further, when using for the first time, the initial value of encoder is 0, and the actual zero point of encoder overlaps.
Further, described step (2) including: according to coding is divided into multiple region, carries out more zero point according to collection value and initial value and judges.
Further, described according to coding being divided into multiple region, carry out more zero point according to collection value and initial value and judge to include:
(21) use the highest 2 of encoder values coding is divided into 4 continuums to be followed successively by, i.e. region I, region II, region III and region IV, non-actual zero point region II, III of district I and IV to be kept apart, avoid vacation encoder zero-crossing adjacent;
(22) choose the subregion point of the zero point of encoder so that the measurement scope of encoder less than adjacent two regions measurement scope and;
(23) use encoder to carry out angular surveying: if wherein encoder initial value is at region II or III, then ignore encoder and get over zero point process;If encoder initial value is in region IV and collection value in region I, then encoder forward gets over zero point;If encoder initial value is in region I, collection value is in region IV, then zero point reversely got over by encoder.
Further, region I and IV subregion point are set to choose the zero point of encoder.
Further, described 4 regions are respectively as follows:
The highest two of region I: encoder values is all 0;
Region II: encoder values highest order is 0, and a secondary high position is 1;
Region III: encoder values highest order is 1, and a secondary high position is 0;
The highest two of region IV: encoder values is all 1.
Further, described step (23) including:
When the highest 2 of encoder initial value is all 1, and collection value is the highest 2 when being all 0, then encoder forward gets over zero crossing;When the highest 2 of encoder initial value is all 0, and collection value is the highest 2 when being all 1, then zero crossing reversely got over by encoder.
Further, described step (3) including:
(31) data bits of encoder being set as n, the encoder angular value more zero point processed is with having symbolic variable record more than n position;
(32) when determining that encoder forward gets over zero crossing, encoder actual acquisition value is added as encoder angular value;
(33) after judging that encoder reversely gets over zero crossing, encoder actual acquisition value is subtracted as encoder angular value.
The invention have the benefit that the processing method of zero point got over by the encoder that the method that the present invention uses collection value to compare with encoder initial value realizes, it is possible to effectively solve the problem that encoder more zero point causes angle acquisition mistake.
Accompanying drawing explanation
Fig. 1 shows that zero point process flow figure got over by the encoder of the present invention.
Fig. 2 shows that encoder measured zone divides schematic diagram.
Fig. 3 shows that encoder forward gets over zero point schematic diagram.
Fig. 4 shows that zero point schematic diagram reversely got over by encoder.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is described.
As it is shown in figure 1, the method that more zero point processes of the present invention comprises the steps:
(1) initial value of encoder is obtained;
(2) more zero point type is determined;
(3) carry out more zero point according to more zero point type to process.
Preferably, described step (1) including: obtained the initial value of encoder by collection value and measured value.
Preferably, the described initial value by collection value and measured value acquisition encoder includes:
(11) the actual coding device collection value that the zero point of the equipment that tag encoder is measured is corresponding is obtained;
(12) measure device measuring angle by third party, obtain the angle value that the measured value of angle, i.e. actual requirement are measured;
(13) difference of the measured value of described actual coding device collection value and described angle is the initial value of encoder.
Preferably, when using for the first time, the initial value of encoder is 0, and the actual zero point of encoder overlaps.
Preferably, described step (2) including: according to coding is divided into multiple region, carries out more zero point according to collection value and initial value and judges.
Preferably, described according to coding being divided into multiple region, carry out more zero point according to collection value and initial value and judge to include:
(21) use the highest 2 of encoder values coding is divided into 4 continuums to be followed successively by, i.e. region I, region II, region III and region IV, non-actual zero point region II, III of district I and IV to be kept apart, avoid vacation encoder zero-crossing adjacent;
(22) choose the subregion point of the zero point of encoder so that the measurement scope of encoder less than adjacent two regions measurement scope and;
(23) use encoder to carry out angular surveying: if wherein encoder initial value is at region II or III, then ignore encoder and get over zero point process;If encoder initial value is in region IV and collection value in region I, then encoder forward gets over zero point;If encoder initial value is in region I, collection value is in region IV, then zero point reversely got over by encoder.
Preferably, region I and IV subregion point are set to choose the zero point of encoder.
Preferably, described 4 regions are respectively as follows:
The highest two of region I: encoder values is all 0;
Region II: encoder values highest order is 0, and a secondary high position is 1;
Region III: encoder values highest order is 1, and a secondary high position is 0;
The highest two of region IV: encoder values is all 1.
Preferably, described step (23) including:
When the highest 2 of encoder initial value is all 1, and collection value is the highest 2 when being all 0, then encoder forward gets over zero crossing;When the highest 2 of encoder initial value is all 0, and collection value is the highest 2 when being all 1, then zero crossing reversely got over by encoder.
Preferably, described step (3) including:
(31) data bits of encoder being set as n, the encoder angular value more zero point processed is with having symbolic variable record more than n position;
(32) when judging that encoder forward gets over zero crossing, encoder actual acquisition value is added as encoder angular value;
(33) after judging that encoder reversely gets over zero crossing, encoder actual acquisition value is subtracted as encoder angular value.
Although describing the present invention with reference to specific embodiment, it will be understood by those skilled in the art that and can carry out various change on the basis of without departing from the scope of the invention or carry out equivalence replacement.It addition, the content that present invention teach that can be carried out various adjustment on the basis of without departing from the scope of the invention thus adapt to specific environment or material.Therefore, the present invention should not necessarily be limited by disclosed specific embodiment, but should include all embodiments belonging to scope.

Claims (10)

1. get over the method that zero point processes, including:
(1) initial value of encoder is obtained;
(2) more zero point type is determined;
(3) carry out more zero point according to more zero point type to process.
Method the most according to claim 1, it is characterised in that described step (1) including: obtained the initial value of encoder by collection value and measured value.
Method the most according to claim 2, it is characterised in that the described initial value by collection value and measured value acquisition encoder includes:
(11) the actual coding device collection value that the zero point of the equipment that tag encoder is measured is corresponding is obtained;
(12) measure device measuring angle by third party, obtain the angle value that the measured value of angle, i.e. actual requirement are measured;
(13) difference of the measured value of described actual coding device collection value and described angle is the initial value of encoder.
Method the most according to claim 3, it is characterised in that when using for the first time, the initial value of encoder is 0, and the coincidence of encoder actual zero point.
Method the most according to claim 1, it is characterised in that described step (2) including: according to coding is divided into multiple region, carries out more zero point according to collection value and initial value and judges.
Method the most according to claim 5, it is characterised in that described according to coding is divided into multiple region, carries out more zero point according to collection value and initial value and judges to include:
(21) use the highest 2 of encoder values coding is divided into 4 continuums to be followed successively by, i.e. region I, region II, region III and region IV, non-actual zero point region II, III of district I and IV to be kept apart, avoid vacation encoder zero-crossing adjacent;
(22) choose the subregion point of the zero point of encoder so that the measurement scope of encoder less than adjacent two regions measurement scope and;
(23) use encoder to carry out angular surveying: if wherein encoder initial value is at region II or III, then ignore encoder and get over zero point process;If encoder initial value is in region IV and collection value in region I, then encoder forward gets over zero point;If encoder initial value is in region I, collection value is in region IV, then zero point reversely got over by encoder.
Method the most according to claim 6, it is characterised in that region I and IV subregion point are set to choose the zero point of encoder.
Method the most according to claim 6, it is characterised in that described 4 regions are respectively as follows:
The highest two of region I: encoder values is all 0;
Region II: encoder values highest order is 0, and a secondary high position is 1;
Region III: encoder values highest order is 1, and a secondary high position is 0;
The highest two of region IV: encoder values is all 1.
Method the most according to claim 6, it is characterised in that described step (23) including:
When the highest 2 of encoder initial value is all 1, and collection value is the highest 2 when being all 0, then encoder forward gets over zero crossing;When the highest 2 of encoder initial value is all 0, and collection value is the highest 2 when being all 1, then zero crossing reversely got over by encoder.
Method the most according to claim 1, it is characterised in that described step (3) including:
(31) data bits of encoder being set as n, the encoder angular value more zero point processed is with having symbolic variable record more than n position;
(32) when determining that encoder forward gets over zero crossing, encoder actual acquisition value is added as encoder angular value;
(33) after judging that encoder reversely gets over zero crossing, encoder actual acquisition value is subtracted as encoder angular value.
CN201610227152.4A 2016-04-13 2016-04-13 A kind of more zero point processing method of encoder Active CN105823504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610227152.4A CN105823504B (en) 2016-04-13 2016-04-13 A kind of more zero point processing method of encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610227152.4A CN105823504B (en) 2016-04-13 2016-04-13 A kind of more zero point processing method of encoder

Publications (2)

Publication Number Publication Date
CN105823504A true CN105823504A (en) 2016-08-03
CN105823504B CN105823504B (en) 2018-05-22

Family

ID=56526537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610227152.4A Active CN105823504B (en) 2016-04-13 2016-04-13 A kind of more zero point processing method of encoder

Country Status (1)

Country Link
CN (1) CN105823504B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106441375A (en) * 2016-09-28 2017-02-22 中车株洲电力机车研究所有限公司 Angular speed calculating method and apparatus
CN109388156A (en) * 2018-11-26 2019-02-26 中国航空工业集团公司洛阳电光设备研究所 A kind of incremental encoder by image area code seeks zero method
CN109751978A (en) * 2019-02-27 2019-05-14 合肥威艾尔智能技术有限公司 Angular transducer non-calibrating method for training simulators manipulation device
CN110440846A (en) * 2019-08-01 2019-11-12 北京航天发射技术研究所 A kind of collecting method of encoder, system, terminal and storage medium
CN110954129A (en) * 2019-12-19 2020-04-03 北京猎户星空科技有限公司 Method, device, equipment and medium for determining mileage count data
CN111238547A (en) * 2020-01-19 2020-06-05 东方电气自动控制工程有限公司 Rotation speed calculation algorithm for zero-crossing turnover of position type encoder
CN111999052A (en) * 2020-08-14 2020-11-27 北京首钢自动化信息技术有限公司 Calibration method and calibration device for mesh size of straightening and descaling machine and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10233155A1 (en) * 2002-07-22 2004-02-12 Abb Patent Gmbh Systematic error correction method for rotation angle measurement instrument in which one-off automated calibration is carried out against reference sensor with resultant correction values stored in analysis unit
EP1679493A2 (en) * 2005-01-08 2006-07-12 Leopold Kostal GmbH & Co. KG Method for correcting a measurement derived characteristic of a magnetoresistive position or angle sensor
CN101226067A (en) * 2008-02-01 2008-07-23 三一重工股份有限公司 Turning angle detecting device for project vehicle turning table and project vehicle thereof
CN102346441A (en) * 2010-07-30 2012-02-08 上海微电子装备有限公司 Encoder signal simulation device and method thereof
CN102494710A (en) * 2011-12-01 2012-06-13 中国科学院长春光学精密机械与物理研究所 Angle measurement precision detection apparatus of encoder and detection method thereof
CN202692935U (en) * 2012-05-18 2013-01-23 珠海格力电器股份有限公司 Electric motor and zero-point detection circuit of magnetoelectricity encoder of electric motor
CN203219237U (en) * 2013-04-28 2013-09-25 京滨电子装置研究开发(上海)有限公司 Zero checker
CN104482948A (en) * 2014-11-25 2015-04-01 佛山轻子精密测控技术有限公司 High-precision rotating encoder and measuring method of high-precision rotating encoder
KR101519356B1 (en) * 2014-10-14 2015-05-13 길주형 Calibration Device Of The Sensor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10233155A1 (en) * 2002-07-22 2004-02-12 Abb Patent Gmbh Systematic error correction method for rotation angle measurement instrument in which one-off automated calibration is carried out against reference sensor with resultant correction values stored in analysis unit
EP1679493A2 (en) * 2005-01-08 2006-07-12 Leopold Kostal GmbH & Co. KG Method for correcting a measurement derived characteristic of a magnetoresistive position or angle sensor
CN101226067A (en) * 2008-02-01 2008-07-23 三一重工股份有限公司 Turning angle detecting device for project vehicle turning table and project vehicle thereof
CN102346441A (en) * 2010-07-30 2012-02-08 上海微电子装备有限公司 Encoder signal simulation device and method thereof
CN102494710A (en) * 2011-12-01 2012-06-13 中国科学院长春光学精密机械与物理研究所 Angle measurement precision detection apparatus of encoder and detection method thereof
CN202692935U (en) * 2012-05-18 2013-01-23 珠海格力电器股份有限公司 Electric motor and zero-point detection circuit of magnetoelectricity encoder of electric motor
CN203219237U (en) * 2013-04-28 2013-09-25 京滨电子装置研究开发(上海)有限公司 Zero checker
KR101519356B1 (en) * 2014-10-14 2015-05-13 길주형 Calibration Device Of The Sensor
CN104482948A (en) * 2014-11-25 2015-04-01 佛山轻子精密测控技术有限公司 High-precision rotating encoder and measuring method of high-precision rotating encoder

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106441375A (en) * 2016-09-28 2017-02-22 中车株洲电力机车研究所有限公司 Angular speed calculating method and apparatus
CN106441375B (en) * 2016-09-28 2019-04-09 中车株洲电力机车研究所有限公司 A kind of angular speed calculation method and device
CN109388156A (en) * 2018-11-26 2019-02-26 中国航空工业集团公司洛阳电光设备研究所 A kind of incremental encoder by image area code seeks zero method
CN109388156B (en) * 2018-11-26 2021-07-09 中国航空工业集团公司洛阳电光设备研究所 Zero searching method of incremental encoder through image area code
CN109751978A (en) * 2019-02-27 2019-05-14 合肥威艾尔智能技术有限公司 Angular transducer non-calibrating method for training simulators manipulation device
CN110440846A (en) * 2019-08-01 2019-11-12 北京航天发射技术研究所 A kind of collecting method of encoder, system, terminal and storage medium
CN110440846B (en) * 2019-08-01 2021-07-23 北京航天发射技术研究所 Data acquisition method, system, terminal and storage medium of multi-turn encoder
CN110954129A (en) * 2019-12-19 2020-04-03 北京猎户星空科技有限公司 Method, device, equipment and medium for determining mileage count data
CN111238547A (en) * 2020-01-19 2020-06-05 东方电气自动控制工程有限公司 Rotation speed calculation algorithm for zero-crossing turnover of position type encoder
CN111999052A (en) * 2020-08-14 2020-11-27 北京首钢自动化信息技术有限公司 Calibration method and calibration device for mesh size of straightening and descaling machine and electronic equipment

Also Published As

Publication number Publication date
CN105823504B (en) 2018-05-22

Similar Documents

Publication Publication Date Title
CN105823504A (en) Zero-point-crossing processing method of encoder
CN110659636B (en) Pointer instrument reading identification method based on deep learning
CN100559131C (en) A kind of method for automatically detecting pointer instrument
WO2016101643A1 (en) Meter data read method and system
CN104391603A (en) Method, device and system for calibrating touch screen
CN103292701A (en) Machine-vision-based online dimensional measurement method of precise instrument
CN107507174A (en) Power plant's instrument equipment drawing based on hand-held intelligent inspection is as recognition methods and system
CN111047588A (en) Imaging measurement method for size of shaft type small part
CN110852954B (en) Image inclination correction method and system for pointer instrument
CN103149087B (en) Follow-up window and digital image-based non-contact real-time strain measurement method
CN104019843A (en) Device and method for achieving automatic zero position correction of pointer of automobile instrument based on image processing and metaprograming technology
CN104819690A (en) Double-camera machine vision positioning method of surface mounted component
CN109919154A (en) A kind of character intelligent identification Method and identification device
CN104034259A (en) Method for correcting image measurement instrument
CN111860464B (en) Substation auxiliary monitoring system pointer reading identification compensation method and device
US11713965B2 (en) Method and apparatus for determining a chamfer property of a workpiece chamfer and computer program
CN105300280A (en) Connector dimension vision measurement method
CN102680012B (en) System and method for automatic output of measuring information
CN104504386B (en) A kind of modularization AOI localization methods, system and burning IC equipment
CN102749815A (en) Detection method for alignment precision
US20220207706A1 (en) Method for detecting defects in product and computer device
CN105180821A (en) System and method of on-line measurement for fiber winding pitch in composite tube
CN108927533A (en) The angle correction method and computer readable storage medium of rotary shaft
CN102589431B (en) Automatic detection method for accurate positions and directions of multiple strain foils
CN106227150B (en) A kind of method and apparatus based on software stated accuracy

Legal Events

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