WO2022194235A1 - Gas detection apparatus and control method therefor - Google Patents

Gas detection apparatus and control method therefor Download PDF

Info

Publication number
WO2022194235A1
WO2022194235A1 PCT/CN2022/081354 CN2022081354W WO2022194235A1 WO 2022194235 A1 WO2022194235 A1 WO 2022194235A1 CN 2022081354 W CN2022081354 W CN 2022081354W WO 2022194235 A1 WO2022194235 A1 WO 2022194235A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection module
state
module
detection
gas
Prior art date
Application number
PCT/CN2022/081354
Other languages
French (fr)
Chinese (zh)
Inventor
吴承禹
Original Assignee
杭州三花研究院有限公司
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 杭州三花研究院有限公司 filed Critical 杭州三花研究院有限公司
Publication of WO2022194235A1 publication Critical patent/WO2022194235A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0073Control unit therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/007Arrangements to check the analyser

Definitions

  • the present application relates to the technical field of gas detection, and in particular, to a gas detection device and a control method thereof.
  • the gas detection device in the related art includes a processing module and a plurality of detection modules.
  • the detection module is used to detect the gas concentration signal and send the gas concentration signal to the processing module, and the processing module is used to make corresponding preset processing according to the gas concentration signal,
  • the detection module is electrically connected with the processing module, and the multiple detection modules are arranged in parallel, and the multiple detection modules are simultaneously turned on when the gas detection device works, so as to ensure that the gas detection device can continue to work after one of the detection modules fails.
  • multiple detection modules are simultaneously turned on, and multiple detection modules are worn out at the same time, and the service life of the gas detection device is short.
  • the present application provides a gas detection device and a control method thereof, which are beneficial to prolong the service life of the gas detection device.
  • the present application provides a gas detection device, comprising:
  • the detection modules are used to detect the gas concentration signal, and the at least two detection modules include a first detection module and a second detection module;
  • a switching module for respectively realizing the opening and closing of each of the detection modules
  • the processing module is configured to control the switching module, so that the switching module switches the first detection module from the on state to the off state, and the switching module switches the second detection module from the off state to the on state.
  • the processing module in the gas detection device of the present application is used to control the switching module, so that when the switching module switches the first detection module from the open state to the closed state, it switches the second detection module from the closed state to the open state, so that the first detection module is switched from the closed state to the open state.
  • the detection module and the second detection module are not in the open state at the same time, and the second detection module is only turned on when the first detection module is closed, which is beneficial to prolong the service life of the gas detection device.
  • the present application provides a control method of a gas detection device, the gas detection device includes at least two detection modules, the at least two detection modules include a first detection module and a second detection module, the method include:
  • the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
  • the control method of the gas detection device in the present application determines that the first detection module is not in the working mode, then switches the first detection module to the off state, and simultaneously switches the second detection module from the off state to the on state, so that the first detection module Unlike the second detection module, which is not in an open state at the same time, the second detection module is only turned on when the first detection module is closed, which is beneficial to prolong the service life of the gas detection device.
  • Fig. 1 is the principle schematic diagram of one embodiment of the gas detection device of the application
  • FIG. 2 is a schematic diagram of an embodiment of a power supply module, a switching module, a processing module and a detection module as shown in FIG. 1;
  • FIG. 3 is a schematic flowchart of an embodiment of the control method of the gas detection device of the present application.
  • FIG. 4 is a schematic flowchart of an embodiment of steps S20, S30 and S40 shown in FIG. 3;
  • FIG. 5 is a schematic flowchart of an embodiment of step S201 shown in FIG. 4;
  • FIG. 6 is a schematic flowchart of another embodiment of steps S20, S30 and S40 shown in FIG. 3;
  • FIG. 7 is a schematic flowchart of another embodiment of the control method of the gas detection device of the present application.
  • Refrigerants such as Freon (R22) used in air-conditioning systems will damage the ozone layer in the atmosphere, easily leading to the formation of a hole in the ozone layer, allowing sunlight to directly irradiate the surface of the earth, causing damage to plants or humans.
  • R32 chemical name is difluoromethane, which is a halogenated hydrocarbon, chemical formula is CH 2 F 2
  • R32 is slightly flammable, and can form explosive mixtures when mixed with air. When encountering heat sources or open flames, there is a danger of combustion and explosion, and there is a potential safety hazard. Therefore, using a gas detection device to detect the R32 concentration in the air around the refrigerant conveying pipeline of the air-conditioning system in real time is one of the means to eliminate potential safety hazards.
  • the gas detection device in the related art includes a processing module and a plurality of detection modules.
  • the detection module is used to detect the gas concentration signal and send the gas concentration signal to the processing module, and the processing module is used to make corresponding preset processing according to the gas concentration signal,
  • the detection module is electrically connected to the processing module, and multiple detection modules are arranged in parallel, and the multiple detection modules are simultaneously turned on when the gas detection device is working, so as to ensure that the gas detection device continues to work after one of the detection modules fails.
  • multiple detection modules are simultaneously turned on, and multiple detection modules are worn out at the same time, and the service life of the gas detection device is short.
  • the present application proposes a gas detection device and a control method thereof, which are beneficial to prolong the service life of the gas detection device.
  • FIG. 1 is a schematic diagram of the principle of an embodiment of the gas detection device of the present application.
  • the gas detection device 100 may include: at least two detection modules 10 , each of the detection modules 10 is used to detect a gas concentration signal, and the at least two detection modules 10 include a first detection module 11 and a The second detection module 12; the switching module 20 is used to respectively enable and disable each detection module 10; the processing module 30 is used to control the switching module 20, so that the switching module 20 can change the first detection module 11 from the ON state When switching to the off state, the switching module 20 switches the second detection module 12 from the off state to the on state.
  • the detection module 10 includes a gas sensor.
  • the gas sensor can collect gas concentration information and convert the gas concentration information into a gas concentration signal.
  • the types of gas sensors mainly include electrochemical, semiconductor, infrared optical, solid electrolyte, and catalytic combustion.
  • one detection module 10 may be one of electrochemical gas sensors, semiconductor gas sensors, infrared optical gas sensors, solid electrolyte gas sensors, and catalytic combustion gas sensors.
  • the detection module 10 further includes an amplification filter circuit and an analog-to-digital converter (A/D converter) electrically connected to the gas sensor, and the gas sensor transmits the collected gas concentration signal to the amplification filter circuit , the gas concentration signal is amplified and filtered by the amplifying filter circuit to make the signal more stable and smooth. to the processing module 30.
  • A/D converter analog-to-digital converter
  • the switching module 20 is used to enable and disable each detection module 10 respectively. It can be understood that the opening and closing of each detection module 10 can be realized separately, and the opening and closing of each detection module 10 can be realized separately, and the realization of opening and closing of each detection module 10 is not related to the opening and closing of other detection modules 10. .
  • the processing module 30 can control the switching module 20 so that the switching module 20 switches the first detection module 11 from the on state to the off state, and the switching module 20 switches the second detection module 12 from the off state to the on state.
  • the first detection module 11 currently in the open state reaches its service life or fails, the first detection module 11 is controlled to be turned off, and the second detection module 12 is switched from the closed state to the open state at the same time, so as to ensure The normal use of the gas detection device 100 is beneficial to prolong the service life of the gas detection device 100 .
  • the first detection module 11 that is currently in the open state is in a normal use state (not reaching the service life and not failing), the first detection module 11 is controlled to be turned off, and the second detection module 12 is switched from the off state at the same time.
  • the open state the first detection module 11 and the second detection module 12 are not turned on at the same time, thereby prolonging the service life of the gas detection device 100 .
  • the switching module switches the first detection module 11 from the ON state to the OFF state, and simultaneously switches the second detection module 12 from the OFF state to the ON state, so that the first detection module 12 is switched from the OFF state to the ON state.
  • the first detection module 11 and the second detection module 12 are not in the open state at the same time, the first detection module 11 and the second detection module 12 will not be worn out at the same time, and the second detection module 12 is only turned on when the first detection module 11 is turned off, thereby It is beneficial to prolong the service life of the gas detection device 100 .
  • the processing module 30 of the present application can also be used to determine whether gas leakage occurs according to the gas concentration signal detected by the detection module 10, and if the determination result is that a gas leakage occurs, send an alarm signal.
  • the gas detection device 100 further includes a power module 40 .
  • the power module 40 is electrically connected to the switching module 20 , the switching module 20 is electrically connected to each detection module 10 respectively, and the detection modules 10 are arranged in parallel.
  • the power module 40 is used to provide the power required for each detection module 10 to work, and the switch module 20 is used to control the electrical connection and disconnection between each detection module 10 and the power module 40 .
  • the switching module 20 controls the electrical connection and disconnection between each detection module 10 and the power supply module 40, so as to realize the power-on or power-off of each detection module 10, so as to realize the opening and closing of each detection module 10, and the detection module 10 is on when powered on and off when powered off. That is, if the detection module 10 is in an on state, it means it is in a power-on state, and if the detection module 10 is in an on-off state, it means it is in an off state.
  • the switching module 20 includes a plurality of switching switches.
  • the number of switching switches is the same as that of the detection modules 10 , and one switching switch corresponds to one detection module 10 , that is, the switching switches and the detection modules 10 are set in one-to-one correspondence.
  • the switches are respectively used to realize the electrical connection and disconnection between the corresponding detection module 10 and the power supply module 40 , so as to realize the opening and closing of each detection module 10 .
  • the switch has two states: open and closed. When the switch is open, the corresponding detection module 10 and the power module 40 are disconnected. When the switch is closed, the corresponding detection module 10 and the power module are disconnected. Electrical connection between 40. That is, when the switch is turned off, the corresponding detection module 10 is turned off, and when the switch is turned on, the corresponding detection module 10 is turned on.
  • FIG. 2 is a schematic diagram showing the principle of an embodiment of a power module, a switch module, a processing module and a detection module.
  • the switching module 20 includes a first switching switch 21 , a second switching switch 22 , a third switching switch 23 and a fourth switching switch 24
  • the at least two detection modules 10 include a first detection module 11 , a second detection module 12 , and a third detection module 11 .
  • the module 13 and the fourth detection module 14 As shown in FIG. 2 , the first detection module 11 can be electrically connected to and disconnected from the power supply module 40 through the first switch 21, that is, the first switch 21 is used to turn on and off the first detection module 11.
  • the second switch 22 is used to enable and disable the second detection module 12; the third switch 23 is used to enable and disable the third detection module 13; the fourth switch 24 is used to enable the fourth detection The opening and closing of the module 14.
  • the processing module 30 is used to control the first switch 21 , the second switch 22 , the third switch 23 and the fourth switch 24 respectively, so as to control the first detection module 11 , the second detection module 12 and the third detection module respectively 13 and the opening and closing of the fourth detection module 14 .
  • the number of switching switches and detection modules is not limited to this, and "first”, “second” and similar expressions do not represent a specific switching switch or detection module, but are for a more intuitive description The technical solution of this application.
  • the processing module 30 controls the first switch 21 to be closed, while the other switches are turned off.
  • the processing module 30 first controls the first switch 21 to control the first detection module 11 to turn on, and controls other detection modules to turn off, when the first detection module 11 fails or its use
  • the processing module 30 controls the first switch 21 to turn off the first detection module 11 and turns on the second detection module 12.
  • the processing module 30 controls the first detection module 12 to turn on.
  • the second switch 22 is used to control the second detection module 12 to be turned off, and to control the third detection module 13 to be turned on, and so on.
  • the service life of the gas detection device 100 will not be caused by the failure of one of the detection modules or the expiration of the service life of the gas detection device 100, so that the service life of the gas detection device 100 can be prolonged.
  • the service life of the detection device 100 is equal to the sum of the ON times of the first detection module 11 , the second detection module 12 , the third detection module 13 and the fourth detection module 14 .
  • the switch can be a relay.
  • the gas detection device 100 further includes a storage module 50, and the storage module 50 is used to record the working information of each of the detection modules 10, and the processing module 30 also It is used to read the working information recorded by the storage module 50 and control the switching module 20 based on the working information.
  • the work information may include the cumulative duration of each detection module 10 being in an on state. Initially, the first detection module 11 is turned on, and the other detection modules are turned off. If the accumulated time of the first detection module 11 reaches a preset threshold (such as a preset service life, etc.), the second detection module 12 is turned on, and the other detection modules are turned on. If the accumulated time of the second detection module 12 reaches the preset threshold, the third detection module 13 is turned on, and the other detection modules are turned off, and so on. If the types of the first detection module 11 and the second detection module 12 are different, the preset threshold value corresponding to the first detection module 11 and the preset threshold value corresponding to the second detection module 12 may also be different.
  • a preset threshold such as a preset service life, etc.
  • the working information may also include the working status of each detection module 10, and the working status is used to determine whether the detection module 10 fails. After one of the detection modules (such as the first detection module 11 ) is turned on, if it is determined that the current detection module 10 is invalid according to the working state of the currently turned on detection module 10 , the current detection module (such as the first detection module 11 ) is closed. , and turn on the next detection module (eg, turn on the second detection module 12 ) to ensure the normal use of the gas detection device 100 .
  • the detection modules such as the first detection module 11
  • the current detection module such as the first detection module 11
  • the next detection module eg, turn on the second detection module 12
  • the gas detection device 100 in this embodiment can be applied to an air-conditioning system used for refrigeration, such as an air conditioner, a refrigerator, a freezer, etc., and the air-conditioning system can include a refrigerant conveying pipeline (such as R32, R454B, etc.) Or heat exchanger pipes, etc.), the gas detection device 100 can be used to detect the gas concentration around the refrigerant conveying pipes to determine whether there is refrigerant leakage and other phenomena, so as to ensure the safety of the air conditioning system.
  • an air-conditioning system used for refrigeration such as an air conditioner, a refrigerator, a freezer, etc.
  • the air-conditioning system can include a refrigerant conveying pipeline (such as R32, R454B, etc.) Or heat exchanger pipes, etc.)
  • the gas detection device 100 can be used to detect the gas concentration around the refrigerant conveying pipes to determine whether there is refrigerant leakage and other phenomena, so as to ensure the safety of the air conditioning system.
  • each module of the gas detection device shown in the above figure is only a division of logical functions, and in actual implementation, it may be fully or partially integrated into a physical entity, or may be physically separated.
  • these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in hardware.
  • the processing module may be a separately established processing element, or may be integrated in a certain chip of the air-conditioning system.
  • the implementation of other modules is similar.
  • all or part of these modules can be integrated together, and can also be implemented independently.
  • each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as: ASIC), or, one or more microprocessors Digital Singnal Processor (hereinafter referred to as: DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as: FPGA), etc.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Singnal Processor
  • FPGA Field Programmable Gate Array
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (System-On-a-Chip; hereinafter referred to as: SOC).
  • FIG. 3 is a schematic flowchart of an embodiment of the control method of the gas detection device of the present application.
  • the gas detection device in this embodiment can be applied to an air-conditioning system used for refrigeration, such as an air conditioner, a refrigerator, a freezer, etc., and the air-conditioning system may include a refrigerant conveying pipeline (or Heat exchanger pipes, etc.), the gas detection device can be used to detect the gas concentration around the refrigerant conveying pipes to determine whether there is refrigerant leakage and other phenomena, so as to ensure the safety of the air conditioning system.
  • the gas detection device in the present application includes at least two detection modules, and the at least two detection modules include a first detection module and a second detection module.
  • the gas detection device 100 of the present application may execute the control method of the gas detection device of the present application.
  • the control method of the gas detection device may include the following steps:
  • At least two detection modules are in a closed state. After the air conditioning system is initially powered on and started, the first detection module is turned on, so that the first detection module is turned on, and the other detection modules are still turned off.
  • the gas detection device further includes a power supply module
  • step S10 may include: electrically connecting the first detection module with the power supply module.
  • the power supply module may supply power to the first detection module in a direct current manner, so that the first detection module enters an on state.
  • the gas detection device may further include a processing module and a switching module, the switching module includes a plurality of switching switches, the switching switches and the detection modules are set in one-to-one correspondence, and the switching switches in the switching module are used to realize their corresponding
  • the electrical connection and disconnection between the detection module and the power supply module when the switch is disconnected, the detection module is in a closed state, and when the switch is closed, the detection module is in an open state.
  • the processing module is used to control the opening and closing of the switch in the switch module.
  • the plurality of switch switches include at least a first switch switch and a second switch switch, the first switch switch is used to realize the electrical connection and disconnection of the first detection module and the power module, and the second switch The switch is used to realize the electrical connection and disconnection of the second detection module and the power module.
  • the toggle switch may be a relay.
  • step S10 the first switch is controlled to be closed, so as to connect the first detection module to the power supply module, so that the first detection module is in an on state.
  • the other switches are still in the off state, so that the other detection modules are still in the off state.
  • step S10 and step S40 a possible implementation manner, if the detection module is in an on state means that the detection module is in a power-on state, and if the detection module is in an off state, it means that the detection module is in a power-off state.
  • the working information may include the cumulative duration of each detection module in an on state, and the working state of each detection module (eg, whether the detection module performs gas concentration collection), and the like.
  • the gas detection device includes a timer and a storage module, the timer starts timing when the detection module is started, the storage module stores the timing time, and the accumulated time of the detection module is obtained, that is, the timer is read from the storage module timing time.
  • step S30 the detection module is in the working mode to perform accurate gas concentration signal detection for the detection module.
  • Accurate detection of gas concentration signals includes gas concentration collection, transmission of gas concentration signals, and accurate detection of gas concentration signals.
  • the gas detection device may include at least two detection modules, and the at least two detection modules include at least a first detection module and a second detection module. Before the gas detection device is used, none of the detection modules are used, or none of the detection modules are used for gas concentration collection, and the service life is not lost.
  • the working information of the first detection module is the accumulated duration of the first detection module in an on state
  • the working mode means that the accumulated duration of the first detection module in an open state is less than a preset first threshold. If the accumulated time when the first detection module is in the open state is greater than or equal to the preset first threshold, the gas concentration signal detected by the first detection module is inaccurate. Therefore, when the accumulated time when the first detection module is in the open state is longer than or equal to the preset first threshold, it is determined that the first detection module is not in the working mode.
  • step S20 may include the following steps: S201, obtain the accumulated duration when the first detection module is on;
  • Step S30 may include the following steps: S301, determine whether the accumulated duration is greater than or equal to a first threshold;
  • Step S40 may include the following steps: S401 , if the accumulated duration is greater than or equal to the first threshold, switch the first detection module from the on state to the off state, and simultaneously switch the second detection module from the off state to the on state.
  • step S201 the accumulated time period is the time period when the first detection module is in an on state, and when the first detection module is in an on state, the first detection module is in a power-on state.
  • the first detection module collects gas concentration information, and converts the gas concentration information into a gas concentration signal.
  • the detection module may include an amplification filter circuit and an analog-to-digital converter (A/D converter) electrically connected to the sensor, and the gas sensor transmits the collected gas concentration signal to the amplification filter circuit, the gas concentration signal is amplified and filtered by the amplifying filter circuit to make the signal more stable and smooth, and the analog-to-digital converter is used to perform analog-to-digital conversion processing on the filtered signal to obtain a digital signal, and this The digital signal is transmitted to the processing module.
  • A/D converter analog-to-digital converter
  • step S201 may include the following steps:
  • the gas detection device includes a timer and a storage module.
  • the timer adds the ON time of the first detection module, and the timer starts counting after step S101 is completed, that is, the timer starts from The first detection module starts timing when it enters the ON state, and the storage module stores the ON time of the first detection module added by the timer, so that the processing module can obtain the ON time of the first detection module from the storage module.
  • step S104 the processing module of the gas detection device reads the opening time of the first detection module recorded in the storage module, and determines whether the added opening time is greater than or equal to 24 hours.
  • step S104 if the processing module determines that the added opening time of the first detection module is greater than or equal to 24 hours, then proceed to step S105, and if it is determined that the added opening time of the first detection module is less than 24 hours, the control of the gas detection device This flow of the method ends and goes to the next flow, and so on.
  • step S105 if the processing module determines that the opening time of the first detection module is greater than or equal to 24 hours, then the accumulated time recorded in the storage module is accumulated by one day, and the processing module adds the timer recorded in the storage module to the first detection module
  • the turn-on time of the module is cleared. While clearing the added on-time of the storage module, the timer re-times, that is, the timer starts to add the on-time again, and the storage module records the on-time of the first detection module added by the timer in real time, that is to say, During the working period of the gas detection device, the timer keeps counting, and the storage module keeps reading the opening time added by the timer. After judging that the added opening time is greater than or equal to 24 hours, the timer starts counting the opening time again from zero. .
  • the first threshold value is preset and stored in the storage module.
  • the first threshold value can be set according to the service life of the sensor of the gas detection device or the like.
  • the service life of the semiconductor sensor is about 3-5 years, etc.
  • the first threshold may be set to 3 years, 4 years, or 5 years, etc.
  • the accumulated duration can be converted into accumulated years.
  • the accumulated duration can include accumulated days, and accumulated days can be converted into accumulated years.
  • set the first threshold to a value in days corresponding to 3 years or 4 years or 5 years.
  • step S301 the processing module determines whether the accumulated duration stored in the storage module is greater than or equal to the first threshold. If it is determined that the first accumulated duration is greater than or equal to the first threshold, step S401 is performed. If the threshold value is reached, the process of the control method of the gas detection device ends, and the next process is performed, and this cycle is performed.
  • step S301 when the accumulated duration is greater than or equal to a preset first threshold, it can be determined that the first detection module has reached the service life, and the first detection module is not in the working mode. Therefore, the first detection module is made to enter the closed state, so that gas concentration collection is no longer performed, and the second detection module enters the open state, and the gas concentration collection is performed to ensure the accuracy of gas concentration detection, thereby ensuring the gas detection device. effectiveness and safety of air-conditioning systems.
  • step S301 the first switch is controlled to be disconnected, so that the first detection module is disconnected from the electrical connection with the power module, and no longer supplies power to the first detection module, so as to Energy is saved, and the second switch is controlled to be closed, so as to electrically connect the second detection module and the power module.
  • the first detection module reaches the service life, the first detection module is no longer used, and the second detection module is switched to the on state, which is carried out by the second detection module.
  • the gas concentration is collected, thereby increasing the service life of the gas detection device.
  • the first detection module only refers to the detection module in the open state, and does not refer to a certain detection module.
  • the first detection module is turned off, and the second detection module is turned on. Then the opened second detection module is used as the first detection module in the next process, and the cyclic operation of the above steps S10 , S20 , S30 and S40 is continued. And once the first detection module is controlled to be turned off in step S401, it will not be turned on again subsequently.
  • the first detection module is in the open state, and the first detection module is in the working mode, the first detection module is turned off, and the second detection module is turned on at the same time, so that the first detection module and the second detection module are not at the same time. in the open state, thereby extending the life of the gas detection device.
  • the first detection module after being turned off may be turned on again later, so that each detection module of the gas detection device will not be turned on at the same time, and can be turned on separately in time periods, ensuring that the gas detection device normal operation and extended service life.
  • the working information of the first detection module also includes the working status of the first detection module.
  • step 20 may include the following steps: S202 , obtain the working status of the first detection module ;
  • Step S30 may include the following steps: S302, based on the working state of the first detection module, determine whether the first detection module is invalid;
  • Step S40 may include the following steps: S402 , if the first detection module fails, switch the first detection module to the off state, and simultaneously switch the second detection module from the off state to the on state.
  • the working state of the first detection module includes whether to perform gas concentration collection, whether to send a gas concentration signal and whether the gas concentration signal is accurate, and the like. Obtaining the working status of the first detection module can obtain one or more of the foregoing items.
  • step S202 may include detecting whether the first detection module performs gas concentration collection, and sending the detection signal to the processing module.
  • the gas detection device may include a heating drive circuit
  • the detection module includes a semiconductor sensor
  • the semiconductor sensor includes a heating wire for providing a suitable working temperature for the semiconductor sensor
  • the heating driving circuit is used to provide power for heating the heating wire
  • step S202 may include detecting whether the gas concentration signal collected by the first detection module is accurate, and sending the detection signal to the processing module.
  • one or more detection modules other than the first detection module can be selected to be turned on, to obtain the gas concentration signal A collected by another detection module, or to obtain the average value B of the gas concentration signals collected by several other detection modules respectively.
  • judging whether the gas concentration detection signal collected by the first detection module is within the appropriate range based on A or B such as judging whether the gas concentration detection signal collected by the first detection module is within the range of 0.9A to 1.1A, or whether Within the range of 0.9B to 1.1B, if it is within this range, it is judged that the gas concentration signal collected by the first detection module is accurate; otherwise, it is not accurate.
  • After acquiring the gas concentration signal A and the average value B turn off one or more other detection modules for detecting whether the gas concentration signal collected by the first detection module is accurate.
  • the specific form of the working state of the first detection module is not limited to this, and the manner of acquiring the working state of the first detection module is not limited to this.
  • step S202 according to the working state of the first detection module acquired in step S202, it is determined whether the first detection module is invalid (ie, it is determined whether the first detection module is in the working mode).
  • the first detection module is invalid (ie, it is determined whether the first detection module is in the working mode). If it is detected that the first detection module performs gas concentration collection, it is determined that the first detection module is not invalid (that is, it is determined that the first detection module is in the working mode), otherwise, it is invalid (that is, it is determined that the first detection module is not in the working mode).
  • the first detection module is determined whether the first detection module is invalid, and if it is detected that the gas concentration signal acquired by the first detection module is accurate, the first detection module is determined to be accurate.
  • the detection module is not invalid (that is, it is judged that the first detection module is in the working mode), otherwise, it is invalid (that is, it is judged that the first detection module is not in the working mode).
  • Step S302 includes performing step S402 if the first detection module fails, and if the first detection module does not fail, the process ends, and the next process is performed, and this cycle is performed.
  • the first detection module fails within its normal working life.
  • the sensor of the first detection module encounters 100% concentration of refrigerant or other characteristic gas during use, which causes the failure of the first detection module.
  • control method of the gas detection device may further include the following steps:
  • the above step S401 includes: if the first detection module fails or the accumulated duration is greater than or equal to the first threshold, switching the first detection module to the off state, and simultaneously switching the second detection module from the off state to the on state.
  • step S106 the working state of the first detection module is the same as that in the above-mentioned step S202, that is, whether to collect the gas concentration, whether to transmit the gas concentration signal and whether the gas concentration signal is accurate, etc.
  • Obtaining the working status of the first detection module may obtain one or more of the foregoing items, which will not be repeated here.
  • Step S107 includes performing step S401 if the first detection module fails, and if the first detection module does not fail, the process ends, and the next process is performed, and this cycle is performed.
  • the first detection module in the control method may also refer to two or more detection modules.
  • two types of detection modules are used.
  • one of the detection modules includes a semiconductor sensor, and the other includes an electrochemical sensor. It may include a first sub-detection module and a second sub-detection module, the accumulated duration corresponding to the first sub-detection module is the first accumulated duration, and the accumulated duration corresponding to the second sub-detection module is the second accumulated duration, which is the same as the first sub-detection module.
  • the first threshold corresponding to the detection module is a first sub-threshold
  • the first threshold corresponding to the second sub-detection module is a second sub-threshold
  • the second detection module includes a third sub-detection module corresponding to the first sub-detection module
  • a fourth sub-detection module corresponding to the second sub-detection module.
  • control method of the gas detection device may include the following steps:
  • control method of the gas detection device may further comprise the following steps:
  • steps S10a, S106a, S107a, S201a, S301a and S401a are a complete process, which can be recorded as process a, and the process a is carried out in a loop;
  • steps S10b, S106b, S107b, S201b, S301b and S401b are a complete process , which can be recorded as process b, and process b is carried out in a loop.
  • Process a and process b can be performed simultaneously and independently in the control method of the gas detection device.
  • the values of the first sub-threshold and the second sub-threshold may be the same.
  • the values of the first sub-threshold and the second sub-threshold may be different.
  • the method further includes:
  • a prompt message is issued, such as sound or light alarm, or the signal is transmitted to the controller of the air-conditioning system (such as the air-conditioning controller) by means of communication, and the control Take corresponding measures to ensure the safety of the air-conditioning system.
  • the involved processors may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural-network process unit (Neural-network Process Units; hereinafter referred to as: NPU) and Image signal processor (Image Signal Processing; hereinafter referred to as: ISP), the processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application circuit, etc. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the programs provided by the embodiments shown in FIG. 3 to FIG. 6 of the present application. method.
  • the embodiments of the present application also provide a computer program product, the computer program product includes a computer program, when it runs on a computer, the computer causes the computer to execute the methods provided by the embodiments shown in FIG. 3 to FIG. 6 of the present application.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the association relationship of the associated objects means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural.
  • the character “/” generally indicates that the related objects are an “or” relationship.
  • “At least one of the following” and similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c may be single, or Can be multiple.
  • any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or optical disk and other various A medium on which program code can be stored.

