CN104515462A - Displacement detection device and method - Google Patents

Displacement detection device and method Download PDF

Info

Publication number
CN104515462A
CN104515462A CN201410807616.XA CN201410807616A CN104515462A CN 104515462 A CN104515462 A CN 104515462A CN 201410807616 A CN201410807616 A CN 201410807616A CN 104515462 A CN104515462 A CN 104515462A
Authority
CN
China
Prior art keywords
row
sensing element
magnet
array
control module
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
CN201410807616.XA
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.)
SHANGHAI LIUGONG FORK TRUCK Co Ltd
LIUZHOU LIUGONG FORK TRUCK Co Ltd
Guangxi Liugong Machinery Co Ltd
Original Assignee
SHANGHAI LIUGONG FORK TRUCK Co Ltd
LIUZHOU LIUGONG FORK TRUCK Co Ltd
Guangxi Liugong Machinery 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 LIUGONG FORK TRUCK Co Ltd, LIUZHOU LIUGONG FORK TRUCK Co Ltd, Guangxi Liugong Machinery Co Ltd filed Critical SHANGHAI LIUGONG FORK TRUCK Co Ltd
Priority to CN201410807616.XA priority Critical patent/CN104515462A/en
Publication of CN104515462A publication Critical patent/CN104515462A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention discloses a displacement detection device and method. When a magnet is positioned between two adjacent induction elements in a physical array, the two adjacent induction elements can be conducted simultaneously; when the magnet directly faces one induction element, only the induction element is conducted; singlechip microcomputer pins of a singlechip microcomputer detection control unit are connected with row input and line input pins of a magnetic field induction electronic element array, and are connected with all the induction elements according to the arrangement sequence of the induction elements; an array scanning circuit sequentially supplies power to each line, detects the state of each row, and detects and judges the location of the magnet according to the conducting state of the induction elements in the array. The displacement detection device and the displacement detection method have the advantages that by scanning the magnetic field induction electronic element array, the function of detecting the position of the magnet can be realized, and an analog signal corresponding to the position is output; high-accuracy displacement measurement can be carried out, the power consumption of a sensor is reduced, the device can intelligently prompt whether the sensor fails and whether a magnetic material is within an effective detection range, and the reliability of the device is improved.

Description

