CN111208094A - Transparent tube liquid monitoring device and method capable of preventing misjudgment - Google Patents

Transparent tube liquid monitoring device and method capable of preventing misjudgment Download PDF

Info

Publication number
CN111208094A
CN111208094A CN202010121615.5A CN202010121615A CN111208094A CN 111208094 A CN111208094 A CN 111208094A CN 202010121615 A CN202010121615 A CN 202010121615A CN 111208094 A CN111208094 A CN 111208094A
Authority
CN
China
Prior art keywords
signal
threshold value
transparent
liquid
value
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
CN202010121615.5A
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.)
Changan University
Original Assignee
Changan 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 Changan University filed Critical Changan University
Priority to CN202010121615.5A priority Critical patent/CN111208094A/en
Publication of CN111208094A publication Critical patent/CN111208094A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/59Transmissivity
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/12Detecting, e.g. by using light barriers using one transmitter and one receiver

Abstract

The invention provides a transparent tube liquid monitoring device and method capable of preventing misjudgment, wherein the device comprises an LED light source, a transparent infusion tube, a photoelectric sensor, a signal modulation and amplification circuit module, an ADC and a rear-end processor module, wherein the LED light source is used for providing a light source for the transparent infusion tube; the photoelectric sensor is used for collecting a light intensity signal of the transparent infusion tube, converting the collected light intensity signal into a current signal and transmitting the current signal to the signal modulation and amplification circuit module; the signal modulation and amplification circuit module is used for converting the current signal into a voltage signal, amplifying the voltage signal through the amplification circuit, and then transmitting the amplified signal to the ADC and the back-end processor module; the ADC and back-end processor module is used for converting the received voltage analog signal into a digital signal and performing back-end processing; and updating the initial threshold in real time to improve the judgment accuracy.

Description

