CN105572479B - The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension - Google Patents

The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension Download PDF

Info

Publication number
CN105572479B
CN105572479B CN201510892189.4A CN201510892189A CN105572479B CN 105572479 B CN105572479 B CN 105572479B CN 201510892189 A CN201510892189 A CN 201510892189A CN 105572479 B CN105572479 B CN 105572479B
Authority
CN
China
Prior art keywords
resistance
circuit module
extension
capacitance
mos1
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
CN201510892189.4A
Other languages
Chinese (zh)
Other versions
CN105572479A (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.)
Tianlong Zhong min Technology Co., Ltd.
Original Assignee
Tianlong Zhong Min 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 Tianlong Zhong Min Technology Co Ltd filed Critical Tianlong Zhong Min Technology Co Ltd
Priority to CN201510892189.4A priority Critical patent/CN105572479B/en
Publication of CN105572479A publication Critical patent/CN105572479A/en
Application granted granted Critical
Publication of CN105572479B publication Critical patent/CN105572479B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/26Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables
    • G01R27/2605Measuring capacitance
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/26Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields
    • G01F23/263Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors
    • G01F23/266Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors measuring circuits therefor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Electromagnetism (AREA)
  • Thermal Sciences (AREA)
  • Fluid Mechanics (AREA)
  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Measurement Of Resistance Or Impedance (AREA)

Abstract

A kind of circuit module for measuring capacitance capacity of stackable extension, it is characterised in that:Including No.1 resistance(R1), No. two resistance(R2), No. three resistance(R3), No. four resistance(R4), place(GND9), No. two diodes(D2), No. three diodes(D3), conductor plates(120), No.1 capacitance(C1), No.1 switch(MOS1), No. two switches(MOS2), No. zero node(P0), No. one node(P1), No.1 tie point(Q), No. two tie points(P), the 5th resistance(R5).A kind of convenient liquid level detection circuit of extension is connected in series by a kind of circuit module for measuring capacitance capacity of stackable extension above-mentioned.The present invention it is of low cost, using flexible, service life is long, reliable and stable.

Description

