CN112902991A - Electromagnetic coding measurement method with automatic gain adjustment function - Google Patents

Electromagnetic coding measurement method with automatic gain adjustment function Download PDF

Info

Publication number
CN112902991A
CN112902991A CN202110095999.2A CN202110095999A CN112902991A CN 112902991 A CN112902991 A CN 112902991A CN 202110095999 A CN202110095999 A CN 202110095999A CN 112902991 A CN112902991 A CN 112902991A
Authority
CN
China
Prior art keywords
signal
electromagnetic
voltage signal
signals
set threshold
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
CN202110095999.2A
Other languages
Chinese (zh)
Other versions
CN112902991B (en
Inventor
许永童
谢勇
叶益诚
姜春华
李杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI LANBAO SENSING TECHNOLOGY CO LTD
Original Assignee
SHANGHAI LANBAO SENSING TECHNOLOGY 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 SHANGHAI LANBAO SENSING TECHNOLOGY CO LTD filed Critical SHANGHAI LANBAO SENSING TECHNOLOGY CO LTD
Priority to CN202110095999.2A priority Critical patent/CN112902991B/en
Publication of CN112902991A publication Critical patent/CN112902991A/en
Application granted granted Critical
Publication of CN112902991B publication Critical patent/CN112902991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/24471Error correction
    • G01D5/2448Correction of gain, threshold, offset or phase control
    • 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/244Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains
    • G01D5/245Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing characteristics of pulses or pulse trains; generating pulses or pulse trains using a variable number of pulses in a train

Landscapes

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

Abstract

The invention discloses an electromagnetic coding measuring method with automatic gain adjustment, which comprises the following steps: (S1) collecting an electromagnetic signal generated by the target object and converting the electromagnetic signal into a voltage signal; (S2) comparing the voltage signal with a set threshold, and adjusting the gain of the voltage signal to be within the set threshold when the voltage signal is outside the set threshold; (S3) sampling and buffering the voltage signals after gain adjustment, selecting reference sine wave signals with the same period and the same amplitude to compare with the buffered signals when one signal period is buffered, and correcting the buffered signals point by point to obtain output signals. The invention has the advantages that: the signal intensity can be improved by using gain adjustment under the condition of not increasing the electromagnetic intensity of a target object; the requirement on installation accuracy is lowered, and the cost is reduced; the measurement can be reliably performed without reducing the detection pitch.

Description

Electromagnetic coding measurement method with automatic gain adjustment function
Technical Field
The invention relates to the field of sensors, in particular to an electromagnetic coding measuring method with automatic gain adjustment.
Background
The electromagnetic encoding measurement is based on an electromagnetic anisotropy technique, and is detected periodically by N, S magnetic poles with uniform distribution. After the generated sine and cosine analog signals are subjected to interpolation and subdivision, two paths of pulse waves with the phase difference of 90 degrees are output. The length of the relative displacement between the detection body and the target object determines the number of output pulses, the relative displacement speed determines the frequency of the output pulses, and the relative displacement direction determines whether the phase before the two pulse waves is advanced or delayed. By this method, the moving direction, speed and distance of the detection target object can be detected without contact.
Current electromagnetic code measurement techniques employ a fixed signal gain approach that is relatively simple in signal processing. The signal gain cannot be adjusted according to the change of the target signal, and the gain adjustment is easily too large or not enough when the original signal changes irregularly. When the target signal is weak or the non-sine wave curve is regularly changed, the effective signal cannot be effectively captured, so that signal loss, measurement error increase and even measurement failure are caused.
Aiming at the problem, the current solution idea is as follows:
1. the mounting distance between the detection body and the target object is reduced. The closer the detection body is to the target object, the stronger the detected signal is. The method can improve the strength of the detection signal to a certain extent, but the reduction of the mounting distance means that the requirement of mounting precision is improved. The concentricity requirement of the installed structural part is high, otherwise, the target object is easy to collide with the detection body in motion. Causing damage to the product.
2. Increasing the electromagnetic intensity of the target. Since the object needs to be shaped as a ring, the ring must be made of a soft magnetic material, i.e., a "rubber magnet". The electromagnetic strength of the material cannot be very high, and the material is difficult to improve and has high cost. The effectiveness of this approach is limited.
Disclosure of Invention
The present invention is directed to providing an electromagnetic code measuring method with automatic gain adjustment, which adjusts the gain of the output signal of the electromagnetic encoder so that the output signal is within a predetermined range, according to the above-mentioned disadvantages of the prior art.
The purpose of the invention is realized by the following technical scheme:
an electromagnetic coding measurement method with automatic gain adjustment comprises the following steps:
(S1) collecting an electromagnetic signal generated by the target object and converting the electromagnetic signal into a voltage signal;
(S2) comparing the voltage signal with a set threshold, and adjusting the gain of the voltage signal to be within the set threshold when the voltage signal is outside the set threshold;
(S3) sampling and buffering the voltage signals after gain adjustment, selecting reference sine wave signals with the same period and the same amplitude to compare with the buffered signals when one signal period is buffered, and correcting the buffered signals point by point to obtain output signals.
The invention is further improved in that; the voltage signal is an alternating current signal, and the voltage signal is within the set threshold value, which means that the peak-to-peak value of the voltage signal is within the set threshold value.
In a further development of the invention, the set threshold is 8-20 mV/V.
The invention has the advantages that:
(1) under the condition of not increasing the electromagnetic intensity of the target object, the signal intensity is improved by using gain adjustment;
(2) the requirement on installation accuracy is lowered, and the cost is reduced;
(3) the measurement can be reliably performed without reducing the detection pitch.
(4) The original signal is modified by comparison with a standard sinusoidal curve. And the signal quality is improved.
Drawings
FIG. 1 is a flow chart of an electromagnetic code measurement method with automatic gain adjustment according to the present invention.
Detailed Description
The features of the present invention and other related features are described in further detail below by way of example in conjunction with the following drawings to facilitate understanding by those skilled in the art:
as shown in fig. 1, an embodiment of the present invention provides an electromagnetic code measurement method with automatic gain adjustment, which includes the following steps:
(S1) an electromagnetic signal generated by the object (electromagnetic encoder) is collected and converted into a voltage signal.
(S2) comparing the voltage signal with the set threshold, and adjusting the gain of the voltage signal to be within the set threshold when the voltage signal is outside the set threshold.
In this embodiment, the output signal of the electromagnetic encoder is a sine wave signal, and in order to automatically adjust the gain of the signal, a peak-to-peak value detection circuit and a variable gain amplifier are used to process the voltage signal. The peak-to-peak value detection circuit can detect the peak-to-peak value of the voltage signal, and the setting threshold value of the peak-to-peak value in the embodiment is 8-20mV/V, wherein the unit mV/V means the voltage of the voltage signal corresponding to each volt of the power supply voltage. For example, when the power voltage is 5V, the specified range of the voltage signal is 40-100 mV. The variable gain amplifier can amplify the voltage signal according to the detection result of the peak-to-peak value detection circuit, so that the amplitude of the voltage signal is converted into a set threshold value.
(S3) sampling and buffering the voltage signals after gain adjustment, selecting reference sine wave signals with the same period and the same amplitude to compare with the buffered signals when one signal period is buffered, and correcting the buffered signals point by point to obtain output signals.
Because the output signal of the electromagnetic encoder has high requirements on the phase precision, the phase information of the electromagnetic encoder needs to be ensured not to be interfered in the process of correcting the waveform of the electromagnetic encoder. Each signal cycle comprises three zero-crossing points, and in the process of acquiring the reference sine wave signal, aiming at the cached voltage signal, the time corresponding to the three zero-crossing points in the single cycle and the time corresponding to each sampling point (assuming that the sampling intervals are uniform) are solved by adopting an interpolation method; and then obtaining a single-period reference sine wave signal according to the zero-crossing time and the peak-to-peak value of the buffered signal. And then substituting the time corresponding to each sampling point into the reference sine wave signal to obtain a correction value of the sampling point, and taking the correction value as the sampling value of the sampling point, thereby obtaining the shaped voltage signal.
The invention can ensure larger detection distance and normal measurement when the electromagnetic signal of the target object is unstable in the motion process under the condition of adding less cost. The requirement of installation accuracy is reduced, the reliability of measurement is improved, and more application possibilities are expanded.
The above embodiments of the present invention do not limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (3)

1. An electromagnetic coding measurement method with automatic gain adjustment is characterized by comprising the following steps:
(S1) collecting an electromagnetic signal generated by the target object and converting the electromagnetic signal into a voltage signal;
(S2) comparing the voltage signal with a set threshold, and adjusting the gain of the voltage signal to be within the set threshold when the voltage signal is outside the set threshold;
(S3) sampling and buffering the voltage signals after gain adjustment, selecting reference sine wave signals with the same period and the same amplitude to compare with the buffered signals when one signal period is buffered, and correcting the buffered signals point by point to obtain output signals.
2. The method according to claim 1, wherein the voltage signal is an ac signal; the voltage signal is within the set threshold, which means that the peak-to-peak value of the voltage signal is within the set threshold.
3. The method of claim 1, wherein the threshold value is 8-20 mV/V.
CN202110095999.2A 2021-01-25 2021-01-25 Electromagnetic coding measurement method with automatic gain adjustment function Active CN112902991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110095999.2A CN112902991B (en) 2021-01-25 2021-01-25 Electromagnetic coding measurement method with automatic gain adjustment function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110095999.2A CN112902991B (en) 2021-01-25 2021-01-25 Electromagnetic coding measurement method with automatic gain adjustment function

Publications (2)

Publication Number Publication Date
CN112902991A true CN112902991A (en) 2021-06-04
CN112902991B CN112902991B (en) 2022-10-14

Family

ID=76118787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110095999.2A Active CN112902991B (en) 2021-01-25 2021-01-25 Electromagnetic coding measurement method with automatic gain adjustment function

Country Status (1)

Country Link
CN (1) CN112902991B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108441A (en) * 1986-12-18 1988-06-29 中国船舶工业总公司第七研究院第七一五研究所 Automatic mutual-inductor calibrating instrument
JPH08307178A (en) * 1995-05-08 1996-11-22 Mitsubishi Electric Corp Gain control circuit
CN201141770Y (en) * 2007-11-30 2008-10-29 上海微电子装备有限公司 Double-frequency laser interfere signal receiver with automatically adjustable high-speed gain
CN102111166A (en) * 2010-12-08 2011-06-29 大唐移动通信设备有限公司 Method and equipment for regulating gain of radio-frequency amplifier
CN103346818A (en) * 2013-07-11 2013-10-09 广州金视网络信息工程有限公司 HFC gain adjustment method, HFC transponder and HFC response system
CN104330096A (en) * 2014-10-30 2015-02-04 北京堀场汇博隆精密仪器有限公司 Method and device for correcting, compensating and automatically calibrating measuring signals
CN104393852A (en) * 2014-12-02 2015-03-04 中国空空导弹研究院 Target signal automatic gain adjusting system and method
CN104459310A (en) * 2014-10-24 2015-03-25 航天科工深圳(集团)有限公司 Alternating voltage frequency acquisition device
CN104730573A (en) * 2015-03-19 2015-06-24 桂林电子科技大学 Acquisition method and device for micro-seismic signals within large dynamic range
CN111628743A (en) * 2020-05-19 2020-09-04 中国科学院西安光学精密机械研究所 Gain self-adaptive conversion circuit and method capable of expanding dynamic range in astronomical observation system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108441A (en) * 1986-12-18 1988-06-29 中国船舶工业总公司第七研究院第七一五研究所 Automatic mutual-inductor calibrating instrument
JPH08307178A (en) * 1995-05-08 1996-11-22 Mitsubishi Electric Corp Gain control circuit
CN201141770Y (en) * 2007-11-30 2008-10-29 上海微电子装备有限公司 Double-frequency laser interfere signal receiver with automatically adjustable high-speed gain
CN102111166A (en) * 2010-12-08 2011-06-29 大唐移动通信设备有限公司 Method and equipment for regulating gain of radio-frequency amplifier
CN103346818A (en) * 2013-07-11 2013-10-09 广州金视网络信息工程有限公司 HFC gain adjustment method, HFC transponder and HFC response system
CN104459310A (en) * 2014-10-24 2015-03-25 航天科工深圳(集团)有限公司 Alternating voltage frequency acquisition device
CN104330096A (en) * 2014-10-30 2015-02-04 北京堀场汇博隆精密仪器有限公司 Method and device for correcting, compensating and automatically calibrating measuring signals
CN104393852A (en) * 2014-12-02 2015-03-04 中国空空导弹研究院 Target signal automatic gain adjusting system and method
CN104730573A (en) * 2015-03-19 2015-06-24 桂林电子科技大学 Acquisition method and device for micro-seismic signals within large dynamic range
CN111628743A (en) * 2020-05-19 2020-09-04 中国科学院西安光学精密机械研究所 Gain self-adaptive conversion circuit and method capable of expanding dynamic range in astronomical observation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘恒等: "自动增益控制电路实验设计", 《实验技术与管理》 *

Also Published As

Publication number Publication date
CN112902991B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
EP2008064B1 (en) Methods and apparatus for dynamic offset adjustment in a magnetic article detector
US6232768B1 (en) Centering a signal within the dynamic range of a peak detecting proximity detector
JP2007518989A (en) Peak value detection circuit
CN102741659B (en) Binarization circuit for processing a detection signal
EP1348106B1 (en) Detection of passing magnetic articles while adapting the detection threshold
US5694038A (en) Detector of passing magnetic articles with automatic gain control
US7231325B2 (en) System for evaluating a sensor signal
EP0875774A2 (en) Detection of passing magnetic articles while periodically adapting detection threshold
US9778326B2 (en) Circuits and methods for limiting a smallest separation of thresholds in a magnetic field sensor
US20130226490A1 (en) Motion Sensor, Method, and Computer-Readable Storage Medium Providing a Motion Sensor with a State Processor Having a Reduced Amount of State Chatter
EP0545254A2 (en) Analog-to-digital converter circuit having automatic range control
US6456063B1 (en) Self compensating control circuit for digital magnetic sensors
CN101373143B (en) Method for detecting LVDT sensor signal
CN105136281A (en) Vibrating wire transducer frequency measurement device and method
CN112902991B (en) Electromagnetic coding measurement method with automatic gain adjustment function
JP5182309B2 (en) POSITION DATA CORRECTION DEVICE, ENCODER, MOTOR SYSTEM, AND POSITION DATA CORRECTION METHOD
US9438147B2 (en) Position detecting apparatus and driving system
ATE444590T1 (en) METHOD FOR ADAPTIVE GAIN AND/OR PHASE CONTROL
CN113587794A (en) Electromagnetic bearing rotor displacement measuring method and device and electromagnetic bearing system
US20130271112A1 (en) Adaptive Threshold Voltage For Frequency Input Modules
CN101021423A (en) Offset correction circuit of encoder
CN110594596B (en) Water pipe network leakage detection circuit
ATE229655T1 (en) METHOD AND DEVICE FOR MEASURING THE TIME OF AN ELECTRICAL, ELECTROMAGNETIC OR ACOUSTIC SIGNAL
Zhang et al. Method for Measuring Levitation Gap of Magnetic Levitation Ball Based on Image Processin
US20040102162A1 (en) Device for receiving digital signals

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