Gas safety man-machine interaction system
By designing a gas safety human-computer interaction system, using the timing program and automatic shutdown function, the problem of forgetting to turn off the fire after using the gas stove is solved, improving the safety of gas use and preventing fire accidents.
Patent Information
- Application Number
- CN202410593457.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2025-05-09
AI Technical Summary
The existing gas stove lacks effective solutions when forgetting to turn off the fire after using the fire, which leads to an increase in the risk of fire accidents and affects gas safety.
A gas-safe human-computer interaction system is designed, including an electrically controlled gas valve, a microprocessor system, a detection system and a control software system. The system detects gas flow, triggers the timing program, issues a prompt sound, and automatically closes the electrically controlled air valve after the set time to prevent fire.
It effectively prevents fire accidents caused by forgetting to turn off the fire, improves the safety of gas use, and protects the safety of people's lives and property.
Smart Images

Figure CN119960337A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of gas technology, in particular to gas safety. Background Art
[0003] At present, gas stoves generally have the function of flameout and gas cut-off protection, but there is no corresponding technical solution for forgetting to turn off the fire in time after using it. If you forget to turn off the fire and go out to do things, it is bound to cause more serious fire accidents, resulting in the consumption of social resources and affecting social security. Therefore, it is urgent to solve the gas safety problem caused by forgetting to turn off the fire. Summary of the invention
[0004] The purpose of the present invention is to provide a gas safety human-computer interaction system to solve at least one of the above technical problems.
[0005] The technical problem solved by the present invention can be achieved by adopting the following technical solutions:
[0006] A gas safety human-computer interaction system includes an electric-controlled gas valve and a microprocessor system. The electric-controlled gas valve has a control signal input terminal. The control output port of the microprocessor system can be controllably connected to the control signal input terminal of the electric-controlled gas valve. The microprocessor system is associated with a speaker.
[0007] Also included is a detection system, which includes a detection device for detecting gas flow and a detection signal output interface;
[0008] The detection signal output interface is connected to the signal input port of the microprocessor system;
[0009] It also includes a control software system running in the microprocessor system, the control software system includes a timing program, called a first timing program, the first timing program is set with a set duration, and the microprocessor system triggers the first timing program to run after receiving a valid signal sent by the detection system;
[0010] The control software system also includes a second timing program, which is set with a set duration. When the first timing program reaches the set duration, the second timing program is triggered to start timing;
[0011] After the first timing program runs to the set time, the speaker is controlled to sound;
[0012] After the second timing program runs to the set time, the electric control gas valve is controlled to close;
[0013] The microprocessor system is also associated with a control signal input device, which triggers the control software system to at least return to the re-timing operation stage of the first timing program after receiving a valid signal.
[0014] The above design constitutes a human-computer interaction system for controlling gas safety.
[0015] In this system, a detection system for detecting gas flow is provided. When the detection device detects that the gas is flowing, the detection system sends a detection signal to the microprocessor system, and the microprocessor system triggers the first timing program. If it is detected that the gas stops flowing during the timing process, the timing stops and the microprocessor system resets and stands by.
[0016] During the timing process, the microprocessor system interacts with the user by sending out a prompt tone through the speaker to remind the user that gas is in use, thereby preventing the user from forgetting and causing a safety hazard of fire.
[0017] When the timing reaches the set time and the gas is still in use, the control software system gives a voice prompt through the speaker, waiting for the user to take action through the control signal input device. If the user does not give any action instructions, the system will control the closing of the electric gas valve and cut off the gas channel after the second timing program reaches the set time, thereby preventing fire caused by the user forgetting to turn off the fire.
[0018] Furthermore, the microprocessor system is provided with a port for controlling the reset of the control software system, called a reset port; the control signal input device includes a reset switch connected to the reset port; after the reset switch is triggered, the microprocessor system is reset, thereby triggering the opening of the electric-controlled gas valve.
[0019] In the present invention, the reset switch is used as an input device in human-computer interaction to receive the user's reset operation. The reset switch has a one-level signal connected to the reset port of the microprocessor system. When the reset switch outputs a signal to the microprocessor system, the microprocessor system triggers the control software system to execute the reset operation program. The reset operation program turns off the control of the electric-controlled gas valve and keeps the electric-controlled gas valve open.
[0020] Furthermore, the control signal input device includes a microphone; the microphone signal is connected to a speech recognition system; the speech recognition system can be a hardware system or a software system;
[0021] The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction. The closing control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the closing control instruction of the control software system after receiving the setting statement.
[0022] The control software system is provided with a control instruction for opening the electric-controlled gas valve, which is called an opening control instruction. The opening control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the opening control instruction of the control software system after receiving the setting statement.
[0023] The control software system is provided with a re-timing instruction for re-triggering the running of the first timing program, which is associated with a setting statement in the speech recognition system. The speech recognition system triggers the re-timing instruction of the control software system after receiving the setting statement.
[0024] In this design, the control signal input device also includes a microphone connected to the voice recognition system, which further enriches the interactive capabilities of the gas safety human-computer interaction system. The voice recognition system obtains external voices through the microphone. If the set voice is captured and recognized by the voice recognition system, the voice recognition system will send the coded signal of the set voice to the voice recognition signal input interface of the microprocessor system. The microprocessor system can determine what set voice is received based on the coded signal sent by the voice recognition signal, and then execute the operation instructions associated with the set voice. The set voice can be set to voices similar to the following:
[0025] 1. Mute: turn off the prompt sound during the countdown process;
[0026] 2. Prompt: Enable the prompt sound during the countdown process;
[0027] 3. Continue: trigger the control software system to return to the first timing program and restart the timing operation;
[0028] 4. Shutdown: trigger the microprocessor system to execute the shutdown control instruction;
[0029] 5. Activation: trigger the microprocessor system to execute the activation control instruction.
[0030] The microphone adopts a condenser microphone, which has high sensitivity and can capture delicate, high-frequency sounds. In the application scenario of the present invention, it can capture subtle human voices, which has the beneficial effect of improving the user's application experience.
[0031] Furthermore, a manual timer is provided, the manual timer includes a setting device for setting the timing duration, and is also provided with an electrical signal output terminal; the electrical signal output terminal is connected to a signal input terminal of the microprocessor system;
[0032] The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction;
[0033] The input signal of the signal input terminal is associated with the shutdown control instruction in the control software system;
[0034] When the manual timer reaches the manually set time, the electrical signal output terminal outputs a control signal to the microprocessor system. After the control software system receives the signal, it triggers the closing control command to close the electric control gas valve.
[0035] In this design, the manual timer is another human-computer interaction device. The setting device adopts a knob switch. The operation of the knob switch is intuitive and simple. The gas user actively presets the usage time of this gas by turning the knob switch. When the microprocessor system receives the timed start signal sent by the manual timer, the microprocessor system reads the signal sent by the manual timer that the timing reaches the set time. After reading the signal, the microprocessor system triggers the control software system to execute the shutdown control instruction, and actively ends the process of this timed gas use. Through this human-computer interaction mode, the problem of forgetting to turn off the gas is solved, the safety of gas use is improved, fire accidents are prevented, and people’s lives and property are protected.
[0036] Furthermore, the detection device includes a rotatable rotating door panel arranged in the gas pipeline and blocking the gas flow; in front of the opening direction of the rotating door panel, a trigger switch for detecting the opening of the rotating door panel is also provided, and the signal output port of the trigger switch serves as a detection signal output interface.
[0037] In the present invention, whether the gas is in use is determined by detecting whether the rotating door panel is deflected. In this design, a rotating door panel is set in the gas channel. When the gas flow flows, it will push the rotating door panel to deflect. After the trigger switch detects the deflection of the rotating door panel, it sends a switch signal to the microprocessor system, and the microprocessor system triggers the control software system to start the first timing program.
[0038] For further optimization, the trigger switch adopts an infrared photoelectric switch. The infrared ray emitted by the infrared photoelectric switch remains parallel to the rotating door panel when it is not rotated, and the parallel distance is 2 to 5 mm. The rotating door panel returns to the shielding position after the gas flow stops flowing under the action of its own weight or elastic parts.
[0039] In this design, the trigger switch uses an infrared photoelectric switch. The infrared photoelectric switch has two types: the beam type and the reflective type. When the rotating door panel is in the shielding position, the infrared light emitted by the infrared photoelectric switch is parallel to the rotating door panel, and the parallel distance is extremely short, not exceeding 5mm. When the gas is used, the air pressure of the gas flow drives the rotating door panel to deflect, and the deflected door panel will block or reflect the infrared light, thereby triggering the infrared photoelectric switch to detect the signal of gas use. The signal is sent to the signal input end of the microprocessor system. The microprocessor system triggers the control software system to start the first timing program and start timing the duration of gas use. By timing the duration of gas use, the purpose of solving the problem of forgetting to turn off the gas is achieved, so as to improve the safety of gas use, reduce fire accidents, and protect people's lives and property safety.
[0040] In the present design, the elastic member that causes the rotating door panel to return to the shielding position can be a torsion spring, a tension spring or other elastic member.
[0041] Furthermore, the microprocessor system is also associated with a wireless communication module, which is a module for wirelessly connecting to a mobile network and is used for the microprocessor system to send messages to the mobile network.
[0042] This solution realizes the information linkage between the gas safety human-computer interaction system and the mobile phone terminal, and enhances the instant communication capability in human-computer interaction. A wireless communication module is introduced in this design. The wireless communication module and the microprocessor of the microprocessor system are connected by a full-duplex serial port. The microprocessor system interacts with the wireless communication module through AT commands, and then sends the gas usage information to the network server through the wireless communication module. The mobile phone APP interacts with the network server and can instantly obtain the gas usage information sent by the microprocessor system. This design realizes human-computer interaction through a mobile phone APP. This mode realizes the timely push of gas usage information, helps gas users to learn about gas usage in a timely manner, and indirectly reminds gas users to turn off the fire in time to prevent fires caused by forgetting to turn off the fire.
[0043] Further optimization includes a shell and a panel, the panel covers the shell; the electric control gas valve and the microprocessor system are arranged in the shell; the front of the panel is provided with a setting device and a reset switch of the manual timer.
[0044] In the present invention, a mounting device is provided, wherein the electric control gas valve and the microprocessor system are placed in the housing, and the devices requiring human-machine interaction, such as a timer and a reset switch, are placed on the panel, and the speaker and the microphone can be installed in a specially arranged cavity on the back of the panel, and the cavity and the front of the panel have air vents, through which the sound of the speaker can be emitted, and the microphone can receive sound. The various parts of the present invention are integrated into one device through the mounting device, which facilitates the installation and use of the present invention.
[0045] A status indicator light can also be set on the panel. The status indicator light adopts a red and green color display scheme. By setting the status indicator light on the panel, the current state of the present invention can be prominently displayed. The status indicator light has two colors. Red indicates that the current electric control gas valve is in a closed state, and the microprocessor system is to be reset; green indicates that the electric control gas valve is in an open state, and the microprocessor system is in a standby state. By setting the status indicator light, the display effect of the status information in the human-computer interaction process is enhanced, and the user of the system can make subsequent operation choices according to the situation of the status indicator light.
[0046] The gas safety human-machine interaction method is applicable to the gas safety human-machine interaction system, and the gas safety human-machine interaction system opens the electric control gas valve when it is in standby mode;
[0047] After receiving the valid signal sent by the detection system, the microprocessor system triggers the first timing program to execute the following steps:
[0048] S100, detection device triggering: triggering the first timing program, setting the timing duration to n1, and controlling the speaker to give a sound prompt tone;
[0049] S110, first timing wait: after a delay of d1, the speaker emits a prompt tone, and S110 is repeatedly executed until the timing reaches the set time;
[0050] S120, the first timing is reached: the speaker sends a voice prompt, triggering the second timing program to run, and the second timing program is set to a duration of n2;
[0051] S130, second timing waiting: after a delay of d2, the speaker emits a prompt tone, and the second timing waiting of S130 is repeatedly executed until the timing reaches the set time;
[0052] S140, the second timing is reached: close the electric control gas valve;
[0053] After the control signal input device receives a valid signal, the following process steps are triggered:
[0054] S150, execute voice recognition command: This step only executes the following set voice command, and other voice recognition commands are not executed:
[0055] Open control command: keep the electric control gas valve open and set the status indicator light to green;
[0056] Close control command: execute step S140;
[0057] Re-timing instruction: execute step S100;
[0058] The reset switch triggers the reset function of the microprocessor system, which performs the following steps:
[0059] S200, resetting during operation: if the countdown is in operation, execute step S100;
[0060] S210, reset after closing: If the electric-controlled gas valve is in the closed state, execute the opening control instruction.
[0061] In this design, the microprocessor system is in a standby state before responding to an external signal input. In the standby state, the electronically controlled gas valve is opened.
[0062] The process of the microprocessor system responding to the detection signal of the detection system is as follows:
[0063] First, the software control system starts the first timing program, the duration of the first timing is set to n1, and a prompt sound is issued through the speaker at the same time, and the prompt sound is the interactive output information in the human-computer interaction.
[0064] Afterwards, the control software system waits for the first timing program to reach the set time. During the timing waiting process, a prompt sound is issued through the speaker after every d1 time. The beneficial effect of the prompt sound is that on the one hand, it reminds gas users that the gas is in use and not to forget to turn off the fire in time; on the other hand, it also indicates that the gas is in normal use and no unexpected situations such as flameout have occurred.
[0065] Finally, when the first timing program reaches the set duration, the control software system makes interactive information of voice prompts through the speaker. After the prompt is completed, the control software system starts the second timing program. The set duration of the second timing program is n2. During the timing waiting process of the second timing program, the control software system sends a prompt tone through the speaker every d2 time to remind people to confirm in time.
[0066] If an operation instruction of a set voice is received through the voice recognition system before the second timing program reaches the set duration, the subsequent operations will be performed according to the set voice. The set voices acceptable to the voice recognition system include opening command, closing command and re-timing command. The re-timing command makes the control software system return to the first timing program and restart the timing operation; the closing command executes the closing of the electric-controlled gas valve.
[0067] When the second timing program reaches the set time, the control software system executes the shutdown command.
[0068] The process of the microprocessor system responding to the switch signal of the reset switch is as follows:
[0069] First, determine whether the first timing program or the second timing program is in operation. If both timing programs are in operation, it means that the electric-controlled gas valve is not closed. At this time, the control software system executes a re-timing command.
[0070] Finally, check the status of the electric control gas valve. If the electric control gas valve is closed, open the electric control gas valve and reset the microprocessor system to standby.
[0071] More preferably, n1 is 30 minutes, d1 is 1 minute, n2 is 10 seconds, and d2 is 2 seconds.
[0072] In this design, the gas usage timer is set to 30 minutes, and a reminder is given every 1 minute through the human-computer interaction device. The timer is set to 30 minutes because if the time is set too long, the probability of fire will increase if the situation of forgetting to turn off the fire really occurs.
[0073] The time for delayed confirmation of gas is 10 seconds, and the human-computer interaction device will remind you every 2 seconds. The delayed confirmation time setting of 10 seconds is enough for users to make delayed confirmation, and the reminder every 2 seconds is to remind users to make faster and more timely responses.
[0074] The present invention detects whether the gas is in use through a detection system, and then triggers the first timing program to run after the gas use starts, and times the gas use time. During the timing period, human-computer interaction is performed with the user through facilities such as a speaker, a microphone, a connected voice recognition system, and a wireless communication module. Through a variety of human-computer interaction measures, safe monitoring of the gas is achieved. If the human-computer interaction facility cannot obtain an interactive response from the user, it is determined that the current gas use is in a state of forgetting to turn off the fire, and the control software system actively closes the gas channel through an electrically controlled gas valve, thereby achieving the purpose of solving the problem of forgetting to turn off the gas, thereby ensuring the safety of gas use, reducing fire accidents, and protecting people's lives and property.
[0075] Its beneficial effect also lies in that the detection device determines whether the gas is in a flowing state by utilizing whether the rotating door plate is deflected. This method has a simple structure and high detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0077] Figure 1 It is a control system structure diagram of the present invention;
[0078] Figure 2 is a schematic diagram of a gas flow detection device of the present invention; Figure 3 is a schematic diagram of the appearance of the installation device of the present invention; Figure 4 It is a flow chart of the human-computer interaction method of the present invention.
[0079] Explanation of symbols:
[0080] 1. Rotate the door panel; 2. Infrared photoelectric switch; 3. Knob switch; 4. Speaker; 5. Microphone; 6. Reset switch. DETAILED DESCRIPTION
[0081] In order to make the above-mentioned objects, features and advantages of the present invention more clearly understood, the specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings.
[0082] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0083] Secondly, the present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0084] Furthermore, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
[0085] Reference Figure 1 As shown, the gas safety human-computer interaction system includes an electric control gas valve and a microprocessor system. The electric control gas valve has a control signal input terminal. The control output port of the microprocessor system can be controllably connected to the control signal input terminal of the electric control gas valve. The microprocessor system is associated with a speaker 4.
[0086] Also included is a detection system, which includes a detection device for detecting gas flow and a detection signal output interface;
[0087] The detection signal output interface is connected to the signal input port of the microprocessor system;
[0088] It also includes a control software system running in the microprocessor system, the control software system includes a timing program, called a first timing program, the first timing program is set with a set duration, and the microprocessor system triggers the first timing program to run after receiving a valid signal sent by the detection system;
[0089] The control software system also includes a second timing program, which is set with a set duration. When the first timing program reaches the set duration, the second timing program is triggered to start timing;
[0090] After the first timing program runs to the set time, the speaker 4 is controlled to sound;
[0091] After the second timing program runs to the set time, the electric control gas valve is controlled to close;
[0092] The microprocessor system is also associated with a control signal input device, which triggers the control software system to at least return to the re-timing operation stage of the first timing program after receiving a valid signal.
[0093] The above design constitutes a human-computer interaction system for controlling gas safety.
[0094] In this system, a detection system for detecting gas flow is provided. When the detection device detects that the gas is flowing, the detection system sends a detection signal to the microprocessor system, and the microprocessor system triggers the first timing program. If it is detected that the gas stops flowing during the timing process, the timing stops and the microprocessor system resets and stands by.
[0095] During the timing process, the microprocessor system interacts with the user by sending a reminder sound through the speaker 4 to remind the user that the gas is in use, so as to prevent the user from forgetting and causing a potential safety hazard of fire.
[0096] When the timing reaches the set time and the gas is still in use, the control software system gives a voice prompt through the speaker 4, waiting for the user to take action through the control signal input device. If the user does not give a disposal instruction, the system will control the closing of the electric control gas valve and cut off the gas channel after the second timing program reaches the set time, so as to prevent fire caused by the user forgetting to turn off the fire.
[0097] In this embodiment, the microprocessor can adopt the MCS-51 single-chip microcomputer series. The MCS-51 single-chip microcomputer series is an integrated circuit chip that uses ultra-large-scale integrated circuit technology to integrate a central processing unit CPU with data processing capabilities, random access memory RAM, read-only memory ROM, multiple I / O ports and interrupt systems, timers / counters and other functions (which may also include display drive circuits, pulse width modulation circuits, analog multiplexers, A / D converters and other circuits) on a silicon chip to form a small and complete computer system. The MCS-51 single-chip microcomputer series is low-cost, stable and reliable, suitable for scenarios that do not require high-speed processors, and can meet the functional requirements of the gas safety interactive system for microprocessors.
[0098] In this embodiment, the loudspeaker 4 is a dynamic loudspeaker 4, which has good electroacoustic performance, a firm structure, and low cost, and has a volume loud enough to serve as a reminder of gas usage.
[0099] The microprocessor system is provided with a port for controlling the reset of the control software system, called a reset port; the control signal input device includes a reset switch 6 connected to the reset port; after the reset switch 6 is triggered, the microprocessor system is reset, thereby triggering the opening of the electric control gas valve.
[0100] In this embodiment, the reset switch 6 is used as an input device in human-computer interaction to receive the user's reset operation. The reset switch 6 has a one-level signal and is connected to the reset port of the microprocessor system. When the reset switch 6 outputs a signal to the microprocessor system, the microprocessor system triggers the control software system to execute the reset operation program. The reset operation program turns off the control of the electronically controlled gas valve and keeps the electronically controlled gas valve open.
[0101] The control signal input device includes a microphone 5; the microphone 5 signal is connected to a speech recognition system; the speech recognition system can be a hardware system or a software system;
[0102] The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction. The closing control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the closing control instruction of the control software system after receiving the setting statement.
[0103] The control software system is provided with a control instruction for opening the electric-controlled gas valve, which is called an opening control instruction. The opening control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the opening control instruction of the control software system after receiving the setting statement.
[0104] The control software system is provided with a re-timing instruction for re-triggering the running of the first timing program, which is associated with a setting statement in the speech recognition system. The speech recognition system triggers the re-timing instruction of the control software system after receiving the setting statement.
[0105] In this design, the control signal input device also includes a microphone 5 connected to a voice recognition system, which further enriches the interactive capabilities of the gas safety human-computer interaction system. The voice recognition system obtains external voices through the microphone 5. If the set voice is captured and recognized by the voice recognition system, the voice recognition system will send a coded signal of the set voice to the voice recognition signal input interface of the microprocessor system. The microprocessor system can determine what set voice is received based on the coded signal sent by the voice recognition signal, and then execute the operation instructions associated with the set voice. The set voice can be set to voices similar to the following:
[0106] 1. Mute: turn off the prompt sound during the countdown process;
[0107] 2. Prompt: Enable the prompt sound during the countdown process;
[0108] 3. Continue: trigger the control software system to return to the first timing program and restart the timing operation;
[0109] 4. Shutdown: trigger the microprocessor system to execute the shutdown control instruction;
[0110] 5. Activation: trigger the microprocessor system to execute the activation control instruction.
[0111] Microphone 5 is a condenser microphone, which has high sensitivity and can capture delicate, high-frequency sounds. In the application scenario of the present invention, it can capture subtle human voices, which has the beneficial effect of improving the user's application experience.
[0112] The recognition chip of the speech recognition system of the hardware system adopts the one-time programmable speech chip WTN6 series. In this embodiment, the speech to be recognized is preset in advance, so the one-time programmable speech chip is adopted, which has the beneficial effects of low cost and high operation stability.
[0113] A manual timer is also provided, the manual timer includes a setting device for setting the timing duration, and is also provided with an electrical signal output terminal; the electrical signal output terminal is connected to a signal input terminal of the microprocessor system;
[0114] The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction; the input signal of the signal input terminal is associated with the closing control instruction in the control software system;
[0115] When the manual timer reaches the manually set time, the electrical signal output terminal outputs a control signal to the microprocessor system. After the control software system receives the signal, it triggers the closing control command to close the electric control gas valve.
[0116] In this embodiment, the manual timer is another human-machine interaction device. The setting device adopts a knob switch 3. The operation of the knob switch 3 is intuitive and simple. The gas user actively presets the usage time of this gas by turning the knob switch 3. When the microprocessor system receives the timed start signal sent by the manual timer, the microprocessor system reads the signal sent by the manual timer that the timing reaches the set time. After reading the signal, the microprocessor system triggers the control software system to execute the shutdown control instruction, and actively ends the process of this timed gas use. Through this human-machine interaction mode, the problem of forgetting to turn off the gas is solved, the safety of gas use is improved, fire accidents are prevented, and people's lives and property safety are protected.
[0117] Reference Figure 2 As shown, the detection device includes a rotatable rotating door panel 1 arranged in the gas pipeline and blocking the gas flow; in front of the opening direction of the rotating door panel 1, a trigger switch for detecting the opening of the rotating door panel 1 is also arranged, and the signal output port of the trigger switch serves as a detection signal output interface.
[0118] In this embodiment, whether the gas is in use is determined by detecting whether the rotating door panel 1 is deflected. In this design, a rotating door panel 1 is set in the gas channel. When the gas flow flows, it will push the rotating door panel 1 to deflect. After the trigger switch detects the deflection of the rotating door panel 1, it sends a switch signal to the microprocessor system. The microprocessor system triggers the control software system to start the first timing program and start monitoring the duration of gas use. By monitoring the duration of gas use, the purpose of forgetting to turn off the gas is solved, so as to improve the safety of gas use, reduce fire accidents, and protect people's lives and property safety.
[0119] The trigger switch adopts an infrared photoelectric switch 2. The infrared ray emitted by the infrared photoelectric switch 2 remains parallel to the rotating door panel 1 when it is not rotated, and the parallel distance is 2 to 5 mm. The rotating door panel 1 returns to the shielding position after the gas flow stops flowing under the action of its own weight or elastic parts.
[0120] In this design, the trigger switch uses an infrared photoelectric switch 2, which has a beam type and a reflective type. When the rotating door panel 1 is in the shielding position, the infrared light emitted by the infrared photoelectric switch 2 is parallel to the rotating door panel 1, and the parallel distance is extremely short, not exceeding 5mm. When the gas is used, the gas pressure of the gas flow drives the rotating door panel 1 to deflect, and the deflected door panel will block or reflect the infrared light, thereby triggering the infrared photoelectric switch 2 to detect the signal of gas use, which is sent to the signal input end of the microprocessor system, and the microprocessor system triggers the control software system to start the first timing program.
[0121] In this embodiment, the elastic member that prompts the rotating door panel 1 to return to the shielding position can be a torsion spring, a tension spring or other elastic member.
[0122] The microprocessor system is also associated with a wireless communication module, which is a module for wirelessly connecting to a mobile network and is used for the microprocessor system to send messages to the mobile network.
[0123] This embodiment realizes the information linkage between the gas safety human-computer interaction system and the mobile phone terminal, and enhances the instant communication capability in human-computer interaction. A wireless communication module is introduced in this design. The wireless communication module and the microprocessor of the microprocessor system are connected by a full-duplex serial port. The microprocessor system interacts with the wireless communication module through AT commands, and then sends the gas usage information to the network server through the wireless communication module. The mobile phone APP interacts with the network server and can instantly obtain the gas usage information sent by the microprocessor system. This design realizes human-computer interaction through a mobile phone APP. This mode realizes the timely push of gas usage information, helps gas users to timely learn about gas usage, and indirectly reminds gas users to turn off the fire in time to prevent fires caused by forgetting to turn off the fire.
[0124] In this embodiment, the wireless communication module uses the esp8266WiFi module. The esp8266WiFi module has low cost, high integration, and supports multiple network protocols. The microprocessor system can use the MQTT (Message QueuingTelemetry Transport) protocol to send gas usage information to the network server. The mobile phone obtains the message queue received on the network server through the mobile phone APP and displays the gas information on the mobile phone, thereby completing the information interaction between remote devices.
[0125] Reference Figure 3 As shown, it includes a shell and a panel, the panel covers the shell; the electric control gas valve and the microprocessor system are arranged in the shell; the setting device of the manual timer and the reset switch 6 are arranged on the front of the panel.
[0126] In this embodiment, a mounting device is provided, the electric control gas valve and the microprocessor system are placed in the housing, the devices that need human-computer interaction, such as the timer, the reset switch 6, etc. are placed on the panel, the speaker 4 and the microphone 5 can be installed in a specially set cavity on the back of the panel, and there are air vents on the cavity and the front of the panel, the sound of the speaker 4 can be emitted through the air vents, and the microphone 5 can receive the sound through the air vents. The various parts of the present invention are integrated into one device through the mounting device, which is convenient for the installation and use of the present invention.
[0127] A status indicator light can also be set on the panel. The status indicator light adopts a red and green color display scheme. By setting the status indicator light on the panel, the current state of the present invention can be prominently displayed. The status indicator light has two colors. Red indicates that the current electric control gas valve is in a closed state, and the microprocessor system is to be reset; green indicates that the electric control gas valve is in an open state, and the microprocessor system is in a standby state. By setting the status indicator light, the display effect of the status information in the human-computer interaction process is enhanced, and the user of the system can make subsequent operation choices according to the situation of the status indicator light.
[0128] Reference Figure 4 As shown, the gas safety human-computer interaction method is applicable to the gas safety human-computer interaction system, and the gas safety human-computer interaction system opens the electric control gas valve when it is in standby mode;
[0129] After receiving the valid signal sent by the detection system, the microprocessor system triggers the first timing program to execute the following steps:
[0130] S100, detection device triggering: triggering the first timing program, setting the timing duration to n1, and controlling the speaker 4 to give a sound prompt tone;
[0131] S110, first timing wait: after a delay of d1, the speaker 4 emits a prompt tone, and S110 is repeatedly executed until the timing reaches the set time;
[0132] S120, the first timing is reached: the speaker 4 sends a voice prompt, triggering the second timing program to run, and the second timing program is set to a duration of n2;
[0133] S130, second timing waiting: after a delay of d2, the speaker 4 emits a prompt tone, and the second timing waiting of S130 is repeatedly executed until the timing reaches the set time length;
[0134] S140, the second timing is reached: close the electric control gas valve;
[0135] After the control signal input device receives a valid signal, the following process steps are triggered:
[0136] S150, execute voice recognition command: This step only executes the following set voice command, and other voice recognition commands are not executed:
[0137] Open control command: keep the electric control gas valve open and set the status indicator light to green;
[0138] Close control command: execute step S140;
[0139] Re-timing instruction: execute step S100;
[0140] The reset switch 6 triggers the reset function of the microprocessor system, and the reset function performs the following steps:
[0141] S200, resetting during operation: if the countdown is in operation, execute step S100;
[0142] S210, reset after closing: If the electric-controlled gas valve is in the closed state, execute the opening control instruction.
[0143] In this design, the microprocessor system is in a standby state before responding to an external signal input. In the standby state, the electronically controlled gas valve is opened.
[0144] The process of the microprocessor system responding to the detection signal of the detection system is as follows:
[0145] First, the software control system starts the first timing program, the duration of the first timing is set to n1, and at the same time a prompt sound is issued through the speaker 4, the prompt sound is the interactive output information in the human-computer interaction.
[0146] Afterwards, the control software system waits for the first timing program to reach the set time. During the timing waiting process, a prompt sound is issued through the speaker 4 after every d1 time. The beneficial effect of the prompt sound is that on the one hand, it reminds the gas user that the gas is in use and not to forget to turn off the fire in time; on the other hand, it also indicates that the gas is in normal use and no unexpected situations such as flameout have occurred.
[0147] Finally, when the first timing program reaches the set duration, the control software system makes interactive information of voice prompts through speaker 4. After the prompt is completed, the control software system starts the second timing program. The set duration of the second timing program is n2. During the timing waiting process of the second timing program, the control software system sends a prompt tone through speaker 4 every d2 time to remind people to make confirmation in time.
[0148] If an operation instruction of a set voice is received through the voice recognition system before the second timing program reaches the set duration, the subsequent operations will be performed according to the set voice. The set voices acceptable to the voice recognition system include opening command, closing command and re-timing command. The re-timing command makes the control software system return to the first timing program and restart the timing operation; the closing command executes the closing of the electric-controlled gas valve.
[0149] When the second timing program reaches the set time, the control software system executes the shutdown command.
[0150] The process of the microprocessor system responding to the switch signal of the reset switch 6 is as follows:
[0151] First, determine whether the first timing program or the second timing program is in operation. If both timing programs are in operation, it means that the electric-controlled gas valve is not closed. At this time, the control software system executes a re-timing command.
[0152] Finally, check the status of the electric control gas valve. If the electric control gas valve is closed, open the electric control gas valve and reset the microprocessor system to standby.
[0153] n1 uses 30 minutes, d1 uses 1 minute, n2 uses 10 seconds, and d2 uses 2 seconds.
[0154] In this design, the gas usage timer is set to 30 minutes, and a reminder is given every 1 minute through the human-computer interaction device. The timer is set to 30 minutes because if the time is set too long, the probability of fire will increase if the situation of forgetting to turn off the fire really occurs.
[0155] The time for delayed confirmation of gas is 10 seconds, and the human-computer interaction device will remind you every 2 seconds. The delayed confirmation time setting of 10 seconds is enough for users to make delayed confirmation, and the reminder every 2 seconds is to remind users to make faster and more timely responses.
[0156] Furthermore, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment may not be described, ie, those features that are not relevant to the best mode of the invention or those features that are not relevant to implementing the invention.
[0157] It should be understood that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but for those of ordinary skill having the benefit of this disclosure, the development effort will be a routine task of design, fabrication, and production without undue experimentation.
[0158] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A gas safety human-computer interaction system, comprising an electric-controlled gas valve and a microprocessor system, wherein the electric-controlled gas valve has a control signal input terminal, and a control output port of the microprocessor system can be controllably connected to the control signal input terminal of the electric-controlled gas valve, characterized in that: The microprocessor system is associated with a speaker; Also included is a detection system, which includes a detection device for detecting gas flow and a detection signal output interface; The detection signal output interface is connected to the signal input port of the microprocessor system; It also includes a control software system running in the microprocessor system, the control software system includes a timing program, called a first timing program, the first timing program is set with a set duration, and the microprocessor system triggers the first timing program to run after receiving a valid signal sent by the detection system; The control software system also includes a second timing program, which is set with a set duration. When the first timing program reaches the set duration, the second timing program is triggered to start timing; After the first timing program runs to the set time, the speaker is controlled to sound; After the second timing program runs to the set time, the electric control gas valve is controlled to close; The microprocessor system is also associated with a control signal input device, which triggers the control software system to at least return to the re-timing operation stage of the first timing program after receiving a valid signal.
2. The gas safety human-computer interaction system according to claim 1 is characterized in that: The microprocessor system is provided with a port for controlling the reset of the control software system, which is called a reset port; The control signal input device includes a reset switch connected to the reset port; After the reset switch is triggered, the microprocessor system is reset, thereby triggering the opening of the electronically controlled gas valve.
3. The gas safety human-computer interaction system according to claim 1 is characterized in that: The control signal input device includes a microphone; The microphone signal is connected to a speech recognition system, and the speech recognition system may be a hardware system or a software system; The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction. The closing control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the closing control instruction of the control software system after receiving the setting statement. The control software system is provided with a control instruction for opening the electric-controlled gas valve, which is called an opening control instruction. The opening control instruction is associated with a setting statement in the voice recognition system. The voice recognition system triggers the opening control instruction of the control software system after receiving the setting statement. The control software system is provided with a re-timing instruction for re-triggering the running of the first timing program, which is associated with a setting statement in the speech recognition system. The speech recognition system triggers the re-timing instruction of the control software system after receiving the setting statement.
4. The gas safety human-computer interaction system according to claim 1 is characterized in that: A manual timer is also provided, the manual timer includes a setting device for setting the timing duration, and is also provided with an electrical signal output terminal; The electrical signal output terminal is connected to a signal input terminal of the microprocessor system; The control software system is provided with a control instruction for closing the electric-controlled gas valve, which is called a closing control instruction; The input signal of the signal input terminal is associated with the shutdown control instruction in the control software system; When the manual timer reaches the manually set time, the electrical signal output terminal outputs a control signal to the microprocessor system. After the control software system receives the signal, it triggers the closing control command to close the electric control gas valve.
5. The gas safety human-computer interaction system according to claim 1 is characterized in that: The detection device comprises a rotatable door panel disposed in the gas pipeline and shielding the gas flow; A trigger switch for detecting the opening of the rotating door panel is also arranged in front of the rotating door panel in the opening direction, and the signal output port of the trigger switch serves as a detection signal output interface.
6. The gas safety human-computer interaction system according to claim 5 is characterized in that: The trigger switch uses an infrared photoelectric switch. The infrared light emitted by the infrared photoelectric switch is parallel to the rotating door panel when it is not rotating, and the parallel distance is 2 to 5 mm. The rotating door panel returns to the shielding position under the action of its own weight or elastic member after the gas flow stops flowing.
7. The gas safety human-computer interaction system according to claim 1 is characterized in that: The microprocessor system is also associated with a wireless communication module, which is a module for wirelessly connecting to a mobile network and is used for the microprocessor system to send messages to the mobile network.
8. The gas safety human-computer interaction system according to any one of claims 1 to 7, characterized in that: It includes a shell and a panel, wherein the panel covers the shell; The electric-controlled gas valve and the microprocessor system are arranged in the housing; The manual timer setting device and reset switch are set on the front of the panel.
9. A gas safety human-computer interaction method, applicable to the gas safety human-computer interaction system according to any one of claims 1 to 8, characterized in that: The gas safety human-machine interaction system opens the electric control gas valve when it is in standby mode; After receiving the valid signal sent by the detection system, the microprocessor system triggers the first timing program to execute the following steps: S100, detection device triggering: triggering the first timing program, setting the timing duration to n1, and controlling the speaker to give a sound prompt tone; S110, first timing wait: after a delay of d1, the speaker emits a prompt tone, and S110 is repeatedly executed until the timing reaches the set time; S120, the first timing is reached: the speaker sends a voice prompt, triggering the second timing program to run, and the second timing program is set to a duration of n2; S130, second timing waiting: after a delay of d2, the speaker emits a prompt tone, and the second timing waiting of S130 is repeatedly executed until the timing reaches the set time; S140, the second timing is reached: close the electric control gas valve; After the control signal input device receives a valid signal, the following process steps are triggered: S150, execute voice recognition command: This step only executes the following set voice command, and other voice recognition commands are not executed: Open control command: keep the electric control gas valve open and set the status indicator light to green; Close control command: execute step S140; Re-timing instruction: execute step S100; The reset switch triggers the reset function of the microprocessor system, which performs the following steps: S200, resetting during operation: if the countdown is in operation, execute step S100; S210, reset after closing: If the electric-controlled gas valve is in the closed state, execute the opening control instruction.
10. The gas safety human-computer interaction method according to claim 9, characterized in that: n1 uses 30 minutes, d1 uses 1 minute, n2 uses 10 seconds, and d2 uses 2 seconds.