Transparent tube liquid monitoring device and method capable of preventing misjudgment
Technical Field
The invention belongs to the field of automatic monitoring of liquid in a pipeline, and particularly relates to a transparent tube liquid monitoring device and method capable of preventing misjudgment.
Background
In the field of automation of instruments and meters, there is an increasing need to judge whether a liquid flows through a transparent pipeline. For example, in technical requirements and detection methods (survey) of chemical oxygen demand (CODCr) water quality on-line automatic monitor issued by ecological environment department of people's republic of china in 2018, it was explicitly proposed: "quality of water automatic monitoring appearance should have unusual information recording, upload and feedback function, if: the alarm of reagent shortage, the alarm of component failure, the alarm of liquid leakage, the alarm of sampling failure, the alarm of standard exceeding and the like. For another example, the infusion alarm applied to the medical field can monitor whether liquid exists in an infusion tube in real time, and alarm in time when the liquid is deficient so as to remind of changing the liquid.
The sensor technology which can be applied at present mainly comprises a capacitance type sensor and a photoelectric type sensor, and an integrated sensor generally comprises a knob which can adjust a detection threshold value. The capacitive sensor has high sensitivity when used for detecting the liquid state in the pipeline, but when other metals exist around the sensor, the sensor is influenced by the metals, which puts high requirements on the installation of the sensor in the instrument. The photoelectric sensor has the basic principle that light emitted by an LED transmits through a transparent tube, the other side of the transparent tube detects light intensity by a photoelectric sensor and converts the light intensity into an electric signal, and the electric signal is compared with a preset electric signal so as to output a changed electric signal. The photoelectric liquid sensor has the biggest defect that the LED and the photoelectric sensor have larger temperature drift, the light transmittance of liquid in the transparent tube can be changed, and the real-time adjustment can not be carried out once the judgment threshold value is set. When the temperature drift is too large or the light transmittance of the transparent tube is greatly changed, the signal amplitudes of the liquid state and the liquid-free state may be simultaneously greater than or less than the set judgment threshold, and the output signal of the photoelectric liquid sensor may be subjected to misjudgment. Although integrated photosensors generally have the function of manually adjusting the threshold value, the above-mentioned problems cannot be solved completely in real time.
Disclosure of Invention
The invention aims to provide a transparent tube liquid monitoring device and method capable of preventing misjudgment, and solves the problem that misjudgment is easy to occur in a method for monitoring whether liquid exists in a transparent tube in the prior art.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention provides a transparent tube liquid monitoring device capable of preventing misjudgment, which comprises an LED light source, a transparent infusion tube, a photoelectric sensor, a signal modulation and amplification circuit module, an ADC and a rear-end processor module, wherein the LED light source is used for providing a light source for the transparent infusion tube; the photoelectric sensor is used for collecting a light intensity signal of the transparent infusion tube, converting the collected light intensity signal into a current signal and transmitting the current signal to the signal modulation and amplification circuit module; the signal modulation and amplification circuit module is used for converting the current signal into a voltage signal, amplifying the voltage signal through the amplification circuit, and then transmitting the amplified signal to the ADC and the back-end processor module; the ADC and back-end processor module is used for converting the received voltage analog signal into a digital signal and performing back-end processing, and is used for realizing real-time updating of the set judgment threshold value.
Preferably, the LED light source is an infrared light source.
Preferably, the photosensor is a photocell, photodiode, or phototransistor.
A transparent tube liquid monitoring method capable of preventing misjudgment comprises the following steps:
s1, initializing the device and determining an initial threshold;
s2, monitoring the transparent infusion tube to be detected to obtain an electric signal value, and comparing the electric signal value with the initial threshold value determined in the step S1, wherein if the measured electric signal value is larger than the initial threshold value, the transparent infusion tube to be detected is judged to have liquid, the initial threshold value is calculated and updated according to the measured electric signal value, and the updated threshold value is used as the judgment threshold value for the next judgment; if the measured electric signal value is smaller than the initial threshold value, judging that the transparent infusion tube to be measured has no liquid, calculating and updating the initial threshold value according to the measured electric signal value, and simultaneously taking the updated threshold value as a judgment threshold value for next judgment; and if the measured electric signal value is equal to the initial threshold value, judging the abnormal state and judging again.
Preferably, in step S1, the specific method for determining the initial threshold is:
s101, collecting the intensity of an electric signal in a liquid-free state in a transparent infusion tube, and recording the intensity as Vr 1;
s102, collecting the intensity of an electric signal when the transparent infusion tube is in a liquid state, and recording the intensity as Vr 2;
s103, a device initialization threshold Vr is calculated from S101 and S102, and initialization of the device is completed, where Vr ═ (Vr1+ Vr 2)/2.
Preferably, in step S2, the initial threshold is calculated and updated according to the measured electrical signal value by:
if the measured electrical signal value is greater than the initial threshold value, assigning the measured electrical signal value to Vr 2;
if the measured electrical signal value is less than the initial threshold value, the measured electrical signal value is assigned to Vr 1.
Compared with the prior art, the invention has the beneficial effects that:
according to the transparent tube liquid monitoring device capable of preventing misjudgment, the system can quantify the amplitude of a signal when liquid exists or does not exist in the transparent tube according to the difference of the light transmittance when the liquid exists or does not exist in the transparent tube. The device uses the scheme of optical principle detection, has realized the non-contact monitoring of liquid state in the pipe, has avoided the condition that probe and liquid take place electrochemical corrosion and chemical corrosion than contact monitoring. The device uses the light-emitting light source as an infrared light source, and if the light source is a light source with a visible waveband, the light source is easily absorbed by liquid flowing through the transparent tube, so that the monitoring process is interfered. The device uses an infrared light source as an LED, and mainly considers that the infrared LED has low cost and simple use in engineering application occasions; for use with a light source, the sensor also uses a photoelectric sensor whose detection wavelength band response band contains the light emission wavelength band of the light source.
A transparent tube liquid monitoring method capable of preventing misjudgment determines a threshold value for judging the liquid state in the next transparent tube according to a signal amplitude corresponding to the state of liquid or no liquid in the transparent tube; the judgment threshold value is refreshed in real time along with the change of the signal amplitude value in each state judgment, so that the aim of dynamically calibrating the judgment threshold value is fulfilled, and the misjudgment condition caused by the fact that the signal amplitude has large drift for a long time and the threshold value cannot be adjusted in real time is prevented.
Further, since the system does not have pre-stored signal amplitudes corresponding to the liquid-filled and liquid-free states, an initialization operation is required. And respectively recording signal amplitudes corresponding to a liquid state and a liquid-free state for the first time in the initialization process, and calculating a judgment threshold value for the first time. After the initialization is finished, the state of liquid or no liquid in the transparent tube can be judged for the first time according to the threshold value determined during the initialization.
Furthermore, when liquid exists in the transparent tube, the liquid and the transparent tube focus the light source together, so that the light transmittance of the transparent tube is strong, and the signal amplitude is relatively large; conversely, the corresponding detected signal amplitude is relatively small when the liquid is free of liquid. The threshold value set by the principle is between the corresponding signal amplitude when liquid exists in the transparent tube and the corresponding signal amplitude when no liquid exists in the transparent tube. When liquid exists in the transparent tube, the liquid is detected again, and the corresponding signal amplitude is larger than the previously set signal amplitude; when no liquid exists in the transparent tube, the detection is carried out again, and the corresponding signal amplitude is smaller than the previously set signal amplitude. This enables the judgment to be accurate.
In summary, the transparent tube liquid monitoring device and method capable of preventing erroneous judgment provided by the present invention utilize the ADC and the back-end processor module to convert the voltage analog signal collected by the photoelectric sensor into a digital signal, and then the digital signal is processed by the back-end processor to update the initial threshold in real time, so as to improve the judgment accuracy.
Drawings
FIG. 1 is a schematic diagram of a monitoring device according to the present invention;
fig. 2 is a schematic flow chart of a monitoring method according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1, the transparent tube liquid monitoring device capable of preventing misjudgment provided by the invention comprises an LED light source 1, a transparent infusion tube 2, a photoelectric sensor 3, a signal modulation and amplification circuit module 4, an ADC and a rear-end processor module 5, wherein the LED light source 1 is used for providing a light source for the transparent infusion tube 2; the photoelectric sensor 3 is used for collecting a light intensity signal of the transparent infusion tube 2, converting the collected light intensity signal into a current signal and transmitting the current signal to the signal modulation and amplification circuit module 4; the signal modulation and amplification circuit module 4 is used for converting the current signal into a voltage signal, amplifying the voltage signal by an amplification circuit, and transmitting the amplified signal to the ADC and the back-end processor module 5; the ADC and back-end processor module 5 converts the received voltage analog signal into a digital signal and performs back-end processing.
The LED light source is an infrared light source.
The photoelectric sensor is a photocell, a photodiode or a phototriode.
The current signal generated by the photoelectric sensor is converted into a small voltage signal through an I-V conversion circuit, and the small voltage signal is converted into a voltage signal belonging to the ADC input voltage range through an amplifying circuit.
The amplified voltage signal is accessed to an ADC; the ADC is connected with the back-end processor through a bus, and the voltage signal amplitude detected by the ADC is transmitted to the back-end processor through the bus for processing, calculation and judgment.
As shown in fig. 2, the working process of the present invention includes the following steps:
step 1, starting equipment;
step 2, collecting the electric signal intensity of the transparent infusion tube 2 in the initial state, and recording the electric signal intensity as Vr 1; the transparent infusion tube 2 is in an initial state that no liquid exists in the transparent infusion tube;
step 3, injecting liquid into the transparent infusion tube 2, collecting the electric signal intensity in the state, and recording the electric signal intensity as Vr 2;
step 4, calculating the initial threshold Vr of the equipment according to the step 2 and the step 3, and finishing the initialization of the equipment; wherein, Vr ═ is (Vr1+ Vr 2)/2;
step 5, starting to monitor whether liquid exists in the transparent infusion tube, specifically: comparing the monitored electric signal value v1 with an initial threshold value, and if the electric signal value v1 is smaller than the initial threshold value; judging that the transparent tube is not filled with liquid, giving the value of the electric signal value v1 to Vr1 during initialization, and recalculating and updating the threshold Vr to be (Vr1+ Vr 2)/2; if v1 is larger than Vr, judging that liquid exists in the transparent tube, giving the value of the electric signal value v1 to Vr2, and recalculating and updating the threshold Vr to be (Vr1+ Vr 2)/2; if v1 is equal to Vr, the judgment is determined to be abnormal, and the judgment is re-made without any processing.
And repeating the measuring procedure for judging whether liquid exists in the transparent tube, comparing the monitored electric signal value v with the updated threshold value Vr, and updating the threshold value Vr according to the comparison result, so that the effects of judging whether liquid exists in the transparent tube in real time and judging whether the voltage threshold value of the liquid exists in real time through real-time calibration are achieved.
The signal threshold of the photoelectric sensor is readjusted according to each judgment result, so that the real-time updating of the judgment threshold is realized. In the field of automatic instruments which cannot be adjusted in real time, the threshold value is adjusted in real time, and the accuracy of judgment can be greatly improved.
The conventional photoelectric sensor generally does not use an ADC, but uses a comparator to output high and low levels for judgment. The judgment threshold of the comparator is manually adjusted and cannot be updated in real time. The method is applied in the application fields of instruments and meters for a long time, and abnormal judgment can occur after the light transmittance changes or the semiconductor device drifts.