The circuit module for measuring capacitance capacity, the convenient liquid of extension of stackable extension Position height detection circuit
Technical field
The invention belongs to electronic surveying fields, and in particular to the circuit mould for measuring capacitance capacity of stackable extension Block, the convenient liquid level detection circuit of extension.
Background technology
The monitoring technology of the liquid level of existing liquid container mainly has floating ball, resistance-type, condenser type, these types of mode respectively to have Its advantage and disadvantage.
Existing capacitance detection circuit cost is higher, and there are rooms for improvement.
Existing capacitance type liquid level detection circuit cost is higher, and there are rooms for improvement.
Capacitance type liquid level detection circuit is mainly assessed with measured capacitance, although this mode precision is high, Testing result is easy to be influenced by temperature drift, component ageing, and the mankind are different using the water temperature requirement of difference occasion when water , cause the level sensing result of existing capacitance type liquid level detection circuit may be because of the difference of different use occasions in this way And it is different, so for smart home there is improvement sky in the stability of existing capacitance type liquid level detection circuit, versatility Between.
Invention content
To solve the problems, such as to describe in technical background, the present invention propose stackable extension for measuring capacitance capacity Circuit module, the convenient liquid level detection circuit of extension.
The present invention has following technology contents.
1, a kind of circuit module for measuring capacitance capacity of stackable extension, it is characterised in that:Including No.1 resistance (R1), No. two resistance(R2), No. three resistance(R3), No. four resistance(R4), place(GND9), No. two diodes(D2), No. three two Pole pipe(D3), conductor plates(120), No.1 capacitance(C1), No.1 switch(MOS1), No. two switches(MOS2), No. zero node (P0), No.1 node(P1), No.1 tie point(Q), No. two tie points(P), the 5th resistance(R5);
No.1 switchs(MOS1)There are one switching channels, a control terminals for tool, when No.1 switchs(MOS1)Control electricity Put down for low level when No.1 switch(MOS1)Switching channels connect, when No.1 switch(MOS1)Control level be high level When No.1 switch(MOS1)Switching channels disconnect;
No. two switches(MOS2)There are one switching channels, a control terminals for tool, when No. two switches(MOS2)Control electricity Put down for high level when No. two switch(MOS2)Switching channels connect, when No. two switch(MOS2)Control level be low level When No. two switch(MOS2)Switching channels disconnect;
5th resistance(R5)Tool is No.1 end and No. two ends, the 5th resistance respectively there are two them are held(R5)No.1 end and 5th resistance(R5)No. two end on electrology characteristic the nonpolarity difference as conventional, electric-resistance, the 5th resistance(R5)Effect be Current limliting slows down No.1 capacitance(C1)Charging rate, to prevent No.1 capacitance(C1)Too fast is filled;
No.1 resistance(R1)One end and No.1 tie point(Q)It is connected, No.1 resistance(R1)The other end opened via No.1 The switching channels of pass are connected to the 5th resistance(R5)No.1 end;
No. two resistance(R2)One end and the 5th resistance(R5)No.1 end be connected, No. two resistance(R2)The other end and two Number tie point(P)It is connected;
No. three resistance(R3)One end and No. two tie points(P)It is connected, No. three resistance(R3)The other end via No. four electricity Resistance(R4)With place(GND9)It is connected, No. three resistance(R3)Via No. four resistance(R4)With place(GND9)Connected end via No. two switches(MOS2)Switching channels be connected to No.1 node(P1);
5th resistance(R5)No. two end with No. two diodes(D2)Anode be connected;
No. two diodes(D2)Cathode and No. three diodes(D3)Anode be connected;
No. three diodes(D3)Cathode and No.1 node(P1)It is connected;
No.1 capacitance(C1)One end and No. two diodes(D2)Cathode be connected, No.1 capacitance(C1)The other end and zero Number node(P0)It is connected;
No.1 switchs(MOS1)Control terminal and No. zero node(P0)It is connected;
No. two switches(MOS2)Control terminal and No. zero node(P0)It is connected;
Conductor plates(120)With No. two tie points(P)It is connected;
The circuit module for measuring capacitance capacity of this stackable extension, when application can infinitely be superimposed use, can be with Range and precision are selected according to the quantity of actual demand selecting module and density, it is easy to use without redesigning, it can Autgmentability is strong, and adaptability is good.
2, a kind of convenient liquid level detection circuit of extension, it is characterised in that:With more than two stackable extensions The circuit module for measuring capacitance capacity, microcontroller(PIC12F510);Each stackable extension is surveyed for capacitance The No.1 tie point of the circuit module of amount(Q)With the circuit module for measuring capacitance capacity of other stackable extension No. two tie points(P)It is connected, No. two tie points of the circuit module for measuring capacitance capacity of each stackable extension(P)With The No.1 tie point of the circuit module for measuring capacitance capacity of other stackable extension(Q)It is connected, all folds Add the circuit module composition for measuring capacitance capacity of extension is linked as closure loop chain or non-closed chain;All folds Add the circuit module for measuring capacitance capacity of extension that all there is following feature, it is assumed that stackable extension is used for capacitance No. two tie points of the circuit module A of measurement(P)With the No.1 of the circuit module B for measuring capacitance capacity of stackable extension Tie point(Q)It is connected, then No. zero node of the circuit module A for measuring capacitance capacity of stackable extension(P0)With can fold Add the No.1 node of the circuit module B for measuring capacitance capacity of extension(P1)It is connected, the two connected nodes are connected to Microcontroller(PIC12F510)Can be set as AD sampling configurations and can be set as on IO output modes pin;
The circuit module for measuring capacitance capacity of stackable extension has following technical characteristic:
Including No.1 resistance(R1), No. two resistance(R2), No. three resistance(R3), No. four resistance(R4), place(GND9), two Number diode(D2), No. three diodes(D3), conductor plates(120), No.1 capacitance(C1), No.1 switch(MOS1), No. two open It closes(MOS2), No. zero node(P0), No.1 node(P1), No.1 tie point(Q), No. two tie points(P), the 5th resistance(R5);
No.1 switchs(MOS1)There are one switching channels, a control terminals for tool, when No.1 switchs(MOS1)Control electricity Put down for low level when No.1 switch(MOS1)Switching channels connect, when No.1 switch(MOS1)Control level be high level When No.1 switch(MOS1)Switching channels disconnect;
No. two switches(MOS2)There are one switching channels, a control terminals for tool, when No. two switches(MOS2)Control electricity Put down for high level when No. two switch(MOS2)Switching channels connect, when No. two switch(MOS2)Control level be low level When No. two switch(MOS2)Switching channels disconnect;
5th resistance(R5)Tool is No.1 end and No. two ends, the 5th resistance respectively there are two them are held(R5)No.1 end and 5th resistance(R5)No. two end on electrology characteristic the nonpolarity difference as conventional, electric-resistance, the 5th resistance(R5)Effect be Current limliting slows down No.1 capacitance(C1)Charging rate, to prevent No.1 capacitance(C1)Too fast is filled;
No.1 resistance(R1)One end and No.1 tie point(Q)It is connected, No.1 resistance(R1)The other end opened via No.1 The switching channels of pass are connected to the 5th resistance(R5)No.1 end;
No. two resistance(R2)One end and the 5th resistance(R5)No.1 end be connected, No. two resistance(R2)The other end and two Number tie point(P)It is connected;
No. three resistance(R3)One end and No. two tie points(P)It is connected, No. three resistance(R3)The other end via No. four electricity Resistance(R4)With place(GND9)It is connected, No. three resistance(R3)Via No. four resistance(R4)With place(GND9)Connected end via No. two switches(MOS2)Switching channels be connected to No.1 node(P1);
5th resistance(R5)No. two end with No. two diodes(D2)Anode be connected;
No. two diodes(D2)Cathode and No. three diodes(D3)Anode be connected;
No. three diodes(D3)Cathode and No.1 node(P1)It is connected;
No.1 capacitance(C1)One end and No. two diodes(D2)Cathode be connected, No.1 capacitance(C1)The other end and zero Number node(P0)It is connected;
No.1 switchs(MOS1)Control terminal and No. zero node(P0)It is connected;
No. two switches(MOS2)Control terminal and No. zero node(P0)It is connected;
Conductor plates(120)With No. two tie points(P)It is connected;
Microcontroller(PIC12F510)In have SCM program, SCM program can complete for detect liquid level as Lower method and step:
Step 1, the circuit mould for measuring capacitance capacity for choosing the tested connected stackable extension of needs being connected Block pair, it is assumed that they be stackable extension for measuring capacitance capacity circuit module A and stackable extension be used for capacitance The circuit module B of cubic content measurement, stackable extension for the circuit module A of measuring capacitance capacity and being used for for stackable extension The circuit module B of measuring capacitance capacity meets " No. two connections of the circuit module A for measuring capacitance capacity of stackable extension Point(P)With the No.1 tie point of the circuit module B for measuring capacitance capacity of stackable extension(Q)Be connected " condition;
Step 2, by No. zero node of the circuit module A for measuring capacitance capacity with stackable extension(P0), can fold Add the No.1 node of the circuit module B for measuring capacitance capacity of extension(P1)Be connected microcontroller(PIC12F510)Can It is set as AD sampling configurations and the pin of IO output modes can be set as be set as high level output pattern;Stackable extension The circuit module A for measuring capacitance capacity No.1 switch(MOS1)Switch on and off be disconnected, then stackable extension The circuit module A for measuring capacitance capacity will not be by the circuit module for being used for measuring capacitance capacity with stackable extension The influence of the circuit module for measuring capacitance capacity of the stackable extension of the No.1 tie point of A;Stackable extension is used for No. two switches of the circuit module A of measuring capacitance capacity(MOS2)Switch on and off be switched on;Stackable extension is used for capacitance No. three diodes of the circuit module B of cubic content measurement(D3)Current channel blocked by high level;If there is a No.1 Tie point(Q)With No. two tie points of the circuit module B for measuring capacitance capacity of stackable extension(P)Connected is stackable The circuit module C for measuring capacitance capacity of extension, then also needing to stackable extension being used for measuring capacitance capacity No. zero node of circuit module C(P0)It is set as low level output pattern, the electricity for measuring capacitance capacity of stackable extension Road module C, stackable extension the circuit module B for measuring capacitance capacity can be same stackable extension be used for capacitance The circuit module of cubic content measurement;
Step 3, by the No.1 node of the circuit module B for measuring capacitance capacity with stackable extension(P1)Monolithic Machine(PIC12F510)Pin be set as low level output pattern;
Step 4, from the No.1 node of the circuit module A for measuring capacitance capacity with stackable extension(P1)Connected Microcontroller(PIC12F510)Pin output pwm signal as test signal, and pwm signal is made to continue regular length Period, pwm signal can be to No.1 capacitance at this time(C1)Charging;Pwm signal can be to No.1 capacitance(C1)The speed of charging with can It is superimposed the conductor plates of the circuit module A for measuring capacitance capacity of extension(120), stackable extension be used for capacitance The conductor plates of the circuit module B of measurement(120)Between capacitance it is related;The electricity for measuring capacitance capacity of stackable extension The conductor plates of road modules A(120), stackable extension the circuit module B for measuring capacitance capacity conductor plates(120) Between capacitance it is bigger, pwm signal can be to No.1 capacitance(C1)The speed of charging is slower, using electricity in the period of regular length Hold(C1)The voltage filled is lower;The conductor plates of the circuit module A for measuring capacitance capacity of stackable extension (120), stackable extension the circuit module B for measuring capacitance capacity conductor plates(120)Between capacitance it is smaller, Pwm signal can be to No.1 capacitance(C1)The speed of charging is faster, and capacitance is used in the period of regular length(C1)The electricity filled Pressure is higher;
The output of pwm signal described in step 5, termination step 4;
Step 6, by No. zero node of the circuit module A for measuring capacitance capacity with stackable extension(P0), can fold Add the No.1 node of the circuit module B for measuring capacitance capacity of extension(P1)Be connected microcontroller(PIC12F510)Can It is set as AD sampling configurations and the pin of IO output modes can be set as be set as AD sampling configurations, and carry out AD samplings;
The sampled data that step 7, recording step 6 obtain;
Step 8, the operation for repeating step 1-7 are used for capacitance until all connected adjacent stackable extensions Capacitance between the circuit module pair of measurement was all tested;
Step 9 passes through the circuit modules for measuring capacitance capacity of the step 1-8 each stackable extensions obtained The capacitance difference measured calculates liquid level(150)Position;It is worth those of ordinary skill in the art institute it is noted that each adjacent Stackable extension the circuit module pair for measuring capacitance capacity between height span may be inconsistent, such as The conductor plates of the circuit module for measuring capacitance capacity of the stackable extension of high position(120)With folding for extreme lower position Add the conductor plates of the circuit module for measuring capacitance capacity of extension(120)Can be adjacent from the point of view of being electrically connected angle But its height span is different from the point of view of physical size angle;
Step 10, by the No.1 node of the circuit module for measuring capacitance capacity of all stackable extensions(P1)All set It is set to low level output pattern, is discharged sampling capacitance C1, preparation is tested next time.
Technology contents illustrate and advantage.
The present invention it is of low cost, using flexible, service life is long, reliable and stable.
Description of the drawings
Such as the schematic diagram that Fig. 1 is embodiment 1, figure label 20 is the electricity for measuring capacitance capacity of stackable extension Road module.
Such as the schematic diagram that Fig. 2 is embodiment 2, figure label 200,201,202,203 is stackable extension for electricity Hold the circuit module of cubic content measurement.
Such as the schematic diagram that Fig. 3 is embodiment 3, figure label 201,202,203 is holding for capacitance for stackable extension The circuit module of measurement.
Example is embodied
Below in conjunction with embodiment, the present invention will be described.
Embodiment 1, as shown in Figure 1, a kind of circuit module for measuring capacitance capacity of stackable extension, feature It is:Including No.1 resistance R1, No. two resistance R2, No. three resistance R3, No. four resistance R4, place GND9, No. two diode D2, three Number diode D3, conductor plates 120, No.1 capacitance C1, No.1 switch MOS1, No. two switch MOS2, No. zero node P0, No.1 section Point P1, No.1 tie point Q, No. two tie point P, the 5th resistance R5;
There are one switching channels, a control terminals for No.1 switch MOS1 tools, when the level of the control of No.1 switch MOS1 is The switching channels of No.1 switch MOS1 are connected when low level, and when the level of the control of No.1 switch MOS1 is high level, No.1 is opened The switching channels for closing MOS1 disconnect;
There are one switching channels, a control terminals for No. two switch MOS1 tools, when the level of the control of No. two switch MOS1 is The switching channels of No. two switch MOS1 are connected when high level, are opened for No. two when the level of the control of No. two switch MOS1 is low level The switching channels for closing MOS1 disconnect;
5th resistance R5 tools are No.1 end and No. two ends, the No.1 end and the 5th of the 5th resistance R5 respectively there are two them are held No. two end nonpolarity differences as conventional, electric-resistance on electrology characteristic of resistance R5, the effect of the 5th resistance R5 is current limliting, is put The charging rate of slow sampling capacitance C1, is filled to prevent sampling capacitance C1 is too fast;
One end of No.1 resistance R1 is connected with No.1 tie point Q, and the other end of No.1 resistance R1 is opened via what No.1 switched Close the No.1 end that channel is connected to the 5th resistance R5;
One end of No. two resistance R2 is connected with the No.1 end of the 5th resistance R5, and the other end of No. two resistance R2 is connect with No. two Point P is connected;
One end of No. three resistance R3 is connected with No. two tie point P, the other end of No. three resistance R3 via No. four resistance R4 with Place GND9 is connected, and the end being connected with place GND9 via No. four resistance R4 of No. three resistance R3 is opened via No. two switch MOS2's It closes channel and is connected to No.1 node P1;
No. two ends of 5th resistance R5 are connected with the anode of No. two diode D2;
The cathode of No. two diode D2 is connected with the anode of No. three diode D3;
The cathode of No. three diode D3 is connected with No.1 node P1;
One end of No.1 capacitance C1 is connected with the cathode of No. two diode D2, the other end of No.1 capacitance C1 and No. zero node P0 is connected;
The control terminal of No.1 switch MOS1 is connected with No. zero node P0;
The control terminal of No. two switch MOS2 is connected with No. zero node P0;
Conductor plates 120 are connected with No. two tie point P;
The circuit module for measuring capacitance capacity of this stackable extension, when application can infinitely be superimposed use, can be with Range and precision are selected according to the quantity of actual demand selecting module and density, it is easy to use without redesigning, it can Autgmentability is strong, and adaptability is good.
Embodiment 2, as shown in Fig. 2, a kind of convenient liquid level detection circuit of extension, it is characterised in that:With two The circuit module for measuring capacitance capacity, the microcontroller PIC12F510 of a above stackable extension;Each stackable extension No.1 tie point Q and other stackable extension of the circuit module for measuring capacitance capacity survey for capacitance No. two tie point P of the circuit module of amount are connected, and the two of the circuit module for measuring capacitance capacity of each stackable extension Number tie point P is connected with the No.1 tie point Q of the circuit module for measuring capacitance capacity of other stackable extension, institute What the circuit module for measuring capacitance capacity for the stackable extension having was constituted is linked as non-closed chain;All is stackable The circuit module for measuring capacitance capacity of extension all has following feature, it is assumed that stackable extension is surveyed for capacitance No. two tie point P of the circuit module A of amount are connect with the No.1 of the circuit module B for measuring capacitance capacity of stackable extension Point Q is connected, then No. zero node P0 of the circuit module A for measuring capacitance capacity of stackable extension and stackable extension The No.1 node P1 of circuit module B for measuring capacitance capacity is connected, the two connected nodes are connected to microcontroller PIC12F510 can be set as AD sampling configurations and can be set as on IO output modes pin;
The circuit module for measuring capacitance capacity of stackable extension has following technical characteristic:
Including No.1 resistance R1, No. two resistance R2, No. three resistance R3, No. four resistance R4, place GND9, No. two diodes D2, No. three diode D3, conductor plates 120, No.1 capacitance C1, No.1 switch MOS1, No. two switch MOS2, No. zero node P0, No.1 node P1, No.1 tie point Q, No. two tie point P, the 5th resistance R5;
There are one switching channels, a control terminals for No.1 switch MOS1 tools, when the level of the control of No.1 switch MOS1 is The switching channels of No.1 switch MOS1 are connected when low level, and when the level of the control of No.1 switch MOS1 is high level, No.1 is opened The switching channels for closing MOS1 disconnect;
There are one switching channels, a control terminals for No. two switch MOS1 tools, when the level of the control of No. two switch MOS1 is The switching channels of No. two switch MOS1 are connected when high level, are opened for No. two when the level of the control of No. two switch MOS1 is low level The switching channels for closing MOS1 disconnect;
5th resistance R5 tools are No.1 end and No. two ends, the No.1 end and the 5th of the 5th resistance R5 respectively there are two them are held No. two end nonpolarity differences as conventional, electric-resistance on electrology characteristic of resistance R5, the effect of the 5th resistance R5 is current limliting, is put The charging rate of slow sampling capacitance C1, is filled to prevent sampling capacitance C1 is too fast;
One end of No.1 resistance R1 is connected with No.1 tie point Q, and the other end of No.1 resistance R1 is opened via what No.1 switched Close the No.1 end that channel is connected to the 5th resistance R5;
One end of No. two resistance R2 is connected with the No.1 end of the 5th resistance R5, and the other end of No. two resistance R2 is connect with No. two Point P is connected;
One end of No. three resistance R3 is connected with No. two tie point P, the other end of No. three resistance R3 via No. four resistance R4 with Place GND9 is connected, and the end being connected with place GND9 via No. four resistance R4 of No. three resistance R3 is opened via No. two switch MOS2's It closes channel and is connected to No.1 node P1;
No. two ends of 5th resistance R5 are connected with the anode of No. two diode D2;
The cathode of No. two diode D2 is connected with the anode of No. three diode D3;
The cathode of No. three diode D3 is connected with No.1 node P1;
One end of No.1 capacitance C1 is connected with the cathode of No. two diode D2, the other end of No.1 capacitance C1 and No. zero node P0 is connected;
The control terminal of No.1 switch MOS1 is connected with No. zero node P0;
The control terminal of No. two switch MOS2 is connected with No. zero node P0;
Conductor plates 120 are connected with No. two tie point P;
There is SCM program, SCM program can be completed in microcontroller PIC12F510 for detecting the as follows of liquid level Method and step:
Step 1, the circuit mould for measuring capacitance capacity for choosing the tested connected stackable extension of needs being connected Block pair, it is assumed that they be stackable extension for measuring capacitance capacity circuit module A and stackable extension be used for capacitance The circuit module B of cubic content measurement, stackable extension for the circuit module A of measuring capacitance capacity and being used for for stackable extension The circuit module B of measuring capacitance capacity meets " No. two connections of the circuit module A for measuring capacitance capacity of stackable extension Point P is connected with the No.1 tie point Q of the circuit module B for measuring capacitance capacity of stackable extension " condition;
Step 2, by No. zero node P0 of the circuit module A for measuring capacitance capacity with stackable extension, stackable The connected microcontroller PIC12F510's of the No.1 node P1 of the circuit module B for measuring capacitance capacity of extension can be set as AD sampling configurations and the pin of IO output modes can be set as be set as high level output pattern;Stackable extension is used for The switch on and off of the No.1 switch MOS1 of the circuit module A of measuring capacitance capacity is disconnected, then stackable extension is used for electricity The circuit module A for holding cubic content measurement will not be by the No.1 for the circuit module A for being used for measuring capacitance capacity with stackable extension The influence of the circuit module for measuring capacitance capacity of the stackable extension of tie point;Stackable extension is used for capacitance The switch on and off of No. two switch MOS2 of the circuit module A of measurement is switched on;Stackable extension for measuring capacitance capacity The current channel of No. three diode D3 of circuit module B is blocked by high level;If there is a No.1 tie point Q with can fold Add holding for capacitance for the connected stackable extensions of No. two tie point P of the circuit module B for measuring capacitance capacity of extension The circuit module C of measurement, then also needing to No. zero section of the circuit module C for measuring capacitance capacity of stackable extension Point P0 is set as low level output pattern, stackable extension for the circuit module C of measuring capacitance capacity, stackable extension Circuit module B for measuring capacitance capacity can be the circuit module for measuring capacitance capacity of same stackable extension;
Step 3, by the microcontroller of the No.1 node P0 of the circuit module B for measuring capacitance capacity with stackable extension The pin of PIC12F510 is set as low level output pattern;
Step 4, from the list being connected with the No.1 node P1 of the circuit module A for measuring capacitance capacity of stackable extension The pin output pwm signal of piece machine PIC12F510 makes pwm signal continue time of a regular length as test signal Section, pwm signal can charge to sampling capacitance C1 at this time;Pwm signal can be to the sampling capacitance C1 speed to charge and stackable extension The conductor plates 120 of the circuit module A for measuring capacitance capacity, stackable extension the circuit for measuring capacitance capacity Capacitance between the conductor plates 120 of module B is related;The circuit module A's for measuring capacitance capacity of stackable extension leads Body pole plate 120, stackable extension the conductor plates 120 for the circuit module B of measuring capacitance capacity between capacitance it is bigger, Pwm signal can be slower to the speed of sampling capacitance C1 chargings, and the voltage that capacitance C1 is filled is used in the period of regular length just It is lower;The conductor plates 120 of the circuit module A for measuring capacitance capacity of stackable extension, stackable extension for electricity The capacitance held between the conductor plates 120 of the circuit module B of cubic content measurement is smaller, and pwm signal can charge to sampling capacitance C1 Speed is faster, and the voltage filled using capacitance C1 in the period of regular length is higher;
The output of pwm signal described in step 5, termination step 4;
Step 6, by No. zero node P0 of the circuit module A for measuring capacitance capacity with stackable extension, stackable The connected microcontroller PIC12F510's of the No.1 node P1 of the circuit module B for measuring capacitance capacity of extension can be set as AD sampling configurations and the pin of IO output modes can be set as be set as AD sampling configurations, and carry out AD samplings;
The sampled data that step 7, recording step 6 obtain;
Step 8, the operation for repeating step 1-7 are used for capacitance until all connected adjacent stackable extensions Capacitance between the circuit module pair of measurement was all tested;
Step 9 passes through the circuit modules for measuring capacitance capacity of the step 1-8 each stackable extensions obtained The capacitance difference measured calculates the position of liquid level 150;Be worth those of ordinary skill in the art it is noted that each adjacent Height span between the circuit module pair for measuring capacitance capacity of stackable extension may be inconsistent, such as highest The conductor plates 120 of the circuit module for measuring capacitance capacity of the stackable extension of position and the stackable expansion of extreme lower position Exhibition the circuit module for measuring capacitance capacity conductor plates 120 can be from the point of view of being electrically connected angle it is adjacent still Its height span is different from the point of view of physical size angle;
The No.1 node P1 of the circuit module for measuring capacitance capacity of all stackable extensions is arranged step 10 It for low level output pattern, discharges sampling capacitance C1, preparation is tested next time.
Embodiment 3, as shown in figure 3, with embodiment 2 the difference is that embodiment 3 all stackable extensions What the circuit module for measuring capacitance capacity was constituted is linked as being closed loop chain
The unknown place of this explanation is the prior art or common knowledge, therefore is not repeated.

