CN116009450A - Master control circuit, control method and storage medium of refrigerant leakage sensor - Google Patents

Master control circuit, control method and storage medium of refrigerant leakage sensor Download PDF

Info

Publication number
CN116009450A
CN116009450A CN202310006491.XA CN202310006491A CN116009450A CN 116009450 A CN116009450 A CN 116009450A CN 202310006491 A CN202310006491 A CN 202310006491A CN 116009450 A CN116009450 A CN 116009450A
Authority
CN
China
Prior art keywords
pin
data
circuit
resistor
control chip
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
CN202310006491.XA
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.)
Bosifa Technology Shenzhen Co ltd
Original Assignee
Bosifa Technology Shenzhen 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 Bosifa Technology Shenzhen Co ltd filed Critical Bosifa Technology Shenzhen Co ltd
Priority to CN202310006491.XA priority Critical patent/CN116009450A/en
Publication of CN116009450A publication Critical patent/CN116009450A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a main control circuit, a control method and a storage medium of a refrigerant leakage sensor, wherein the front end analog circuit of the sensor comprises a sensing element, the sensing element senses the concentration of target gas in a measured environment, and when the concentration of the target gas in the measured environment changes, the front end analog circuit of the sensor can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensed raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit outputs the target processing data to the external device, so that the external device judges whether the refrigerant leakage occurs according to the target processing data; according to the principle that the gas concentration influences the heat conductivity, the change of the gas concentration is judged by detecting the change of the heat transfer capacity of the gas, so that the power consumption is low and the service life is long.

Description