Detect device and the detection method thereof of displacement
Technical field
The present invention relates to a kind of device and detection method thereof of detection displacement of the displacement mainly for detection of relative motion object.
Background technology
Current displacement detecting method, adopts Hall element for detecting magnetic material, and need a resistance in parallel on sensing element, when element is switched on, resistance two ends are shorted, and export different voltage signals by electric resistance partial pressure mode.Which shortcoming, is switched on, so cause measuring accuracy low owing to can only there be a sensing element at every turn; Easily there is the state of closing on, when magnetic material between the two elements time, because the spacing of magnetic material and sensing device changes, easily cause occurring the state of closing on, cause output voltage to fluctuate; All sensing elements need all power supplies, cause power consumption large.
Summary of the invention
Object of the present invention is just to provide a kind of for above-mentioned Problems existing, propose by matrix-scanning mode, read sensing element state, according to the corresponding voltage signal of sensing element State-output, be intended to improve measuring accuracy, reduce the power consumption of sensor, and can prevent sensor from occurring output error, improve device and the detection method thereof of the detection displacement of product reliability.
Solution of the present invention is such:
A kind of device detecting displacement, comprise and magnet, sensing element form moving-member and the fixed part of relative movement are installed respectively, described sensing element forms a line in order installation in physical arrangement, in logic circuits, receive the on off state of sensing element row relax of going forward side by side by microprocessor detect control module and outwards export control signal, it is characterized in that: when described magnet is positioned in the middle of two adjacent sensing elements in physical arrangement, these two adjacent sensing element conductings can be made, just to only making this sensing element conducting during a sensing element simultaneously; In logic circuits described sensing element by row × row be arranged in magnetic field induction electronic element array, the single-chip microcomputer pin of described microprocessor detect control module inputs with the row of magnetic field induction electronic element array and row output pin is connected, and connects each sensing element according to putting in order of sensing element; Described microprocessor detect control module is provided with magnetic field induction electronic element array sweep circuit, powers to successively every a line, and detects the state of row, according to the conducting state of sensing element in array, detects the position judged residing for magnet.
Technical scheme also comprises more specifically: the output pin of each sensing element receives power supply through pull-up resistor, the output pin voltage that described microprocessor detect control module detects each sensing element judges the conducting state of sensing element, judges the position residing for magnet.
Further: the output terminal of described microprocessor detect control module is provided with the pilot lamp corresponding with sensing element, for indicating the state of corresponding sensing element.
To a detection method for the device of above-mentioned detection displacement, it is characterized in that: comprise step:
(1) arranged in matrix step: the row input and the row output pin that connect magnetic field induction electronic element array at the logic control circuit pin of microprocessor detect control module, described array in logic circuits by row × row matrix arrange, according to sensing element put in order connect each sensing element;
(2) control module powers to successively every a line, and detects the state of row;
(3) matrix identification setting steps: the induction arrays state of OK × column matrix, with binary number representation concurrence × row position, from initial position more away from Hall element be placed on the most significant digit of binary number, then:
Only has the first row first row conducting situation: 0 0,000 0,000 0,000 0,000 0001
Only have the first row first row and the first row secondary series conducting situation: 0 0,000 0,000 0,000 0,000 0011
Only has the first row secondary series conducting situation: 0 0,000 0,000 0,000 0,000 0010
Only have the first row secondary series and the first row the 3rd row conducting situation: 0 0,000 0,000 0,000 0,000 0110
By that analogy; Control module judges magnet present position according to this numerical value, thus judges the displacement of mobile object, is given for external unit by control outputting analog signal.
Technical scheme also comprises more specifically: also comprise fault handling steps: setting is when detecting that circular magnet is not in induction range, first output signal keeps last location status a period of time, afterwards, control circuit exports failure message, and points out fault by pilot lamp.
Advantage of the present invention is that magnet can make these two adjacent sensing element conductings when being positioned in the middle of two adjacent sensing elements simultaneously, just only make this element conductive to during an element, therefore under the prerequisite not increasing sensing element quantity, one, many places anchor point, thus improve positioning precision; Adopt the scanning to magnetic field induction electronic devices and components array, the position functions detecting magnet can be realized, realize exporting the simulating signal corresponding with position; Whether can carry out high-precision displacement measurement, reduce biosensor power consumption, and can to lose efficacy by intelligent prompt sensor, magnetic material, whether in effective sensing range, improves the reliability of device.
Accompanying drawing explanation
Fig. 1 is structured flowchart of the present invention.
Fig. 2 is induction arrays conducting schematic diagram of the present invention.
Fig. 3 is induction arrays circuit diagram of the present invention.
Embodiment
The present invention includes and magnet, sensing element form moving-member and the fixed part of relative movement are installed respectively, described sensing element 5 forms a line in order installation in physical arrangement, in logic circuits, receive the on off state of sensing element row relax of going forward side by side by microprocessor detect control module and outwards export control signal, described magnet 1 can make these two adjacent sensing element conductings, just to only making this sensing element conducting during a sensing element when being positioned in physical arrangement in the middle of two adjacent sensing elements simultaneously; In logic circuits described sensing element by row × row be arranged in magnetic field induction electronic element array, the single-chip microcomputer pin of described microprocessor detect control module 3 inputs with the row of magnetic field induction electronic element array and row output pin is connected, and connects each sensing element according to putting in order of sensing element; Described microprocessor detect control module is provided with magnetic field induction electronic element array sweep circuit, powers to successively every a line, and detects the state of row, according to the conducting state of sensing element in array 5, detects the position judged residing for magnet 1.
As shown in Figure 1, the present embodiment is that seed collecting 21 sensing elements form embodiments of the invention, and sensing element 5 is collected seed Hall element.
Fix circular magnet 1 on the moving part, 21 sensing elements 5 are arranged in a row fixed installation by fixed part in order, make magnet be positioned at sensing element and detect effective range.Described magnet 1 can make these two adjacent sensing element conductings, just to only making this sensing element conducting during a sensing element when being positioned in the middle of two adjacent sensing elements simultaneously; As shown in Figure 2, when magnet to move to No. 1 element just to position, only have No. 1 element conductive, now judge that magnet is positioned at No. 1 element just to position, thus determine its displacement, as shown in the first row figure in the middle of Fig. 2; When magnet moves in the middle of No. 1 element and No. 2 elements, No. 1 element and No. 2 element conductings simultaneously, now can be judged as that magnet is positioned in the middle of No. 1 element and No. 2 elements, thus determine its position, as shown in the 2nd row figure in Fig. 2.In Fig. 2, position shown in the third line figure is that magnet is positioned at the position just right with No. 2 elements, the like can determine that magnet is positioned at diverse location.
Microprocessor detect control module 3 is provided with matrix-scanning circuit, powers to successively every a line, and detects the state of row, according to array conducting state, detects the position judged residing for circular magnet 1.
Microprocessor detect control module 3, for the on off state of Scanning Detction magnetic field induction electronic devices and components array, exports control signal 6 after treatment; The output terminal of microprocessor detect control module 3 is provided with the pilot lamp 4 corresponding with sensing element, for indicating the state of corresponding sensing element.
The method of arranged in matrix comprises: the row input and the row output pin that connect magnetic field induction electronic element array at the logic control circuit pin of microprocessor detect control module, described array arranges by the matrix of 7 × 3 in logic circuits, each sensing element is connected according to putting in order of sensing element, connect into matrix shown in Fig. 3, each induction Hall components and parts output pin is received on 12V power supply through a pull-up resistor, after hall device is powered, when there is no conducting, output pin is high level, when hall device is switched on, output pin becomes low level.
Matrix-scanning function is: 7 row are followed successively by ROW1, ROW2 ... ROW7,3 row are followed successively by KEY1, KEY2 and KEY3, and control module powers to successively every a line, and detects the state of 3 row.First control module output voltage is to ROW1, three induction Hall components and parts U1, U2 and U3 energisings now in ROW1 are started working, if in the induction range of circular magnet positioned induction components and parts, the output pin of these components and parts is dragged down, otherwise, output pin is high level, detection control circuit, judging the position of circular magnet by reading KEY1, KEY2 and KEY3, when detecting that KEY1 is low level, U1 conducting being described, when KEY2 is low level, U2 conducting is described, when KEY3 is low level, U3 conducting is described, by that analogy.
Control detecting unit according to the conducting state of Hall element in sensing element array, judge the position residing for circular magnet.With conducting for 1, do not have conducting to be the state of 0 mark Hall element, then the induction arrays state of 3X7, with binary number representation totally 21, from initial position more away from Hall element be placed on the most significant digit of binary number, then:
Only has the first row first row U1 conducting situation: 0 0,000 0,000 0,000 0,000 0001
Only have the first row first row U1 and the first row secondary series U2 conducting situation: 0 0,000 0,000 0,000 0,000 0011
Only has the first row secondary series U2 conducting situation: 0 0,000 0,000 0,000 0,000 0010
The first row secondary series U2 and the first row the 3rd is only had to arrange U3 conducting situation: 0 0,000 0,000 0,000 0,000 0110
By that analogy.Control module judges magnet present position according to this numerical value, thus judges the displacement of mobile object, is given for external unit by control outputting analog signal.
Fault handling: when detecting that circular magnet is not in induction range, first output signal keeps last location status a period of time, and afterwards, control circuit exports failure message, and points out fault by pilot lamp.