Claims (1)

1. a kind of circuit module for measuring capacitance capacity of stackable extension, it is characterised in that:By No.1 resistance(R1), two Number resistance(R2), No. three resistance(R3), No. four resistance(R4), place(GND9), No. two diodes(D2), No. three diodes (D3), conductor plates(120), No.1 capacitance(C1), No.1 switch(MOS1), No. two switches(MOS2), No. zero node(P0), one Number node(P1), No.1 tie point(Q), No. two tie points(P), the 5th resistance(R5)It collectively forms;
No.1 switchs(MOS1)There are one switching channels, a control terminals for tool, when No.1 switchs(MOS1)The level of control be No.1 switchs when low level(MOS1)Switching channels connect, when No.1 switch(MOS1)Control level be high level when one Number switch(MOS1)Switching channels disconnect;
No. two switches(MOS2)There are one switching channels, a control terminals for tool, when No. two switches(MOS2)The level of control be No. two switches when high level(MOS2)Switching channels connect, when No. two switch(MOS2)Control level be low level when two Number switch(MOS2)Switching channels disconnect;
5th resistance(R5)Tool is No.1 end and No. two ends, the 5th resistance respectively there are two them are held(R5)No.1 end and the 5th Resistance(R5)No. two end on electrology characteristic the nonpolarity difference as conventional, electric-resistance, the 5th resistance(R5)Effect be limit Stream, slows down No.1 capacitance(C1)Charging rate, to prevent No.1 capacitance(C1)Too fast is filled;
No.1 resistance(R1)One end and No.1 tie point(Q)It is connected, No.1 resistance(R1)The other end switch via No.1 Switching channels are connected to the 5th resistance(R5)No.1 end;
No. two resistance(R2)One end and the 5th resistance(R5)No.1 end be connected, No. two resistance(R2)The other end and No. two companies Contact(P)It is connected;
No. three resistance(R3)One end and No. two tie points(P)It is connected, No. three resistance(R3)The other end via No. four resistance (R4)With place(GND9)It is connected, No. three resistance(R3)Via No. four resistance(R4)With place(GND9)Connected end is via two Number switch(MOS2)Switching channels be connected to No.1 node(P1);
5th resistance(R5)No. two end with No. two diodes(D2)Anode be connected;
No. two diodes(D2)Cathode and No. three diodes(D3)Anode be connected;
No. three diodes(D3)Cathode and No.1 node(P1)It is connected;
No.1 capacitance(C1)One end and No. two diodes(D2)Cathode be connected, No.1 capacitance(C1)The other end and No. zero section Point(P0)It is connected;
No.1 switchs(MOS1)Control terminal and No. zero node(P0)It is connected;
No. two switches(MOS2)Control terminal and No. zero node(P0)It is connected;
Conductor plates(120)With No. two tie points(P)It is connected.
CN201510892189.4A 2015-11-27 2015-11-27 The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension Expired - Fee Related CN105572479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510892189.4A CN105572479B (en) 2015-11-27 2015-11-27 The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510892189.4A CN105572479B (en) 2015-11-27 2015-11-27 The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension

