CN102288102B - Device for detecting relative positions of objects - Google Patents

Device for detecting relative positions of objects Download PDF

Info

Publication number
CN102288102B
CN102288102B CN2011102130063A CN201110213006A CN102288102B CN 102288102 B CN102288102 B CN 102288102B CN 2011102130063 A CN2011102130063 A CN 2011102130063A CN 201110213006 A CN201110213006 A CN 201110213006A CN 102288102 B CN102288102 B CN 102288102B
Authority
CN
China
Prior art keywords
liquid level
sensor
level sensor
formula liquid
contact capacitive
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.)
Expired - Fee Related
Application number
CN2011102130063A
Other languages
Chinese (zh)
Other versions
CN102288102A (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.)
Nanchang University
Original Assignee
Nanchang University
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 Nanchang University filed Critical Nanchang University
Priority to CN2011102130063A priority Critical patent/CN102288102B/en
Publication of CN102288102A publication Critical patent/CN102288102A/en
Application granted granted Critical
Publication of CN102288102B publication Critical patent/CN102288102B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

The invention relates to a device for detecting the relative positions of objects. The device comprises an object relative position sensing detection part and a singlechip control part, wherein the object relative position sensing detection part consists of an object to be detected at the upper end, a non-contact capacitance liquid level sensor, a connecting line of the non-contact capacitance liquid level sensor and a singlechip, an object to be detected at the lower end, and a sealing water box. The mounting positions of the non-contact capacitance liquid level sensor and the sealing water box in the device can be arbitrarily adjusted, and the size of the sealing water box can be adjusted, so the device has high applicability when used for detecting the relative positions of different objects.

Description