Landscapes

  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medicinal Chemistry (AREA)
  • Food Science & Technology (AREA)
  • Physics & Mathematics (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Combustion & Propulsion (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

Provided in embodiments of the present application are a gas detection apparatus and a control method therefor. The gas detection apparatus comprises: at least two detection modules, which are used for detecting gas concentration signals, and comprise a first detection module and a second detection module; a switching module, which is used for respectively realizing the turning-on and turning-off of each detection module; and a processing module, which is used for controlling the switching module, so that the switching module switches the second detection module from a turned-off state to a turned-on state while switching the first detection module from the turned-on state to the turned-off state.

Description

气体检测装置及其控制方法Gas detection device and control method thereof 技术领域technical field
本申请涉及气体检测技术领域,特别涉及一种气体检测装置及其控制方法。The present application relates to the technical field of gas detection, and in particular, to a gas detection device and a control method thereof.
背景技术Background technique
相关技术中的气体检测装置包括处理模块与多个检测模块,检测模块用于检测气体浓度信号并将气体浓度信号发送至处理模块,处理模块用于根据气体浓度信号做出相应的预设处理,检测模块与处理模块电性连接,多个检测模块并联设置,多个检测模块在气体检测装置工作时同时处于开启状态,以保证在其中一个检测模块失效后气体检测装置能继续工作。相关技术中的多个检测模块同时处于开启状态,多个检测模块同时损耗,气体检测装置的使用寿命短。The gas detection device in the related art includes a processing module and a plurality of detection modules. The detection module is used to detect the gas concentration signal and send the gas concentration signal to the processing module, and the processing module is used to make corresponding preset processing according to the gas concentration signal, The detection module is electrically connected with the processing module, and the multiple detection modules are arranged in parallel, and the multiple detection modules are simultaneously turned on when the gas detection device works, so as to ensure that the gas detection device can continue to work after one of the detection modules fails. In the related art, multiple detection modules are simultaneously turned on, and multiple detection modules are worn out at the same time, and the service life of the gas detection device is short.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种气体检测装置及其控制方法,有利于延长气体检测装置的使用寿命。The present application provides a gas detection device and a control method thereof, which are beneficial to prolong the service life of the gas detection device.
第一方面,本申请提供了一种气体检测装置,包括:In a first aspect, the present application provides a gas detection device, comprising:
至少两个检测模块,所述检测模块用于检测气体浓度信号,所述至少两个检测模块中包括第一检测模块与第二检测模块;at least two detection modules, the detection modules are used to detect the gas concentration signal, and the at least two detection modules include a first detection module and a second detection module;
切换模块,用于分别实现每个所述检测模块的开启与关闭;a switching module, for respectively realizing the opening and closing of each of the detection modules;
处理模块,用于控制所述切换模块,使切换模块将第一检测模块从开启状态切换至关闭状态的同时,切换模块将第二检测模块从关闭状态切换至开启状态。The processing module is configured to control the switching module, so that the switching module switches the first detection module from the on state to the off state, and the switching module switches the second detection module from the off state to the on state.
本申请的气体检测装置中的处理模块用于控制切换模块,使切换模块将第一检测模块从开启状态切换至关闭状态的同时,将第二检测模块从关闭状态切换至开启状态,使得第一检测模块与第二检测模块不同时处于开启状态,第二检测模块在第一检测模块关闭时才开启,从而有利于延长气体检测装置的使用寿命。The processing module in the gas detection device of the present application is used to control the switching module, so that when the switching module switches the first detection module from the open state to the closed state, it switches the second detection module from the closed state to the open state, so that the first detection module is switched from the closed state to the open state. The detection module and the second detection module are not in the open state at the same time, and the second detection module is only turned on when the first detection module is closed, which is beneficial to prolong the service life of the gas detection device.
第二方面,本申请提供了一种气体检测装置的控制方法,所述气体检测装置包括至少两个检测模块,所述至少两个检测模块包括第一检测模块和第二检测模块,所述方法包括:In a second aspect, the present application provides a control method of a gas detection device, the gas detection device includes at least two detection modules, the at least two detection modules include a first detection module and a second detection module, the method include:
开启第一检测模块,以使得所述第一检测模块进入开启状态;turning on the first detection module, so that the first detection module enters the turned-on state;
获取所述第一检测模块的工作信息;obtaining the working information of the first detection module;
基于所述工作信息,判断第一检测模块是否处于工作模式;Based on the working information, determine whether the first detection module is in the working mode;
若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the first detection module is not in the working mode, the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
本申请中气体检测装置的控制方法判断第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态,使得第一检测模块与第二检测模块不同时处于开启状态,第二检测模块在第一检测模块关闭时才开启,从而有利于延长气体检测装置的使用寿命。The control method of the gas detection device in the present application determines that the first detection module is not in the working mode, then switches the first detection module to the off state, and simultaneously switches the second detection module from the off state to the on state, so that the first detection module Unlike the second detection module, which is not in an open state at the same time, the second detection module is only turned on when the first detection module is closed, which is beneficial to prolong the service life of the gas detection device.
附图说明Description of drawings
图1为本申请气体检测装置一个实施例的原理示意图;Fig. 1 is the principle schematic diagram of one embodiment of the gas detection device of the application;
图2为如图1所示的电源模块、切换模块、处理模块与检测模块的一个实施例的原理示意图;FIG. 2 is a schematic diagram of an embodiment of a power supply module, a switching module, a processing module and a detection module as shown in FIG. 1;
图3为本申请气体检测装置的控制方法一个实施例的流程示意图;3 is a schematic flowchart of an embodiment of the control method of the gas detection device of the present application;
图4为如图3所示的步骤S20、S30与S40的一个实施例的流程示意图;FIG. 4 is a schematic flowchart of an embodiment of steps S20, S30 and S40 shown in FIG. 3;
图5为如图4所示的步骤S201的一个实施例的流程示意图;FIG. 5 is a schematic flowchart of an embodiment of step S201 shown in FIG. 4;
图6为如图3所示的步骤S20、S30与S40的另一个实施例的流程示意图;6 is a schematic flowchart of another embodiment of steps S20, S30 and S40 shown in FIG. 3;
图7为本申请气体检测装置的控制方法又一个实施例的流程示意图。FIG. 7 is a schematic flowchart of another embodiment of the control method of the gas detection device of the present application.
具体实施方式Detailed ways
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.
在空调系统中所用的制冷剂如氟利昂(R22)会对大气臭氧层造成破坏,易导致形成臭氧层空洞,使得阳光紫外线直接照射至地球表面,造成植物或人体的损伤。为了保护大气臭氧层,目前的空调中采用R32(化学名为二氟甲烷,是一种卤代烃,化学式为CH 2F 2)作为制冷剂。但是,R32具有微可燃性,与空气混合能形成爆炸性混合物,遇热源或明火存在燃烧爆炸的危险,存在安全隐患。因此,采用气体检测装置对空调系统的冷媒输送管道周围的空气中R32浓度进行实时检测是消除安全隐患的手段之一。 Refrigerants such as Freon (R22) used in air-conditioning systems will damage the ozone layer in the atmosphere, easily leading to the formation of a hole in the ozone layer, allowing sunlight to directly irradiate the surface of the earth, causing damage to plants or humans. In order to protect the atmospheric ozone layer, R32 (chemical name is difluoromethane, which is a halogenated hydrocarbon, chemical formula is CH 2 F 2 ) is used as a refrigerant in current air conditioners. However, R32 is slightly flammable, and can form explosive mixtures when mixed with air. When encountering heat sources or open flames, there is a danger of combustion and explosion, and there is a potential safety hazard. Therefore, using a gas detection device to detect the R32 concentration in the air around the refrigerant conveying pipeline of the air-conditioning system in real time is one of the means to eliminate potential safety hazards.
相关技术中的气体检测装置包括处理模块与多个检测模块,检测模块用于检测气 体浓度信号并将气体浓度信号发送至处理模块,处理模块用于根据气体浓度信号做出相应的预设处理,检测模块与处理模块电性连接,多个检测模块并联设置,多个检测模块在气体检测装置工作时同时处于开启状态,以保证气体检测装置在其中一个检测模块失效后继续工作。相关技术中的多个检测模块同时处于开启状态,多个检测模块同时损耗,气体检测装置的使用寿命短。The gas detection device in the related art includes a processing module and a plurality of detection modules. The detection module is used to detect the gas concentration signal and send the gas concentration signal to the processing module, and the processing module is used to make corresponding preset processing according to the gas concentration signal, The detection module is electrically connected to the processing module, and multiple detection modules are arranged in parallel, and the multiple detection modules are simultaneously turned on when the gas detection device is working, so as to ensure that the gas detection device continues to work after one of the detection modules fails. In the related art, multiple detection modules are simultaneously turned on, and multiple detection modules are worn out at the same time, and the service life of the gas detection device is short.
为此,本申请提出一种气体检测装置及其控制方法,有利于延长气体检测装置的使用寿命。To this end, the present application proposes a gas detection device and a control method thereof, which are beneficial to prolong the service life of the gas detection device.
图1为本申请气体检测装置的一个实施例的原理示意图。如图1所示,所述气体检测装置100可以包括:至少两个检测模块10,每个所述检测模块10用于检测气体浓度信号,至少两个检测模块10中包括第一检测模块11与第二检测模块12;切换模块20,用于分别实现每个所述检测模块10的开启与关闭;处理模块30,用于控制切换模块20,使切换模块20将第一检测模块11从开启状态切换至关闭状态的同时,切换模块20将第二检测模块12从关闭状态切换至开启状态。FIG. 1 is a schematic diagram of the principle of an embodiment of the gas detection device of the present application. As shown in FIG. 1 , the gas detection device 100 may include: at least two detection modules 10 , each of the detection modules 10 is used to detect a gas concentration signal, and the at least two detection modules 10 include a first detection module 11 and a The second detection module 12; the switching module 20 is used to respectively enable and disable each detection module 10; the processing module 30 is used to control the switching module 20, so that the switching module 20 can change the first detection module 11 from the ON state When switching to the off state, the switching module 20 switches the second detection module 12 from the off state to the on state.
检测模块10包括气体传感器,气体传感器可以对气体浓度信息进行采集,并将气体浓度信息转化为气体浓度信号,气体传感器的种类主要有电化学式、半导体式、红外光学式、固体电解质式、催化燃烧式等气体传感器,一个检测模块10可以为电化学式、半导体式、红外光学式、固体电解质式、催化燃烧式等气体传感器中的一种。The detection module 10 includes a gas sensor. The gas sensor can collect gas concentration information and convert the gas concentration information into a gas concentration signal. The types of gas sensors mainly include electrochemical, semiconductor, infrared optical, solid electrolyte, and catalytic combustion. For gas sensors such as gas sensors, one detection module 10 may be one of electrochemical gas sensors, semiconductor gas sensors, infrared optical gas sensors, solid electrolyte gas sensors, and catalytic combustion gas sensors.
其中一种可能的实现方式,检测模块10还包括与气体传感器电性连接的放大滤波电路以及模数转换器(A/D转换器),气体传感器将采集到的气体浓度信号传输至放大滤波电路,由放大滤波电路对气体浓度信号进行放大滤波处理,使得信号更加稳定和平滑,由所述模数转换器对滤波后的信号进行模数转换处理,将气体浓度信号转化为数字信号,并传输至处理模块30。In one possible implementation, the detection module 10 further includes an amplification filter circuit and an analog-to-digital converter (A/D converter) electrically connected to the gas sensor, and the gas sensor transmits the collected gas concentration signal to the amplification filter circuit , the gas concentration signal is amplified and filtered by the amplifying filter circuit to make the signal more stable and smooth. to the processing module 30.
切换模块20用于分别实现每个检测模块10的开启与关闭。分别实现每个检测模块10的开启与关闭可以理解为每个检测模块10的开启与关闭可以被单独实现,每个检测模块10的开启与关闭的实现不与其他检测模块10的开启与关闭关联。The switching module 20 is used to enable and disable each detection module 10 respectively. It can be understood that the opening and closing of each detection module 10 can be realized separately, and the opening and closing of each detection module 10 can be realized separately, and the realization of opening and closing of each detection module 10 is not related to the opening and closing of other detection modules 10. .
处理模块30可以控制切换模块20,使切换模块20将第一检测模块11从开启状态切换至关闭状态的同时,切换模块20将第二检测模块12从关闭状态切换至开启状态。一种使用情况,若当前处于开启状态的第一检测模块11达到使用寿命或失效后,则控制第一检测模块11关闭,并同时将第二检测模块12从关闭状态切换至开启状态,以保证气体检测装置100的正常使用,从而有利于延长气体检测装置100的使用寿命。另一种使用情况, 当前处于开启状态的第一检测模块11处于正常使用状态(未达到使用寿命也未失效),控制第一检测模块11关闭,并同时将第二检测模块12从关闭状态切换至开启状态,使得第一检测模块11与第二检测模块12不同时开启,从而延长气体检测装置100的使用寿命。The processing module 30 can control the switching module 20 so that the switching module 20 switches the first detection module 11 from the on state to the off state, and the switching module 20 switches the second detection module 12 from the off state to the on state. In one use case, if the first detection module 11 currently in the open state reaches its service life or fails, the first detection module 11 is controlled to be turned off, and the second detection module 12 is switched from the closed state to the open state at the same time, so as to ensure The normal use of the gas detection device 100 is beneficial to prolong the service life of the gas detection device 100 . In another usage situation, the first detection module 11 that is currently in the open state is in a normal use state (not reaching the service life and not failing), the first detection module 11 is controlled to be turned off, and the second detection module 12 is switched from the off state at the same time. In the open state, the first detection module 11 and the second detection module 12 are not turned on at the same time, thereby prolonging the service life of the gas detection device 100 .
由于本申请中的处理模块30用于控制切换模块20,使切换模块将第一检测模块11从开启状态切换至关闭状态的同时,将第二检测模块12从关闭状态切换至开启状态,使得第一检测模块11与第二检测模块12不同时处于开启状态,第一检测模块11与第二检测模块12不会同时被损耗,第二检测模块12在第一检测模块11关闭时才开启,从而有利于延长气体检测装置100的使用寿命。Since the processing module 30 in the present application is used to control the switching module 20, the switching module switches the first detection module 11 from the ON state to the OFF state, and simultaneously switches the second detection module 12 from the OFF state to the ON state, so that the first detection module 12 is switched from the OFF state to the ON state. When the first detection module 11 and the second detection module 12 are not in the open state at the same time, the first detection module 11 and the second detection module 12 will not be worn out at the same time, and the second detection module 12 is only turned on when the first detection module 11 is turned off, thereby It is beneficial to prolong the service life of the gas detection device 100 .
一种可能的实现方式,本申请的处理模块30还可用于根据检测模块10检测的气体浓度信号,判断是否发生气体泄漏,如果判断结果为发生气体泄漏,则发送报警信号。In a possible implementation manner, the processing module 30 of the present application can also be used to determine whether gas leakage occurs according to the gas concentration signal detected by the detection module 10, and if the determination result is that a gas leakage occurs, send an alarm signal.
进一步的,如图1所示,气体检测装置100还包括电源模块40。电源模块40与切换模块20电性连接,切换模块20分别与每个检测模块10电性连接,各个检测模块10并联设置。电源模块40用于为每个检测模块10提供工作所需的电量,切换模块20用于控制每个检测模块10与电源模块40之间的电性连接与断开。切换模块20控制每个检测模块10与电源模块40之间的电性连接与断开,以实现每个检测模块10的通电或断电,从而实现每个检测模块10的开启与关闭,检测模块10通电时处于开启状态,断电时处于关闭状态。即检测模块10处于开启状态即为其处于通电状态,检测模块10处于开关闭状态即为其处于关闭状态。Further, as shown in FIG. 1 , the gas detection device 100 further includes a power module 40 . The power module 40 is electrically connected to the switching module 20 , the switching module 20 is electrically connected to each detection module 10 respectively, and the detection modules 10 are arranged in parallel. The power module 40 is used to provide the power required for each detection module 10 to work, and the switch module 20 is used to control the electrical connection and disconnection between each detection module 10 and the power module 40 . The switching module 20 controls the electrical connection and disconnection between each detection module 10 and the power supply module 40, so as to realize the power-on or power-off of each detection module 10, so as to realize the opening and closing of each detection module 10, and the detection module 10 is on when powered on and off when powered off. That is, if the detection module 10 is in an on state, it means it is in a power-on state, and if the detection module 10 is in an on-off state, it means it is in an off state.
一种可能的实现方式,切换模块20包括多个切换开关。切换开关的数量与检测模块10的数量相同,一个切换开关对应一个检测模块10,即切换开关与检测模块10一一对应设置。切换开关分别用于实现其对应的检测模块10与电源模块40之间的电性连接与断开,以实现每个检测模块10的开启与关闭。具体地,切换开关具有断开与闭合两种状态,当切换开关断开时,其对应的检测模块10与电源模块40之间断开,当切换开关闭合时,其对应的检测模块10与电源模块40之间电性连接。即当切换开关断开时,其对应的检测模块10关闭,当切换开关闭合时,其对应的检测模块10开启。In a possible implementation manner, the switching module 20 includes a plurality of switching switches. The number of switching switches is the same as that of the detection modules 10 , and one switching switch corresponds to one detection module 10 , that is, the switching switches and the detection modules 10 are set in one-to-one correspondence. The switches are respectively used to realize the electrical connection and disconnection between the corresponding detection module 10 and the power supply module 40 , so as to realize the opening and closing of each detection module 10 . Specifically, the switch has two states: open and closed. When the switch is open, the corresponding detection module 10 and the power module 40 are disconnected. When the switch is closed, the corresponding detection module 10 and the power module are disconnected. Electrical connection between 40. That is, when the switch is turned off, the corresponding detection module 10 is turned off, and when the switch is turned on, the corresponding detection module 10 is turned on.
为了更清楚的表述切换开关与各模块的关系,如图2所示为电源模块、切换模块、处理模块与检测模块的一个实施例的原理示意图。切换模块20包括第一切换开关21、第二切换开关22、第三切换开关23与第四切换开关24,至少两个检测模块10包括第一检测模块11、第二检测模块12、第三检测模块13与第四检测模块14。如图2所示,第一检测模块11可以通过第一切换开关21实现与电源模块40的电性连接与断开,即第一切换开 关21用于实现第一检测模块11的开启与关闭。类似地,第二切换开关22用于实现第二检测模块12的开启与关闭;第三切换开关23用于实现第三检测模块13的开启与关闭;第四切换开关24用于实现第四检测模块14的开启与关闭。处理模块30用于分别控制第一切换开关21、第二切换开关22、第三切换开关23与第四切换开关24,以分别控制第一检测模块11、第二检测模块12、第三检测模块13与第四检测模块14的开启与关闭。In order to express the relationship between the switch and each module more clearly, FIG. 2 is a schematic diagram showing the principle of an embodiment of a power module, a switch module, a processing module and a detection module. The switching module 20 includes a first switching switch 21 , a second switching switch 22 , a third switching switch 23 and a fourth switching switch 24 , and the at least two detection modules 10 include a first detection module 11 , a second detection module 12 , and a third detection module 11 . The module 13 and the fourth detection module 14 . As shown in FIG. 2 , the first detection module 11 can be electrically connected to and disconnected from the power supply module 40 through the first switch 21, that is, the first switch 21 is used to turn on and off the first detection module 11. Similarly, the second switch 22 is used to enable and disable the second detection module 12; the third switch 23 is used to enable and disable the third detection module 13; the fourth switch 24 is used to enable the fourth detection The opening and closing of the module 14. The processing module 30 is used to control the first switch 21 , the second switch 22 , the third switch 23 and the fourth switch 24 respectively, so as to control the first detection module 11 , the second detection module 12 and the third detection module respectively 13 and the opening and closing of the fourth detection module 14 .
本实施例中,切换开关与检测模块的数量不以此为限,“第一”、“第二”及其类似表达不代表某个具体的切换开关或检测模块,而是为了更直观的描述本申请的技术方案。In this embodiment, the number of switching switches and detection modules is not limited to this, and "first", "second" and similar expressions do not represent a specific switching switch or detection module, but are for a more intuitive description The technical solution of this application.
一种可能的实现方式,在使用时,处理模块30控制第一切换开关21闭合,而其他的切换开关断开。上述可能的实现方式,可应用于此种应用场景:处理模块30先控制第一切换开关21以控制第一检测模块11开启,并控制其他检测模块关闭,当第一检测模块11失效或其使用寿命达到时,处理模块30控制第一切换开关21以控制第一检测模块11关闭,并控制第二检测模块12开启,当第二检测模块12失效或其使用寿命达到时,处理模块30控制第二切换开关22以控制第二检测模块12关闭,并控制第三检测模块13开启,依此类推。In a possible implementation manner, when in use, the processing module 30 controls the first switch 21 to be closed, while the other switches are turned off. The above possible implementations can be applied to this application scenario: the processing module 30 first controls the first switch 21 to control the first detection module 11 to turn on, and controls other detection modules to turn off, when the first detection module 11 fails or its use When the service life is reached, the processing module 30 controls the first switch 21 to turn off the first detection module 11 and turns on the second detection module 12. When the second detection module 12 fails or its service life is reached, the processing module 30 controls the first detection module 12 to turn on. The second switch 22 is used to control the second detection module 12 to be turned off, and to control the third detection module 13 to be turned on, and so on.
由此,气体检测装置100的使用寿命不会因为其中一个检测模块的失效或寿命达到而造成气体检测装置100失效,从而气体检测装置100的使用寿命得以延长,在上述可能的实现方式中,气体检测装置100的使用寿命等于第一检测模块11、第二检测模块12、第三检测模块13以及第四检测模块14的开启时间之和。Therefore, the service life of the gas detection device 100 will not be caused by the failure of one of the detection modules or the expiration of the service life of the gas detection device 100, so that the service life of the gas detection device 100 can be prolonged. The service life of the detection device 100 is equal to the sum of the ON times of the first detection module 11 , the second detection module 12 , the third detection module 13 and the fourth detection module 14 .
其中一种可能的实现方式为,切换开关可为继电器。One of the possible implementations is that the switch can be a relay.
其中一种可能的实现方式中,如图1所示,气体检测装置100进一步包括存储模块50,所述存储模块50用于记录每个所述检测模块10的工作信息,所述处理模块30还用于读取所述存储模块50记录的所述工作信息,并基于所述工作信息,控制所述切换模块20。In one possible implementation manner, as shown in FIG. 1 , the gas detection device 100 further includes a storage module 50, and the storage module 50 is used to record the working information of each of the detection modules 10, and the processing module 30 also It is used to read the working information recorded by the storage module 50 and control the switching module 20 based on the working information.
举例地,所述工作信息中可以包括每个检测模块10处于开启状态的累计时长。初始时,第一检测模块11开启,而其他的检测模块关闭,若第一检测模块11的累计时长达到预设阈值(如预设的使用寿命等),则第二检测模块12开启,而其他的检测模块关闭,若第二检测模块12的累计时长达到预设阈值,则第三检测模块13开启,而其他的检测模块关闭,依次类推。若第一检测模块11与第二检测模块12的类型不同,第一检测模块11对应的预设阈值与第二检测模块12对应的预设阈值也可不同。For example, the work information may include the cumulative duration of each detection module 10 being in an on state. Initially, the first detection module 11 is turned on, and the other detection modules are turned off. If the accumulated time of the first detection module 11 reaches a preset threshold (such as a preset service life, etc.), the second detection module 12 is turned on, and the other detection modules are turned on. If the accumulated time of the second detection module 12 reaches the preset threshold, the third detection module 13 is turned on, and the other detection modules are turned off, and so on. If the types of the first detection module 11 and the second detection module 12 are different, the preset threshold value corresponding to the first detection module 11 and the preset threshold value corresponding to the second detection module 12 may also be different.
再举例地,所述工作信息中还可以包含每个检测模块10的工作状态,所述工作状态 用于判断所述检测模块10是否失效。在其中一个检测模块(如第一检测模块11)开启后,若根据当前开启的检测模块10的工作状态判断出当前的检测模块10失效,则关闭当前的检测模块(如第一检测模块11),并开启下一个检测模块(如开启第二检测模块12),以确保所述气体检测装置100的正常使用。For another example, the working information may also include the working status of each detection module 10, and the working status is used to determine whether the detection module 10 fails. After one of the detection modules (such as the first detection module 11 ) is turned on, if it is determined that the current detection module 10 is invalid according to the working state of the currently turned on detection module 10 , the current detection module (such as the first detection module 11 ) is closed. , and turn on the next detection module (eg, turn on the second detection module 12 ) to ensure the normal use of the gas detection device 100 .
本实施例中的所述气体检测装置100可以应用于诸如空调、冰箱、制冷器等用于制冷的空调系统中,空调系统可以包括用于输送冷媒(如R32、R454B等)的冷媒输送管道(或者换热器管道等),气体检测装置100可以用于检测所述冷媒输送管道周围的气体浓度,以判断是否存在冷媒泄露等现象,以确保空调系统的使用安全性。The gas detection device 100 in this embodiment can be applied to an air-conditioning system used for refrigeration, such as an air conditioner, a refrigerator, a freezer, etc., and the air-conditioning system can include a refrigerant conveying pipeline (such as R32, R454B, etc.) Or heat exchanger pipes, etc.), the gas detection device 100 can be used to detect the gas concentration around the refrigerant conveying pipes to determine whether there is refrigerant leakage and other phenomena, so as to ensure the safety of the air conditioning system.
应理解以上图所示的气体检测装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块以软件通过处理元件调用的形式实现,部分模块通过硬件的形式实现。例如,处理模块可以为单独设立的处理元件,也可以集成在空调系统的某一个芯片中实现。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be understood that the division of each module of the gas detection device shown in the above figure is only a division of logical functions, and in actual implementation, it may be fully or partially integrated into a physical entity, or may be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in hardware. For example, the processing module may be a separately established processing element, or may be integrated in a certain chip of the air-conditioning system. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. In the implementation process, each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit;以下简称:ASIC),或,一个或多个微处理器(Digital Singnal Processor;以下简称:DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array;以下简称:FPGA)等。再如,这些模块可以集成在一起,以片上系统(System-On-a-Chip;以下简称:SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit; hereinafter referred to as: ASIC), or, one or more microprocessors Digital Singnal Processor (hereinafter referred to as: DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array; hereinafter referred to as: FPGA), etc. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (System-On-a-Chip; hereinafter referred to as: SOC).
图3为本申请气体检测装置的控制方法一个实施例的流程示意图。本实施例中的气体检测装置可以应用于诸如空调、冰箱、制冷器等用于制冷的空调系统中,所述空调系统可以包括用于输送冷媒(如R32、R454B等)的冷媒输送管道(或者换热器管道等),所述气体检测装置可以用于检测所述冷媒输送管道周围的气体浓度,以判断是否存在冷媒泄露等现象,以确保空调系统的使用安全性。本申请中的气体检测装置包括至少两个检测模块,至少两个检测模块中包括第一检测模块和第二检测模块。一种可能的实现方式,本申请的气体检测装置100可执行本申请的气体检测装置的控制方法。FIG. 3 is a schematic flowchart of an embodiment of the control method of the gas detection device of the present application. The gas detection device in this embodiment can be applied to an air-conditioning system used for refrigeration, such as an air conditioner, a refrigerator, a freezer, etc., and the air-conditioning system may include a refrigerant conveying pipeline (or Heat exchanger pipes, etc.), the gas detection device can be used to detect the gas concentration around the refrigerant conveying pipes to determine whether there is refrigerant leakage and other phenomena, so as to ensure the safety of the air conditioning system. The gas detection device in the present application includes at least two detection modules, and the at least two detection modules include a first detection module and a second detection module. In a possible implementation manner, the gas detection device 100 of the present application may execute the control method of the gas detection device of the present application.
气体检测装置的控制方法可以包括如下步骤:The control method of the gas detection device may include the following steps:
S10、开启第一检测模块,以使得所述第一检测模块进入开启状态;S10, turning on the first detection module, so that the first detection module enters the turned-on state;
S20、获取所述第一检测模块的工作信息;S20, obtaining the working information of the first detection module;
S30、基于所述工作信息,判断第一检测模块是否处于工作模式;S30, based on the work information, determine whether the first detection module is in a work mode;
S40、若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。S40. If the first detection module is not in the working mode, switch the first detection module to the off state, and simultaneously switch the second detection module from the off state to the on state.
在所述空调系统初始上电启动之前,至少两个检测模块均处于关闭状态。在所述空调系统初始上电启动后,开启第一检测模块,使得所述第一检测模块进入开启状态,而其它的检测模块仍处于关闭状态。Before the air conditioning system is initially powered on and started, at least two detection modules are in a closed state. After the air conditioning system is initially powered on and started, the first detection module is turned on, so that the first detection module is turned on, and the other detection modules are still turned off.
可以理解的是,当所述第一检测模块处于开启状态时,第一检测模块的使用寿命被消耗。It can be understood that when the first detection module is in an on state, the service life of the first detection module is consumed.
其中一种可能的实现方式中,气体检测装置还包括电源模块,步骤S10可以包括:将所述第一检测模块与电源模块电性连接。所述电源模块可以通过直流方式为所述第一检测模块供电,使得所述第一检测模块进入开启状态。In one possible implementation manner, the gas detection device further includes a power supply module, and step S10 may include: electrically connecting the first detection module with the power supply module. The power supply module may supply power to the first detection module in a direct current manner, so that the first detection module enters an on state.
具体地,所述气体检测装置还可以包括处理模块以及切换模块,所述切换模块中包含多个切换开关,切换开关与检测模块一一对应设置,切换模块中的切换开关用于实现其对应的检测模块与电源模块之间的电性连接与断开,当所述切换开关断开时,所述检测模块处于关闭状态,当切换开关闭合时,所述检测模块处于开启状态。处理模块用于控制切换模块中的切换开关的断开与闭合。多个切换开关中至少包含第一切换开关以及第二切换开关,所述第一切换开关用于实现所述第一检测模块与所述电源模块的电性连接与断开,所述第二切换开关用于实现所述第二检测模块与所述电源模块的电性连接与断开。Specifically, the gas detection device may further include a processing module and a switching module, the switching module includes a plurality of switching switches, the switching switches and the detection modules are set in one-to-one correspondence, and the switching switches in the switching module are used to realize their corresponding The electrical connection and disconnection between the detection module and the power supply module, when the switch is disconnected, the detection module is in a closed state, and when the switch is closed, the detection module is in an open state. The processing module is used to control the opening and closing of the switch in the switch module. The plurality of switch switches include at least a first switch switch and a second switch switch, the first switch switch is used to realize the electrical connection and disconnection of the first detection module and the power module, and the second switch The switch is used to realize the electrical connection and disconnection of the second detection module and the power module.
例如,所述切换开关可为继电器。For example, the toggle switch may be a relay.
也就是说,在步骤S10中,控制所述第一切换开关闭合,以将所述第一检测模块接入所述电源模块,使得所述第一检测模块处于开启状态。而其他的切换开关仍处于断开状态,使得其他的检测模块仍处于关闭状态。That is, in step S10, the first switch is controlled to be closed, so as to connect the first detection module to the power supply module, so that the first detection module is in an on state. The other switches are still in the off state, so that the other detection modules are still in the off state.
在步骤S10与步骤S40中,一种可能的实现方式,检测模块处于开启状态为检测模块处于通电状态,检测模块处于关闭状态为检测模块处于断电状态。In step S10 and step S40, a possible implementation manner, if the detection module is in an on state means that the detection module is in a power-on state, and if the detection module is in an off state, it means that the detection module is in a power-off state.
在步骤S20中,所述工作信息中可以包含每个所述检测模块处于开启状态下的累计时长,与每个检测模块的工作状态(如检测模块是否进行气体浓度采集)等。其中一种可能的实现方式中,气体检测装置包括计时器与存储模块,计时器自检测模块启动时开始计时,存储模块存储计时时间,获取检测模块的累计时长即从存储模块中读取计时器的计时时间。In step S20, the working information may include the cumulative duration of each detection module in an on state, and the working state of each detection module (eg, whether the detection module performs gas concentration collection), and the like. In one possible implementation manner, the gas detection device includes a timer and a storage module, the timer starts timing when the detection module is started, the storage module stores the timing time, and the accumulated time of the detection module is obtained, that is, the timer is read from the storage module timing time.
在步骤S30中,检测模块处于工作模式为检测模块进行准确的气体浓度信号检测。进行准确的气体浓度信号检测包括进行气体浓度采集、发送气体浓度信号与气体浓度信号检测准确等。In step S30, the detection module is in the working mode to perform accurate gas concentration signal detection for the detection module. Accurate detection of gas concentration signals includes gas concentration collection, transmission of gas concentration signals, and accurate detection of gas concentration signals.
在本实施例中,所述气体检测装置可以包括至少两个检测模块,所述至少两个检测模块中至少包含第一检测模块和第二检测模块。在气体检测装置使用之前,检测模块均未被使用,或者,检测模块均未进行气体浓度采集,使用寿命未被损耗。In this embodiment, the gas detection device may include at least two detection modules, and the at least two detection modules include at least a first detection module and a second detection module. Before the gas detection device is used, none of the detection modules are used, or none of the detection modules are used for gas concentration collection, and the service life is not lost.
一种可能的实现方式,第一检测模块的工作信息为第一检测模块处于开启状态下的累计时长,处于工作模式为第一检测模块处于开启状态下的累计时长小于预设第一阈值。若第一检测模块处于开启状态的累计时长大于或等于预设第一阈值,则第一检测模块检测的气体浓度信号则出现不准确的现象,所以当第一检测模块处于开启状态的累计时长大于或等于预设第一阈值,判断第一检测模块不处于工作模式。In a possible implementation manner, the working information of the first detection module is the accumulated duration of the first detection module in an on state, and the working mode means that the accumulated duration of the first detection module in an open state is less than a preset first threshold. If the accumulated time when the first detection module is in the open state is greater than or equal to the preset first threshold, the gas concentration signal detected by the first detection module is inaccurate. Therefore, when the accumulated time when the first detection module is in the open state is longer than or equal to the preset first threshold, it is determined that the first detection module is not in the working mode.
如图4所示,步骤S20可以包括如下步骤:S201、获取所述第一检测模块处于开启状态下的累计时长;步骤S30可以包括如下步骤:S301、判断累计时长是否大于或等于第一阈值;步骤S40可以包括如下步骤:S401、若累计时长大于或等于第一阈值,则将第一检测模块从开启状态切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。As shown in FIG. 4 , step S20 may include the following steps: S201, obtain the accumulated duration when the first detection module is on; Step S30 may include the following steps: S301, determine whether the accumulated duration is greater than or equal to a first threshold; Step S40 may include the following steps: S401 , if the accumulated duration is greater than or equal to the first threshold, switch the first detection module from the on state to the off state, and simultaneously switch the second detection module from the off state to the on state.
在步骤S201中,累计时长为第一检测模块处于开启状态下的时长,第一检测模块处于开启状态为第一检测模块处于通电状态。In step S201, the accumulated time period is the time period when the first detection module is in an on state, and when the first detection module is in an on state, the first detection module is in a power-on state.
第一检测模块进行气体浓度信息采集,并将气体浓度信息转化为气体浓度信号。举例地,在本实施例中,检测模块可以包括与传感器电性连接的放大滤波电路以及模数转换器(A/D转换器),气体传感器将采集到的气体浓度信号传输至所述放大滤波电路,由所述放大滤波电路对气体浓度信号进行放大滤波处理,使得信号更加稳定和平滑,由所述模数转换器对滤波后的信号进行模数转换处理,以得到数字信号,并将此数字信号传输至处理模块。The first detection module collects gas concentration information, and converts the gas concentration information into a gas concentration signal. For example, in this embodiment, the detection module may include an amplification filter circuit and an analog-to-digital converter (A/D converter) electrically connected to the sensor, and the gas sensor transmits the collected gas concentration signal to the amplification filter circuit, the gas concentration signal is amplified and filtered by the amplifying filter circuit to make the signal more stable and smooth, and the analog-to-digital converter is used to perform analog-to-digital conversion processing on the filtered signal to obtain a digital signal, and this The digital signal is transmitted to the processing module.
其中一种可能的实现方式中,步骤S201,可以包括如下步骤:In one possible implementation manner, step S201 may include the following steps:
S103、进行第一检测模块的开启时间加算;S103, adding the opening time of the first detection module;
S104、判断开启时间是否大于或等于24小时;S104, determine whether the opening time is greater than or equal to 24 hours;
S105、若判断开启时间大于或等于24小时,累计时长累加一天,并将加算的开启时间清零。S105. If it is determined that the opening time is greater than or equal to 24 hours, the accumulated time is accumulated for one day, and the added opening time is cleared.
其中一种可能的实现方式中,气体检测装置包括计时器与存储模块,在步骤S103中,计时器进行第一检测模块的开启时间加算,计时器自步骤S101完成后开始计时,即计时 器自第一检测模块自其进入开启状态时开始计时,存储模块存储计时器加算的第一检测模块的开启时间,以便于处理模块能从存储模块中获取第一检测模块的开启时间。In one possible implementation manner, the gas detection device includes a timer and a storage module. In step S103, the timer adds the ON time of the first detection module, and the timer starts counting after step S101 is completed, that is, the timer starts from The first detection module starts timing when it enters the ON state, and the storage module stores the ON time of the first detection module added by the timer, so that the processing module can obtain the ON time of the first detection module from the storage module.
在步骤S104中,气体检测装置的处理模块读取存储模块中记录的第一检测模块的开启时间,并判断加算的开启时间是否大于或等于24小时。In step S104, the processing module of the gas detection device reads the opening time of the first detection module recorded in the storage module, and determines whether the added opening time is greater than or equal to 24 hours.
在步骤S104中,若处理模块判断加算的第一检测模块的开启时间大于或等于24小时,则进行步骤S105,若判断加算的第一检测模块的开启时间小于24小时,则气体检测装置的控制方法的此流程结束,并进入下一个流程,以此循环进行。In step S104, if the processing module determines that the added opening time of the first detection module is greater than or equal to 24 hours, then proceed to step S105, and if it is determined that the added opening time of the first detection module is less than 24 hours, the control of the gas detection device This flow of the method ends and goes to the next flow, and so on.
在步骤S105中,若处理模块判断第一检测模块的开启时间大于或等于24小时,则将存储模块中记录的累计时长累加一天,同时处理模块将存储模块中记录的计时器加算的第一检测模块的开启时间清零。在将加算的存储模块开启时间清零的同时,计时器重新计时,即计时器开始重新进行开启时间的加算,同时存储模块实时记录计时器加算的第一检测模块的开启时间,也就是说,在气体检测装置的工作期间,计时器一直在计时,存储模块一直在读取计时器加算的开启时间,在判断加算的开启时间大于或等于24小时后,计时器又从零开始重新加算开启时间。In step S105, if the processing module determines that the opening time of the first detection module is greater than or equal to 24 hours, then the accumulated time recorded in the storage module is accumulated by one day, and the processing module adds the timer recorded in the storage module to the first detection module The turn-on time of the module is cleared. While clearing the added on-time of the storage module, the timer re-times, that is, the timer starts to add the on-time again, and the storage module records the on-time of the first detection module added by the timer in real time, that is to say, During the working period of the gas detection device, the timer keeps counting, and the storage module keeps reading the opening time added by the timer. After judging that the added opening time is greater than or equal to 24 hours, the timer starts counting the opening time again from zero. .
在步骤S201中,第一阈值为预设的,并存储在存储模块。第一阈值可以根据气体检出装置的传感器的使用寿命等进行设定。例如,半导体式传感器的使用寿命大约为3-5年等,可选地,所述第一阈值可以设定为3年、4年或5年等。In step S201, the first threshold value is preset and stored in the storage module. The first threshold value can be set according to the service life of the sensor of the gas detection device or the like. For example, the service life of the semiconductor sensor is about 3-5 years, etc. Optionally, the first threshold may be set to 3 years, 4 years, or 5 years, etc.
如图4所示,进一步地,由于累计时长记录的是以天数为单位的,累计时长可以被转换为累计年数,例如,所述累计时长可以包括累计天数,累计天数可以被转化为累计年数。或者将第一阈值设为3年或4年或5年对应的以天数为单位的值。As shown in FIG. 4 , further, since the accumulated duration is recorded in days, the accumulated duration can be converted into accumulated years. For example, the accumulated duration can include accumulated days, and accumulated days can be converted into accumulated years. Or set the first threshold to a value in days corresponding to 3 years or 4 years or 5 years.
在步骤S301中,处理模块判断存储模块中存储的累计时长是否大于或等于第一阈值,若判断第一累计时长大于或等于第一阈值,则进行步骤S401,若判断第一累计时长小于第一阈值,则气体检测装置的控制方法的此流程结束,并进行下一个流程,以此循环进行。In step S301, the processing module determines whether the accumulated duration stored in the storage module is greater than or equal to the first threshold. If it is determined that the first accumulated duration is greater than or equal to the first threshold, step S401 is performed. If the threshold value is reached, the process of the control method of the gas detection device ends, and the next process is performed, and this cycle is performed.
在步骤S301中,当所述累计时长大于或等于预设第一阈值时,则可以确定第一检测模块达到使用寿命,第一检测模块不处于工作模式。因此,使得第一检测模块进入关闭状态,从而不再进行气体浓度采集,由所述第二检测模块进入开启状态,并进行气体浓度采集,以确保气体浓度检测的准确性,从而确保气体检测装置的有效性与空调系统的使用安全性。In step S301, when the accumulated duration is greater than or equal to a preset first threshold, it can be determined that the first detection module has reached the service life, and the first detection module is not in the working mode. Therefore, the first detection module is made to enter the closed state, so that gas concentration collection is no longer performed, and the second detection module enters the open state, and the gas concentration collection is performed to ensure the accuracy of gas concentration detection, thereby ensuring the gas detection device. effectiveness and safety of air-conditioning systems.
具体地,在步骤S301中,控制所述第一切换开关断开,使得所述第一检测模块断开与所述电源模块的电性连接,不再为所述第一检测模块进行供电,以节省能源,并控制所 述第二切换开关闭合,以将所述第二检测模块与电源模块电性连接。Specifically, in step S301, the first switch is controlled to be disconnected, so that the first detection module is disconnected from the electrical connection with the power module, and no longer supplies power to the first detection module, so as to Energy is saved, and the second switch is controlled to be closed, so as to electrically connect the second detection module and the power module.
可以看出的是,当所述第一检测模块达到使用寿命时,所述第一检测模块不再被使用,并将所述第二检测模块切换至开启状态,由所述第二检测模块进行气体浓度采集,从而增加了所述气体检测装置的使用寿命。It can be seen that when the first detection module reaches the service life, the first detection module is no longer used, and the second detection module is switched to the on state, which is carried out by the second detection module. The gas concentration is collected, thereby increasing the service life of the gas detection device.
本实施例中,第一检测模块只是指代处于开启状态下的检测模块,并不是指代某一个确定的检测模块,举例地,步骤S401中,第一检测模块关闭,第二检测模块开启,则开启的第二检测模块作为下一个流程中的第一检测模块,继续进行上述步骤S10、步骤S20、步骤S30与步骤S40的循环运行。且一旦经过步骤S401被控制关闭的第一检测模块,后续将不再被开启。In this embodiment, the first detection module only refers to the detection module in the open state, and does not refer to a certain detection module. For example, in step S401, the first detection module is turned off, and the second detection module is turned on. Then the opened second detection module is used as the first detection module in the next process, and the cyclic operation of the above steps S10 , S20 , S30 and S40 is continued. And once the first detection module is controlled to be turned off in step S401, it will not be turned on again subsequently.
一种可能的实现方式,第一检测模块处于开启状态,且第一检测模块处于工作模式,将第一检测模块关闭,同时开启第二检测模块,使得第一检测模块与第二检测模块不同时处于开启状态,从而延长气体检测装置的使用寿命。这种情况下,被关闭后的第一检测模块后续有可能会再被开启,使得气体检测装置的各个检测模块不会同时处于开启状态,且能够分时间段分别处于开启状态,保证气体检测装置的正常工作且延长使用寿命。A possible implementation manner, the first detection module is in the open state, and the first detection module is in the working mode, the first detection module is turned off, and the second detection module is turned on at the same time, so that the first detection module and the second detection module are not at the same time. in the open state, thereby extending the life of the gas detection device. In this case, the first detection module after being turned off may be turned on again later, so that each detection module of the gas detection device will not be turned on at the same time, and can be turned on separately in time periods, ensuring that the gas detection device normal operation and extended service life.
其中一种可能的实现方式,第一检测模块的工作信息还包括第一检测模块的工作状态,如图6所示,步骤20可以包括如下步骤:S202、获取所述第一检测模块的工作状态;In one possible implementation manner, the working information of the first detection module also includes the working status of the first detection module. As shown in FIG. 6 , step 20 may include the following steps: S202 , obtain the working status of the first detection module ;
步骤S30可以包括如下步骤:S302、基于所述第一检测模块的工作状态,判断第一检测模块是否失效;Step S30 may include the following steps: S302, based on the working state of the first detection module, determine whether the first detection module is invalid;
步骤S40可以包括如下步骤:S402、若第一检测模块失效,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。Step S40 may include the following steps: S402 , if the first detection module fails, switch the first detection module to the off state, and simultaneously switch the second detection module from the off state to the on state.
在步骤S202中,第一检测模块的工作状态包括进行是否气体浓度采集、是否发送气体浓度信号与气体浓度信号是否准确等。获取第一检测模块的工作状态可获取前述的一项或几项。In step S202, the working state of the first detection module includes whether to perform gas concentration collection, whether to send a gas concentration signal and whether the gas concentration signal is accurate, and the like. Obtaining the working status of the first detection module can obtain one or more of the foregoing items.
一种可能的实现方式,步骤S202可以包括,检测第一检测模块是否进行气体浓度采集,并将此检测信号发送至处理模块。可选地,气体检测装置中可以包括加热驱动电路,检测模块包括半导体传感器,半导体传感器包括用于为半导体传感器提供合适工作温度的加热丝,加热驱动电路用于为加热丝加热提供电源,在步骤S202中,可以通过监测加热驱动电路是否正常通电,以确定第一检测模块是否进行气体浓度采集。In a possible implementation manner, step S202 may include detecting whether the first detection module performs gas concentration collection, and sending the detection signal to the processing module. Optionally, the gas detection device may include a heating drive circuit, the detection module includes a semiconductor sensor, the semiconductor sensor includes a heating wire for providing a suitable working temperature for the semiconductor sensor, and the heating driving circuit is used to provide power for heating the heating wire, in step In S202, it can be determined whether the first detection module performs gas concentration collection by monitoring whether the heating driving circuit is normally powered on.
一种可能的实现方式,步骤S202可以包括,检测第一检测模块采集的气体浓度信号是否准确,并将此检测信号发送至处理模块。可选的,可以选择开启除第一检测模块外的 一个或几个检测模块,获取另外一个检测模块采集的气体浓度信号A,或者分别获取另外几个检测模块采集的气体浓度信号的平均值B,判断第一检测模块所采集的气体浓度检测信号是否在基于A或B的合适范围内,如判断第一检测模块所采集的气体浓度检测信号是否在0.9A至1.1A的范围内,或是否在0.9B至1.1B的范围内,若在此范围内,则判断第一检测模块采集的气体浓度信号准确,反之,则不准确。在获取气体浓度信号A与平均值B后,关闭用于检测第一检测模块采集的气体浓度信号是否准确的另外的一个或几个检测模块。本实施例中,具体的第一检测模块的工作状态的形式不以此为限,获取第一检测模块的工作状态的方式也不以此为限。In a possible implementation manner, step S202 may include detecting whether the gas concentration signal collected by the first detection module is accurate, and sending the detection signal to the processing module. Optionally, one or more detection modules other than the first detection module can be selected to be turned on, to obtain the gas concentration signal A collected by another detection module, or to obtain the average value B of the gas concentration signals collected by several other detection modules respectively. , judging whether the gas concentration detection signal collected by the first detection module is within the appropriate range based on A or B, such as judging whether the gas concentration detection signal collected by the first detection module is within the range of 0.9A to 1.1A, or whether Within the range of 0.9B to 1.1B, if it is within this range, it is judged that the gas concentration signal collected by the first detection module is accurate; otherwise, it is not accurate. After acquiring the gas concentration signal A and the average value B, turn off one or more other detection modules for detecting whether the gas concentration signal collected by the first detection module is accurate. In this embodiment, the specific form of the working state of the first detection module is not limited to this, and the manner of acquiring the working state of the first detection module is not limited to this.
在步骤S202中,根据在步骤S202获取的第一检测模块的工作状态,判断所述第一检测模块是否失效(即判断第一检测模块是否处于工作模式)。可选的,根据步骤S202获取的第一检测模块在进行或不进行气体浓度采集的检测信号,判断第一检测模块是否失效(即判断第一检测模块是否处于工作模式)。若检测到第一检测模块进行气体浓度采集则判断第一检测模块未失效(即判断第一检测模块处于工作模式),反之,则失效(即判断第一检测模块不处于工作模式)。可选的,根据步骤S202获取的第一检测模块所采集的气体浓度采集信号准确或不准确,判断第一检测模块是否失效,若检测到第一检测模块采集的气体浓度信号准确则判断第一检测模块未失效(即判断第一检测模块处于工作模式),反之,则失效(即判断第一检测模块不处于工作模式)。In step S202, according to the working state of the first detection module acquired in step S202, it is determined whether the first detection module is invalid (ie, it is determined whether the first detection module is in the working mode). Optionally, according to the detection signal obtained in step S202 that the first detection module is performing or not performing gas concentration collection, it is determined whether the first detection module is invalid (ie, it is determined whether the first detection module is in the working mode). If it is detected that the first detection module performs gas concentration collection, it is determined that the first detection module is not invalid (that is, it is determined that the first detection module is in the working mode), otherwise, it is invalid (that is, it is determined that the first detection module is not in the working mode). Optionally, according to whether the gas concentration acquisition signal acquired by the first detection module acquired in step S202 is accurate or inaccurate, it is determined whether the first detection module is invalid, and if it is detected that the gas concentration signal acquired by the first detection module is accurate, the first detection module is determined to be accurate. The detection module is not invalid (that is, it is judged that the first detection module is in the working mode), otherwise, it is invalid (that is, it is judged that the first detection module is not in the working mode).
步骤S302包括若第一检测模块失效,则进行步骤S402,若第一检测模块未失效,则此流程结束,进行下一流程,以此循环进行。Step S302 includes performing step S402 if the first detection module fails, and if the first detection module does not fail, the process ends, and the next process is performed, and this cycle is performed.
第一检测模块在其正常的工作年限内失效的情况有很多,如,第一检测模块的传感器在使用过程中遇到了100%浓度的冷媒或者其他的特性气体等,导致第一检测模块失效。There are many situations in which the first detection module fails within its normal working life. For example, the sensor of the first detection module encounters 100% concentration of refrigerant or other characteristic gas during use, which causes the failure of the first detection module.
其中一种可能的实现方式中,如图7所示,在步骤S10之后,在步骤S201之前,所述气体检测装置的控制方法还可以包括如下步骤:In one possible implementation manner, as shown in FIG. 7 , after step S10 and before step S201, the control method of the gas detection device may further include the following steps:
S106、获取第一检测模块的工作状态;S106, obtaining the working state of the first detection module;
S107、根据第一检测模块的工作状态,判断所述第一检测模块是否失效。S107. According to the working state of the first detection module, determine whether the first detection module fails.
则上述的步骤S401包括:若第一检测模块失效或累计时长大于或等于第一阈值,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。The above step S401 includes: if the first detection module fails or the accumulated duration is greater than or equal to the first threshold, switching the first detection module to the off state, and simultaneously switching the second detection module from the off state to the on state.
在步骤S106中,第一检测模块的工作状态与上述的步骤S202中的相同,即包括进行是否气体浓度采集、是否发送气体浓度信号与气体浓度信号是否准确等。获取第一检测模块的工作状态可获取前述的一项或几项,此处不再赘述。In step S106, the working state of the first detection module is the same as that in the above-mentioned step S202, that is, whether to collect the gas concentration, whether to transmit the gas concentration signal and whether the gas concentration signal is accurate, etc. Obtaining the working status of the first detection module may obtain one or more of the foregoing items, which will not be repeated here.
步骤S107包括若第一检测模块失效,则进行步骤S401,若第一检测模块未失效,则此流程结束,进行下一流程,以此循环进行。Step S107 includes performing step S401 if the first detection module fails, and if the first detection module does not fail, the process ends, and the next process is performed, and this cycle is performed.
值得注意的是,当气体检测装置的使用场景或使用需求不同时,所述控制方法中的第一检测模块也可指代两个或多个检测模块。举例地,为使得气体检测装置的检测精度更高,会采用两种类型的检测模块,比如其中一种为包括半导体式传感器的检测模块,另外一种是包括电化学式传感器,则第一检测模块可包括第一子检测模块与第二子检测模块,与第一子检测模块对应的累计时长为第一累计时长,与第二子检测模块对应的累计时长为第二累计时长,与第一子检测模块对应的第一阈值为第一子阈值,与第二子检测模块对应的第一阈值为第二子阈值,第二检测模块包括与第一子检测模块对应的第三子检测模块,以及与第二子检测模块对应的第四子检测模块。It is worth noting that when the usage scenarios or usage requirements of the gas detection device are different, the first detection module in the control method may also refer to two or more detection modules. For example, in order to make the detection accuracy of the gas detection device higher, two types of detection modules are used. For example, one of the detection modules includes a semiconductor sensor, and the other includes an electrochemical sensor. It may include a first sub-detection module and a second sub-detection module, the accumulated duration corresponding to the first sub-detection module is the first accumulated duration, and the accumulated duration corresponding to the second sub-detection module is the second accumulated duration, which is the same as the first sub-detection module. the first threshold corresponding to the detection module is a first sub-threshold, the first threshold corresponding to the second sub-detection module is a second sub-threshold, the second detection module includes a third sub-detection module corresponding to the first sub-detection module, and A fourth sub-detection module corresponding to the second sub-detection module.
则气体检测装置的控制方法可包括如下步骤:Then the control method of the gas detection device may include the following steps:
S10a、开启第一子检测模块,以使得所述第一子检测模块进入开启状态;S10a, turning on the first sub-detection module, so that the first sub-detection module enters an open state;
S106a、获取第一子检测模块的工作状态;S106a, obtaining the working state of the first sub-detection module;
S107a、根据第一子检测模块的工作状态,判断所述第一子检测模块是否失效;S107a, according to the working state of the first sub-detection module, determine whether the first sub-detection module fails;
S201a、获取所述第一子检测模块处于开启状态下的第一累计时长;S201a, acquiring the first cumulative duration when the first sub-detection module is turned on;
S301a、判断第一累计时长是否大于或等于预设第一子阈值;S301a, determine whether the first accumulated duration is greater than or equal to a preset first sub-threshold;
S401a、若失效或者第一累计时长大于或等于第一子阈值,则将第一子检测模块切换至关闭状态,并同时将第三子检测模块从关闭状态切换至开启状态。S401a. If the failure or the first accumulated duration is greater than or equal to the first sub-threshold, switch the first sub-detection module to the off state, and simultaneously switch the third sub-detection module from the off state to the on state.
则气体检测装置的控制方法还可包括如下步骤:Then the control method of the gas detection device may further comprise the following steps:
S10b、开启第二子检测模块,以使得所述第二子检测模块进入开启状态;S10b, turning on the second sub-detection module, so that the second sub-detection module enters an open state;
S106b、获取第二子检测模块的工作状态;S106b, obtaining the working state of the second sub-detection module;
S107b、根据第二子检测模块的工作状态,判断所述第二子检测模块是否失效;S107b, according to the working state of the second sub-detection module, determine whether the second sub-detection module fails;
S201b、获取所述第二子检测模块处于开启状态下的第二累计时长;S201b, acquiring the second cumulative duration when the second sub-detection module is turned on;
S301b、判断第二累计时长是否大于或等于预设第二子阈值;S301b, judging whether the second cumulative duration is greater than or equal to a preset second sub-threshold;
S401b、若失效或者第二累计时长大于或等于第二子阈值,则将第二子检测模块切换至关闭状态,并同时将第四子检测模块从关闭状态切换至开启状态。S401b, if the failure or the second accumulated duration is greater than or equal to the second sub-threshold, switch the second sub-detection module to the off state, and simultaneously switch the fourth sub-detection module from the off state to the on state.
上述的步骤S10a、S106a、S107a、S201a、S301a与S401a为一个完整的流程,可记为流程a,流程a循环进行;上述的步骤S10b、S106b、S107b、S201b、S301b与S401b为一个完整的流程,可记为流程b,流程b循环进行。流程a与流程b在气体检测装置的控制方法中可同时且独立进行。The above-mentioned steps S10a, S106a, S107a, S201a, S301a and S401a are a complete process, which can be recorded as process a, and the process a is carried out in a loop; the above-mentioned steps S10b, S106b, S107b, S201b, S301b and S401b are a complete process , which can be recorded as process b, and process b is carried out in a loop. Process a and process b can be performed simultaneously and independently in the control method of the gas detection device.
需要理解的是,当上述的第一子检测模块与第二子检测模块为同一类型的检测模块时, 则第一子阈值与第二子阈值的值可相同,当上述的第一子检测模块与第二子检测模块为不同类型的检测模块时,则第一子阈值与第二子阈值的值可不同。It should be understood that when the above-mentioned first sub-detection module and the second sub-detection module are detection modules of the same type, the values of the first sub-threshold and the second sub-threshold may be the same. When the above-mentioned first sub-detection module When the second sub-detection module is a different type of detection module, the values of the first sub-threshold and the second sub-threshold may be different.
其中一种可能的实现方式中,所述方法还包括:In one possible implementation manner, the method further includes:
S501、获取检测模块检测得到的气体浓度信号;S501, acquiring a gas concentration signal detected by a detection module;
S502、基于所述气体浓度信号,发出提示信息。S502, based on the gas concentration signal, send out prompt information.
例如,当所述气体浓度信号大于预设的报警阈值时,则发出提示信息,如发出声音或灯光报警等,或采用通信方式传输信号至空调系统的控制器(如空调控制器),由控制器采取相应的措施等,以保证空调系统的使用安全性。For example, when the gas concentration signal is greater than the preset alarm threshold, a prompt message is issued, such as sound or light alarm, or the signal is transmitted to the controller of the air-conditioning system (such as the air-conditioning controller) by means of communication, and the control Take corresponding measures to ensure the safety of the air-conditioning system.
以上各实施例中,涉及的处理器可以例如包括CPU、DSP、微控制器或数字信号处理器,还可包括GPU、嵌入式神经网络处理器(Neural-network Process Units;以下简称:NPU)和图像信号处理器(Image Signal Processing;以下简称:ISP),该处理器还可包括必要的硬件加速器或逻辑处理硬件电路,如ASIC,或一个或多个用于控制本申请技术方案程序执行的集成电路等。此外,处理器可以具有操作一个或多个软件程序的功能,软件程序可以存储在存储介质中。In the above embodiments, the involved processors may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural-network process unit (Neural-network Process Units; hereinafter referred to as: NPU) and Image signal processor (Image Signal Processing; hereinafter referred to as: ISP), the processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application circuit, etc. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行本申请图3至图6所示实施例提供的方法。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the programs provided by the embodiments shown in FIG. 3 to FIG. 6 of the present application. method.
本申请实施例还提供一种计算机程序产品,该计算机程序产品包括计算机程序,当其在计算机上运行时,使得计算机执行本申请图3至图6所示实施例提供的方法。The embodiments of the present application also provide a computer program product, the computer program product includes a computer program, when it runs on a computer, the computer causes the computer to execute the methods provided by the embodiments shown in FIG. 3 to FIG. 6 of the present application.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组合,包括单项或复数项的任意组合。例如,a,b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c或a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural. The character "/" generally indicates that the related objects are an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c may be single, or Can be multiple.
本领域普通技术人员可以意识到,本文中公开的实施例中描述的各单元及算法步骤,能够以电子硬件、计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps described in the embodiments disclosed herein can be implemented by a combination of electronic hardware, computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装 置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
在本申请所提供的几个实施例中,任一功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
以上所述,仅为本申请的具体实施方式,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

  1. 一种气体检测装置,包括:A gas detection device, comprising:
    至少两个检测模块(10),所述检测模块(10)用于检测气体浓度信号,所述至少两个检测模块(10)中包括第一检测模块(11)与第二检测模块(12);At least two detection modules (10), the detection modules (10) are used for detecting gas concentration signals, and the at least two detection modules (10) include a first detection module (11) and a second detection module (12) ;
    切换模块(20),用于分别实现每个所述检测模块(10)的开启与关闭;a switching module (20) for respectively realizing the opening and closing of each of the detection modules (10);
    处理模块(30),所述处理模块(30)与切换模块(20),所述处理模块(30)用于控制所述切换模块(20),使所述切换模块(20)将所述第一检测模块(11)从开启状态切换至关闭状态的同时,所述切换模块(20)将所述第二检测模块(12)从关闭状态切换至开启状态。A processing module (30), the processing module (30) and a switching module (20), the processing module (30) is used to control the switching module (20), so that the switching module (20) switches the first When a detection module (11) is switched from an on state to an off state, the switching module (20) switches the second detection module (12) from an off state to an on state.
  2. 根据权利要求1所述的气体检测装置,还包括电源模块(40),所述电源模块(40)与所述切换模块(20)电性连接,所述切换模块(20)分别与每个所述检测模块(10)电性连接,所述切换模块(20)用于分别实现每个所述检测模块(10)和所述电源模块(40)之间的电性连接与断开。The gas detection device according to claim 1, further comprising a power module (40), the power module (40) being electrically connected with the switching module (20), the switching module (20) being respectively connected with each of the The detection modules (10) are electrically connected, and the switching modules (20) are used to respectively realize the electrical connection and disconnection between each of the detection modules (10) and the power supply module (40).
  3. 根据权利要求2所述的气体检测装置,其中,所述切换模块(20)包括至少两个切换开关,所述切换开关与所述检测模块(10)一一对应设置,每个所述切换开关分别用于实现其对应的所述检测模块(10)和所述电源模块(40)之间的电性连接与断开;The gas detection device according to claim 2, wherein the switching module (20) comprises at least two switching switches, the switching switches are provided in a one-to-one correspondence with the detection module (10), and each switching switch are respectively used to realize the electrical connection and disconnection between the corresponding detection module (10) and the power supply module (40);
    每个所述切换开关具有闭合状态与断开状态,当所述切换开关处于闭合状态下时,其对应的所述检测模块(10)与所述电源模块(40)之间电性连接,当所述切换开关处于断开状态下时,其对应的所述检测模块(10)与所述电源模块(40)之间断开;Each switch has a closed state and an open state. When the switch is in the closed state, the corresponding detection module (10) and the power supply module (40) are electrically connected. When the switch is in an off state, the detection module (10) corresponding to the switch is disconnected from the power module (40);
    所述处理模块(30)用于分别控制每个所述切换开关的闭合与断开。The processing module (30) is used to separately control the closing and opening of each of the switching switches.
  4. 根据权利要求1所述的气体检测装置,进一步包括存储模块(50),所述存储模块(50)用于记录每个所述检测模块(10)的工作信息,所述处理模块(30)还用于读取所述存储模块(50)记录的所述工作信息,并基于所述工作信息,控制所述切换模块(20)。The gas detection device according to claim 1, further comprising a storage module (50), the storage module (50) is used to record the working information of each of the detection modules (10), the processing module (30) further for reading the working information recorded by the storage module (50), and controlling the switching module (20) based on the working information.
  5. 一种气体检测装置的控制方法,所述气体检测装置包括至少两个检测模块,所述至少两个检测模块中包括第一检测模块和第二检测模块,其中,所述方法包括如下步骤:A control method of a gas detection device, the gas detection device includes at least two detection modules, and the at least two detection modules include a first detection module and a second detection module, wherein the method includes the following steps:
    开启第一检测模块,以使得所述第一检测模块进入开启状态;turning on the first detection module, so that the first detection module enters the turned-on state;
    获取所述第一检测模块的工作信息;obtaining the working information of the first detection module;
    基于所述工作信息,判断第一检测模块是否处于工作模式;Based on the working information, determine whether the first detection module is in the working mode;
    若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the first detection module is not in the working mode, the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
  6. 根据权利要求5所述的控制方法,其中,所述工作信息选自所述第一检测模块处于开启状态的累计时长和所述第一检测模块的工作状态中的至少一个。The control method according to claim 5, wherein the working information is selected from at least one of the cumulative duration of the first detection module being in the ON state and the working state of the first detection module.
  7. 根据权利要求5所述的气体检测装置的控制方法,其中,所述获取第一检测模块的工作信息,包括如下步骤:The control method of the gas detection device according to claim 5, wherein the acquiring the working information of the first detection module comprises the following steps:
    获取所述第一检测模块处于开启状态下的累计时长;Acquiring the cumulative duration that the first detection module is in an on state;
    基于所述工作信息,判断第一检测模块是否处于工作模式,包括如下步骤:Based on the working information, judging whether the first detection module is in the working mode includes the following steps:
    判断累计时长是否大于或等于第一阈值;Determine whether the cumulative duration is greater than or equal to the first threshold;
    若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态,包括如下步骤:If the first detection module is not in the working mode, then the first detection module is switched to the off state, and at the same time, the second detection module is switched from the off state to the on state, including the following steps:
    若累计时长大于或等于第一阈值,则将第一检测模块从开启状态切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the accumulated duration is greater than or equal to the first threshold, the first detection module is switched from the on state to the off state, and the second detection module is switched from the off state to the on state at the same time.
  8. 根据权利要求7所述的气体检测装置的控制方法,其中,获取所述第一检测模块处于开启状态下的累计时长,包括如下步骤:The control method of the gas detection device according to claim 7, wherein acquiring the accumulated time duration when the first detection module is in an on state comprises the following steps:
    进行第一检测模块的开启时间加算;Carry out the addition calculation of the opening time of the first detection module;
    判断开启时间是否大于或等于24小时;Determine whether the opening time is greater than or equal to 24 hours;
    若大于或等于24小时,则累计时长累加一天,并将加算的所述开启时间清零。If it is greater than or equal to 24 hours, the accumulated time will be accumulated by one day, and the added on time will be reset to zero.
  9. 根据权利要求5所述的气体检测装置的控制方法,其中,所述获取第一检测模块的工作信息,包括如下步骤:The control method of the gas detection device according to claim 5, wherein the acquiring the working information of the first detection module comprises the following steps:
    获取所述第一检测模块的工作状态;obtaining the working state of the first detection module;
    基于所述第一检测模块的工作信息,判断第一检测模块是否处于工作模式,包括如下步骤:Based on the working information of the first detection module, judging whether the first detection module is in the working mode includes the following steps:
    基于所述第一检测模块的工作状态,判断第一检测模块是否失效;Based on the working state of the first detection module, determine whether the first detection module fails;
    若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态,包括如下步骤:If the first detection module is not in the working mode, then the first detection module is switched to the off state, and at the same time, the second detection module is switched from the off state to the on state, including the following steps:
    若第一检测模块失效,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the first detection module fails, the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
  10. 根据权利要求9所述的控制方法,其中,所述获取所述第一检测模块的工作状态,包括如下步骤:The control method according to claim 9, wherein the acquiring the working state of the first detection module comprises the following steps:
    获取第一检测模块发送的气体浓度信号;acquiring the gas concentration signal sent by the first detection module;
    所述基于所述第一检测模块的工作状态,判断第一检测模块是否失效,包括如下步骤:The judging whether the first detection module fails based on the working state of the first detection module includes the following steps:
    检测所述第一检测模块是否发送所述气体浓度信号,若所述第一检测模块不发送所述气体浓度信号,则判断所述工作状态为失效。It is detected whether the first detection module sends the gas concentration signal, and if the first detection module does not send the gas concentration signal, it is determined that the working state is invalid.
  11. 根据权利要求9所述的控制方法,其中,所述获取所述第一检测模块的工作状态,包括如下步骤:The control method according to claim 9, wherein the acquiring the working state of the first detection module comprises the following steps:
    获取第一检测模块发送的气体浓度信号;acquiring the gas concentration signal sent by the first detection module;
    所述基于所述第一检测模块的工作状态,判断第一检测模块是否失效,包括如下步骤:The judging whether the first detection module fails based on the working state of the first detection module includes the following steps:
    检测所述气体浓度信号是否准确,若所述气体浓度信号不准确,则判断所述工作状态为失效。It is detected whether the gas concentration signal is accurate, and if the gas concentration signal is inaccurate, it is determined that the working state is invalid.
  12. 根据权利要求11所述的控制方法,其中,所述检测所述气体浓度信号是否准确,包括如下步骤:The control method according to claim 11, wherein the detecting whether the gas concentration signal is accurate comprises the following steps:
    获取气体浓度参照范围;Obtain the reference range of gas concentration;
    判断所述气体浓度信号是否在所述气体浓度参照范围之内,若所述气体浓度信号不在所述气体浓度参照范围之内,则所述气体浓度信号不准确。It is judged whether the gas concentration signal is within the gas concentration reference range, and if the gas concentration signal is not within the gas concentration reference range, the gas concentration signal is inaccurate.
  13. 根据权利要求7所述的气体检测装置的控制方法,其中,在开启所述第一检测模块,以使得所述第一检测模块进入开启状态之后,获取所述第一检测模块处于开启状态下的累计时长之前还包括如下步骤:The control method of the gas detection device according to claim 7, wherein after the first detection module is turned on, so that the first detection module enters the turned-on state, the data of the first detection module in the turned-on state is obtained. The following steps are also included before accumulating time:
    获取所述第一检测模块的工作状态;obtaining the working state of the first detection module;
    根据所述第一检测模块的工作状态,判断所述第一检测模块是否失效;According to the working state of the first detection module, determine whether the first detection module fails;
    若第一检测模块失效,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the first detection module fails, the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
  14. 根据权利要求5至13任一项所述的气体检测装置的控制方法,其中,检测模块处于开启状态为检测模块处于通电状态,检测模块处于关闭状态为检测模块处于断电状态。The control method for a gas detection device according to any one of claims 5 to 13, wherein when the detection module is in an on state, the detection module is in a power-on state, and when the detection module is in an off state, the detection module is in a power-off state.
  15. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机存储程序在计算机上运行时,能够使得所述计算机执行如下控制方法:A computer-readable storage medium, storing a computer program in the computer-readable storage medium, when the computer-readable storage program runs on a computer, can make the computer execute the following control method:
    开启第一检测模块,以使得所述第一检测模块进入开启状态;turning on the first detection module, so that the first detection module enters the turned-on state;
    获取所述第一检测模块的工作信息;obtaining the working information of the first detection module;
    基于所述工作信息,判断第一检测模块是否处于工作模式;Based on the working information, determine whether the first detection module is in the working mode;
    若第一检测模块不处于工作模式,则将第一检测模块切换至关闭状态,并同时将第二检测模块从关闭状态切换至开启状态。If the first detection module is not in the working mode, the first detection module is switched to the off state, and the second detection module is switched from the off state to the on state at the same time.
