CN104848915A - Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range - Google Patents
Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range Download PDFInfo
- Publication number
- CN104848915A CN104848915A CN201510253239.4A CN201510253239A CN104848915A CN 104848915 A CN104848915 A CN 104848915A CN 201510253239 A CN201510253239 A CN 201510253239A CN 104848915 A CN104848915 A CN 104848915A
- Authority
- CN
- China
- Prior art keywords
- liquid
- liquid level
- self
- measurement
- adaptation
- 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
Links
Landscapes
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
Abstract
The invention provides an implementation method of a capacitance liquid level sensor with high accuracy, self-adaptation performance and a large measurement range. Embedded hardware and software application system implementation serves as the basis, a multi-segment mechanical organization structure is adopted, a measurement processing algorithm model for rough judgment, medium, temperature and humidity change compensation and accurate calculation is established on the comparison calculation basis, the purpose of the 0.01mm liquid level measurement accuracy is achieved, self-adaptation of changes of measurement media, the environmental temperature and the environmental humidity is achieved, the measurement range can be several meters through the multi-segment mechanical organization structure, and the strong guarantee is provided for accurate detection of the oil level of oil tanks of automobiles/ships/aircrafts/agricultural implements/military movement carriers, the oil level of liquid fuel storage tanks and the water level of boilers.
Description
[technical field]
The present invention presents the capacitive liquid level sensor implementation method of a kind of high precision, self-adaptation, wide-measuring range, the liquid level measurement precision of 0.01mm can be reached, self-adaptation can be accomplished to the change of the change of measuring media and environment temperature, humidity, multistage mechanistic organization structure makes measurement range reach several meters, be mainly used in automobile, naval vessel, aircraft, agricultural machinery and implement, the fuel level in tank of military motion carrier and the accurate detection of boiler water level, liquid fuel tank oil level etc., provide strong guarantee for the liquid precises such as oil, water detect metering.
[background technology]
Liquid position change has linear approximate relationship with electric capacitance change, according to this principle, has occurred a series of capacitive liquid level sensor.Along with application popularization, the particularly Mobile solution such as automobile, agricultural machinery and implement, the problem that capacitive liquid level sensor exposes is increasing and serious:
● poor stability, measuring accuracy is low;
● the change of medium or slightly change, measuring accuracy degradation;
● temperature/humidity changes, particularly under low cold or high temperature, and measuring accuracy degradation;
● tracer liquid depth range is little.
Development Simple And Practical, high precision, by media variations-temperature variation-effects of humidity change, capacitive liquid level sensor compared with wide-measuring range, low cost, time and tide wait for no man, imperative.
[summary of the invention]
1 capacitance liquid level sensing principle demand
Capacitive liquid level sensor measuring principle is mainly based on following 2 points:
2.1 electric capacitys-Relationship between Liquid Level
As shown in Figure 1, battery lead plate right opposite amasss S and spacing l immobilizes for the simple structure block diagram of common capacitance liquid level sensor; Medium between plate is liquid medium ε below
b, be gas--air dielectric ε above
a; The wide w of battery lead plate, high H.
Simple plate armature, the electric capacity forming capacitor can be derived as follows:
More cylindrical sleeve barrel type capacitor in application, if external radius is respectively r and R in it, then the electric capacity of capacitor is:
This shows: fix in sensor construction size, in media stabilize situation, electric capacity forms linear relationship with " liquid level ".For cylindrical sleeve barrel type capacitor, except height, what determine electric capacity is boss ratio, and is no longer directly relative area.
In practical work, medium is also unstable, and having with the change of humidity by temperature affects, and different liquids position height also has impact, and Here it is, and common liquid level sensor measures the basic reason place of being forbidden.
2.2 capacitance-resistance discharge and recharge computings
Electric capacity is directly measured, and relates to many factors and seriously floating, usually adopts the resistance R First-order Integral charge-discharge circuit that (Resistance)-electric capacity C (Capacitance) forms indirectly to carry out as shown in Figure 2.
RC circuit time constant: τ=R*C, charging, discharge time: t=t
r=t
f=ln10*R*C ≈ 2.3 τ.
The size of electric capacity, be embodied on duration of charging ability and discharge and recharge number of times, indirectly electric capacity can be obtained, so there is the capacitive transducer of two kinds of principle types: duration of charging ability CTC (Charge-TimingCapacitance) and relaxation oscillator RO (Relaxation Oscillator) by repetitive measurement duration of charging and the discharge and recharge number of times measured in certain hour.Obviously, the number of times measuring discharge and recharge more easily realizes and obtains higher measuring accuracy, and more capacitance sensing device adopts this principle, and electric capacity is larger, and the discharge and recharge time is longer, and the number of times of standard discharge and recharge follows the change of electric capacity to form linear relationship,
the number of times of RC circuit discharge and recharge in certain hour follows the change of liquid position to constitute linear relationship; Can find out: the electric capacity that this sensor production is formed is not easily excessive, otherwise measuring accuracy will heavy discount greatly, usually in pf level, capacitance variations tens pf (only have electric capacity to manufacture little, could within a certain period of time, the discharge and recharge numeration that rapid formation is very large, improves measuring accuracy indirectly).
Definition does not add the air dielectric electric capacity before liquid for " basic electric capacity ", adds liquid to being full of the electric capacity of liquid for " change electric capacity "; " change electric capacity " on " basic electric capacity ", to the making of capacitive transducer with measure most important.If it is slightly large to manufacture electric capacity, ceramic disc capacitor can be increased to metering circuit, form " basic electric capacity ", thus more effectively carry out the measurement of measuring " change electric capacity ".
2 physical construction shape-designings make
According to principle and the demand thereof of capacitance liquid level sensing, the basic physical construction moulding of capacitive liquid level sensor:
● adopt cylindrical sleeve cartridge type electrode
Opposing plates formula capacitance electrode, cylindrical sleeve cartridge type capacitance electrode, without marginal effect of electric field, the radial external electromagnetic interference ability that suppresses is strong.
● all long combined type structure of multistage
Both greatly can improve measuring accuracy, and combined and enough measurement ranges can be obtained, the desirable 5 ~ 300mm of every segment length, hop count desirable 5 ~ 30.
3 measurement processing algorithm model structures
3.1 measurement processing method steps
● under normal condition, the measured value with measured value when no liquid and air and when being full of liquid---
set up comparison operation basis;
● according to each section of measured value and its air basic value and the relation being full of liquid base value, determine liquid-gas mixing section---
rough judgement;
● according to " mixing section liquid level ratio " and its " leading portion is full of the variable quantity of liquid value " revise each section " liquid-gas basic value "-
medium, temperature, wet the change lining of degree is repaid;
● the accurate liquid position of mixing section is calculated according to the linear corresponding relation of measured value and liquid position---
accurate Calculation.
3.2 Survey control algorithm models
If under normal condition, each section of air value is s [i], full journey value is f [i]; Each segment length is H, and measured value is m [i].Capacitance measurement section is numbered from 0, from bottom to top.
Each section of capacitance change: c [i]=| m [i]-s [i] | (2)
The ratio of the relatively full section of mixing section liquid:
The change of the full journey value of mixing leading portion: k
lc=f [i-1]-m [i-1] (5)
The change of mixing back segment air value: k
sc=m [i-1]-s [i-1] (6)
Mixing front-end temperature, humidity and media variations amount: k=k
lk
lc(7)
Especially, section headed by mixing section, post-calculation segments air themperature, humidity and media variations amount:
k=(1-k
s)k
sc(8)
Basic value correction:
The liquid position of mixing section:
Liquid position:
[accompanying drawing explanation]
Fig. 1 is " the simple structure block diagram of capacitive liquid level sensor ";
Fig. 2 is " RC charge-discharge circuit and time relationship schematic diagram thereof ";
Fig. 3 is " the embedded hardware system simple realization block diagram of described inventive method ";
Fig. 4 is " the embedded software application flows figure of described inventive method ".
[embodiment]
Invent described method, available microprocessor controller is that the embedded hardware and software application system simple and fast of core realizes.
1 embedded hardware System structure
Capacitive transducer electronic circuit forms primarily of RC charge-discharge circuit, analysis of accounts treatment circuit and data communication circuit.RC charge-discharge circuit, primarily of RC circuit, comparator circuit and on-off circuit composition, forms capacitance sensing module, has become peripheral hardware in conventional sheet that in individual devices or microprocessor controller, capacitance touch sensing is measured.Analysis of accounts treatment circuit can be completed by microprocessor controller and internal counter module thereof usually.Data communication circuit is usually local serial communication bus, and as RS485, CAN, industry ethernet etc., modern age, single-chip microcomputer was usually containing peripheral hardware in these communication module sheets.Therefore design of electronic circuits scheme mainly contains three kinds:
● there is communication function microprocessor controller+discrete capacitor metering circuit;
● there is the microprocessor controller of communication and capacitance sensing function;
● there is communication function microprocessor controller+capacitance sensing device.
Relatively these three kinds of schemes: the first scheme, impact is many with controllable factor, and poor stability, measuring accuracy not easily improve, and can not consider.First scheme, the capacitance sensing module that microprocessor controller is integrated, greatly, be easy to use, measuring accuracy is limited for basic electric capacity and change electric capacity.The third scheme, capacitance sensing is independently device, usually includes multiple adjustment means, and be called " capacitance sensing device ", measuring accuracy is high, but often basic electric capacity is little, and collocation low cost microprocessor controller just has outstanding advantage.Therefore latter two scheme is often used, especially the third.
Microprocessor controller, as the single-chip microcomputer of the main flow Cortex-M kernel by high performance-price ratio.
Fig. 3 gives the embedded hardware system simple realization block diagram of described inventive method.
2 embedded application softwares realize
The main contents of embedded software application programming are as follows:
Cycle period is sampled each measurement capacitance sections, and often wheel sampling terminates to produce and interrupts data receiver.
After system and capacitance sensing module thereof are initial, start that average value processing is done to sampled data at every turn when reaching filtering requirements data number, mixing section judge, real time temperature-humidity and media variations compensates, accurate liquid position calculates.
Asynchronous serial transmission UART (the Universal Asynchronous Receiver/Transmitter) receive interruption that corresponding RS485 communicates is set, according to external demand, complete the setting of sensor ID numbering, filter factor is arranged, basic operations value is arranged and computing liquid position data unofficial biography.
Basic operations value comprises air basic value and full journey basic value, adopts the inner integrated flash memory Flash of microprocessor controller to make non-volatile memory.
Mean filter, basic selection of times is 5, and corresponding filter factor is 0, and the corresponding actual filter times of other filter factor m is 5m.Obviously, filter factor is larger, and measuring accuracy is higher, but measurement data period of change increases, and measurement performance is blunt.
Fig. 4 gives the embedded software application flows figure of described inventive method.
Claims (3)
1. one kind " high precision, self-adaptation, wide-measuring range " capacitive liquid level sensor implementation method, it is characterized in that, have: " measurement processing algorithm model ", " multistage mechanistic organization structure " and " embedded hardware and software application system realizes ", the liquid level measurement precision that " measurement processing algorithm model " ensure that 0.01mm and the self-adaptation that measuring media change and environment temperature, humidity are changed, " multistage mechanistic organization structure " makes measurement range reach several meters long, and " embedded hardware and software application system " makes " measurement processing algorithm model " be achieved.
2. " high precision as claimed in claim 1, self-adaptation, wide-measuring range " capacitive liquid level sensor implementation method, it is characterized in that, " measurement processing algorithm model " has " judging roughly " of being based upon on " comparison operation basis ", " medium, temperature, the compensating for variations of humidity " and " accurate Calculation " mechanism, measured value when no liquid and air and measured value when being full of liquid are formed on " comparison operation basis ", according to each section of measured value and its air basic value be full of the relation determination liquid-gas mixing section of liquid base value i.e. " judging roughly ", each section of " liquid-gas basic value " i.e. " medium is revised according to " mixing section liquid level ratio " and its " leading portion is full of the variable quantity of liquid value ", temperature, the compensating for variations of humidity ", i.e. " accurate Calculation " linear corresponding relation according to measured value and liquid position calculates the accurate liquid position of mixing section liquid.
3. " high precision, self-adaptation, wide-measuring range " capacitive liquid level sensor implementation method as claimed in claim 1, it is characterized in that, " embedded hardware and software application system ", can with the capacitance sensing module in microprocessor controller and sheet thereof or outside sheet for hardware foundation, by embedded software application programming, realize " measurement processing algorithm model ".
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510253239.4A CN104848915A (en) | 2015-05-18 | 2015-05-18 | Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510253239.4A CN104848915A (en) | 2015-05-18 | 2015-05-18 | Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104848915A true CN104848915A (en) | 2015-08-19 |
Family
ID=53848733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510253239.4A Pending CN104848915A (en) | 2015-05-18 | 2015-05-18 | Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104848915A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105795921A (en) * | 2015-12-04 | 2016-07-27 | 广东工业大学 | Automatic water calling device |
CN105953867A (en) * | 2016-04-25 | 2016-09-21 | 天津大学 | Mine chute material level measurement method based on small unmanned aerial vehicle and visualization method |
CN106352948A (en) * | 2016-11-23 | 2017-01-25 | 深圳市阿达电子有限公司 | Novel capacitive-sensor liquid level detection system and method |
CN107144263A (en) * | 2017-07-17 | 2017-09-08 | 中国地质大学(武汉) | A kind of obliquity sensor based on capacitance principle |
CN107478295A (en) * | 2017-07-28 | 2017-12-15 | 深圳市鼎丰泰达科技有限公司 | A kind of method and device that liquid level data is obtained in capacitance level transducer |
CN108204846A (en) * | 2017-12-13 | 2018-06-26 | 中国航空工业集团公司成都飞机设计研究所 | Aircraft fuel quantity meas urement system calibration-free design method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201765028U (en) * | 2010-08-16 | 2011-03-16 | 深圳市南方泰科软件技术有限公司 | Capacitance type water level sensor with automatic correction function |
CN102997974A (en) * | 2012-12-24 | 2013-03-27 | 电子科技大学 | Adaptive capacitance liquid level meter |
JP2014055850A (en) * | 2012-09-12 | 2014-03-27 | Tokai Rubber Ind Ltd | Liquid level sensor |
CN103900661A (en) * | 2014-02-19 | 2014-07-02 | 东北电力大学 | Segmented liquid level sensor based on capacitance-to-digital conversion technology |
-
2015
- 2015-05-18 CN CN201510253239.4A patent/CN104848915A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201765028U (en) * | 2010-08-16 | 2011-03-16 | 深圳市南方泰科软件技术有限公司 | Capacitance type water level sensor with automatic correction function |
JP2014055850A (en) * | 2012-09-12 | 2014-03-27 | Tokai Rubber Ind Ltd | Liquid level sensor |
CN102997974A (en) * | 2012-12-24 | 2013-03-27 | 电子科技大学 | Adaptive capacitance liquid level meter |
CN103900661A (en) * | 2014-02-19 | 2014-07-02 | 东北电力大学 | Segmented liquid level sensor based on capacitance-to-digital conversion technology |
Non-Patent Citations (2)
Title |
---|
张波: "分段电容式液位测量的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
田海军 等: "基于PCap01的智能多段式电容汽包水位计设计", 《制作业自动化》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105795921A (en) * | 2015-12-04 | 2016-07-27 | 广东工业大学 | Automatic water calling device |
CN105953867A (en) * | 2016-04-25 | 2016-09-21 | 天津大学 | Mine chute material level measurement method based on small unmanned aerial vehicle and visualization method |
CN105953867B (en) * | 2016-04-25 | 2018-02-13 | 天津大学 | A kind of mine drop shaft level gauging and method for visualizing based on SUAV |
CN106352948A (en) * | 2016-11-23 | 2017-01-25 | 深圳市阿达电子有限公司 | Novel capacitive-sensor liquid level detection system and method |
CN106352948B (en) * | 2016-11-23 | 2023-04-07 | 深圳市阿达电子有限公司 | Liquid level detection system and detection method of capacitive sensor |
CN107144263A (en) * | 2017-07-17 | 2017-09-08 | 中国地质大学(武汉) | A kind of obliquity sensor based on capacitance principle |
CN107478295A (en) * | 2017-07-28 | 2017-12-15 | 深圳市鼎丰泰达科技有限公司 | A kind of method and device that liquid level data is obtained in capacitance level transducer |
CN108204846A (en) * | 2017-12-13 | 2018-06-26 | 中国航空工业集团公司成都飞机设计研究所 | Aircraft fuel quantity meas urement system calibration-free design method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104848915A (en) | Implementation method of capacitance liquid level sensor with high accuracy, self-adaptation performance and large measurement range | |
CN103940492B (en) | A kind of fuel oil amount display method and system | |
CN103376144A (en) | Liquid level detecting device | |
CN101738240B (en) | Capacitance sensing type fuel meter | |
CN101692005B (en) | Digital capacitance type liquid level measuring sensor | |
CN102980630B (en) | A kind of intelligent digital capacitive liquid level sensor | |
CN203163833U (en) | Slide-bar type liquid-level height acquisition instrument | |
CN206919969U (en) | A kind of contact-free level measurement apparatus | |
CN206609821U (en) | A kind of humidity measuring circuit based on HS1101 | |
CN106323416B (en) | Capacitance type oil quantity measuring device | |
CN109238401A (en) | Liquid level detection device and method | |
CN201382799Y (en) | Capacity transduction type fuel oil metering instrument | |
CN102997977A (en) | Vehicle charged oil capacity and oil product grade detection device | |
CN103389138A (en) | Weighing type liquid level meter system based on MSP430 (Mixed Signal Processor 430) single chip microcomputer | |
CN204359387U (en) | A kind of automobile oil mass supervising device | |
CN202974386U (en) | Fuel gauging device of fuel tank | |
CN202533125U (en) | Distance induction type oil mass sensor | |
CN102980634A (en) | Reed switch transducer control circuit for liquid-level measurement purpose | |
CN203587151U (en) | Ultrasonic open-channel meter | |
CN203163821U (en) | Parallel plate multi-electrode capacitance type oil level sensor | |
CN113899429A (en) | Liquid level detection method and liquid level sensor | |
CN202994244U (en) | Intelligent digital capacitance liquid level sensor | |
Patil et al. | Design and development of fuel level measurement technique for automotive application | |
CN201852616U (en) | Automobile remaining oil indicator | |
CN112985528B (en) | Device and method for measuring unstable flow liquid in closed pipeline |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150819 |