A kind of device of inspected object relative position
Technical field
The present invention relates to a kind of device of inspected object relative position, judge two kinds of objects problem that whether position coincide when assembling in order to solve.
Background technology
When two kinds of objects that slide relatively are installed, judge and install when whether putting in place that the relative position information of two kinds of objects becomes very important discrimination standard.Designed in the prior art and utilized magnetic position sensor; Its method is on an object, Hall element to be installed; A magnet is installed on the another one object, and when two object spaces changed, the magnetic field amount that Hall element receives was different; Thereby cause the variation of its current value or magnitude of voltage, through the current value of measuring Hall element or the relative position that magnitude of voltage just can calculate two objects.The shortcoming of such method is that working environment is had relatively high expectations, and receives noise or other outer influences of disturbing easily, causes measured value reliable and stable inadequately.
Summary of the invention
The objective of the invention is shortcoming, a kind of device of inspected object relative position is provided to prior art.
The present invention realizes through following technical scheme:
In object relative position sensing detection part, the lower end object to be detected is installed; The upper end object to be detected moves right; When the center line of non-contact capacitive formula liquid level sensor arrived the left margin of sealing water box, the pilot lamp of non-contact capacitive formula liquid level sensor was lighted, and showed that the installation site coincide.
Structure of the present invention comprises: object relative position sensing detection part and Single-chip Controlling part, object relative position sensing detection part is made up of connection line, lower end object to be detected, the sealing water box of upper end object to be detected, non-contact capacitive formula liquid level sensor, non-contact capacitive formula liquid level sensor and single-chip microcomputer.
The mounted on surface non-contact capacitive formula liquid level sensor of upper end object to be detected, the lower surface of lower end object to be detected are installed sealing water box, and non-contact capacitive formula liquid level sensor partly links to each other with Single-chip Controlling through connecting line.
Non-contact capacitive formula liquid level sensor comprises: accessory power outlet, pilot lamp, benchmark gauge hole, accessory power outlet comprises: 5V working power end VCC, sensor signal output terminal, earth terminal GND.When the half of liquid level to be detected above non-contact capacitive formula liquid level sensor area, pilot lamp is lighted, sensor signal output terminal output low level.The benchmark gauge hole is used to adjust the sensitivity of non-contact capacitive formula liquid level sensor, promptly adjusts the ratio of the shared non-contact capacitive formula liquid level sensor area of liquid level to be detected.
The 5V working power end VCC of non-contact capacitive formula liquid level sensor; The sensor signal output terminal; Three lines of earth terminal GND are connected to the sensor gang socket P1 in the Single-chip Controlling part; Wherein the 5V working power end VCC of non-contact capacitive formula liquid level sensor is connected to 1 pin of sensor gang socket P1; The sensor signal output terminal of non-contact capacitive formula liquid level sensor is connected to 2 pin of sensor gang socket P1, and the earth terminal GND 3 of non-contact capacitive formula liquid level sensor is connected to 3 pin of sensor gang socket P1.
Single-chip Controlling partly comprises: single-chip microcomputer U1, sensor gang socket P1, single-chip microcomputer U1 input signal pull-up circuit R1, R2, sensor signal input pin PE4, single-chip microcomputer U1 crystal oscillating circuit Y1, C29, C30, single-chip microcomputer U1 electric source filter circuit C27, C28, power supply VCC_5V and ground connection.
The pull-up circuit R1 of Single-chip Controlling part, R2 is used for guaranteeing from the stability of sensor input signal to the PE4 input pin of single-chip microcomputer U1.Single-chip microcomputer U1 adopts ATmega128-16AC, and by Y1, the circuit that C29, C30 connect into provides system clock for single-chip microcomputer U1, and by C27, the circuit that C28 connects into is that the working power of single-chip microcomputer U1 provides filtering, prevents external interference and causes working power unstable.
Single-chip microcomputer U1 at first accomplishes initialization, and its fundamental purpose is to accomplish the configuration of input and output pin, Abort Timer, is set to low level and triggers interruption.When upper end object to be detected and detected material body position, lower end coincide, sensor signal output terminal output low level, 2 pin of the socket P1 of Single-chip Controlling part also are low level; Through pull-up circuit R1, be input to the PE4 pin of single-chip microcomputer U1 behind the R2, this moment, the PE4 pin was a low level; Because the PE4 pin is the INT4 of single-chip microcomputer U1; When initialization, be provided with low level and trigger interruption, interrupt, judge that upper end object to be detected and detected material body position, lower end are identical so single-chip microcomputer U1 triggers.When misfitted upper end object to be detected and detected material body position, lower end, the PE4 pin was a high level, and the INT4 of single-chip microcomputer U1 is not triggered, and systemic circulation continues to detect.
The invention has the beneficial effects as follows:
Adopt of the collection of non-contact capacitive formula liquid level sensor, because this sensor adopts pure electronic circuit formula structure, on-mechanical working method as the front-end position signal; The stable performance life-span is durable, high stable, high sensitive; Anti-interference is good, does not receive outside electromagnetic interference, is fit to complex environment and uses; So this device can overcome the deficiency that receives external interference in the prior art easily, for the detection of object relative position provides stability and reliability preferably.
Because the non-contact capacitive formula liquid level sensor in this device can be adjusted arbitrarily with the installation site of sealing water box, the size that seals the water box simultaneously also can be adjusted, so this device is directed against the applicability that has popularity when the relative position of different objects detects.
This apparatus structure is succinct, uses easily.
Description of drawings
Fig. 1 is the structural representation of liquid level detection device of the present invention.
Among the figure: 1, upper end object to be detected
2, non-contact capacitive formula liquid level sensor
3, the center line of non-contact capacitive formula liquid level sensor
4, the connecting line of non-contact capacitive formula liquid level sensor and single-chip microcomputer
5, Single-chip Controlling part
6, sealing water box
7, the left margin of sealing water box
8, lower end object to be detected
Fig. 2 is a non-contact capacitive formula liquid level sensor structural drawing of the present invention.
Among the figure: 9,5V working power end VCC
10, sensor signal output terminal
11, earth terminal GND
12, accessory power outlet
13, pilot lamp
14, benchmark gauge hole
Fig. 3 is a control circuit schematic diagram of the present invention.
Fig. 4 is a control program process flow diagram of the present invention.
Embodiment
Structure of the present invention comprises: object relative position sensing detection part and Single-chip Controlling part, object relative position sensing detection part is made up of connection line, lower end object to be detected, the sealing water box of upper end object to be detected, non-contact capacitive formula liquid level sensor, non-contact capacitive formula liquid level sensor and single-chip microcomputer.
The mounted on surface non-contact capacitive formula liquid level sensor of upper end object to be detected, the lower surface of lower end object to be detected are installed sealing water box, and non-contact capacitive formula liquid level sensor partly links to each other with Single-chip Controlling through connecting line.
Non-contact capacitive formula liquid level sensor comprises: accessory power outlet, pilot lamp, benchmark gauge hole, accessory power outlet comprises: 5V working power end VCC, sensor signal output terminal, earth terminal GND.When the half of liquid level to be detected above non-contact capacitive formula liquid level sensor area, pilot lamp is lighted, sensor signal output terminal output low level.The benchmark gauge hole is used to adjust the sensitivity of non-contact capacitive formula liquid level sensor, promptly adjusts the ratio of the shared non-contact capacitive formula liquid level sensor area of liquid level to be detected.
The 5V working power end VCC of non-contact capacitive formula liquid level sensor; The sensor signal output terminal; Three lines of earth terminal GND are connected to the sensor gang socket P1 in the Single-chip Controlling part; Wherein the 5V working power end VCC of non-contact capacitive formula liquid level sensor is connected to 1 pin of sensor gang socket P1; The sensor signal output terminal of non-contact capacitive formula liquid level sensor is connected to 2 pin of sensor gang socket P1, and the earth terminal GND 3 of non-contact capacitive formula liquid level sensor is connected to 3 pin of sensor gang socket P1.
Single-chip Controlling partly comprises: single-chip microcomputer U1, sensor gang socket P1, single-chip microcomputer U1 input signal pull-up circuit R1, R2, sensor signal input pin PE4, single-chip microcomputer U1 crystal oscillating circuit Y1, C29, C30, single-chip microcomputer U1 electric source filter circuit C27, C28, power supply VCC_5V and ground connection.
The pull-up circuit R1 of Single-chip Controlling part, R2 is used for guaranteeing from the stability of sensor input signal to the PE4 input pin of single-chip microcomputer U1.Single-chip microcomputer U1 adopts ATmega128-16AC, and by Y1, the circuit that C29, C30 connect into provides system clock for single-chip microcomputer U1, and by C27, the circuit that C28 connects into is that the working power of single-chip microcomputer U1 provides filtering, prevents external interference and causes working power unstable.
Single-chip microcomputer U1 at first accomplishes initialization, and its fundamental purpose is to accomplish the configuration of input and output pin, Abort Timer, is set to low level and triggers interruption.When upper end object to be detected and detected material body position, lower end coincide, sensor signal output terminal output low level, 2 pin of the socket P1 of Single-chip Controlling part also are low level; Through pull-up circuit R1, be input to the PE4 pin of single-chip microcomputer U1 behind the R2, this moment, the PE4 pin was a low level; Because the PE4 pin is the INT4 of single-chip microcomputer U1; When initialization, be provided with low level and trigger interruption, interrupt, judge that upper end object to be detected and detected material body position, lower end are identical so single-chip microcomputer U1 triggers.When misfitted upper end object to be detected and detected material body position, lower end, the PE4 pin was a high level, and the INT4 of single-chip microcomputer U1 is not triggered, and systemic circulation continues to detect.