PCT/CN2022/081354 2021-03-18 2022-03-17 Gas detection apparatus and control method therefor WO2022194235A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110288960.2 2021-03-18
CN202110288960.2A CN115112828A (en) 2021-03-18 2021-03-18 Gas detection device and control method thereof

Publications (1)

Publication Number Publication Date
WO2022194235A1 true WO2022194235A1 (en) 2022-09-22

Family

ID=83322092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081354 WO2022194235A1 (en) 2021-03-18 2022-03-17 Gas detection apparatus and control method therefor

Country Status (2)

Country Link
CN (1) CN115112828A (en)
WO (1) WO2022194235A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203630117U (en) * 2013-12-25 2014-06-04 福建优迪电力技术有限公司 SF6 two-path detection system
CN104596972A (en) * 2014-12-31 2015-05-06 聚光科技(杭州)股份有限公司 Double-light source infrared gas sensor and detection method
CN205751162U (en) * 2016-06-14 2016-11-30 西安聚能仪器有限公司 A kind of gas warning system
CN109031939A (en) * 2018-05-03 2018-12-18 珠海格力电器股份有限公司 Primary, spare equipment switching method and device
CN208505953U (en) * 2018-02-06 2019-02-15 深圳市无眼界科技有限公司 Gas concentration detection apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11160267A (en) * 1997-11-27 1999-06-18 Hochiki Corp Gas detector of stress-sensitive film array type
CN202093479U (en) * 2011-04-08 2011-12-28 友懋国际科技股份有限公司 Multi-switching-mode mouse
CN102734899B (en) * 2012-07-16 2014-06-04 海信(山东)空调有限公司 Multi-backup dynamic detection control operation method
CN112378544B (en) * 2020-11-09 2023-05-05 深圳易瓦科技有限公司 Multiplexing detection circuit, connector, monitoring system and electric automobile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203630117U (en) * 2013-12-25 2014-06-04 福建优迪电力技术有限公司 SF6 two-path detection system
CN104596972A (en) * 2014-12-31 2015-05-06 聚光科技(杭州)股份有限公司 Double-light source infrared gas sensor and detection method
CN205751162U (en) * 2016-06-14 2016-11-30 西安聚能仪器有限公司 A kind of gas warning system
CN208505953U (en) * 2018-02-06 2019-02-15 深圳市无眼界科技有限公司 Gas concentration detection apparatus
CN109031939A (en) * 2018-05-03 2018-12-18 珠海格力电器股份有限公司 Primary, spare equipment switching method and device

