A gas detector and a control method thereof
By integrating multiple sensors and communication modules, the gas detector solves the problems of limited monitoring dimensions and unstable data transmission in traditional gas detectors, achieving more comprehensive detection and stable data transmission, making it suitable for complex environments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 深圳君正时代集成电路有限公司
- Filing Date
- 2026-04-03
- Publication Date
- 2026-05-29
AI Technical Summary
Traditional gas detectors have a single monitoring dimension, and the detection results are easily affected by environmental changes. In addition, the data transmission method is limited and is easily interrupted or lost in electromagnetic interference or no signal environment.
It integrates an ambient light sensor, a temperature and humidity sensor, a gas sensor, and multiple communication modules. It adopts a wired transmission method and combines WIFI_BT and cellular communication modules to achieve multi-parameter collaborative detection and stable data transmission.
It enriches the monitoring dimensions of gas detection, improves the comprehensiveness and accuracy of detection, and ensures the stability and reliability of data transmission through wired transmission, adapting to the communication needs in complex environments.
Smart Images

Figure CN122108269A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gas detection technology, and in particular to a gas detector and its control method. Background Technology
[0002] With the continuous advancement of modern technology and the rapid development of fields such as industrial production, urban security, and environmental monitoring, gas detectors have become key equipment for ensuring safety in production and daily life, and are widely used in many scenarios such as industrial operations, environmental monitoring, and civilian security. This equipment can effectively monitor the concentration of toxic, harmful, flammable, and explosive gases in the air, providing immediate warnings of exceeding standards. It offers crucial technical support for preventing safety accidents caused by gas leaks and protecting the safety of personnel and the environment, playing an indispensable role in ensuring safety in practical applications.
[0003] However, traditional gas detectors have a single monitoring dimension, and the detection results are easily affected by environmental changes, making it difficult to guarantee the accuracy of the detection data. At the same time, their data transmission method is limited to wireless transmission, which makes them prone to data transmission interruption and loss in complex scenarios such as strong electromagnetic interference or closed environments with no signal. Summary of the Invention
[0004] This invention provides a gas detector and a gas detector control method to enrich the monitoring dimensions of the gas detector to a certain extent, providing a more comprehensive reference for gas data analysis and environmental assessment, thereby improving the comprehensiveness and practicality of the detection, and improving the stability and reliability of the detection data transmission based on wired transmission.
[0005] In a first aspect, embodiments of the present invention provide a gas detector, the gas detector including a gas detection port, a sensor module, a control module, and a USB module electrically connected to the control module; The sensor module includes an ambient light sensor, a temperature and humidity sensor, and a gas sensor, and the gas detection port is connected to the gas path of the gas sensor. The ambient light sensor, temperature and humidity sensor, and gas sensor are all electrically connected to the control module.
[0006] In one possible implementation, the gas detector further includes a communication module, which includes a WIFI_BT integrated module and a cellular communication module, and the communication module is electrically connected to the control module.
[0007] In one possible implementation, the gas detector further includes a thermal printer module electrically connected to the sensor module, the thermal printer module including a stepper motor, a photoelectric detection sensor, and a thermal printhead.
[0008] In one possible implementation, the stepper motor is connected to the paper drive, the photoelectric detection sensor is disposed inside the paper tray of the thermal printer module, and the stepper motor, photoelectric detection sensor and thermal head are all electrically connected to the control module.
[0009] In one possible implementation, the gas detector further includes a camera sensor module, which is electrically connected to the control module.
[0010] In one possible implementation, the gas detector further includes a fan module, which is configured corresponding to the gas detection port and is electrically connected to the control module.
[0011] In one possible implementation, the gas detector further includes an indicator light module, which includes at least two LEDs, each of which is electrically connected to the control module.
[0012] In one possible implementation, the gas detector further includes a button module, which includes multiple buttons and is electrically connected to the control module.
[0013] In one possible implementation, the gas detector further includes a display module, which is electrically connected to the control module.
[0014] In one possible implementation, the gas detector further includes an audio module electrically connected to the control module.
[0015] In a second aspect, embodiments of the present invention provide a control method for a gas detector, applied to any of the gas detectors described in the first aspect, the method comprising: The gas to be tested is guided to the gas sensor through the gas detection port; Acquire monitoring data from the ambient light sensor, temperature and humidity sensor, and gas sensor, and determine the detection result based on the monitoring data; The test results are transmitted to an external device via a USB module.
[0016] In one possible implementation, the method further includes: In response to a wireless transmission request; The detection results are transmitted to an external device via a communication module.
[0017] In one possible implementation, the method further includes: In response to the print request; The paper tray is out of paper based on the signal from the photoelectric detection sensor; Once it is confirmed that there is no missing paper, the stepper motor is driven to feed the paper, and the thermal printhead is controlled to print out the monitoring data.
[0018] In one possible implementation, the method further includes: In response to the request to take photos; The camera sensor module is controlled to capture environmental data from the gas detector.
[0019] In one possible implementation, the method further includes: The fan module is started to operate, so as to accelerate the flow of the gas to be tested into the gas sensor through the gas detection port.
[0020] In one possible implementation, the method further includes: Acquire the operating status information of the gas detector; the operating status information includes lighting requirement information and / or warning information; Based on the operating status information, the control indicator module includes at least two LEDs that perform corresponding on / off actions.
[0021] In one possible implementation, the method further includes: Acquire the control information of the gas detector; the control information includes at least one of the following: switch control sub-information, light control sub-information, fan control sub-information, and print control sub-information; According to the control information, the control button module includes multiple buttons that execute corresponding control actions.
[0022] In one possible implementation, the method further includes: Obtain the usage status information of the gas detector; the usage status information includes at least one of the following: power usage information, time information, and detection result information. The control display module displays the usage status information.
[0023] In one possible implementation, the method further includes: Obtain the audio output information of the gas detector; The audio module is controlled to output the audio output information.
[0024] Thirdly, embodiments of the present invention provide a gas detector control device, the device comprising: The acquisition unit is used to guide the gas to be measured to the gas sensor through the gas detection port; The processing unit is used to acquire monitoring data from the ambient light sensor, temperature and humidity sensor, and gas sensor, and to determine the detection result based on the monitoring data. A transmission unit is used to transmit the detection results to an external device via a USB module.
[0025] In one possible implementation, the transmission unit is further configured to: In response to a wireless transmission request; The detection results are transmitted to an external device via a communication module.
[0026] In one possible implementation, the processing unit is further configured to: In response to the print request; The paper tray is out of paper based on the signal from the photoelectric detection sensor; Once it is confirmed that there is no missing paper, the stepper motor is driven to feed the paper, and the thermal printhead is controlled to print out the monitoring data.
[0027] In one possible implementation, the processing unit is further configured to: In response to the request to take photos; The camera sensor module is controlled to capture environmental data from the gas detector.
[0028] In one possible implementation, the processing unit is further configured to: The fan module is started to operate, so as to accelerate the flow of the gas to be tested into the gas sensor through the gas detection port.
[0029] In one possible implementation, the processing unit is further configured to: Acquire the operating status information of the gas detector; the operating status information includes lighting requirement information and / or warning information; Based on the operating status information, the control indicator module includes at least two LEDs that perform corresponding on / off actions.
[0030] In one possible implementation, the processing unit is further configured to: Acquire the control information of the gas detector; the control information includes at least one of the following: switch control sub-information, light control sub-information, fan control sub-information, and print control sub-information; According to the control information, the control button module includes multiple buttons that execute corresponding control actions.
[0031] In one possible implementation, the processing unit is further configured to: Obtain the usage status information of the gas detector; the usage status information includes at least one of the following: power usage information, time information, and detection result information. The control display module displays the usage status information.
[0032] In one possible implementation, the processing unit is further configured to: Obtain the audio output information of the gas detector; The audio module is controlled to output the audio output information.
[0033] Fourthly, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps included in any of the methods in the second aspect.
[0034] Fifthly, embodiments of the present invention provide a computer-readable storage medium including program code, which, when the program product is run on an electronic device, causes the electronic device to perform the steps included in any of the methods in the second aspect.
[0035] In a sixth aspect, embodiments of the present invention provide a computer program product comprising: computer program code, which, when executed on an electronic device, causes the electronic device to perform the steps included in any of the methods in the second aspect.
[0036] The technical solutions provided by the embodiments of the present invention bring at least the following beneficial effects: In this embodiment of the invention, the gas detector integrates multiple sensors, which not only enriches the monitoring dimensions of the gas detector and provides a more comprehensive reference for gas data analysis and environmental assessment, but also improves the comprehensiveness and practicality of the detection. Furthermore, the wired data transmission method enhances the stability and reliability of the detection data transmission. Thus, not only can the accuracy and comprehensiveness of gas concentration detection be effectively improved through multi-parameter collaborative detection, but the stability and anti-interference capabilities of the detection data transmission are also guaranteed by wired data communication, achieving end-to-end reliable assurance from environmental data acquisition to data transmission interaction.
[0037] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practice. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0038] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention, but do not constitute an undue limitation of the invention.
[0040] Figure 1 This is a schematic diagram of the system framework of a gas detector provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a circuit block diagram of a gas detector provided in an embodiment of the present invention; Figure 3 A schematic diagram of a gas detector provided in an embodiment of the present invention; Figure 4 A schematic flowchart of a gas detector control method provided in an embodiment of the present invention; Figure 5 A structural block diagram of a gas detector control device provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. Without conflict, the embodiments and features in the embodiments of this invention can be arbitrarily combined with each other. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here. The term "comprising" and any variations thereof in the specification and claims of this invention are intended to cover non-exclusive protection. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0042] In this embodiment of the invention, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0043] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These are to be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that in the embodiments of the present invention, references may be made to existing industry solutions such as software, components, and models. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solutions of the present invention, and do not imply that the applicant has already used or necessarily used such solutions.
[0044] Gas detectors are specialized instruments used to detect the composition and content of gases. Their core function is to convert gas molecule concentration into an electrical signal using a built-in dedicated sensor, thereby enabling gas detection. They are suitable for various occasions requiring the monitoring of specific gases. Classified by function, they mainly include temperature and humidity detectors, formaldehyde detectors, air quality detectors, alcohol detectors, and gas detectors. Gas detectors detect a wide range of gases, including common gases, industrial gases, and specialty gases, specifically air, natural gas, water gas, coke oven gas, calcium carbide gas, refinery gas, dissolved gases, and various combustible and toxic gases.
[0045] With the continuous advancement of technology, gas detectors have become an indispensable and important piece of equipment in daily life, environmental monitoring, industrial production, and other scenarios. They can effectively monitor the concentration of toxic, harmful, and flammable gases in the air and provide real-time warnings, providing reliable protection for safe operation in various fields, and their application scope is becoming increasingly wide.
[0046] However, traditional gas detectors have a single monitoring dimension, and the detection results are easily affected by environmental changes, making it difficult to guarantee the accuracy of the detection data. At the same time, their data transmission method is limited to wireless transmission, which makes them prone to data transmission interruption and loss in complex scenarios such as strong electromagnetic interference or closed environments with no signal.
[0047] In view of this, the present invention provides a gas detector and its control method. This gas detector integrates multiple sensors, which not only enriches the monitoring dimensions of the gas detector and provides a more comprehensive reference for gas data analysis and environmental assessment, but also improves the comprehensiveness and practicality of the detection. Furthermore, based on a wired data transmission method, it can improve the stability and reliability of the detection data transmission. Thus, it can not only effectively improve the accuracy and comprehensiveness of gas concentration detection through multi-parameter collaborative detection, but also rely on wired data communication to ensure the stability and anti-interference of the detection data transmission, achieving end-to-end reliable assurance from environmental data acquisition to data transmission interaction.
[0048] In this embodiment of the invention, participants Figure 1 The diagram shows a schematic of a gas detector. The gas detector includes a gas detection port, a sensor module, and a control module (i.e.,...). Figure 1 The system includes a chip control module and a USB module electrically connected to the control module. The sensor module includes an ambient light sensor, a temperature and humidity sensor, and a gas sensor. The gas detection port is connected to the gas path of the gas sensor. All three sensors—ambient light sensor, temperature and humidity sensor, and gas sensor—are electrically connected to the control module.
[0049] In this embodiment of the invention, the gas detector supports temperature, humidity and various gas detection, and has a wide range of applications, such as the gas industry, chemical industry, metallurgical industry, transportation industry, environmental protection industry and daily life.
[0050] In this exemplary embodiment, the control module refers to the main control chip, which has a variety of functions. For example, the main control chip is an X2600 chip, an X2000 chip, an X2100 chip, etc. This embodiment of the invention does not limit the specific type of chip.
[0051] In this exemplary embodiment, an ambient light sensor is used to control the operating state of the gas detector. When the detector is in use and the surrounding environment is dark, the ambient light sensor module accurately monitors the ambient light signal, which can activate the LED module. Then, based on the dimming algorithm software, the intelligent LED lighting is dynamically adjusted through the GPIO_PWM interface function inside the control module.
[0052] In this exemplary embodiment, a temperature and humidity sensor is used by the gas detector to detect real-time temperature and humidity. The control panel of the gas detector reads the values collected by the sensor in real time via I2C, and then obtains the temperature and humidity of the environment in which the gas detector is located through software algorithms and signal conversion.
[0053] In this exemplary embodiment, the gas sensor is a highly sensitive, reliable, and multifunctional sensor used by gas detectors to monitor various gases, detect gas composition and content, and can monitor combustible gases, oxygen, carbon monoxide, hydrogen sulfide, etc.
[0054] In this exemplary embodiment, the USB module is used to charge the gas detector's battery interface and can also be connected to external gas detectors such as computers and televisions via a USB data cable to export test data, thereby enabling wired data communication for the gas detector. In other words, the gas detector supports USB functionality, USB charging, and connection to a computer via a data cable to transfer data.
[0055] As can be seen, the gas detector provided in this embodiment integrates multiple sensors, which not only enriches the monitoring dimensions of the gas detector and provides a more comprehensive reference for gas data analysis and environmental assessment, but also improves the comprehensiveness and practicality of the detection. Furthermore, based on wired data transmission, it enhances the stability and reliability of the detection data transmission. Thus, it not only effectively improves the accuracy and comprehensiveness of gas concentration detection through multi-parameter collaborative detection, but also relies on wired data communication to ensure the stability and anti-interference of the detection data transmission, achieving end-to-end reliable assurance from environmental data acquisition to data transmission interaction.
[0056] In one possible implementation, the gas detector further includes a communication module, which includes a WIFI_BT integrated module and a cellular communication module, and the communication module is electrically connected to the control module.
[0057] In this exemplary embodiment, the communication module is used for wireless data communication of the gas detector. The communication module includes a WIFI_BT integrated module and a cellular communication module (4G / 5G / 6G module). The WIFI_BT integrated module is... Figure 1 The WIFI+BT communication module and cellular communication module refer to Figure 1 The 4G / 5G communication module in it.
[0058] As can be seen, the gas detector supports wireless communication functions, including Wi-Fi, Bluetooth, and cellular communication. Wi-Fi is a connection method based on wireless local area network technology. The Wi-Fi communication module connects the gas detector to the Internet via wireless signals to achieve wireless data transmission. Bluetooth is a short-range wireless communication technology. The Bluetooth module can connect to a mobile phone to achieve data communication.
[0059] The gas detector provided in this invention adopts a wired + multi-wireless converged communication architecture. Combined with the adaptive switching logic of the communication link in the control module, it can automatically select the optimal communication mode according to network signal quality and data transmission requirements. This ensures the real-time and stable uploading of monitoring data and on-site video, and achieves seamless connection between on-site local debugging and remote cloud monitoring. In addition, the multi-link redundancy design greatly improves the communication stability in harsh environments, and the rich data interaction methods effectively enhance the flexibility of the gas detector, meeting the efficient communication needs of various scenarios such as industrial safety monitoring and outdoor emergency detection.
[0060] In one possible implementation, the gas detector further includes a thermal printer module electrically connected to the sensor module. The thermal printer module includes a stepper motor, a photoelectric sensor, and a thermal printhead. The stepper motor is connected to the paper drive, the photoelectric sensor is located inside the paper tray of the thermal printer module, and the stepper motor, photoelectric sensor, and thermal printhead are all electrically connected to the control module.
[0061] In other words, the stepper motor drives the paper to feed and retract, the photoelectric sensor detects in real time whether the paper is out of print, and the thermal printhead prints out the real-time monitoring data collected by the gas sensor. During operation, the thermal printhead prints the real-time data monitored by the gas sensor onto the paper, while simultaneously driving the stepper motor to feed the paper synchronously according to the printing progress to complete the printing of real-time data; when the photoelectric sensor detects a paper shortage, it transmits the paper shortage signal to the control module.
[0062] In this embodiment of the invention, by setting a photoelectric detection sensor in the paper tray and linking it with a stepper motor and a thermal head for control, the paper status can be identified in real time, preventing hardware damage caused by empty printing; at the same time, the printing process is automated, eliminating the need for manual operation and improving the convenience and reliability of the gas detector in the field.
[0063] In one possible implementation, the gas detector also includes a camera sensor module (i.e., Figure 1 The camera module (in the module) and the camera sensor module are electrically connected to the control module.
[0064] In this exemplary embodiment, the camera sensor module is used by the gas detector to take pictures and record videos of the detection site environment, and can automatically save the data to the storage module and upload it through wireless communication.
[0065] As can be seen, the gas detector also supports camera functionality; it supports one-click photo taking and one-click video recording, acquiring data through the camera module and automatically saving and uploading the data via wireless communication. When used in the gas industry, if a gas leak is detected, photos of the surrounding environment can be taken to notify relevant technicians for repairs. When used in the transportation industry, if a driver is detected to be driving under the influence of alcohol or drugs, the video recording function can be activated to save the scene and prevent any rash actions. Similarly, in other industries, photos / videos can be taken and recorded as needed to preserve the event environment.
[0066] In one possible implementation, the gas detector further includes a fan module, which is set corresponding to the gas detection port and is electrically connected to the control module.
[0067] In this exemplary embodiment, the rotation of the fan blades can accelerate the flow of the gas to be measured into the gas detector's probe port, thereby achieving more accurate measurements. Clearly, the fan module, positioned corresponding to the gas detector probe port, actively guides the flow of the gas to be measured into the gas sensor, improving gas acquisition efficiency and detection response speed while ensuring accurate and reliable detection data. This also broadens the applicability of the gas detector in enclosed, low-flow-rate environments.
[0068] In one possible implementation, the gas detector also includes an indicator light module (i.e., Figure 1 The LED light module (in the control module) includes at least two LED lights, each of which is electrically connected to the control module.
[0069] In this exemplary embodiment, the light indicator module includes a first LED and a second LED. The first LED is used to provide illumination for the gas detector, and the second LED is used to activate an abnormal safety warning light after the gas sensor detects abnormal data.
[0070] As can be seen, the gas detector can visually indicate various working and fault states of the gas detector by the on / off state of different LED lights, making the status identification intuitive and efficient; the LED lights have a simple structure and low power consumption, and can work stably in various complex environments, effectively improving the on-site usability and working condition identification of the gas detector.
[0071] In one possible implementation, the gas detector further includes a button module, which includes multiple buttons and is electrically connected to the control module.
[0072] In this exemplary embodiment, the key module is used to control the operating status of the gas detector. The key module includes a first key submodule for controlling the power on / off of the gas detector, a second key submodule for controlling the illumination of the gas detector, a third key submodule for controlling the forward and reverse rotation of the gas detector's fan, and a fourth key submodule for controlling the printing output of the gas detector's detection data. In other words, the key module can control the power on / off of the gas detector, the illumination of the gas detector, the forward and reverse rotation of the gas detector's fan, and the printing output of the gas detector's detection data.
[0073] As can be seen, the gas detector also supports a button module with multiple buttons, each button corresponding to a different function module for independent control, realizing one-click triggering of each function, and the operation method is intuitive and simple; the independent button design can effectively reduce accidental operation, and can be operated without relying on the display screen, with strong environmental adaptability, greatly improving the field usability and operational stability of the gas detector.
[0074] In one possible implementation, the gas detector further includes a display module, which is electrically connected to the control module.
[0075] In this exemplary embodiment, the display module (LCD Module) is used to display the status information of the gas detector, such as time, battery level, detection data, etc., which is not limited in this embodiment of the invention.
[0076] As can be seen, the gas detector also supports an RTC clock and an LCD display screen, which can display detection data and time parameters. The LCD display screen provides visual feedback on the gas detector's detection data and time parameters, facilitating quick identification of the gas detector's usage status.
[0077] In one possible implementation, the gas detector further includes an audio module, which is electrically connected to the control module.
[0078] In this exemplary embodiment, the audio module is used for the audio output of the gas detector; the audio module is designed with a speaker (SPK) and a buzzer circuit, and outputs audio to an external audio power amplifier circuit through HPOUT, and controls the buzzer circuit through PWM_GPIO to realize voice playback and warning prompts.
[0079] As can be seen, the gas detector also supports AUDIO functionality, including speaker SPK and buzzer sound output, providing detection and early warning functions. In other words, the gas detector can achieve differentiated audio prompts and sound-and-light linked alarms, overcoming the limitations of visual recognition in various scenarios. It can promptly deliver early warning information in various complex working conditions, effectively improving the equipment's safety protection capabilities and ease of use on-site.
[0080] In one possible implementation, the gas detector further includes a power module, which is electrically connected to the control module.
[0081] In this exemplary embodiment, a power module is used to power the gas detector. The power module circuit design supports battery power, button power-on, and low-power sleep / standby modes, thus meeting the requirements for long-term operation.
[0082] In one possible implementation, the gas detector further includes a storage module, which is electrically connected to the control module.
[0083] In an exemplary embodiment, the storage module (SD_Card_FLASH Module) is used for system startup and data storage of the gas detector, supporting the storage of photographed and video data. It also supports FLASH functionality, enabling the storage of large-capacity data files.
[0084] In one possible implementation, the gas detector is also connected to an external monitoring system module.
[0085] It is evident that the gas detector also has the ability to connect and interact with external monitoring systems, enabling remote uploading and centralized management of monitoring data, alarm information, and on-site images. This facilitates remote control and unified operation and maintenance of multiple gas detectors. Cloud storage of data not only ensures the integrity and security of monitoring evidence but also enables remote early warning and linkage for abnormal events, effectively enhancing the value of gas detectors in large-scale and networked applications and meeting the remote safety supervision needs of multiple industries.
[0086] In this embodiment of the invention, if the control module is an X2600 chip, the circuit block diagram of each functional module of the gas detector and the control module is shown below. Figure 2 As shown.
[0087] In this exemplary embodiment, the X2600 chip is a low-power, high-performance, and highly integrated processor that integrates an H.264 video codec, a Joint Photographic Experts Group codec (JPEG), and a 2D graphics engine. It also integrates a Liquid Crystal Display Controller (LCD), a Camera Controller (CAM), an Audio Coder-Decoder Controller (Audio CODEC), a Mass Storage Controller (MSC), and a Real-Time Clock Controller (RTC). This gas detector supports LCD display output interface, Digital Video Port (DVP) and audio signal output interface, and is equipped with a rich set of flexibly configurable expansion interfaces, including General-Purpose Input / Output (GPIO), Inter-Integrated Circuit (I2C), Universal Asynchronous Receiver / Transmitter (UART), Pulse Width Modulation (PWM), Successive Approximation Analog-to-Digital Converter (SADC), Universal Serial Bus (USB), and Touch Panel Controller (TPC).
[0088] In this exemplary embodiment, the ambient light sensor is functionally connected to the I2C controller and GPIO interface in the control module through the I2C1_CLK, I2C1_SDA and INT control signals.
[0089] In this exemplary embodiment, the temperature and humidity sensor is functionally connected to the I2C controller in the control module through the I2C3_SCL and I2C3_SDA control signals.
[0090] In this exemplary embodiment, the gas sensor module outputs a digital signal DOUT and an analog signal AOUT through its internal circuitry, which are functionally connected to the GPIO and SADC interfaces in the control module, respectively.
[0091] In this exemplary embodiment, the USB module is connected to the control module via USB_DP and USB_DM data lines.
[0092] In this exemplary embodiment, the WIFI Module is functionally connected to the SDIO controller interface in the control module through MSC1_CLK, MSC1_CMD, MSC1_DATA0, MSC1_DATA1, MSC1_DATA2, and MSC1_DATA3, enabling the gas detector to connect to the Internet and wirelessly transmit data.
[0093] In this exemplary embodiment, the BT module is functionally connected to the UART interface in the control module through UART1_RX, UART1_TX, UART1_RTS, and UART1_CTS to realize the Bluetooth wireless data transmission function.
[0094] In this exemplary embodiment, the 4G / 5G / 6G Module is functionally connected to the UART and GPIO interfaces in the control module through UART2_RX, UART2_TX, UART2_RTS, UART2_CTS, PWR_EN, and RESET, and then connected to an external SIM card to realize mobile data transmission.
[0095] In this exemplary embodiment, the stepper motor is controlled by a motor drive module, and its functions are connected to the control module interface via PWM1_GPIO, PWM2_GPIO, PWM3_GPIO, PWM4_GPIO, and SLEEP0_GPIO signal lines to achieve paper forward and backward movement. A photoelectric sensor is connected to the control module via a digital PK signal output to detect whether the printing module is out of paper. The thermal printhead is connected to the TPC controller and SADC interface within the control module via SFT_CLK clock line, SFT_DATA(n) data line, SFT_LAT latch signal line, SFT_DST(n) heating signal line, and TM temperature monitoring signal line to achieve real-time data printing output.
[0096] In this exemplary embodiment, the camera module is functionally connected to the DVP interface, I2C controller, and GPIO interface of the Camera controller within the chip control module through camera data signals CIM_D0, CIM_D1, CIM_D2, CIM_D3, CIM_D4, CIM_D5, CIM_D6, CIM_D7, camera clock signals CAM_MCLK, CAM_PCLK, camera horizontal synchronization signal HSYNC, camera vertical synchronization signal VSYNC, CAM_I2C2(SDA,SCL), and XSHUTDOWN signal lines, in a one-to-one correspondence.
[0097] In this exemplary embodiment, the fan module is controlled by the motor drive module, and its functions are connected to the chip controller interface one-to-one via the PWM5_GPIO, PWM6_GPIO, PWM7_GPIO, PWM8_GPIO, and SLEEP1_GPIO signal lines. In this exemplary embodiment, the LED module can control the GPIO_PWM function to output a PWM digital signal, change the pulse signal width duty cycle, and control the output current of the boost power supply, thereby achieving brightness adjustment of the LED. In this exemplary embodiment, the button module is functionally connected to the GPIO interface of the chip control module through the button switch circuit, and various functions are realized by inputting command interrupt signals through the button switch.
[0098] In this exemplary embodiment, the LCD display screen within the display module communicates with the SLCD interface within the control module; SLCD_RD, SLCD_DC, SLCD_WR, SLCD_CE, SLCD_TE, SLCD_RS, SCLD_D0, SLCD_D1, SLCD_D2, SLCD_D3, SLCD_D4, SLCD_D5, SLCD_D6, SLCD_D7, and SLCD_PWDN are functionally connected to the LCD controller interface within the control module, corresponding one-to-one. Furthermore, the RTC controller inside the control module and an external clock crystal form a real-time clock circuit, providing real-time timing.
[0099] In this exemplary embodiment, the power module is functionally connected to the internal power supply interface and SADC interface of the control module through the battery circuit. The SADC function within the control module can monitor the battery power status, which can be displayed on the screen. If the battery power is detected to be too low, the software can announce "Low battery, please charge" through the audio module to prompt the user to charge. If the battery is detected to be fully charged, the software can also control the working status of the charging circuit through GPIO.
[0100] In this exemplary embodiment, the storage module is functionally connected to the MMC controller interface within the control module through MSC0_CLK, MSC0_CMD, MSC0_DATA0, MSC0_DATA1, MSC0_DATA2, and MSC0_DATA3, in a one-to-one correspondence.
[0101] In one possible implementation, see Figure 3 The diagram shown is a schematic of a gas detector provided in an embodiment of the present invention.
[0102] exist Figure 3 The gas detector shows a gas detection port 1, an ambient light sensor 2, a gas detection sensor 3, a temperature and humidity sensor 4, a first LED light 5, a camera sensor module 6, a second LED light 7, an audio module including a buzzer output interface 8 and a speaker output interface 9, a thermal printer module including a thermal head output interface 10 and a thermal paper input interface 11, a display module including an LCD display screen 12, a button module including a multi-function button 13, a power module including a battery power interface 14, and a USB function interface 15 of a USB module.
[0103] As can be seen, the gas detector provided in this embodiment of the invention is small in size and easy to carry, with a long battery life. It can be powered by a battery or charged via a USB interface, greatly meeting the needs of long-term operation. Furthermore, the gas detector supports wired communication and various wireless communication schemes, enabling the transmission of detected data, such as data from mobile phones / PCs. It also supports photo and video recording functions to obtain relevant data on abnormal environmental conditions; it supports printing detection information; it supports speaker SPK sound output and buzzer sound output; it supports LED light functionality; it supports an LCD display; and it supports external monitoring systems. Clearly, the gas detector provided in this embodiment of the invention is feature-rich and meets diverse market demands.
[0104] It should be noted that, Figure 3 The diagram shown is an exemplary assembly structure of the gas detector of the present invention. This disclosure does not limit the specific assembly form or component layout of the gas detector. The gas detector may also adopt other equivalent assembly structures and layout forms according to actual application requirements.
[0105] To further illustrate the gas detector control method provided in the embodiments of the present invention, a detailed description is provided below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiments of the present invention provide method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on conventional or non-inventive methods. In steps where there is no logically necessary causal relationship, the execution order of these steps is not limited to the execution order provided in the embodiments of the present invention. In actual processing or device execution, the method may be executed in the order shown in the embodiments or drawings, or in parallel (e.g., in an application environment with parallel processors or multi-threaded processing).
[0106] The following combination Figure 4 The flowchart shown illustrates the gas detector control method in this embodiment of the invention. The method can be executed by an electronic device, and the specific implementation flow of the method is as follows: Step 401: The gas to be tested is guided to the gas sensor through the gas detection port; Step 402: Acquire monitoring data from the ambient light sensor, temperature and humidity sensor, and gas sensor, and determine the detection results based on the monitoring data; Step 403: Transmit the test results to an external device via the USB module.
[0107] In this embodiment of the invention, considering that users also have wireless transmission needs, the detection results can be transmitted to an external device via a communication module in response to a wireless transmission request. For example, the detection results can be transmitted to the external device via a Wi-Fi module, or via a Bluetooth (BT) module. Alternatively, they can be transmitted to the external device via a cellular communication module; this embodiment of the invention does not limit the specific method used. The external device can be, for example, a smartphone, tablet computer, or computer; this embodiment of the invention does not limit the specific device used.
[0108] As can be seen, the solution provided in this embodiment of the invention supports wired and multiple wireless data communication functions. Therefore, it can adapt to different network environments such as indoor LANs, outdoor wide-area cellular networks, and short-range direct connections in the field, and is not limited by fixed wiring conditions. It can meet the wired high-speed transmission needs of fixed locations such as laboratories and computer rooms, and is also suitable for mobile usage scenarios without broadband coverage, such as outdoor inspections, field monitoring, and industrial sites. Furthermore, multiple communication methods serve as backup links for each other. In this way, when a certain communication mode fails or the signal is interrupted, it can automatically switch to other available communication links to avoid interruption of monitoring data and on-site image data transmission, ensuring continuous and stable operation of the equipment. This is especially suitable for gas safety monitoring scenarios with high requirements for data real-time performance.
[0109] Furthermore, during actual implementation, the optimal transmission method can be selected as needed. For example, for short distances, Bluetooth / Wi-Fi can be used to achieve direct communication with mobile terminals such as mobile phones and tablets, facilitating on-site debugging, data reading, and parameter configuration. For medium to long distances, 4G / 5G can be used to upload data to the cloud and perform remote monitoring. Wired communication can meet the high-speed and stable transmission of large-volume video data and batch monitoring data, thus balancing data transmission efficiency and on-site ease of use.
[0110] In this embodiment of the invention, considering that users also have wireless transmission needs, the paper tray can be determined as needed in response to a printing request based on the signal from the photoelectric detection sensor. When it is determined that there is no paper shortage, the stepper motor is driven to feed the paper, and the thermal head is controlled to print out the monitoring data.
[0111] In this embodiment of the invention, a closed-loop control method of "paper shortage signal detection + logic judgment + linked execution printing" is adopted to achieve intelligent and autonomous control of the printing process. On the one hand, it can effectively avoid invalid printing actions in the case of paper shortage, protect the printing components and reduce equipment energy consumption; on the other hand, it can automatically print out immediately after the monitoring data is collected, quickly generate on-site paper records, simplify the operation process, and significantly improve the practical performance and work efficiency of gas detectors in outdoor, emergency and other scenarios.
[0112] In this embodiment of the invention, considering that users also require monitoring, photography, and video recording functions, the camera sensor module can be controlled to collect environmental data from the gas detector in response to a shooting request. Furthermore, the environmental data can be transmitted to external devices via a USB module and / or a communication module.
[0113] In this embodiment of the invention, the camera sensor module of the gas detector supports one-click photo taking and one-click video recording. That is, data can be acquired through the camera sensor module, and the data can be automatically saved and uploaded through wireless communication and / or wired communication functions.
[0114] For example, when used in the gas industry, if a gas leak is detected at a certain location, the scene can be photographed and the relevant technicians can be notified for repairs; when used in the transportation industry, if a driver is detected to be driving under the influence of alcohol or drugs, the video recording function can be activated to save the scene video in order to prevent any extreme behavior; if used in other industries, photos / videos can also be taken and recorded as needed to save the event environment.
[0115] As can be seen, gas detectors can automatically trigger photo or video recording when abnormal conditions are detected, depending on the application scenarios of different industries. This enables the visualization and evidence preservation of the on-site environment. Automatic linkage recording ensures the complete retention of event information, facilitating post-event traceability and handling. At the same time, in sensitive scenarios, it can standardize on-site behavior, avoid conflicts, and improve the safety and intelligence level of gas detector use.
[0116] In this embodiment of the invention, the fan module can also be driven to start operation, so as to accelerate the flow of the gas to be tested into the gas sensor through the gas detection port.
[0117] As can be seen, by actively guiding the airflow through the fan module, the natural passive diffusion of gas is transformed into forced active inflow, significantly shortening the time it takes for the gas to reach the gas sensor. This effectively improves the gas detection response speed of the equipment, enabling rapid detection of abnormal states such as leaks and exceeding limits. Furthermore, the continuous operation of the fan can push fresh gas to flow steadily through the sensor probe, preventing gas from stagnating or accumulating in the detection inlet or gas path. This ensures that the sensor is in real-time contact with the true concentration of the gas to be measured, effectively improving the accuracy and reliability of the detection data.
[0118] Thus, for detection scenarios involving confined spaces, poor air circulation, and weak natural convection, active air intake can solve the problem of low gas diffusion efficiency, enabling the equipment to collect gas normally even under harsh operating conditions and complex environments, significantly improving the scenario adaptability of the gas detector. Furthermore, forced airflow ensures real-time updates of gas concentration on the sensor surface, eliminating detection lag and achieving continuous and stable online monitoring, which is particularly suitable for safety monitoring scenarios requiring real-time early warning, such as gas leaks and excessive levels of harmful gases. In other words, the gas detector and its control method provided in this embodiment of the invention can adapt to various complex operating conditions, enhance the equipment's ability to continuously and stably monitor, and improve the timeliness and reliability of safety early warnings.
[0119] In this embodiment of the invention, the working status information of the gas detector can also be obtained; wherein, the working status information includes lighting requirement information and / or warning information; and then, according to the working status information, the light indicator module, including at least two LEDs, is controlled to perform corresponding on / off actions.
[0120] For example, when the working status information includes lighting requirement information, the indicator light module can be controlled to illuminate the first LED; when the working status information includes warning information, the indicator light module can be controlled to illuminate the second LED; when the working status information includes both lighting requirement information and warning information, the indicator light module can be controlled to illuminate both the first and second LEDs.
[0121] In this embodiment of the invention, the on / off state of the gas detector can be indicated by the combination of at least two LEDs, representing various operating states such as normal monitoring, gas exceeding the standard alarm, paper shortage fault, data upload, and communication abnormality. This allows for remote and intuitive identification of the equipment's operating status without relying on a display screen, resulting in high on-site visibility. Furthermore, for dangerous or abnormal scenarios such as gas leaks, drunk driving detection, and sensor malfunctions, dedicated indicator lights can provide immediate warnings, enabling staff to identify potential hazards and take appropriate measures immediately, significantly improving the timeliness of safety monitoring and emergency response.
[0122] As can be seen, in this embodiment of the invention, different LED lights are automatically driven to indicate the operating status of the gas detector, which can realize automated and visual feedback of information such as normal operation, abnormal alarm, and fault indication. The device status can be presented in real time without manual intervention, which is convenient for quickly identifying safety hazards and has the advantages of low power consumption and high reliability, thus improving the intelligence level and field applicability of the gas detector.
[0123] In this embodiment of the invention, control information of the gas detector can be obtained; wherein, the control information includes at least one of switch control sub-information, light control sub-information, fan control sub-information and printing control sub-information, and then, according to the control information, the control button module includes multiple buttons to execute corresponding control actions.
[0124] For example, it can receive user input on the first button sub-module of the button module used to control the power on / off of the gas detector, thereby generating switch control sub-information, and then controlling the power on and off of the gas detector according to the switch control sub-information.
[0125] For example, it can receive user input on the second button sub-module of the button module for controlling the light on the gas detector, thereby generating light control sub-information, and then controlling the light on and off of the gas detector according to the light control sub-information.
[0126] For example, it can receive user input on the third button submodule of the button module for controlling the forward and reverse rotation of the gas detector's fan, thereby generating fan control sub-information, and then controlling the forward and reverse rotation of the gas detector's fan according to the fan control sub-information.
[0127] For example, it can receive user input on the fourth button submodule of the button module for controlling the printing output of gas detector detection data, thereby generating printing control sub-information, and then controlling the gas detector to print or stop printing based on the printing control sub-information.
[0128] In this embodiment of the invention, the user can operate based on preset button operation commands to control various functions, such as pressing twice to turn on, pressing three times to turn off, etc. This embodiment of the invention does not limit this.
[0129] In this embodiment of the invention, by inputting different control commands through multiple independent buttons, the control module can accurately drive the corresponding module to perform actions according to the button signals, thereby achieving personalized and fast function control. This simplifies the on-site operation process, reduces the probability of misoperation, and can quickly respond to work needs such as fan rotation and printing, thereby improving the operation efficiency and intelligence level of the equipment in monitoring scenarios in multiple industries.
[0130] In this embodiment of the invention, the usage status information of the gas detector can be obtained; wherein, the usage status information includes at least one of power usage information, time information, and detection result information; then, the control display module displays the usage status information.
[0131] As can be seen, the usage status information of the gas detector can be visualized, making it easy to quickly identify the usage status of the gas detector.
[0132] In this embodiment of the invention, the audio output information of the gas detector can be acquired, and then the audio module can be controlled to output audio information. This enables differentiated audio prompts and sound-and-light linked alarms, overcoming the limitations of visual recognition in various scenarios, and timely delivering early warning information under various complex working conditions, effectively improving the equipment's safety protection capabilities and ease of use on-site.
[0133] The control scheme for the gas detector provided in this invention not only supports data transmission control for wired communication and various wireless communication methods, but also supports control of various functions, such as photo taking and video recording; printing of detection information; control of warning sounds (including speaker SPK and buzzer output); control of LED lights; control of LCD display screens; and inter-system linkage control with external monitoring systems. Clearly, the control scheme for the gas detector provided in this invention offers a wide range of functions, meeting diverse market demands.
[0134] Based on the same inventive concept, embodiments of the present invention provide a control device for a gas detector, which can realize the functions corresponding to the aforementioned gas detector control method. This gas detector control device can be a hardware structure, a software module, or a hardware structure plus a software module. The gas detector control device can be implemented by a chip system, which can consist of chips or include chips and other discrete components. Please refer to [link to previous text]. Figure 5 As shown, the gas detector control device 500 includes: The acquisition unit 501 is used to guide the gas to be measured to the gas sensor through the gas detection port; The processing unit 502 is used to acquire monitoring data from the ambient light sensor, temperature and humidity sensor, and gas sensor, and to determine the detection result based on the monitoring data. The transmission unit 503 is used to transmit the detection results to an external device via a USB module.
[0135] In one possible implementation, the transmission unit 503 is further configured to: In response to a wireless transmission request; The detection results are transmitted to an external device via a communication module.
[0136] In one possible implementation, the processing unit 502 is further configured to: In response to the print request; The paper tray is out of paper based on the signal from the photoelectric detection sensor; Once it is confirmed that there is no missing paper, the stepper motor is driven to feed the paper, and the thermal printhead is controlled to print out the monitoring data.
[0137] In one possible implementation, the processing unit 502 is further configured to: In response to the request to take photos; The camera sensor module is controlled to capture environmental data from the gas detector.
[0138] In one possible implementation, the processing unit 502 is further configured to: The fan module is started to operate, so as to accelerate the flow of the gas to be tested into the gas sensor through the gas detection port.
[0139] In one possible implementation, the processing unit 502 is further configured to: Acquire the operating status information of the gas detector; the operating status information includes lighting requirement information and / or warning information; Based on the operating status information, the control indicator module includes at least two LEDs that perform corresponding on / off actions.
[0140] In one possible implementation, the processing unit 502 is further configured to: Acquire the control information of the gas detector; the control information includes at least one of the following: switch control sub-information, light control sub-information, fan control sub-information, and print control sub-information; According to the control information, the control button module includes multiple buttons that execute corresponding control actions.
[0141] In one possible implementation, the processing unit 502 is further configured to: Obtain the usage status information of the gas detector; the usage status information includes at least one of the following: power usage information, time information, and detection result information. The control display module displays the usage status information.
[0142] In one possible implementation, the processing unit 502 is further configured to: Obtain the audio output information of the gas detector; The audio module is controlled to output the audio output information.
[0143] All relevant content of each step involved in the aforementioned embodiments of the gas detector control method can be referenced to the functional description of the corresponding functional module of the display device in the embodiments of the present invention, and will not be repeated here.
[0144] The module division in this embodiment of the invention is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the invention can be integrated into a single controller, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0145] Based on the same inventive concept, embodiments of the present invention provide an electronic device, please refer to... Figure 6 As shown, the electronic device includes at least one processor 601 and a memory 602 connected to the at least one processor. In this embodiment of the invention, the specific connection medium between the processor 601 and the memory 602 is not limited. Figure 6 Taking the connection between processor 601 and memory 602 via bus 600 as an example, bus 600 in... Figure 6 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The 600 bus can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 6 The bus is represented by only one thick line, but this does not mean that there is only one bus or one type of bus. In addition, the display device also includes a communication interface 603 for receiving or sending data.
[0146] In this embodiment of the invention, the memory 602 stores instructions that can be executed by at least one processor 601. By executing the instructions stored in the memory 602, at least one processor 601 can perform the steps included in the aforementioned gas detector control method.
[0147] The processor 601 is the control center of the electronic device. It can connect to various parts of the electronic device through various interfaces and lines. By running or executing instructions stored in the memory 602 and calling data stored in the memory 602, it can monitor the various functions and data processing of the electronic device as a whole.
[0148] Optionally, processor 601 may include one or more processing units. Processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 601. In some embodiments, processor 601 and memory 602 may be implemented on the same chip; in some embodiments, they may be implemented separately on independent chips.
[0149] Processor 601 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0150] Memory 602, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 602 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 602 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In embodiments of the present invention, memory 602 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0151] By designing and programming the processor 601, the code corresponding to the gas detector control method described in the foregoing embodiments can be embedded into the chip, so that the chip can execute the steps of the aforementioned gas detector control method when running. How to design and program the processor 601 is a well-known technique to those skilled in the art, and will not be described in detail here.
[0152] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium including program code, which, when the program product is run on an electronic device, is used to cause the electronic device to perform the steps of the gas detector control method described above.
[0153] In some possible implementations, various aspects of the gas detector control method provided by the present invention can also be implemented as a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the steps in the gas detector control method according to various exemplary embodiments of the present invention described above.
[0154] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0155] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable display device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable display device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0156] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable display device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0157] These computer program instructions may also be loaded onto a computer or other programmable display device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0158] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A gas detector, characterized in that, The gas detector includes a gas detection port, a sensor module, a control module, and a USB module electrically connected to the control module; The sensor module includes an ambient light sensor, a temperature and humidity sensor, and a gas sensor, and the gas detection port is connected to the gas path of the gas sensor. The ambient light sensor, temperature and humidity sensor, and gas sensor are all electrically connected to the control module.
2. The gas detector according to claim 1, characterized in that, The gas detector also includes a communication module, which includes a WIFI_BT integrated module and a cellular communication module, and the communication module is electrically connected to the control module.
3. The gas detector according to claim 1, characterized in that, The gas detector also includes a thermal printer module electrically connected to the sensor module. The thermal printer module includes a stepper motor, a photoelectric detection sensor, and a thermal printhead.
4. The gas detector according to claim 3, characterized in that, The stepper motor is connected to the paper drive, the photoelectric detection sensor is located inside the paper tray of the thermal printer module, and the stepper motor, photoelectric detection sensor and thermal head are all electrically connected to the control module.
5. The gas detector according to claim 1, characterized in that, The gas detector also includes a camera sensor module, which is electrically connected to the control module.
6. The gas detector according to any one of claims 1-5, characterized in that, The gas detector also includes a fan module, which is set corresponding to the gas detection port and is electrically connected to the control module.
7. The gas detector according to claim 6, characterized in that, The gas detector also includes an indicator light module, which includes at least two LEDs, each of which is electrically connected to the control module.
8. The gas detector according to claim 7, characterized in that, The gas detector also includes a button module, which includes multiple buttons and is electrically connected to the control module.
9. The gas detector according to claim 8, characterized in that, The gas detector also includes a display module, which is electrically connected to the control module.
10. A control method for a gas detector, characterized in that, Applied to any one of the gas detectors described in claims 1-6, the method comprises: The gas to be tested is guided to the gas sensor through the gas detection port; Acquire monitoring data from ambient light sensor, temperature and humidity sensor, and gas sensor, and determine the detection result based on the monitoring data; The test results are transmitted to an external device via a USB module.