Claims (3)

1. the device of an inspected object relative position; It is characterized in that: said device comprises object relative position sensing detection part and Single-chip Controlling part, and object relative position sensing detection part is made up of connection line, lower end object to be detected, the sealing water box of upper end object to be detected, non-contact capacitive formula liquid level sensor, non-contact capacitive formula liquid level sensor and single-chip microcomputer;
The mounted on surface non-contact capacitive formula liquid level sensor of upper end object to be detected, the lower surface of lower end object to be detected are installed sealing water box, and non-contact capacitive formula liquid level sensor partly links to each other with Single-chip Controlling through connecting line.
2. according to the device of right 1 described a kind of inspected object relative position; It is characterized in that: non-contact capacitive formula liquid level sensor comprises accessory power outlet, pilot lamp, benchmark gauge hole; Accessory power outlet comprises 5V working power end VCC, sensor signal output terminal, earth terminal GND;
5V working power end VCC; The sensor signal output terminal; Three lines of earth terminal GND are connected to the sensor gang socket P1 in the Single-chip Controlling part; Wherein the 5V working power end VCC of non-contact capacitive formula liquid level sensor is connected to 1 pin of sensor gang socket P1, and the sensor signal output terminal of non-contact capacitive formula liquid level sensor is connected to 2 pin of sensor gang socket P1, and the earth terminal GND 3 of non-contact capacitive formula liquid level sensor is connected to 3 pin of sensor gang socket P1.
3. according to the device of right 1 described a kind of inspected object relative position, it is characterized in that: Single-chip Controlling partly comprises single-chip microcomputer U1, sensor gang socket P1, single-chip microcomputer U1 input signal pull-up circuit R1, R2, sensor signal input pin PE4, single-chip microcomputer U1 crystal oscillating circuit Y1, C29, C30, single-chip microcomputer U1 electric source filter circuit C27, C28, power supply VCC_5V and ground connection.
CN2011102130063A 2011-07-28 2011-07-28 Device for detecting relative positions of objects Expired - Fee Related CN102288102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102130063A CN102288102B (en) 2011-07-28 2011-07-28 Device for detecting relative positions of objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102130063A CN102288102B (en) 2011-07-28 2011-07-28 Device for detecting relative positions of objects