Publications (2)

Publication Number Publication Date
CN105572479A CN105572479A (en) 2016-05-11
CN105572479B true CN105572479B (en) 2018-11-02

Family

ID=55882841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510892189.4A Expired - Fee Related CN105572479B (en) 2015-11-27 2015-11-27 The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension

Country Status (1)

Country Link
CN (1) CN105572479B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106768168B (en) * 2016-11-29 2020-08-04 奇瑞汽车股份有限公司 Automobile liquid level detection circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87201239U (en) * 1987-04-13 1987-12-02 顾震环 Portable liquid-level gauge for ship
CN2216676Y (en) * 1994-12-31 1996-01-03 王文义 Capacitance level gauge
CN2264364Y (en) * 1995-11-24 1997-10-08 华南理工大学 Multi-point electrode liquid level detecting instrument
CN103245394A (en) * 2013-03-29 2013-08-14 北京遥测技术研究所 Point-type liquid level sensor based on multilayer annular capacitor structure
CN103575360A (en) * 2012-07-19 2014-02-12 北京航天试验技术研究所 Circuit measuring achieving method for segmentation capacitor liquid level sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60213822A (en) * 1984-04-07 1985-10-26 Tokyo Keiso Kk Liquid-level measuring device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87201239U (en) * 1987-04-13 1987-12-02 顾震环 Portable liquid-level gauge for ship
CN2216676Y (en) * 1994-12-31 1996-01-03 王文义 Capacitance level gauge
CN2264364Y (en) * 1995-11-24 1997-10-08 华南理工大学 Multi-point electrode liquid level detecting instrument
CN103575360A (en) * 2012-07-19 2014-02-12 北京航天试验技术研究所 Circuit measuring achieving method for segmentation capacitor liquid level sensor
CN103245394A (en) * 2013-03-29 2013-08-14 北京遥测技术研究所 Point-type liquid level sensor based on multilayer annular capacitor structure