Claims (6)

1. The transparent tube liquid monitoring device capable of preventing misjudgment is characterized by comprising an LED light source (1), a transparent infusion tube (2), a photoelectric sensor (3), a signal modulation and amplification circuit module (4), an ADC (analog to digital converter) and a rear-end processor module (5), wherein the LED light source (1) is used for providing a light source for the transparent infusion tube (2); the photoelectric sensor (3) is used for collecting light intensity signals penetrating through the transparent infusion tube (2), converting the collected light intensity signals into current signals and transmitting the current signals to the signal modulation and amplification circuit module (4); the signal modulation and amplification circuit module (4) is used for converting the current signal into a voltage signal, amplifying the voltage signal through an amplification circuit, and then transmitting the amplified signal to the ADC and the rear-end processor module (5); the ADC and back-end processor module (5) is used for converting the received voltage analog signal into a digital signal and performing back-end processing, and is used for realizing real-time updating of the set judgment threshold value.
2. The transparent tube liquid monitoring device according to claim 1, wherein the LED light source is an infrared light source.
3. The transparent tube liquid monitoring device according to claim 1, wherein the photo sensor is a photocell, a photodiode, or a phototriode.
4. A transparent tube liquid monitoring method capable of preventing misjudgment is characterized by comprising the following steps:
s1, carrying out initialization processing on the device of any one of claims 1 to 3, and determining an initial threshold value;
s2, monitoring the transparent infusion tube to be detected to obtain an electric signal value, and comparing the electric signal value with the initial threshold value determined in the step S1, wherein if the measured electric signal value is larger than the initial threshold value, the transparent infusion tube to be detected is judged to have liquid, the initial threshold value is calculated and updated according to the measured electric signal value, and the updated threshold value is used as the judgment threshold value for the next judgment; if the measured electric signal value is smaller than the initial threshold value, judging that the transparent infusion tube to be measured has no liquid, calculating and updating the initial threshold value according to the measured electric signal value, and simultaneously taking the updated threshold value as a judgment threshold value for next judgment; and if the measured electric signal value is equal to the initial threshold value, judging the abnormal state and judging again.
5. The method of claim 4, wherein in step S1, the specific method for determining the initial threshold is:
s101, collecting the intensity of an electric signal in a liquid-free state in a transparent infusion tube, and recording the intensity as Vr 1;
s102, collecting the intensity of an electric signal when the transparent infusion tube is in a liquid state, and recording the intensity as Vr 2;
s103, a device initialization threshold Vr is calculated from S101 and S102, and initialization of the device is completed, where Vr ═ (Vr1+ Vr 2)/2.
6. The method of claim 4, wherein the initial threshold value is calculated and updated according to the measured electrical signal value in step S2 by:
if the measured electrical signal value is greater than the initial threshold value, assigning the measured electrical signal value to Vr 2;
if the measured electrical signal value is less than the initial threshold value, the measured electrical signal value is assigned to Vr 1.
CN202010121615.5A 2020-02-26 2020-02-26 Transparent tube liquid monitoring device and method capable of preventing misjudgment Pending CN111208094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010121615.5A CN111208094A (en) 2020-02-26 2020-02-26 Transparent tube liquid monitoring device and method capable of preventing misjudgment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010121615.5A CN111208094A (en) 2020-02-26 2020-02-26 Transparent tube liquid monitoring device and method capable of preventing misjudgment