Also Published As

Publication number Publication date
CN115112828A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
KR101456057B1 (en) wireless sensor network and method for management thereof
CN105242710B (en) Wireless thermostat with twin-stage fail-safe circuit
KR101696443B1 (en) Method for controlling transmissions from a resource-restricted device, and batteryless device
US8982754B2 (en) I/O driven node commissioning in a sleeping mesh network
JP2004355165A (en) Monitor terminal equipment
CN104110747A (en) Split-type air conditioner and starting control method and system of outdoor power source thereof
CN208174746U (en) A kind of controlling terminal and control system
Salameh et al. An end-to-end early warning system based on wireless sensor network for gas leakage detection in industrial facilities
KR101168357B1 (en) A sensor network
KR100984246B1 (en) Method, system, and computer-readable recording medium for supervising real-time fire using zigbee wireless communication
WO2022194235A1 (en) Gas detection apparatus and control method therefor
JP2009049587A (en) Radio communication terminal for extending life of secondary battery, and transmission control program
JP2010032073A (en) Air-conditioning system
JP2011176630A (en) Wireless sensor network terminal
JP6224775B2 (en) ELECTRIC DEVICE, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
CN111090245A (en) Intelligent gas monitoring system
JP2005174058A (en) Domestic information system
JP2004278916A (en) Air-conditioning system
JP2006271068A (en) Battery device
US20200219375A1 (en) Method and apparatus for monitoring building alarm systems
CN113064088B (en) Internet of things device and battery electric quantity detection method
CN107589709A (en) A kind of intelligent household security system
JP6115927B2 (en) ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
CN105722019A (en) Accumulated water detection alarm system and detection method thereof
KR102167424B1 (en) Determining circuit and driving method for dual protection to high temperature

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22770588

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22770588

Country of ref document: EP

Kind code of ref document: A1