Environment detection module
The combined power supply design of MEMS sensors and main control chips solves the problems of large size and high power consumption of the environmental detection module, realizing a miniaturized and low-power environmental detection module that is more convenient to use.
Patent Information
- Application Number
- CN202422605948.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2034-10-28
AI Technical Summary
Existing environmental detection modules are large in size, consume high power, and are inconvenient to use.
A combination of MEMS sensor and main control chip is adopted, which are powered by the first power supply module and the second power supply module respectively. It has high integration and occupies a small volume. The gas detection part and the main control chip are powered separately. The sensor power supply can be turned off separately in standby mode to reduce power consumption.
The miniaturization and low power consumption of the environmental detection module are realized, which meets the requirements of miniaturization and low power consumption and is easy to use.
Smart Images

Figure CN223413248U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of environmental detection, in particular to an environmental detection module. Background Art
[0002] Detecting gas concentrations in the environment can help users evaluate and improve the air quality of the environment, or monitor and control the industrial production environment.
[0003] There are two types of environmental gas detection modules on the market: one is an environmental detection module that detects the concentration of a specific gas in the environment, and the other is an environmental detection module that can detect multiple gases, each with a corresponding electrochemical sensor. The first type of detection function is relatively simple, while the second type, while having diverse functions, is relatively large and consumes high power, which does not meet the needs of miniaturized, low-power environmental detection applications and is inconvenient to use. Utility Model Content
[0004] The technical problem to be solved by the embodiments of the present utility model is to provide an environment detection module to solve the problems in the prior art that the environment detection module is relatively large in size, has high power consumption, and is inconvenient to use.
[0005] The utility model discloses an environment detection module, including a circuit board, a first power supply module, a second power supply module, a first MEMS sensor, a second MEMS sensor, a main control chip and a communication interface, wherein the first MEMS sensor, the second MEMS sensor, the main control chip, the communication interface, the first power supply module and the second power supply module are all arranged on the circuit board, and the first MEMS sensor, the second MEMS sensor and the communication interface are all connected to the main control chip, wherein:
[0006] The first power supply module is connected to the first MEMS sensor, the second MEMS sensor, and an external first power supply, and the first power supply module is used to supply power to the first MEMS sensor and the second MEMS sensor;
[0007] The second power supply module is connected to the main control chip and an external second power supply, and the second power supply module is used to supply power to the main control chip;
[0008] The first MEMS sensor is used to detect the concentration of the first gas and transmit the detected first concentration data to the main control chip;
[0009] The second MEMS sensor is used to detect the concentration of the second gas and transmit the detected second concentration data to the main control chip;
[0010] The main control chip is used to process the first concentration data and the second concentration data, and transmit the processing result data to the outside through the communication interface.
[0011] Optionally, the environmental detection module also includes a third MEMS sensor provided on the circuit board, and the third MEMS sensor is connected to the first power supply module and the main control chip. The third MEMS sensor is used to detect the concentration of a third gas and the temperature and humidity of the environment, and transmit the detected third concentration data and temperature and humidity data to the main control chip. The main control chip is also used to process the third concentration data and temperature and humidity data, and transmit the processing result data to the outside through the communication interface. The first power supply module is also used to power the third MEMS sensor.
[0012] Optionally, the environmental detection module also includes an operational amplifier module and an electrochemical sensor provided on the circuit board. The electrochemical sensor is plugged into the circuit board. The electrochemical sensor is used to detect the concentration of the fourth gas and convert it into a voltage signal. The input end of the operational amplifier module is connected to the electrochemical sensor, and the output end of the operational amplifier module is connected to the main control chip. The operational amplifier module is used to amplify the voltage signal output by the electrochemical sensor and output it to the main control chip.
[0013] Optionally, the operational amplifier module includes a reference voltage unit, a negative feedback unit and a first operational amplifier, the reference voltage unit is connected to the electrochemical sensor and the inverting input terminal of the first operational amplifier, and the negative feedback unit is arranged between the output terminal and the inverting input terminal of the first operational amplifier.
[0014] Optionally, the reference voltage unit includes a second operational amplifier, a first voltage-dividing resistor, a second voltage-dividing resistor, a third voltage-dividing resistor and a fourth voltage-dividing resistor, the first voltage-dividing resistor and the second voltage-dividing resistor are connected in series, the series node of the first voltage-dividing resistor and the second voltage-dividing resistor is connected to the non-inverting input terminal of the second operational amplifier, the other end of the first voltage-dividing resistor is connected to the first power supply module, the other end of the second voltage-dividing resistor is grounded, the inverting input terminal of the second operational amplifier is connected to its own output terminal and one end of the third voltage-dividing resistor, the third voltage-dividing resistor and the fourth voltage-dividing resistor are connected in series, the series node of the third voltage-dividing resistor and the fourth voltage-dividing resistor is connected to the reference electrode and the counter electrode of the electrochemical sensor, the other end of the fourth voltage-dividing resistor is connected to the inverting input terminal of the first operational amplifier, and the working electrode of the electrochemical sensor is connected to the non-inverting input terminal of the first operational amplifier.
[0015] Optionally, the first power supply module includes a first power interface, a voltage stabilizing chip and a filtering unit, the first power interface is used to connect to an external first power supply, the first power interface is connected to the input end of the voltage stabilizing chip and the power input end of the third MEMS sensor, and the output end of the voltage stabilizing chip is connected to the filtering unit and the power input end of the first MEMS sensor and the power input end of the second MEMS sensor.
[0016] Optionally, the environment detection module further includes a shell, the circuit board is arranged in the shell, and the first MEMS sensor, the second MEMS sensor, the third MEMS sensor and the communication interface are all exposed outside the shell.
[0017] Optionally, the first MEMS sensor is a MEMS carbon monoxide sensor; and / or the second MEMS sensor is a MEMS hydrogen sulfide sensor; and / or the third MEMS sensor is a MEMS carbon dioxide sensor.
[0018] Optionally, the communication interface is a TTL serial communication interface.
[0019] Optionally, the environment detection module further includes a debugging interface for debugging a program, and the debugging interface is connected to the main control chip.
[0020] Compared with the prior art, the beneficial effect of the environmental detection module provided by the embodiment of the present invention is that: through the first power supply module, the second power supply module, the first MEMS sensor, the second MEMS sensor, the main control chip and the communication interface arranged on the circuit board, the first MEMS sensor and the second MEMS sensor for detecting the gas concentration can respectively detect the concentration of the two gases, and transmit the concentration data of the two gases to the outside through the communication interface. It adopts MEMS technology and semiconductor materials, has high integration, occupies a small volume, and is conducive to the miniaturization of the overall environmental detection module. The first MEMS sensor, the second MEMS sensor and the main control chip are respectively powered by the first power supply module and the second power supply module, and the gas detection part and the main control chip part are separately powered. In the standby state, the power supply of the first MEMS sensor and the second MEMS sensor can be separately turned off, reducing the power consumption of the entire module, meeting the use requirements of miniaturization and low power consumption of environmental detection, and being easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0022] Figure 1 This is a schematic diagram of the module structure of an embodiment of an environment detection module provided by the present utility model;
[0023] Figure 2 This is a schematic diagram of the module structure of another embodiment of the environment detection module provided by the embodiment of the present utility model;
[0024] Figure 3 This is a circuit diagram of the main control chip provided by the embodiment of the utility model;
[0025] Figure 4 This is a circuit schematic diagram of a MEMS hydrogen sulfide sensor provided by an embodiment of the present utility model;
[0026] Figure 5 This is a circuit schematic diagram of a MEMS carbon monoxide sensor provided by an embodiment of the present utility model;
[0027] Figure 6 This is a schematic diagram of the module structure of another embodiment of the environment detection module provided by the embodiment of the present utility model;
[0028] Figure 7 This is a circuit diagram of an electrochemical liquid sensor provided by an embodiment of the present utility model;
[0029] Figure 8 This is a circuit schematic diagram of the connection between the electrochemical liquid sensor and the operational amplifier module provided by the embodiment of the utility model;
[0030] Figure 9 This is a circuit schematic diagram of the communication interface, the first power interface, and the second power interface provided in an embodiment of the present utility model;
[0031] Figure 10 This is a circuit diagram of the first power supply module provided in an embodiment of the present utility model;
[0032] Figure 11 This is a circuit diagram of the debugging interface and program download interface provided by the embodiment of the utility model;
[0033] Figure 12 This is a schematic diagram of the three-dimensional structure of the environment detection module provided by an embodiment of the present utility model;
[0034] Figure 13 It is a schematic diagram of the three-dimensional structure of the environment detection module provided by an embodiment of the present utility model from another angle.
[0035] 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 1 , 2 , 4 , 7 , 8 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 1 , 2 , 4 , 7 , 8 , 1 , 2 , 4 , 6 ... 110, housing; 120 (J1), debugging interface; 130 (J2), program download interface; U2, MEMS hydrogen sulfide sensor; U3, MEMS carbon monoxide sensor; U4, MEMS carbon dioxide sensor; U5, electrochemical liquid sensor; U6B, second operational amplifier; R1, first voltage-dividing resistor; R2, second voltage-dividing resistor; R3, third voltage-dividing resistor; R4, fourth voltage-dividing resistor; R5, feedback resistor; R6, first adjustment resistor; R7, second adjustment resistor; C1, first filter capacitor; C2, second filter capacitor; C3, third filter capacitor; C4, fourth filter capacitor. DETAILED DESCRIPTION
[0036] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. Now, in conjunction with the accompanying drawings, a detailed description of the preferred embodiments of the present utility model will be given.
[0037] The present invention provides an environment detection module. Figure 1 As shown, the environmental detection module includes a circuit board 10, a first power supply module 20, a second power supply module 30, a first MEMS sensor 40, a second MEMS sensor 50, a main control chip 60 (U1) and a communication interface 70. The first MEMS sensor 40, the second MEMS sensor 50, the main control chip 60 (U1), the communication interface 70, the first power supply module 20 and the second power supply module 30 are all arranged on the circuit board 10, and the first MEMS sensor 40, the second MEMS sensor 50 and the communication interface 70 are all connected to the main control chip 60 (U1).
[0038] The first power supply module 20 is connected to the first MEMS sensor 40 , the second MEMS sensor 50 and an external first power source. The first power supply module 20 is used to supply power to the first MEMS sensor 40 and the second MEMS sensor 50 .
[0039] The second power supply module 30 is connected to the main control chip 60 ( U1 ) and an external second power source. The second power supply module 30 is used to supply power to the main control chip 60 ( U1 ).
[0040] The first MEMS sensor 40 is used to detect the concentration of the first gas and transmit the detected first concentration data to the main control chip 60 ( U1 ).
[0041] The second MEMS sensor 50 is used to detect the concentration of the second gas and transmit the detected second concentration data to the main control chip 60 ( U1 ).
[0042] The main control chip 60 (U1) is used to process the first concentration data and the second concentration data, and transmit the processing result data to the outside through the communication interface 70.
[0043] The environmental monitoring module of the present invention comprises a first power supply module 20, a second power supply module 30, a first MEMS sensor 40, a second MEMS sensor 50, a main control chip 60 (U1), and a communication interface 70 disposed on a circuit board 10. The first MEMS sensor 40 and the second MEMS sensor 50, which are used to detect gas concentrations, can respectively detect the concentrations of two gases and transmit the concentration data of the two gases to an external device via the communication interface 70. The module utilizes MEMS technology and semiconductor materials, resulting in a high level of integration and a small footprint, which facilitates the miniaturization of the overall environmental monitoring module. Furthermore, the first MEMS sensor 40, the second MEMS sensor 50, and the main control chip 60 (U1) are powered by the first power supply module 20 and the second power supply module 30, respectively. The gas detection portion and the main control chip 60 (U1) are powered separately. In standby mode, the power supply to the first MEMS sensor 40 and the second MEMS sensor 50 can be individually shut down, reducing the power consumption of the entire module and meeting the requirements for miniaturization and low power consumption of environmental monitoring applications, providing ease of use.
[0044] MEMS (Micro-Electro-Mechanical System) sensors are a key branch of MEMS devices. These sensors utilize MEMS manufacturing technology, which combines microelectronics and micromachining. Their materials, operating principles, and fabrication processes differ significantly from traditional sensors. MEMS sensors operate based on the unique effects of their sensitive materials, and their fabrication process combines IC microelectronics and MEMS micromachining techniques. MEMS sensors offer advantages such as small size, low power consumption, high sensitivity, fast response recovery, simple drive circuits, excellent stability, long life, robust structure, and good shock resistance.
[0045] The main control chip 60 (U1) processes the first concentration data and the second concentration data by converting the first concentration data and the second concentration data into data that is compatible with the communication interface 70. This can be achieved through an existing chip, such as an STM32 series chip. The software part does not belong to the improvement of the present invention. The circuit schematic diagram of the main control chip 60 (U1) can be referred to. Figure 3 .
[0046] The first MEMS sensor 40 can be one of a MEMS oxygen sensor, a MEMS carbon monoxide sensor U3, a MEMS methane sensor, or a MEMS hydrogen sulfide sensor U2, respectively detecting oxygen, carbon monoxide, methane, and hydrogen sulfide. The second MEMS sensor 50 can be another of the MEMS oxygen sensor, the MEMS carbon monoxide sensor U3, the MEMS methane sensor, and the MEMS hydrogen sulfide sensor U2.
[0047] For example, the first MEMS sensor 40 uses a MEMS hydrogen sulfide sensor U2, which can detect the concentration of hydrogen sulfide in the environment. Specifically, SMD1007 can be used. The circuit schematic diagram of the MEMS hydrogen sulfide sensor U2 can be referenced. Figure 4 The power input of the MEMS hydrogen sulfide sensor U2 is connected to the first power supply module 20, and the output is connected to the main control chip 60 (U1). The second MEMS sensor 50 uses a MEMS carbon monoxide sensor U3, which can detect the concentration of carbon monoxide in the environment. Specifically, it can use SMD1003. The circuit schematic diagram of the MEMS carbon monoxide sensor U3 can be referenced. Figure 5 The power input end of the MEMS carbon monoxide sensor U3 is connected to the first power supply module 20, and the output end is connected to the main control chip 60 (U1).
[0048] refer to Figure 6 In an optional embodiment of the present application, the environmental detection module also includes a third MEMS sensor 80 provided on the circuit board 10. The third MEMS sensor 80 is connected to the first power supply module 20 and the main control chip 60 (U1). The third MEMS sensor 80 is used to detect the concentration of the third gas and the temperature and humidity of the environment, and transmit the detected third concentration data and temperature and humidity data to the main control chip 60 (U1). The main control chip 60 (U1) is also used to process the third concentration data and temperature and humidity data, and transmit the processing result data to the outside through the communication interface 70. The first power supply module 20 is also used to power the third MEMS sensor 80.
[0049] By providing the third MEMS sensor 80, the environment detection module can also detect the concentration of the third gas and the temperature and humidity of the environment through the third MEMS sensor 80, thereby increasing the functional diversity of the environment detection module. The first power supply module 20 can power the third MEMS sensor 80 to ensure its normal operation.
[0050] In specific implementation, the third MEMS sensor 80 can be a MEMS carbon dioxide sensor U4, such as a SCD41 carbon dioxide sensor. The circuit schematic diagram of the third MEMS sensor 80 can be referred to. Figure 7 The MEMS carbon dioxide sensor U4 can not only detect the carbon dioxide concentration in the environment, but also detect the temperature and humidity of the environment. It has a high degree of integration and can detect more environmental parameters in a smaller volume, which is conducive to the functional diversification and miniaturization of the environmental detection module.
[0051] refer to Figure 6 The environmental detection module also includes an operational amplifier module 90 and an electrochemical sensor 100. The electrochemical sensor 100 is used to detect the concentration of the fourth gas and convert it into a voltage signal. The input end of the operational amplifier module 90 is connected to the electrochemical sensor 100, and the output end of the operational amplifier module 90 is connected to the main control chip 60 (U1). The operational amplifier module 90 is used to amplify the voltage signal output by the electrochemical sensor 100 and output it to the main control chip 60 (U1).
[0052] By installing electrochemical sensor 100, the concentration of a fourth gas can be detected, adding the ability to detect another gas and increasing the functional diversity of the environmental monitoring module. Electrochemical sensor 100 is plugged into circuit board 10, allowing designers to quickly replace electrochemical sensors 100 with different functions to detect different gases based on the functional requirements of the environmental monitoring module.
[0053] Electrochemical sensor 100 has high sensitivity for detecting target molecules or compounds, capable of detecting extremely low concentrations of target substances and outputting a tiny analog signal, namely a tiny voltage signal. By providing an operational amplifier, this tiny voltage signal output by electrochemical sensor 100 can be amplified, increasing its amplitude and stability. The amplified signal is then transmitted to main control chip 60 (U1) for further processing.
[0054] Specifically, the electrochemical sensor 100 uses an electrochemical liquid sensor U5 that can detect oxygen concentration, and its preheating time is short, and preheating can be completed in a few minutes.
[0055] In an optional embodiment of this application, refer to Figure 6 and Figure 8The operational amplifier module 90 includes a reference voltage unit 91, a negative feedback unit 92 and a first operational amplifier 93 (U6A). The reference voltage unit 91 is connected to the electrochemical sensor 100 and the inverting input terminal of the first operational amplifier 93 (U6A). The negative feedback unit 92 is set between the output terminal and the inverting input terminal of the first operational amplifier 93 (U6A).
[0056] The reference voltage unit 91 provides a stable reference voltage for the electrochemical sensor 100 and the first operational amplifier 93 (U6A), helping to ensure signal accuracy and stability. The negative feedback unit 92 stabilizes the output of the first operational amplifier 93 (U6A). The first operational amplifier 93 (U6A) is responsible for signal amplification and processing. It receives input signals from the reference voltage unit 91 and the negative feedback unit 92, performs amplification, and transmits the output signal to the subsequent main control chip 60 (U1).
[0057] Optionally, continue to refer to Figure 6 and Figure 8 The reference voltage unit 91 includes a second operational amplifier U6B, a first voltage-dividing resistor R1, a second voltage-dividing resistor R2, a third voltage-dividing resistor R3 and a fourth voltage-dividing resistor R4. The first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 are connected in series, and the series node of the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 is connected to the non-inverting input terminal of the second operational amplifier U6B. The other end of the first voltage-dividing resistor R1 is connected to the first power supply module 20, and the other end of the second voltage-dividing resistor R2 is grounded. The inverting input terminal of the second operational amplifier U6B is connected to its own output terminal and one end of the third voltage-dividing resistor R3. The third voltage-dividing resistor R3 and the fourth voltage-dividing resistor R4 are connected in series, and the series node of the third voltage-dividing resistor R3 and the fourth voltage-dividing resistor R4 is connected to the reference electrode and the counter electrode of the electrochemical sensor 100. The other end of the fourth voltage-dividing resistor R4 is connected to the inverting input terminal of the first operational amplifier 93 (U6A), and the working electrode of the electrochemical sensor 100 is connected to the non-inverting input terminal of the first operational amplifier 93 (U6A).
[0058] The second operational amplifier U6B and the first and second voltage-dividing resistors R1 and R2 connected in series form a voltage follower, which further provides a stable reference voltage for the electrochemical sensor 100 and the first operational amplifier 93 (U6A) through the third and fourth voltage-dividing resistors R3 and R4.
[0059] In a specific implementation, the first operational amplifier 93 (U6A) and the second operational amplifier U6B can be integrated on the same chip, such as the chip ADA4505, which has a high degree of integration and occupies a small volume.
[0060] In an optional embodiment of the present application, reference Figure 6 and Figure 8Negative feedback unit 92 includes a feedback resistor R5 and a first filter capacitor C1. The feedback resistor R5 and the first filter capacitor C1 are connected in parallel. A first parallel node of the feedback resistor R5 and the first filter capacitor C1 is connected to the inverting input of the first operational amplifier 93 (U6A), and a second parallel node is connected to the output of the first operational amplifier 93 (U6A). The arrangement of the feedback resistor R5 and the first filter capacitor C1 can make the output of the first operational amplifier 93 (U6A) more stable.
[0061] Optionally, the operational amplifier module 90 may further include an input adjustment unit 94 and an input filtering unit 95. The input adjustment unit 94 includes a first adjustment resistor R6 and a second adjustment resistor R7 connected in series. The series node of the first and second adjustment resistors R6 and R7 is connected to the working electrode of the electrochemical sensor 100. The other end of the first adjustment resistor R6 is connected to the non-inverting input of the first operational amplifier 93 (U6A). The other end of the second adjustment resistor R7 is connected to the series node of the first and second voltage divider resistors R1 and R2. The input filtering unit 95 includes a second filter capacitor C2, a third filter capacitor C3, and a fourth filter capacitor C4. One end of the second filter capacitor C2 and one end of the third filter capacitor C3 are both connected to the reference electrode of the electrochemical sensor 100 and the series node of the first and second voltage divider resistors R1 and R2. One end of the fourth filter capacitor C4 is connected to the non-inverting input of the first operational amplifier 93 (U6A) and the series node of the first and second voltage divider resistors R1 and R2.
[0062] By providing first adjustment resistor R6 and second adjustment resistor R7, the input signal of first operational amplifier 93 (U6A) can be adjusted, reducing the impact of external circuits on first operational amplifier 93 (U6A) and improving signal transmission efficiency. Second filter capacitor C2, third filter capacitor C3, and fourth filter capacitor C4 filter the input signal of first operational amplifier 93 (U6A), optimizing the operational stability of the operational amplifier.
[0063] In an optional embodiment of this application, refer to Figures 3 to 7 、 Figure 9 、 Figure 10 The first power supply module 20 includes a first power interface 21, a voltage stabilizing chip 22 (U7) and a filtering unit 23. The first power interface 21 is used to connect to an external first power supply. The first power interface 21 is connected to the input end of the voltage stabilizing chip 22 (U7) and the power input end of the third MEMS sensor 80. The output end of the voltage stabilizing chip 22 (U7) is connected to the filtering unit 23 and the power input end of the first MEMS sensor 40 and the power input end of the second MEMS sensor 50.
[0064] The voltage stabilizing chip 22 ( U7 ) and the third MEMS sensor 80 can obtain power through the first power interface 21 to operate.
[0065] The voltage regulator chip 22 (U7) is an electronic device that converts an unstable input voltage (which may be a floating DC voltage or AC voltage) into a stable output voltage. The voltage regulator chip 22 (U7) provides a stable, low-ripple supply voltage for the first MEMS sensor 40 and the second MEMS sensor 50. In a specific implementation, the voltage regulator chip 22 (U7) can use a chip model such as AMS1117-3.3 to provide a stable supply voltage for the first MEMS sensor 40 and the second MEMS sensor 50.
[0066] The filtering unit 23 may use a plurality of filter capacitors connected in parallel to filter the output voltage, thereby providing a more stable power supply voltage for the first MEMS sensor 40 and the second MEMS sensor 50 .
[0067] The second power supply module 30 includes a second power interface 31 , which is connected to the power input terminal of the main control chip 60 ( U1 ) and an external second power supply, obtains power from the second power supply, and provides an operating voltage for the main control chip 60 ( U1 ).
[0068] The user can cut off the path between the first power interface 21 and the corresponding power supply as needed, and individually shut down the power supply to the first MEMS sensor 40 , the second MEMS sensor 50 , and the third MEMS sensor 80 , thereby reducing the power consumption of the environment detection module.
[0069] In an optional embodiment of the present application, the communication interface 70 is a TTL (Transistor-Transistor Logic) serial communication interface 70. The TTL serial communication interface 70 is simple to use, requires minimal wiring, and is typically implemented using simple digital logic circuits, eliminating the need for complex analog circuits or dedicated chips, resulting in lower costs.
[0070] In other embodiments, the communication interface 70 may also be an SPI (Serial Peripheral Interface) serial communication interface 70 , a UART (Universal Asynchronous Receiver-Transmitter) serial communication interface 70 , or the like.
[0071] In an optional embodiment of the present application, reference Figure 6 and Figure 11The environment detection module further includes a debugging interface 120 (J1) for debugging a program. The debugging interface 120 (J1) is connected to the main control chip 60 (U1).
[0072] By setting up the debug interface 120 (J1), the debug interface 120 (J1) connects the main control chip 60 (U1) and the debugging device, making it convenient for developers of the environment detection module to debug and optimize the program; it can monitor the program running status in real time, view variable values, perform code debugging and other operations, which helps to quickly discover and solve problems; it can easily update the firmware on the main control chip 60 (U1) to fix program errors, add new functions or improve performance.
[0073] Furthermore, the environment detection module may also include a program download interface 130 (J2) for downloading programs to the main control chip 60 (U1). Developers can use the program download interface 130 (J2) to download and burn programs to the main control chip 60 (U1). The circuit schematic diagram of the program download interface 130 (J2) and the debug interface 120 (J1) can be found in the figure.
[0074] In an optional embodiment of the present application, reference Figure 12 and Figure 13 The environment detection module further includes a housing 110 , the circuit board 10 is disposed in the housing 110 , and the first MEMS sensor 40 , the second MEMS sensor 50 , the third MEMS sensor 80 and the communication interface 70 are all disposed outside the housing 110 .
[0075] The housing 110 provides space for the circuit board 10, effectively protecting it. The first, second, and third MEMS sensors 40, 50, and 80 are all exposed within the housing 110, enabling greater contact with the external environment, effectively detecting corresponding gas concentrations, and improving detection accuracy. The communication port 70 is exposed within the housing 110, facilitating docking with a corresponding external communication port 70, making operation more convenient.
[0076] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Those skilled in the art may modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present invention.
Claims
1. An environmental detection module, characterized in that: The device comprises a circuit board, a first power supply module, a second power supply module, a first MEMS sensor, a second MEMS sensor, a main control chip and a communication interface, wherein the first MEMS sensor, the second MEMS sensor, the main control chip, the communication interface, the first power supply module and the second power supply module are all arranged on the circuit board, and the first MEMS sensor, the second MEMS sensor and the communication interface are all connected to the main control chip, wherein: The first power supply module is connected to the first MEMS sensor, the second MEMS sensor, and an external first power supply, and the first power supply module is used to supply power to the first MEMS sensor and the second MEMS sensor; The second power supply module is connected to the main control chip and an external second power supply, and the second power supply module is used to supply power to the main control chip; The first MEMS sensor is used to detect the concentration of the first gas and transmit the detected first concentration data to the main control chip; The second MEMS sensor is used to detect the concentration of the second gas and transmit the detected second concentration data to the main control chip; The main control chip is used to process the first concentration data and the second concentration data, and transmit the processing result data to the outside through the communication interface.
2. The environment detection module according to claim 1, characterized in that: The environmental detection module also includes a third MEMS sensor provided on the circuit board. The third MEMS sensor is connected to the first power supply module and the main control chip. The third MEMS sensor is used to detect the concentration of a third gas and the temperature and humidity of the environment, and transmit the detected third concentration data and temperature and humidity data to the main control chip. The main control chip is also used to process the third concentration data and temperature and humidity data, and transmit the processing result data to the outside through the communication interface. The first power supply module is also used to power the third MEMS sensor.
3. The environment detection module according to claim 2, characterized in that: The environmental detection module also includes an operational amplifier module and an electrochemical sensor provided on the circuit board. The electrochemical sensor is plugged into the circuit board. The electrochemical sensor is used to detect the concentration of the fourth gas and convert it into a voltage signal. The input end of the operational amplifier module is connected to the electrochemical sensor, and the output end of the operational amplifier module is connected to the main control chip. The operational amplifier module is used to amplify the voltage signal output by the electrochemical sensor and output it to the main control chip.
4. The environment detection module according to claim 3, characterized in that: The operational amplifier module includes a reference voltage unit, a negative feedback unit and a first operational amplifier. The reference voltage unit is connected to the electrochemical sensor and the inverting input terminal of the first operational amplifier. The negative feedback unit is arranged between the output terminal and the inverting input terminal of the first operational amplifier.
5. The environment detection module according to claim 4, characterized in that: The reference voltage unit includes a second operational amplifier, a first voltage-dividing resistor, a second voltage-dividing resistor, a third voltage-dividing resistor and a fourth voltage-dividing resistor. The first voltage-dividing resistor and the second voltage-dividing resistor are connected in series, and the series node of the first voltage-dividing resistor and the second voltage-dividing resistor is connected to the non-inverting input terminal of the second operational amplifier. The other end of the first voltage-dividing resistor is connected to the first power supply module, and the other end of the second voltage-dividing resistor is grounded. The inverting input terminal of the second operational amplifier is connected to its own output terminal and one end of the third voltage-dividing resistor. The third voltage-dividing resistor and the fourth voltage-dividing resistor are connected in series, and the series node of the third voltage-dividing resistor and the fourth voltage-dividing resistor is connected to the reference electrode and the counter electrode of the electrochemical sensor. The other end of the fourth voltage-dividing resistor is connected to the inverting input terminal of the first operational amplifier, and the working electrode of the electrochemical sensor is connected to the non-inverting input terminal of the first operational amplifier.
6. The environment detection module according to claim 2, characterized in that: The first power supply module includes a first power interface, a voltage stabilizing chip and a filtering unit. The first power interface is used to connect to an external first power supply. The first power interface is connected to the input end of the voltage stabilizing chip and the power input end of the third MEMS sensor. The output end of the voltage stabilizing chip is connected to the filtering unit and the power input end of the first MEMS sensor and the power input end of the second MEMS sensor.
7. The environment detection module according to claim 2, characterized in that: The environment detection module further includes a housing, the circuit board is disposed in the housing, and the first MEMS sensor, the second MEMS sensor, the third MEMS sensor and the communication interface are all exposed outside the housing.
8. The environment detection module according to any one of claims 2 to 7, characterized in that: The first MEMS sensor is a MEMS carbon monoxide sensor; and / or the second MEMS sensor is a MEMS hydrogen sulfide sensor; and / or the third MEMS sensor is a MEMS carbon dioxide sensor.
9. The environment detection module according to any one of claims 1 to 7, characterized in that: The communication interface is a TTL serial communication interface.
10. The environment detection module according to any one of claims 1 to 7, characterized in that: The environment detection module also includes a debugging interface for debugging a program, and the debugging interface is connected to the main control chip.