Publications (1)

Publication Number Publication Date
CN111208094A true CN111208094A (en) 2020-05-29

Family

ID=70785605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010121615.5A Pending CN111208094A (en) 2020-02-26 2020-02-26 Transparent tube liquid monitoring device and method capable of preventing misjudgment

Country Status (1)

Country Link
CN (1) CN111208094A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202314708U (en) * 2011-11-28 2012-07-11 陕西科技大学 Liquid detection device based on photoelectric detection technology
CN103212134A (en) * 2013-04-10 2013-07-24 赵天锋 Device and method for processing transfusion signal
CN203329130U (en) * 2013-03-21 2013-12-11 徐州医学院 Intelligent infusion pressure speed-detecting device
CN203342139U (en) * 2013-06-21 2013-12-18 苏均生 Intelligent infusion alarm apparatus
CN104552609A (en) * 2014-12-08 2015-04-29 徐州徐工筑路机械有限公司 Formula setting quantity follow-up adjustment system and formula setting quantity follow-up adjustment method
US20160055397A1 (en) * 2011-12-21 2016-02-25 Deka Products Limited Partnership System, Method, and Apparatus for Monitoring, Regulating, or Controlling FLuid Flow
CN107569739A (en) * 2017-07-17 2018-01-12 福建星网锐捷通讯股份有限公司 Detection method and device for the capacitance inductor of woven hose liquid detecting
CN109764936A (en) * 2019-01-24 2019-05-17 湖北科技学院 A kind of double liquid level alarm method of the luxuriant and rich with fragrance pot of ink

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202314708U (en) * 2011-11-28 2012-07-11 陕西科技大学 Liquid detection device based on photoelectric detection technology
US20160055397A1 (en) * 2011-12-21 2016-02-25 Deka Products Limited Partnership System, Method, and Apparatus for Monitoring, Regulating, or Controlling FLuid Flow
CN203329130U (en) * 2013-03-21 2013-12-11 徐州医学院 Intelligent infusion pressure speed-detecting device
CN103212134A (en) * 2013-04-10 2013-07-24 赵天锋 Device and method for processing transfusion signal
CN203342139U (en) * 2013-06-21 2013-12-18 苏均生 Intelligent infusion alarm apparatus
CN104552609A (en) * 2014-12-08 2015-04-29 徐州徐工筑路机械有限公司 Formula setting quantity follow-up adjustment system and formula setting quantity follow-up adjustment method
CN107569739A (en) * 2017-07-17 2018-01-12 福建星网锐捷通讯股份有限公司 Detection method and device for the capacitance inductor of woven hose liquid detecting
CN109764936A (en) * 2019-01-24 2019-05-17 湖北科技学院 A kind of double liquid level alarm method of the luxuriant and rich with fragrance pot of ink