Claims (5)

1. one kind is detected the device of displacement, comprise and magnet, sensing element form moving-member and the fixed part of relative movement are installed respectively, described sensing element forms a line in order installation in physical arrangement, in logic circuits, receive the on off state of sensing element row relax of going forward side by side by microprocessor detect control module and outwards export control signal, it is characterized in that: when described magnet is positioned in the middle of two adjacent sensing elements in physical arrangement, these two adjacent sensing element conductings can be made, just to only making this sensing element conducting during a sensing element simultaneously; In logic circuits described sensing element by row × row be arranged in magnetic field induction electronic element array, the single-chip microcomputer pin of described microprocessor detect control module inputs with the row of magnetic field induction electronic element array and row output pin is connected, and connects each sensing element according to putting in order of sensing element; Described microprocessor detect control module is provided with magnetic field induction electronic element array sweep circuit, powers to successively every a line, and detects the state of row, according to the conducting state of sensing element in array, detects the position judged residing for magnet.
2. the device of detection displacement according to claim 1, it is characterized in that: the output pin of each sensing element receives power supply through pull-up resistor, the output pin voltage that described microprocessor detect control module detects each sensing element judges the conducting state of sensing element, judges the position residing for magnet.
3. the device of detection displacement according to claim 1 and 2, is characterized in that: the output terminal of described microprocessor detect control module is provided with the pilot lamp corresponding with sensing element, for indicating the state of corresponding sensing element.
4. detect the detection method of the device of displacement described in pair claim 1, it is characterized in that: comprise step:
(1) arranged in matrix step: the row input and the row output pin that connect magnetic field induction electronic element array at the logic control circuit pin of microprocessor detect control module, described array in logic circuits by row × row matrix arrange, according to sensing element put in order connect each sensing element;
(2) control module powers to successively every a line, and detects the state of row;
(3) matrix identification setting steps: the induction arrays state of OK × column matrix, with binary number representation concurrence × row position, from initial position more away from Hall element be placed on the most significant digit of binary number, then:
Only has the first row first row conducting situation: 0 0,000 0,000 0,000 0,000 0001
Only have the first row first row and the first row secondary series conducting situation: 0 0,000 0,000 0,000 0,000 0011
Only has the first row secondary series conducting situation: 0 0,000 0,000 0,000 0,000 0010
Only have the first row secondary series and the first row the 3rd row conducting situation: 0 0,000 0,000 0,000 0,000 0110
By that analogy; Control module judges magnet present position according to this numerical value, thus judges the displacement of mobile object, is given for external unit by control outputting analog signal.
5. the detection method of the device of detection displacement according to claim 4, it is characterized in that: also comprise fault handling steps: setting is when detecting that circular magnet is not in induction range, first output signal keeps last location status a period of time, afterwards, control circuit exports failure message, and points out fault by pilot lamp.
CN201410807616.XA 2014-12-23 2014-12-23 Displacement detection device and method Pending CN104515462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410807616.XA CN104515462A (en) 2014-12-23 2014-12-23 Displacement detection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410807616.XA CN104515462A (en) 2014-12-23 2014-12-23 Displacement detection device and method