Master control circuit, control method and storage medium of refrigerant leakage sensor
Technical Field
The invention relates to the technical field of refrigerant leakage detection, in particular to a main control circuit, a control method and a storage medium of a refrigerant leakage sensor.
Background
There are many ways of detecting refrigerant leakage, including a gas concentration detection method, but the existing gas concentration detection method usually detects the gas concentration based on electrochemical principle or semiconductor principle, for example, the sensor measures voltage by utilizing the change of heat loss of the wire along with the surrounding gas concentration, and then converts the voltage into data representing the gas concentration, and the process needs a long preheating process and then can work normally, and has short service life and high replacement cost.
Disclosure of Invention
The embodiment of the invention provides a main control circuit of a refrigerant leakage sensor, which can realize refrigerant leakage detection with low power consumption and has long service life.
A first aspect of an embodiment of the present invention provides a master circuit for a refrigerant leak sensor,
the sensor comprises a sensor front-end analog circuit, a power circuit, a data processing circuit and a data transmission circuit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal;
the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensing raw data to obtain target processing data corresponding to the target gas concentration;
the data transmission circuit is used for outputting the target processing data to external equipment so that the external equipment can judge whether refrigerant leakage occurs according to the target processing data;
the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit.
Optionally, the sensing element includes a first heat source pin, a second heat source pin, a positive electrode thermal resistor pin and a negative electrode thermal resistor pin, a thermopile is connected between the positive electrode thermal resistor pin and the negative electrode thermal resistor pin, after a specified voltage is applied between the first heat source pin and the second heat source pin, a stable heat source is generated between the first heat source pin and the second heat source pin, heat is transferred to the surface of the thermopile through gas molecules in a measured environment, when the concentration of a target gas in the measured environment changes, an electric signal difference can be generated between the positive electrode thermal resistor pin and the negative electrode thermal resistor pin, and a differential signal is detected; the target gas concentration is proportional to the amount of heat carried by the gas molecules in the measured environment.
Optionally, the sensor front-end analog circuit further includes a sixth resistor, a first transistor, and a ninth resistor, wherein the first heat source pin is connected to a first end of the sixth resistor, a second end of the sixth resistor is connected to a source of the first transistor, and the second heat source pin is grounded; the drain electrode of the first transistor and the first end of the ninth resistor are connected with a first output voltage end of the power supply circuit, and the second end of the ninth resistor and the grid electrode of the first transistor are connected with a voltage control enabling pin of the micro control chip; the positive electrode thermal resistance pin and the negative electrode thermal resistance pin are respectively connected with the data processing circuit.
Optionally, the data processing circuit further includes a first resistor, a second resistor, a fourth resistor, a tenth resistor, a first capacitor, a second capacitor, a third capacitor, and a fourth capacitor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first end of the second resistor is connected with a first output voltage end of the power supply circuit; the second end of the second resistor, the first end of the first resistor, the first end of the fourth capacitor, the first end of the fourth resistor and the negative thermal resistor pin are connected; a second end of the first resistor and a second end of the fourth capacitor are grounded; the second end of the fourth resistor and the first end of the third capacitor are connected with a second signal pin of the micro control chip; the second end of the third capacitor, the first signal pin of the micro control chip and the positive thermal resistance pin are connected;
the first end of the first capacitor, the first end of the tenth resistor and the input voltage pin of the micro control chip are connected with a first output voltage end of the power supply circuit; the second end of the tenth resistor, the first end of the second capacitor and the voltage input/output pin of the micro control chip are connected; the second end of the first capacitor, the second end of the second capacitor, the common ground voltage pin and the reference voltage pin of the micro control chip are grounded.
Optionally, the data transmission circuit includes a third resistor, a thermistor, a first interface device, a second interface device, a first diode, a second diode, and a third diode;
the first end of the third resistor is connected with a first output voltage end of the power supply circuit;
the second end of the third resistor and the first end of the thermistor are connected with a first output data pin of the micro-control chip; the second end of the thermistor is grounded;
the power supply voltage pin of the first interface device is connected with a power supply voltage; the serial clock pin of the first interface device is connected with the serial clock pin of the micro control chip; the serial data pin of the first interface device is connected with the serial data pin of the micro control chip; the grounding pin of the first interface device is grounded;
the power supply voltage pin of the second interface device and the first end of the third diode are connected with a power supply voltage; the second end of the third diode, the first end of the first diode and the first end of the second diode are grounded; the second end of the first diode and the clock line pin of the second interface device are connected with the clock line pin and the signal output pin of the micro-control chip; the second end of the second diode and the data line pin of the second interface device are connected with the data line pin of the micro-control chip; the grounding pin of the second interface device is grounded; the second interface device is used for connecting with external equipment.
Optionally, the power supply circuit includes a power supply control chip, a fifth resistor, a seventh resistor, an eighth resistor, a seventh capacitor, an eighth capacitor, a fifth capacitor and a sixth capacitor, where an input pin of the power supply control chip, a first end of the fifth resistor, a first end of the seventh capacitor and a first end of the eighth capacitor are connected to a power supply voltage; the grounding pin of the power supply control chip, the second end of the seventh capacitor and the second end of the eighth capacitor are grounded; the enabling pin of the power supply control chip is connected with the second end of the fifth resistor; the feedback pin of the power supply control chip, the second end of the seventh resistor and the first end of the eighth resistor are connected; the second end of the eighth resistor is grounded;
the output pin of the power supply control chip, the first end of the fifth capacitor, the first end of the sixth capacitor and the first end of the seventh resistor are connected with a first output voltage end; the second end of the fifth capacitor and the second end of the sixth capacitor are grounded.
Optionally, the micro control chip includes an analog-to-digital conversion module, and the micro control chip is specifically configured to:
reading the scaling parameters from the memory;
starting the analog-to-digital conversion module, and performing analog-to-digital conversion on the differential signals through the analog-to-digital conversion module to obtain converted data; amplifying the converted data signal to obtain sensing original data;
checking an interrupt update data flag of the analog-to-digital conversion module, and if the interrupt update data flag is enabled, processing the sensed raw data into the target processing data, including: and calculating target gas concentration according to the sensing original data and the scaling parameter to obtain target processing data, wherein the target processing data is used for representing the target gas concentration.
Optionally, the micro control chip is further configured to:
restarting the analog-to-digital conversion module, and clearing the interrupt update data mark;
and when the communication mark is detected, controlling the data transmission circuit to transmit the target processing data to an external device.
The second aspect of the embodiment of the invention provides a control method of a refrigerant leakage sensor, which is applied to a main control circuit of the refrigerant leakage sensor, wherein the main control circuit of the refrigerant leakage sensor comprises a sensor front-end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensing raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit is used for outputting the target processing data; the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit; the micro-control chip comprises an analog-to-digital conversion module;
the method comprises the following steps:
initializing setting;
judging whether the data is updated or not according to the interrupt update data mark of the analog-to-digital conversion module;
if yes, processing the sensing original data into the target processing data, including: calculating a target gas concentration according to the sensing original data and the calibration parameters to obtain target processing data, wherein the target processing data is used for representing the target gas concentration;
and when the communication mark is detected, transmitting the target processing data to an external device, so that the external device judges whether the refrigerant leakage occurs according to the target processing data.
A third aspect of an embodiment of the invention provides a computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method steps as described in the second aspect.
The embodiment of the invention has at least the following beneficial effects:
it can be seen that, by the main control circuit, the control method and the storage medium of the refrigerant leakage sensor in the embodiment of the invention, the main control circuit comprises a sensor front-end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensed raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit is used for outputting target processing data to the external equipment so that the external equipment can judge whether refrigerant leakage occurs according to the target processing data; the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit, and according to the principle that the gas concentration influences the heat conductivity, the change of the gas concentration is judged by detecting the change of the gas heat transfer capacity, so that the preheating process can be greatly shortened, the detection duration is shortened, the power consumption is lower, the material loss is not caused like that of a sensor based on the electrochemical principle, the sensor based on the scheme has the ultra-long service life, and therefore the target gas concentration in the environment can be detected more quickly and reliably, and the refrigerant leakage detection is performed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a part of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a portion of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a portion of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a portion of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart of a control method of a refrigerant leakage sensor according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the described embodiments of the invention may be combined with other embodiments.
Referring to fig. 1-4, the present invention provides a main control circuit of a refrigerant leakage sensor, which includes a sensor front-end analog circuit 10, a power circuit 40, a data processing circuit 20 and a data transmission circuit 30; wherein, the liquid crystal display device comprises a liquid crystal display device,
the sensor front-end analog circuit 10 includes a sensing element U2, the sensing element U2 is configured to sense a target gas concentration in a measured environment, and when the target gas concentration in the measured environment changes, the sensor front-end analog circuit 10 can generate an electrical signal difference and detect a differential signal;
the data processing circuit 20 comprises a micro control chip U1, wherein the micro control chip U1 is used for performing analog-to-digital conversion and signal amplification processing on the differential signals to obtain sensing original data; processing the sensed raw data to obtain target processing data corresponding to the target gas concentration;
the data transmission circuit 20 is configured to output target processing data to an external device, so that the external device determines whether or not refrigerant leakage occurs based on the target processing data;
the power supply circuit 40 is used to power the sensor front-end analog circuit 10, the data processing circuit 20, and the data transmission circuit 30.
Because the thermal conductivity of the target gas is different from that of other gases, when the concentration of the target gas changes, the capacity of the target gas for transferring heat also changes, so that the change of the concentration of the target gas is judged according to the change of the capacity of the target gas for transferring heat, and the refrigerant leakage detection is performed.
Fig. 1 is a schematic structural diagram of a power supply circuit of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention, and fig. 2 is a schematic structural diagram of a portion of a data processing circuit of a main control circuit of a refrigerant leakage sensor according to an embodiment of the present invention.
The sensing element U2 comprises a first heat source pin HEATER1, a second heat source pin HEATER2, a positive electrode thermal resistance pin TH+ and a negative electrode thermal resistance pin TH-, wherein a thermopile is connected between the positive electrode thermal resistance pin TH+ and the negative electrode thermal resistance pin TH-, after a specified voltage is added between the first heat source pin HEATER1 and the second heat source pin HEATER2, a stable heat source is generated between the first heat source pin and the second heat source pin, heat is transferred to the surface of the thermopile through gas molecules in a measured environment, when the concentration of target gas in the measured environment changes, an electric signal difference can be generated between the positive electrode thermal resistance pin TH+ and the negative electrode thermal resistance pin TH-, and a differential signal is detected; the target gas concentration is proportional to the heat carried by the gas molecules in the measured environment.
The size of the specified voltage can be set according to actual application scenes, and different application scenes correspond to different specified voltages, so that refrigerant leakage under different application scenes can be detected, and the influence of environmental change on the accuracy of a detection result is reduced.
As shown in fig. 1, the sensor front-end analog circuit 10 further includes a sixth resistor R6, a first transistor Q1, and a ninth resistor R9, where a first heat source pin heat 1 is connected to a first end of the sixth resistor R6, a second end of the sixth resistor R6 is connected to a source of the first transistor Q1, and a second heat source pin heat 2 is grounded; the drain electrode of the first transistor Q1 and the first end of the ninth resistor R9 are connected with a first output voltage end VHT of the power circuit, and the second end of the ninth resistor R9 and the grid electrode of the first transistor Q1 are connected with a voltage control enabling pin VHT-EN of the micro control chip U1; the positive and negative thermal resistor pins TH + and TH-are connected to the data processing circuit 20, respectively.
As shown in fig. 2, the data processing circuit 20 further includes a first resistor R1, a second resistor R2, a fourth resistor R4, a tenth resistor R10, a first capacitor C1, a second capacitor C2, a third capacitor C3, and a fourth capacitor C4; wherein, the liquid crystal display device comprises a liquid crystal display device,
a first end of the second resistor R2 is connected to the first output voltage end VHT of the power circuit 40; the second end of the second resistor R2, the first end of the first resistor R1, the first end of the fourth capacitor C4, the first end of the fourth resistor R4 and the negative thermal resistor pin TH-are connected; a second end of the first resistor R1 and a second end of the fourth capacitor C4 are grounded; the second end of the fourth resistor R4 and the first end of the third capacitor C3 are connected with a second signal pin AN0 of the micro control chip U1; the second end of the third capacitor C3, the first signal pin AN1 of the micro control chip U1 and the positive thermal resistance pin TH+ are connected;
the first end of the first capacitor C1, the first end of the tenth resistor R10, and the input voltage pin VIN of the micro control unit U1 are connected to the first output voltage end VHT of the power circuit 40; the second end of the tenth resistor R10, the first end of the second capacitor C2 and the voltage input/output pin VREEP of the micro-control chip U1 are connected; the second end of the first capacitor C1, the second end of the second capacitor C2, the common ground voltage pin VSS and the reference voltage pin VREFN of the micro control chip U1 are grounded.
The micro control chip U1 can collect voltages between TH+ and TH-in real time, perform data processing such as small signal amplification and the like, and can reflect the target gas concentration of a target environment according to the voltage.
As shown in fig. 3, the data transmission circuit 30 includes a third resistor R3, a thermistor RT, a first interface device J1, a second interface device J2, a first diode D1, a second diode D2, and a third diode D3;
a first end of the third resistor R3 is connected to the first output voltage end VHT of the power circuit 40;
the second end of the third resistor R3 and the first end of the thermistor RT are connected with a first output data pin PC1 of the micro-control chip U1; the second end of the thermistor RT is grounded;
the power supply voltage pin of the first interface device J1 is connected with the power supply voltage VDD; the serial clock pin ICPCK of the first interface device J1 is connected with the serial clock pin of the micro-control chip U1; the serial data pin ICPDA of the first interface device J1 is connected with the serial data pin of the micro-control chip U1; the grounding pin of the first interface device J1 is grounded;
the power supply voltage pin of the second interface device J2 and the first end of the third diode D3 are connected with the power supply voltage VDD; a second end of the third diode D3, a first end of the first diode D1, and a first end of the second diode D2 are grounded; the second end of the first diode D1 and the clock line pin SCL of the second interface device J2 are connected to the clock line pin and the signal output pin TX of the micro control chip U1; the second end of the second diode D2 and the data line pin SDA of the second interface device J2 are connected to the data line pin of the micro control chip U1; the grounding pin of the second interface device J2 is grounded; the second interface device J2 is used for connecting with an external device.
As shown IN fig. 4, the power circuit 40 includes a power control chip U3, a fifth resistor R5, a seventh resistor R7, an eighth resistor R8, a seventh capacitor C7, an eighth capacitor C8, a fifth capacitor C5, and a sixth capacitor C6, where an input pin IN of the power control chip U3, a first end of the fifth resistor R5, a first end of the seventh capacitor C7, and a first end of the eighth capacitor C8 are connected to a power supply voltage VDD; the grounding pin of the power supply control chip U3, the second end of the seventh capacitor C7 and the second end of the eighth capacitor C8 are grounded; the enable pin EN of the power control chip U3 is connected with the second end of the fifth resistor R5; the feedback pin FB of the power supply control chip U3, the second end of the seventh resistor R7 and the first end of the eighth resistor R8 are connected; the second end of the eighth resistor R8 is grounded;
the output pin OUT of the power control chip U3, the first end of the fifth capacitor C5, the first end of the sixth capacitor C6, and the first end of the seventh resistor R7 are connected to a first output voltage end VHT; the second end of the fifth capacitor C5 and the second end of the sixth capacitor C6 are grounded.
The micro-control chip U1 comprises an analog-to-digital conversion module, and the micro-control chip U1 is specifically used for:
reading the scaling parameters from the memory;
starting the analog-to-digital conversion module, and performing analog-to-digital conversion on the differential signals through the analog-to-digital conversion module to obtain converted data; amplifying the converted data signal to obtain sensing original data;
checking an interrupt update data flag of the analog-to-digital conversion module, and if the interrupt update data flag is enabled, processing the sensed raw data into the target processing data, including: and calculating target gas concentration according to the sensing original data and the scaling parameter to obtain target processing data, wherein the target processing data is used for representing the target gas concentration.
The micro control chip U1 is also for:
restarting the analog-to-digital conversion module, and clearing the interrupt update data mark;
and when the communication mark is detected, controlling the data transmission circuit to transmit the target processing data to an external device.
Through the above-mentioned step flow, can realize the control of refrigerant leakage sensor, carry out target gas concentration detection through the sensing element, and then judge whether there is refrigerant leakage to take place.
It can be seen that the main control circuit of the refrigerant leakage sensor in the embodiment of the invention comprises a sensor front-end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensed raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit is used for outputting target processing data to the external equipment so that the external equipment can judge whether refrigerant leakage occurs according to the target processing data; the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit, and according to the principle that the gas concentration influences the heat conductivity, the change of the gas concentration is judged by detecting the change of the gas heat transfer capacity, so that the preheating process can be greatly shortened, the detection duration is shortened, the power consumption is lower, the material loss is not caused like that of a sensor based on the electrochemical principle, the target gas concentration in the environment can be detected more quickly and reliably, the refrigerant leakage detection is performed, the power consumption is low, and the service life is long.
In accordance with the above, the present invention also provides a control method of a refrigerant leakage sensor based on the main control circuit of the refrigerant leakage sensor shown in fig. 1 to 4, as shown in fig. 5, which is applied to the main control circuit of the refrigerant leakage sensor, wherein the main control circuit of the refrigerant leakage sensor comprises a sensor front end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensing raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit is used for outputting the target processing data; the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit; the micro-control chip comprises an analog-to-digital conversion module;
the method comprises the following steps:
initializing setting;
judging whether the data is updated or not according to the interrupt update data mark of the analog-to-digital conversion module;
if yes, processing the sensing original data into the target processing data, including: calculating a target gas concentration according to the sensing original data and the calibration parameters to obtain target processing data, wherein the target processing data is used for representing the target gas concentration;
judging whether a communication mark is detected;
and when the communication mark is detected, transmitting the target processing data to an external device, so that the external device judges whether the refrigerant leakage occurs according to the target processing data.
Judging whether the data is updated or not according to the interrupt update data mark of the analog-to-digital conversion module; if yes, processing the sensing original data into the target processing data, including: calculating the concentration of the target gas according to the sensed original data and the calibration parameters to obtain target processing data, and judging whether a communication mark is detected or not; when a communication sign is detected, target processing data are transmitted to external equipment, so that the external equipment judges whether refrigerant leakage occurs according to the target processing data, and therefore, as the thermal conductivity of target gas is different from that of other gases, when the concentration of the target gas is changed, the heat transfer capacity of the target gas is also changed, and therefore, the change of the concentration of the target gas is judged according to the change of the heat transfer capacity, refrigerant leakage detection is carried out, the refrigerant leakage detection is controlled by adopting the method to control the refrigerant leakage sensor, the preheating process can be greatly shortened, the detection duration is shortened, the power consumption is lower, and the sensor has an ultra-long service life unlike an electrochemical principle sensor.
The invention also provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the implementation steps of the method as described above.
The foregoing disclosure is illustrative of the preferred embodiments of the present invention, and is not to be construed as limiting the scope of the invention, as it is understood by those skilled in the art that all or part of the above-described embodiments may be practiced with equivalents thereof, which fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. The main control circuit of the refrigerant leakage sensor is characterized by comprising a sensor front-end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal;
the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensing raw data to obtain target processing data corresponding to the target gas concentration;
the data transmission circuit is used for outputting the target processing data to external equipment so that the external equipment can judge whether refrigerant leakage occurs according to the target processing data;
the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit.
2. The circuit of claim 1, wherein the sensing element comprises a first heat source pin, a second heat source pin, a positive electrode thermal resistance pin and a negative electrode thermal resistance pin, a thermopile is connected between the positive electrode thermal resistance pin and the negative electrode thermal resistance pin, a stable heat source is generated between the first heat source pin and the second heat source pin after a specified voltage is applied between the first heat source pin and the second heat source pin, heat is transferred to the surface of the thermopile through gas molecules in a measured environment, and when the concentration of target gas in the measured environment changes, an electric signal difference can be generated between the positive electrode thermal resistance pin and the negative electrode thermal resistance pin, and a differential signal is detected; the target gas concentration is proportional to the amount of heat carried by the gas molecules in the measured environment.
3. The circuit of claim 2, wherein the sensor front-end analog circuit further comprises a sixth resistor, a first transistor, and a ninth resistor, wherein the first heat source pin is connected to a first end of the sixth resistor, a second end of the sixth resistor is connected to a source of the first transistor, and the second heat source pin is grounded; the drain electrode of the first transistor and the first end of the ninth resistor are connected with a first output voltage end of the power supply circuit, and the second end of the ninth resistor and the grid electrode of the first transistor are connected with a voltage control enabling pin of the micro control chip; the positive electrode thermal resistance pin and the negative electrode thermal resistance pin are respectively connected with the data processing circuit.
4. The circuit of claim 3, wherein the data processing circuit further comprises a first resistor, a second resistor, a fourth resistor, a tenth resistor, a first capacitor, a second capacitor, a third capacitor, and a fourth capacitor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first end of the second resistor is connected with a first output voltage end of the power supply circuit; the second end of the second resistor, the first end of the first resistor, the first end of the fourth capacitor, the first end of the fourth resistor and the negative thermal resistor pin are connected; a second end of the first resistor and a second end of the fourth capacitor are grounded; the second end of the fourth resistor and the first end of the third capacitor are connected with a second signal pin of the micro control chip; the second end of the third capacitor, the first signal pin of the micro control chip and the positive thermal resistance pin are connected;
the first end of the first capacitor, the first end of the tenth resistor and the input voltage pin of the micro control chip are connected with a first output voltage end of the power supply circuit; the second end of the tenth resistor, the first end of the second capacitor and the voltage input/output pin of the micro control chip are connected; the second end of the first capacitor, the second end of the second capacitor, the common ground voltage pin and the reference voltage pin of the micro control chip are grounded.
5. The circuit of claim 4, wherein the data transmission circuit comprises a third resistor, a thermistor, a first interface device, a second interface device, a first diode, a second diode, and a third diode;
the first end of the third resistor is connected with a first output voltage end of the power supply circuit;
the second end of the third resistor and the first end of the thermistor are connected with a first output data pin of the micro-control chip; the second end of the thermistor is grounded;
the power supply voltage pin of the first interface device is connected with a power supply voltage; the serial clock pin of the first interface device is connected with the serial clock pin of the micro control chip; the serial data pin of the first interface device is connected with the serial data pin of the micro control chip; the grounding pin of the first interface device is grounded;
the power supply voltage pin of the second interface device and the first end of the third diode are connected with a power supply voltage; the second end of the third diode, the first end of the first diode and the first end of the second diode are grounded; the second end of the first diode and the clock line pin of the second interface device are connected with the clock line pin and the signal output pin of the micro-control chip; the second end of the second diode and the data line pin of the second interface device are connected with the data line pin of the micro-control chip; the grounding pin of the second interface device is grounded; the second interface device is used for connecting with external equipment.
6. The circuit of claim 5, wherein the power circuit comprises a power control chip, a fifth resistor, a seventh resistor, an eighth resistor, a seventh capacitor, an eighth capacitor, a fifth capacitor and a sixth capacitor, wherein the input pin of the power control chip, the first end of the fifth resistor, the first end of the seventh capacitor and the first end of the eighth capacitor are connected to a power supply voltage; the grounding pin of the power supply control chip, the second end of the seventh capacitor and the second end of the eighth capacitor are grounded; the enabling pin of the power supply control chip is connected with the second end of the fifth resistor; the feedback pin of the power supply control chip, the second end of the seventh resistor and the first end of the eighth resistor are connected; the second end of the eighth resistor is grounded;
the output pin of the power supply control chip, the first end of the fifth capacitor, the first end of the sixth capacitor and the first end of the seventh resistor are connected with a first output voltage end; the second end of the fifth capacitor and the second end of the sixth capacitor are grounded.
7. The circuit of any one of claims 1-6, wherein the micro-control chip comprises an analog-to-digital conversion module, the micro-control chip being specifically configured to:
reading the scaling parameters from the memory;
starting the analog-to-digital conversion module, and performing analog-to-digital conversion on the differential signals through the analog-to-digital conversion module to obtain converted data; amplifying the converted data signal to obtain sensing original data;
checking an interrupt update data flag of the analog-to-digital conversion module, and if the interrupt update data flag is enabled, processing the sensed raw data into the target processing data, including: and calculating target gas concentration according to the sensing original data and the scaling parameter to obtain target processing data, wherein the target processing data is used for representing the target gas concentration.
8. The circuit of claim 7, wherein the micro-control chip is further configured to:
restarting the analog-to-digital conversion module, and clearing the interrupt update data mark;
and when the communication mark is detected, controlling the data transmission circuit to transmit the target processing data to an external device.
9. A control method of a refrigerant leakage sensor, characterized in that the control method is applied to a main control circuit of the refrigerant leakage sensor according to any one of claims 1 to 6, wherein the main control circuit of the refrigerant leakage sensor comprises a sensor front-end analog circuit, a power supply circuit, a data processing circuit and a data transmission circuit; the sensor front-end analog circuit comprises a sensing element, wherein the sensing element is used for sensing the concentration of target gas in the measured environment, and when the concentration of the target gas in the measured environment changes, the sensor front-end analog circuit can generate an electric signal difference and detect a difference signal; the data processing circuit comprises a micro control chip, wherein the micro control chip is used for carrying out analog-to-digital conversion and signal amplification on the differential signals to obtain sensing original data; processing the sensing raw data to obtain target processing data corresponding to the target gas concentration; the data transmission circuit is used for outputting the target processing data; the power supply circuit is used for supplying power to the sensor front-end analog circuit, the data processing circuit and the data transmission circuit; the micro-control chip comprises an analog-to-digital conversion module;
the method comprises the following steps:
initializing setting;
judging whether the data is updated or not according to the interrupt update data mark of the analog-to-digital conversion module;
if yes, processing the sensing original data into the target processing data, including: calculating a target gas concentration according to the sensing original data and the calibration parameters to obtain target processing data, wherein the target processing data is used for representing the target gas concentration;
and when the communication mark is detected, transmitting the target processing data to an external device, so that the external device judges whether the refrigerant leakage occurs according to the target processing data.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to claim 9.
CN202310006491.XA 2023-01-04 2023-01-04 Master control circuit, control method and storage medium of refrigerant leakage sensor Pending CN116009450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310006491.XA CN116009450A (en) 2023-01-04 2023-01-04 Master control circuit, control method and storage medium of refrigerant leakage sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310006491.XA CN116009450A (en) 2023-01-04 2023-01-04 Master control circuit, control method and storage medium of refrigerant leakage sensor