Similar Documents

Publication Publication Date Title
CN101504303B (en) Liquid level detection method and device
CN106772699B (en) Rainfall detection system and rainfall state detection method and device
CN202693474U (en) Turbidity sensor for water quality on producing line detection
CN103776529A (en) Desktop laser power meter capable of real-time compensation and compensation method thereof
CN101566551A (en) Backscattering smoke analyzer
CN109883997B (en) High-precision intelligent turbidity detection device and calibration method and use method thereof
CN110907876B (en) Optical fiber current sensor fault diagnosis system and diagnosis method thereof
CN111208094A (en) Transparent tube liquid monitoring device and method capable of preventing misjudgment
CN204924490U (en) Photoelectric conversion module
CN113758595A (en) Resistance-type temperature pulsation appearance with solar irradiation and atmospheric pressure temperature compensation function
CN116026215A (en) Light spot position detection system based on graphene-germanium-based position sensitive detector
KR100427690B1 (en) Solar tracking device using optical lens
CN105092087A (en) Photoelectric conversion module, temperature compensation method for photoelectric conversion module, and distributed light sensing system
CN209416914U (en) Forward scattering visibility meter linearity detection device
CN203772412U (en) Desk type laser power meter capable of real-time compensation
CN207717224U (en) A kind of novel luminous power meter
CN202974444U (en) Portable photoelectric color measuring instrument
CN212963721U (en) Temperature measuring instrument
CN207649766U (en) Faint light current detection circuit
CN214122004U (en) Detect light-emitting bacterium luminous intensity's optoelectronic system
CN206557082U (en) Detection means applied to plant chimney stalk qualified discharge
CN109946259A (en) A kind of list window binary channels infrared detector and method
CN112179490B (en) Light intensity detection circuit and method with wide variation frequency and range
CN211978695U (en) Weak signal acquisition device based on fluorescent polymer sensing technology
KR200272678Y1 (en) Solar tracking device using optical lens

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200529