Publications (1)

Publication Number Publication Date
CN104515462A true CN104515462A (en) 2015-04-15

Family

ID=52791134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410807616.XA Pending CN104515462A (en) 2014-12-23 2014-12-23 Displacement detection device and method

Country Status (1)

Country Link
CN (1) CN104515462A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105486382A (en) * 2015-12-31 2016-04-13 河北珠峰仪器仪表设备有限公司 Magnetostrictive liquid level measuring device with liquid level hard warning and detecting functions
CN108614030A (en) * 2018-05-11 2018-10-02 柳州幻智科技有限公司 A kind of break detection device of blade processing
CN109916287A (en) * 2019-01-30 2019-06-21 西安维控自动化科技有限公司 A kind of in-plane displancement sensor, displacement detecting method and system based on magnetic induction
CN113418440A (en) * 2021-08-05 2021-09-21 重庆编福科技有限公司 Non-contact position detection method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3063027B2 (en) * 1996-11-15 2000-07-12 株式会社関電工 Position detection method
CN2615636Y (en) * 2003-02-10 2004-05-12 徐传仁 Digital approach displacement transducer
CN102519349A (en) * 2011-12-23 2012-06-27 基康仪器(北京)有限公司 Magnet displacement sensor
CN202501823U (en) * 2012-01-19 2012-10-24 哈姆林电子(苏州)有限公司 Long stroke linear displacement non-contact measuring device
CN102878916A (en) * 2012-08-30 2013-01-16 杨会峰 Device and method for measuring long stroke displacement based on Hall effect
CN102954807A (en) * 2011-08-19 2013-03-06 英飞凌科技股份有限公司 Magnetic position sensors, systems and methods
CN103884264A (en) * 2014-03-04 2014-06-25 张琪奕 Hall coordinate measuring apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3063027B2 (en) * 1996-11-15 2000-07-12 株式会社関電工 Position detection method
CN2615636Y (en) * 2003-02-10 2004-05-12 徐传仁 Digital approach displacement transducer
CN102954807A (en) * 2011-08-19 2013-03-06 英飞凌科技股份有限公司 Magnetic position sensors, systems and methods
CN102519349A (en) * 2011-12-23 2012-06-27 基康仪器(北京)有限公司 Magnet displacement sensor
CN202501823U (en) * 2012-01-19 2012-10-24 哈姆林电子(苏州)有限公司 Long stroke linear displacement non-contact measuring device
CN102878916A (en) * 2012-08-30 2013-01-16 杨会峰 Device and method for measuring long stroke displacement based on Hall effect
CN103884264A (en) * 2014-03-04 2014-06-25 张琪奕 Hall coordinate measuring apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105486382A (en) * 2015-12-31 2016-04-13 河北珠峰仪器仪表设备有限公司 Magnetostrictive liquid level measuring device with liquid level hard warning and detecting functions
CN108614030A (en) * 2018-05-11 2018-10-02 柳州幻智科技有限公司 A kind of break detection device of blade processing
CN109916287A (en) * 2019-01-30 2019-06-21 西安维控自动化科技有限公司 A kind of in-plane displancement sensor, displacement detecting method and system based on magnetic induction
CN109916287B (en) * 2019-01-30 2020-11-27 西安维控自动化科技有限公司 Planar displacement sensor based on magnetic induction, displacement detection method and system
CN113418440A (en) * 2021-08-05 2021-09-21 重庆编福科技有限公司 Non-contact position detection method

