Disclosure of Invention
The application aims at providing a liquid level detection device and a liquid level detection system, which are used for accurately measuring the height of a liquid level.
In order to solve the above technical problem, the present application provides a liquid level detection device, including: the device comprises a controller, a capacitance conversion module and a liquid level sensor;
the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and is used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters readable by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm;
the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environment parameters of the capacitance conversion module to calibrate liquid levels and outputting the digital quantity parameters so as to detect the liquid levels.
Preferably, the capacitance conversion module includes: a plurality of capacitive sensing plates;
each capacitance induction polar plate is connected with an interface arranged on the liquid level sensor.
Preferably, the plurality of capacitance sensing plates are divided into two groups, namely a first group of capacitance sensing plates and a second group of capacitance sensing plates, and the longitudinal distance between the capacitance sensing plates in each group is equal to each other, and is not less than 2mm, wherein the first group of capacitance sensing plates at most comprises two capacitance sensing plates.
Preferably, the capacitive sensing plates in the second set of capacitive sensing plates have a lateral spacing of no less than 0.8mm.
Preferably, the width of each capacitive sensing plate is not less than 2mm, and the height is 1mm.
Preferably, the interface arranged on the liquid level sensor is an FPC interface with the interval of 0.5 mm.
Preferably, the method further comprises the following steps: a power source;
the power supply is connected with the controller and used for supplying power to the controller.
Preferably, the controller is communicatively coupled to the capacitance conversion module via an IIC bus.
Preferably, the controller is an MCU.
In order to solve the above technical problem, the present application further provides a liquid level detection system, including: the above mentioned liquid level detection device.
The application provides a liquid level detection device, includes: the device comprises a controller, a capacitance conversion module and a liquid level sensor; the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters which can be read by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm; the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environmental parameters of the capacitance conversion module to carry out liquid level calibration and outputting the digital quantity parameters so as to detect the liquid level. Because the capacitance conversion module is connected with the liquid level sensor through the interface arranged on the liquid level sensor, a single lead wire is not needed, and meanwhile, the detection unit of the liquid level sensor is not less than 2mm, therefore, the capacitance conversion module can also sense the liquid level effectively under the condition of small liquid level change, the flow of the production process is reduced, and the accurate liquid level height measurement is realized.
The application also provides a liquid level detection system, and the effect is the same as above.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a liquid level detection device and a system, which are used for accurately measuring the height of the liquid level.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
The common liquid level measurement at present can be generally divided into a floating ball type, a resistance type, a capacitance type, an ultrasonic type, a radar type, a photoelectric switch, a weighing type and the like according to the working principle. In order to adapt to some special scenes (such as curved bottles) and achieve the purpose of reducing cost, a plurality of capacitors are generally used for converting chips and are matched with an FPC (flexible printed circuit) liquid level sensor for use.
At present, FPC (flexible printed circuit) liquid level sensors are generally divided into three types, the first type is an integrated non-contact liquid level measuring device and is commonly used for limiting a single section of a liquid level, a pair of sensing bonding pads are arranged inside the FPC and used for sensing whether the liquid level reaches a sensing position, but the structure is usually large due to the integration of the structure, the height of the structure is far larger than 10mm, and the liquid level in a sealed metal container cannot be measured. The second is multistage formula liquid level measurement device, can increase sensitivity through the interdigital design, but because the structural problem of pad self, can't effectively survey to the less condition of liquid level change, especially when the inside lime set of container or its self lime set, can seriously influence measuring effect, and need lead wire alone, increased production technology's flow. The third is a continuous liquid level measuring device, which is applied to continuous liquid level measurement, wherein the liquid level measuring device uses an interdigital liquid level sensor, when the humidity in the space reaches 99.9% RH and a large amount of condensed liquid appears in the space, the condensed liquid in the container or the condensed liquid of the container can also appear, the measurement is influenced, if the liquid level height is only 1mm, because the number of the interdigital fingers is large, the effective judgment can not be carried out, the longitudinal distance is reduced, the risk that the condensed liquid is completely filled in the gap can be met, and the liquid level can be judged by mistake; increase vertical interval, its induction zone's height just is greater than 1mm far away, and whether this moment in order to effectively distinguish the second stage liquid level and reach, its interval with the least significant induction zone that needs to increase, when liquid level change is very little promptly, unable effective perception, and need lead wire alone, increased production technology's flow.
Fig. 1 is a structural diagram of a liquid level detection device according to an embodiment of the present application, and as shown in fig. 1, the liquid level detection device includes: the device comprises a controller 10, a capacitance conversion module 11 and a liquid level sensor 12;
the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and is used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters readable by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm;
the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environment parameters of the capacitance conversion module to calibrate liquid levels and outputting the digital quantity parameters so as to detect the liquid levels. The device also includes: a power source; the power supply is connected with the controller and used for supplying power to the controller. The controller is connected with the capacitance conversion module through IIC bus communication. It should be noted that the controller may be configured as an MCU. Fig. 2 is a structural diagram of a liquid level sensor provided in an embodiment of the present application, and as shown in fig. 2, a capacitance conversion module includes: a plurality of capacitive sensing plates; each capacitance induction polar plate is connected with an interface arranged on the liquid level sensor. The liquid level sensor comprises a plurality of liquid level sensors, wherein the liquid level sensors are arranged on the liquid level sensors, the plurality of capacitance sensing polar plates are divided into two groups, namely a first group of capacitance sensing polar plates and a second group of capacitance sensing polar plates, the longitudinal distance between the capacitance sensing polar plates in each group is equal, and is not smaller than 2mm, the first group of capacitance sensing polar plates at most comprises two capacitance sensing polar plates, all the residual capacitance sensing polar plates are the second group of capacitance sensing polar plates, the transverse distance between the capacitance sensing polar plates in the second group of capacitance sensing polar plates is not smaller than 0.8mm, the width of each capacitance sensing polar plate is not smaller than 2mm, the height of each capacitance sensing polar plate is 1mm, and an interface arranged on the liquid level sensor is an FPC (Flexible Printed Circuit) interface with the distance of 0.5mm, wherein the interface corresponding to a Flexible Circuit board (FPC) is arranged according to the preset distance, in the embodiment, and the preset distance is 0.5mm, and the interface is a part marked with A in figure 2. It should be further noted that, as shown in a portion denoted by a reference symbol B in fig. 2, the first group of capacitive sensing plates is two capacitive sensing plates on the left side corresponding to each other up and down, and the second group of capacitive sensing plates 3 is a right capacitive sensing plate corresponding to each other up and down, where it should be noted that there are 6 capacitive sensing plates in total in the second group of capacitive sensing plates. As shown in fig. 2, a lead is respectively led out from the capacitance sensing electrode plates located at the upper portion of the first group of capacitance sensing electrode plates and the second group of capacitance sensing electrode plates to the FPC interface. Fig. 3 is a structural diagram of an FPC interface provided IN the embodiment of the present application, and as shown IN fig. 3, the FPC interface is a J113 socket, and the socket is provided with 6 leads, where a lead denoted by 1 and a lead denoted by 6 are grounded, a lead denoted by 2 corresponds to an IN0 interface, a lead denoted by 3 corresponds to an IN1 interface, a lead denoted by 4 corresponds to an IN3 interface, and a lead denoted by 5 corresponds to an IN3 interface. The capacitor is used for adjusting the measurement range of the input channel, the inductor and the capacitor form an LC resonant cavity, and the LC resonant cavity is used for detecting the change of the capacitor, so as to monitor the change of the liquid level, fig. 4 is a structural diagram of the LC resonant cavity provided IN the embodiment of the present application, as shown IN fig. 4, wherein an IN0 interface, a first end of a first capacitor C1, a first end of a first inductor L1, and an IN0A interface are sequentially connected, and meanwhile, a second end of the first capacitor C1, a second end of the first inductor L1, and an IN0B interface are sequentially connected; the IN1 interface, the first end of the second capacitor C2, the first end of the second inductor L2 and the IN1A interface are sequentially connected, and meanwhile, the second end of the second capacitor C2 and the second end of the second inductor L2 are sequentially connected with the IN1B interface; the IN2 interface, the first end of the third capacitor C3, the first end of the third inductor L3 and the IN2A interface are sequentially connected, and meanwhile, the second end of the third capacitor C3 and the second end of the third inductor L3 are sequentially connected with the IN2B interface; the IN3 interface, the first end of the fourth capacitor C4, the first end of the fourth inductor L4, and the IN3A interface are sequentially connected, and meanwhile, the second end of the fourth capacitor C4, the second end of the fourth inductor L4, and the IN3B interface are sequentially connected.
It should be noted that a peripheral circuit needs to be set to maintain normal operation, fig. 5 is a structural diagram of the peripheral circuit provided IN this embodiment of the present application, as shown IN fig. 5, an IN0A interface, an IN0B interface, an IN1A interface, and an IN1B interface are respectively connected to interfaces 9, 10, 11, and 12 of U1 IN sequence, an interface 5 of U1 is floating, an interface 6 is connected to an ENSD interface, a pin 7 is connected to a first end of a seventh capacitor C7, a first end of an eighth capacitor C8, and a first end of a ninth capacitor C9, an interface 8 is connected to a second end of the seventh capacitor C7, a second end of the eighth capacitor C8, and a second end of the ninth capacitor C9, a second end of the ninth capacitor C9 is grounded, and a first end of the ninth capacitor C9 is connected to a voltage of 3.3V; the 1 interface of the U1 is connected with the first end of the second resistor R2 and is connected with the IIC _ SCL interface, and the second end of the second resistor R2 is connected with 3.3V voltage; the interface 2 is connected with the first end of the first resistor R1 and is connected with the IIC _ SDA interface, and the second end of the first resistor R1 is connected with 3.3V voltage; the interface 3 is connected with the interface 3 of the crystal oscillator Y1 and the first end of the sixth capacitor C6, the interface 4 is connected with the interface 2 of the crystal oscillator Y1 and the second end of the sixth capacitor C6, and the second end of the sixth capacitor C6 is grounded; 1 interface of Y1 is suspended; the 4 interface of the Y1 is connected with the first end of the fifth capacitor C5, the first end of the fifth capacitor C5 is connected with 3.3V voltage, and the second end of the fifth capacitor C5 is grounded.
The liquid level sensor consists of a plurality of capacitance sensing polar plates and can be used for liquid level subsection limiting and continuous liquid level measurement; the capacitor is used for limiting the input range of the capacitance value of the measured object; the capacitance conversion module is used for processing the acquired analog quantity parameters; the controller is used for configuring parameters of the capacitance conversion module, setting a reference value, receiving the parameters of the capacitance conversion module and judging the height of the liquid level by comparing the set reference value with a read value; in addition, the power supply is used for supplying power to the controller and the capacitance conversion device. When the liquid level reaches a certain position, the dielectric constant between the capacitance sensing electrode plates can be changed, so that the capacitance value is changed. The variable quantity of the capacitor is converted into readable digital quantity or analog quantity by the capacitor conversion device and transmitted to the processing unit of the controller, and the controller sends out corresponding instructions to inform the change of the external liquid level.
The application provides a liquid level detection device, includes: the device comprises a controller, a capacitance conversion module and a liquid level sensor; the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and is used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters readable by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm; the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environmental parameters of the capacitance conversion module to carry out liquid level calibration and outputting the digital quantity parameters so as to detect the liquid level. Because the capacitance conversion module is connected with the liquid level sensor through the interface arranged on the liquid level sensor, a single lead wire is not needed, and meanwhile, the detection unit of the liquid level sensor is not less than 2mm, therefore, the capacitance conversion module can also sense the liquid level effectively under the condition of small liquid level change, the flow of the production process is reduced, and the accurate liquid level height measurement is realized.
In order to solve the above technical problem, the present application further provides a liquid level detection system, including: the above mentioned liquid level detection device. This liquid level detection device includes: the device comprises a controller 10, a capacitance conversion module 11 and a liquid level sensor 12; the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and is used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters readable by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm; the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environment parameters of the capacitance conversion module to calibrate liquid levels and outputting the digital quantity parameters so as to detect the liquid levels. The device also includes: a power source; the power supply is connected with the controller and used for supplying power to the controller. The controller is connected with the capacitance conversion module through IIC bus communication. It should be noted that the controller may be configured as an MCU. Fig. 2 is a structural diagram of a liquid level sensor provided in an embodiment of the present application, and as shown in fig. 2, a capacitance conversion module includes: a plurality of capacitive sensing plates; each capacitance induction polar plate is connected with an interface arranged on the liquid level sensor. The liquid level sensor comprises a plurality of capacitance sensing pole plates, wherein the capacitance sensing pole plates are divided into two groups, namely a first group of capacitance sensing pole plates and a second group of capacitance sensing pole plates, the longitudinal distance between the capacitance sensing pole plates in each group is equal to each other, and the longitudinal distance is not less than 2mm, wherein the first group of capacitance sensing pole plates at most comprises two capacitance sensing pole plates, all the residual capacitance sensing pole plates are the second group of capacitance sensing pole plates, the transverse distance between the capacitance sensing pole plates in the second group of capacitance sensing pole plates is not less than 0.8mm, the width and height of each capacitance sensing pole plate are not less than 2mm and 1mm, an interface arranged on the liquid level sensor is an FPC (Flexible Printed Circuit) interface with the distance of 0.5mm, wherein the interface corresponding to a Flexible Circuit board (FPC) is arranged according to the preset distance, in the embodiment, the preset distance is 0.5mm, and the interface is a part with the label A shown in the figure 2. It should be further noted that, as shown in a portion denoted by a reference symbol B in fig. 2, the first group of capacitive sensing plates is two capacitive sensing plates on the left side corresponding to each other up and down, and the second group of capacitive sensing plates 3 is a right capacitive sensing plate corresponding to each other up and down, where it should be noted that there are 6 capacitive sensing plates in total in the second group of capacitive sensing plates. As shown in fig. 2, a lead is respectively led out from the capacitance sensing electrode plates located at the upper portion of the first group of capacitance sensing electrode plates and the second group of capacitance sensing electrode plates to the FPC interface. Fig. 3 is a structural diagram of an FPC interface provided IN the embodiment of the present application, and as shown IN fig. 3, the FPC interface is a J113 socket, and the socket is provided with 6 leads, where a lead denoted by 1 and a lead denoted by 6 are grounded, a lead denoted by 2 corresponds to an IN0 interface, a lead denoted by 3 corresponds to an IN1 interface, a lead denoted by 4 corresponds to an IN3 interface, and a lead denoted by 5 corresponds to an IN3 interface. The capacitor is used for adjusting the measurement range of the input channel, the inductor and the capacitor form an LC resonant cavity, and the LC resonant cavity is used for detecting the change of the capacitor, so as to monitor the change of the liquid level, fig. 4 is a structural diagram of the LC resonant cavity provided IN the embodiment of the present application, as shown IN fig. 4, wherein an IN0 interface, a first end of a first capacitor C1, a first end of a first inductor L1, and an IN0A interface are sequentially connected, and meanwhile, a second end of the first capacitor C1, a second end of the first inductor L1, and an IN0B interface are sequentially connected; the IN1 interface, the first end of the second capacitor C2, the first end of the second inductor L2 and the IN1A interface are sequentially connected, and meanwhile, the second end of the second capacitor C2 and the second end of the second inductor L2 are sequentially connected with the IN1B interface; the IN2 interface, the first end of the third capacitor C3, the first end of the third inductor L3 and the IN2A interface are sequentially connected, and meanwhile, the second end of the third capacitor C3 and the second end of the third inductor L3 are sequentially connected with the IN2B interface; the IN3 interface, the first end of the fourth capacitor C4, the first end of the fourth inductor L4, and the IN3A interface are sequentially connected, and simultaneously, the second end of the fourth capacitor C4, the second end of the fourth inductor L4, and the IN3B interface are sequentially connected.
It should be noted that a peripheral circuit needs to be set to maintain normal operation, fig. 5 is a structural diagram of the peripheral circuit provided IN this embodiment of the present application, as shown IN fig. 5, an IN0A interface, an IN0B interface, an IN1A interface, and an IN1B interface are respectively connected to interfaces 9, 10, 11, and 12 of U1 IN sequence, the interface 5 of U1 is floating, the interface 6 is connected to an ENSD interface, a pin 7 is connected to a first end of a seventh capacitor C7, a first end of an eighth capacitor C8, and a first end of a ninth capacitor C9, an interface 8 is connected to a second end of the seventh capacitor C7, a second end of the eighth capacitor C8, and a second end of the ninth capacitor C9, a second end of the ninth capacitor C9 is grounded, and a first end of the ninth capacitor C9 is connected to a voltage of 3.3V; the 1 interface of the U1 is connected with the first end of the second resistor R2 and connected with the IIC _ SCL interface, and the second end of the second resistor R2 is connected with 3.3V voltage; the interface 2 is connected with the first end of the first resistor R1 and connected with the IIC _ SDA interface, and the second end of the first resistor R1 is connected with 3.3V voltage; the interface 3 is connected with the interface 3 of the crystal oscillator Y1 and the first end of the sixth capacitor C6, the interface 4 is connected with the interface 2 of the crystal oscillator Y1 and the second end of the sixth capacitor C6, and the second end of the sixth capacitor C6 is grounded; 1 interface of Y1 is suspended; the 4 interface of the Y1 is connected with the first end of the fifth capacitor C5, the first end of the fifth capacitor C5 is connected with 3.3V voltage, and the second end of the fifth capacitor C5 is grounded.
The liquid level sensor consists of a plurality of capacitance sensing polar plates and can be used for liquid level subsection limiting and continuous liquid level measurement; the capacitor is used for limiting the input range of the capacitance value of the measured object; the capacitance conversion module is used for processing the acquired analog quantity parameters; the controller is used for configuring parameters of the capacitance conversion module, setting a reference value, receiving the parameters of the capacitance conversion module and judging the height of the liquid level by comparing the set reference value with a read value; in addition, the power supply is used for supplying power to the controller and the capacitance conversion device. When the liquid level reaches a certain position, the dielectric constant between the capacitance sensing electrode plates can be changed, so that the capacitance value is changed. The variable quantity of the capacitor is converted into readable digital quantity or analog quantity by the capacitor conversion device and transmitted to the processing unit of the controller, and the controller sends out corresponding instructions to inform the change of the external liquid level.
The application provides a liquid level detection device, includes: the device comprises a controller, a capacitance conversion module and a liquid level sensor; the capacitance conversion module is connected with the liquid level sensor through an interface arranged on the liquid level sensor and used for receiving the analog quantity parameters transmitted by the liquid level sensor and converting the analog quantity parameters into digital quantity parameters which can be read by the controller, wherein the detection unit of the liquid level sensor is not less than 2mm; the controller is in communication connection with the capacitance conversion module and is used for setting digital quantity parameters and environment parameters of the capacitance conversion module to calibrate liquid levels and outputting the digital quantity parameters so as to detect the liquid levels. Because the capacitance conversion module is connected with the liquid level sensor through the interface arranged on the liquid level sensor, a single lead wire is not needed, and meanwhile, the detection unit of the liquid level sensor is not less than 2mm, therefore, the capacitance conversion module can also sense the liquid level effectively under the condition of small liquid level change, the flow of the production process is reduced, and the accurate liquid level height measurement is realized.
The above detailed description is provided for a liquid level detection device and system provided by the present application. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.