Publications (2)

Publication Number Publication Date
CN102288102A CN102288102A (en) 2011-12-21
CN102288102B true CN102288102B (en) 2012-11-28

Family

ID=45334732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102130063A Expired - Fee Related CN102288102B (en) 2011-07-28 2011-07-28 Device for detecting relative positions of objects

Country Status (1)

Country Link
CN (1) CN102288102B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201509387D0 (en) * 2015-06-01 2015-07-15 Apical Ltd Method and apparatus for image processing (distance detection)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5990807A (en) * 1991-04-25 1999-11-23 Hydro Quebec Dynamic and non-contact measurement of displacement or of permittivity by use of a capacitive sensor
CN101430218A (en) * 2008-12-06 2009-05-13 俞险峰 Non-contact type capacitance induction level sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1114430A (en) * 1997-06-23 1999-01-22 Sanyo Electric Co Ltd Liquid level measuring instrument and dispensing device using it

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5990807A (en) * 1991-04-25 1999-11-23 Hydro Quebec Dynamic and non-contact measurement of displacement or of permittivity by use of a capacitive sensor
CN101430218A (en) * 2008-12-06 2009-05-13 俞险峰 Non-contact type capacitance induction level sensor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平11-14430A 1999.01.22

Also Published As

Publication number Publication date
CN102288102A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
CN201408199Y (en) Rotating speed sensor for Hall gear
CN105806444A (en) Non-contact liquid level sensor and liquid level detection method
CN204422154U (en) A kind of leak water detdction module
CN203011398U (en) Non-contact electronic throttle sensor
CN105182982A (en) Reference self-adaption robot tracking sensor
CN102288102B (en) Device for detecting relative positions of objects
CN102279031B (en) Noncontact type liquid level measuring device
CN108880593A (en) It is a kind of based on it is double enter water signal control fish lead underwater wireless communication circuit and its control method
CN203981197U (en) The shell of applicable magnetic survey detecting device
CN103134566A (en) Water level detecting circuit based on capacitance principle
CN202216655U (en) Object assembling position detecting device
CN204758063U (en) Passive flow sensor and passive flow measurement display control system
CN203422096U (en) Gear detection sensor apparatus for driving test
CN206557187U (en) A kind of multifunctional gas detector
CN208588444U (en) A kind of contactless water level detection switch
CN103292862A (en) Water level detection circuit based on capacitance principle
Azeez et al. Automatic water level control using LabVIEW
CN202522290U (en) Universal liquid sensor for acousto-optic wireless alarming
CN202885769U (en) Vehicle body height sensor
CN203550969U (en) Noncontact-type electronic throttle sensor
CN208270017U (en) A kind of water-bath constant temperature oscillator low water level monitoring device
CN204007758U (en) Flow detector
CN204374451U (en) A kind of page turning pick-up unit
CN203550970U (en) Thin noncontact-type electronic throttle sensor
CN103616120B (en) Liquid level type pipeline pressure detection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128

Termination date: 20150728

EXPY Termination of patent right or utility model