Also Published As

Publication number Publication date
CN105572479A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN102928727B (en) Open circuit detecting device, circuit and method
CN105259422B (en) Capacitance measurement circuit, liquid level detection circuit and its application method, liquid level detection circuit, water heater, intelligent home device
CN201373909Y (en) Device for testing voltage of single battery of battery pack
CN104821716B (en) Constant on-time controller
CN103728037A (en) Junction temperature monitoring circuit system for high-power LED reliability test
CN206649078U (en) A kind of electric resistance partial pressure type voltage over zero detects circuit
CN102455381A (en) Current detecting circuit and current overcurrent protection controller
CN108627704A (en) Method and apparatus for testing capacitor
CN107478908A (en) A kind of electric car insulation detection device and its detection method
CN105572479B (en) The circuit module for measuring capacitance capacity of stackable extension, the convenient liquid level detection circuit of extension
CN104459338A (en) Capacitor capacitance value measuring device and measuring method
CN101995283A (en) Time division multiplexing multi-channel electric contact liquid level detection circuit
CN203178367U (en) Internal resistance measuring circuit of battery capacity grading cabinet
CN103983882A (en) Device and method for detecting connectivity of digital input signal line
CN105259423B (en) Capacitance measurement circuit, liquid level detection circuit and its application method, capacitance measurement circuit module, water dispenser, intelligent home device
CN105158573A (en) Battery internal resistance detection circuit and battery internal resistance detection method and apparatus
CN102967788A (en) Line broken detection circuit of battery and detection method thereof
CN203069291U (en) Thermistor-based temperature detection circuit
CN203929854U (en) Voltage magnitude testing circuit
CN105182055B (en) Current detection circuit for DC-DC converter
CN205880137U (en) Eliminate field effect transistor snowslide test inductance error circuit
CN105510670A (en) Detection circuit for detecting battery voltage in battery pack, and battery pack
CN114609430A (en) Alternating current direction test circuit
CN204514996U (en) Alternating current testing circuit
CN209182731U (en) A kind of level gauging Circuits and Systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180906

Address after: 362000 4, 1-07, purple Hill Road, Jinlong street, Licheng District, Quanzhou, Fujian.

Applicant after: Tianlong Zhong min Technology Co., Ltd.

Address before: 561199 3 floor, high tech talent building, Tongren, Guizhou

Applicant before: GUIZHOU TONGREN HI-TECH ZONE KECHUANG INTERNET PRODUCTIVITY PROMOTION CENTER

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181102

Termination date: 20181127

CF01 Termination of patent right due to non-payment of annual fee