Similar Documents

Publication Publication Date Title
US8587262B2 (en) Assembled battery monitoring apparatus, method for detecting wiring disconnection of assembled battery, and assembled battery system
CN102985794B (en) For detection of the method for the on off state of switching device
CN104515462A (en) Displacement detection device and method
CN104459400B (en) Detection circuit and detection method for self-tolerant touch screen
CN101142493B (en) Apparatus and method for measuring the amount of the current in battery cells using a plurality of sensing resistors
CN105929343A (en) Magnetic field sensor
CN103430223A (en) Flooding detection circuit and flooding detection apparatus using same
KR20160075310A (en) Automatic data bus wire integrity verification device
JP2010530954A (en) Configurable electronic controller for capacitance measurement
CN111551865A (en) Apparatus and method for monitoring reliability of cell impedance measurements of battery cells
CN104635102A (en) Electronic component detection device and detection method thereof
CN109490770A (en) The power supply circuit and voltage sampling method and device of relay adhesion detection
RU2016117248A (en) METHOD AND DEVICE OF CONTROL, AT LEAST, OF ONE ELECTRONIC COMMUTATION CONTACT OF VEHICLE
CN103954905A (en) Digital circuit fault detecting circuit and method for detecting faults by utilizing same
CN103003180A (en) Switch detection system
JP2010226844A (en) Hall sensor abnormality detector and motor drive
CN103547888B (en) Electricity input key
CN107783065A (en) Sensor circuit
CN104297579A (en) Detection device and method
CN204989291U (en) Tunnel magneto resistor current sensor
CN202048885U (en) Magnetic induction type position detecting device
CN203376080U (en) Open circuit detection system of multipath thermocouples
CN102200426B (en) Hall encoder-based travel sensor and travel measurement method thereof
CN101329379A (en) Method and device for detecting electronic component pin
CN111726119B (en) Key detection circuit and detection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150415

WD01 Invention patent application deemed withdrawn after publication