Publications (1)

Publication Number Publication Date
CN116009450A true CN116009450A (en) 2023-04-25

Family

ID=86036960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310006491.XA Pending CN116009450A (en) 2023-01-04 2023-01-04 Master control circuit, control method and storage medium of refrigerant leakage sensor

Country Status (1)

Country Link
CN (1) CN116009450A (en)

Similar Documents

Publication Publication Date Title
US9984322B2 (en) Measurement probe with heat cycle event counter
CN103168247B (en) For determining the system and method for the battery dump energy of cell apparatus
US8847602B2 (en) Plug-in module for a liquid or gas sensor
US8180500B2 (en) Temperature sensing system and related temperature sensing method
CN101598770B (en) Testing method of computer and computer system
JP2008096431A (en) Fluid measuring instrument
CN105806505A (en) GSM-based high-precision remote temperature monitoring system
CN108382729B (en) Packaging box with NFC chip and control method thereof
CN116009450A (en) Master control circuit, control method and storage medium of refrigerant leakage sensor
CN101788521B (en) Metal corrosion condition online test method and detecting instrument thereof
CN105277292A (en) Temperature measurement device
CN206673619U (en) Charging device and cable and electronic mark chip thereof
CN218865363U (en) MEMS-based vacuum gauge control circuit
CN101727161B (en) Electronic device, power supply detection system and method
CN215639660U (en) Temperature compensation type liquid level detection device
CN207649794U (en) A kind of PCR analyzer multichannel temperature calibrating installation
CN202522534U (en) Micro power consumption combustible gas detector
CN213957214U (en) Multi-application semiconductor sensor tester
CN202533212U (en) Electronic oil pressure sensor with dynamic equivalent mode
CN113720368A (en) Rapid detection device of AD590 sensor
CN216116245U (en) Liquid level sensor with diffused silicon type pressure detection circuit
CN201340406Y (en) Moisture tester
CN206378158U (en) Humiture recorder
CN217543155U (en) High-sensitivity liquid micro-flow sensor main control circuit
CN214583805U (en) Vacuum degree detection circuit based on MEMS technology

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