A fully functional gas sensor
By designing full -functional gas sensors, digital selection circuits and replaceable sensor modules are used to solve the problem of limited and heavy equipment volume and heavy equipment in the existing sensor detection range, and realize the flexible detection and portable operation of a variety of chemical environments, and improve the improvement of multiple chemical environments. Experimental efficiency and operational safety.
Patent Information
- Application Number
- CN202411344600.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-09-25
AI Technical Summary
Most existing gas sensors are detected by specific gases or gas categories, and the material is fixed and cannot be replaced and recycled, making it difficult to adapt to various chemical environments, and the equipment is large and heavy, making it difficult to portable.
Designed a full -functional gas sensor, using digital selection circuit and replaceable sensor modules, supporting the use of multiple gas -sensitive materials, combined with lightweight sensor structure and advanced ADC modulus conversion circuit, to achieve a variety of chemical environments for a variety of chemical environments Detect and connect through integrated software systems and cloud platforms to achieve real -time monitoring and intelligent alarm.
The scope of use of sensors has been extended, the flexible detection of a variety of chemical environments is achieved, the flexibility and efficiency of experiments are improved, and the operational safety and convenience of operation is enhanced through a portable design and intelligent alarm system.
Smart Images

Figure CN118858385B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas detection equipment, in particular to a full-function gas sensor. Background Art
[0002] In the field of materials science, especially in the research of semiconductor gas-sensitive materials, there is a significant demand for the performance evaluation of gas-sensitive materials. Semiconductor gas-sensitive materials are generally divided into two categories: N-type and P-type. The conductivity reactions of these two materials have significantly different responses to different types of gases (oxidizing and reducing gases). N-type materials mainly use electrons as carriers. When exposed to oxidizing gases, the resistance increases, while when exposed to reducing gases, the resistance decreases; P-type materials use holes as carriers, and their resistance reaction trend is opposite to that of N-type. This property makes gas-sensitive materials very effective in detecting environmental gas components, but it also brings specific challenges.
[0003] Most gas sensors currently on the market are designed to detect a specific type or a class of gases with similar properties, and these sensors usually use a fixed type of gas-sensitive material and cannot be replaced or recycled. In addition, material research teams at universities and research institutes often face the challenge of lacking interdisciplinary knowledge such as electronics, mechanics, and computers in the research of new semiconductor gas-sensitive materials, which makes it almost impossible for these teams to effectively test material properties outside the laboratory. Existing gas-sensitive testers such as the Weisheng WS-30A are difficult to carry due to their large size and heavy weight, limiting their scope of application outside the laboratory. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention provides a full-function gas sensor, which solves the problem in the prior art that various types of gas sensors available on the market can only detect one or a class of gases with similar properties, and the circuit design is specifically suitable for one material and cannot be disassembled and recycled.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a full-function gas sensor, comprising a lower shell, an upper shell is arranged on the upper side of the lower shell, components three are arranged at two corners of the upper surface of the upper shell, components one are arranged on the outer walls of the two components three, the outer wall of the component one is fixedly connected with a mounting piece, the other end of the mounting piece is rotatably connected to the outer wall of the component three, a torsion spring one is sleeved on the outside of the mounting piece, one end of the torsion spring one is connected with a probe, the other end of the torsion spring one is connected with a wire, the wire is connected to a circuit board, a connecting piece is fixedly connected on the outer wall of the connecting piece, a torsion spring two is sleeved on the outside of the connecting piece, a component two is penetrated through the middle of the component three, the outer wall of the component two is inserted into the inner wall of the connecting piece, a heat dissipation component is arranged on the outer wall of the lower shell, and a mounting component is arranged on the outer walls of the lower shell and the upper shell.
[0006] Preferably, the heat dissipation assembly includes a mounting groove, the mounting groove is provided at the bottom of the lower shell, a fan is fixedly connected to the inner wall of the mounting groove, and a plurality of ventilation holes are provided on the outer wall of the lower shell.
[0007] Preferably, a battery box is provided on the outer wall of the lower shell, an OLED screen is provided on the upper surface of the upper shell, a switch is provided on the upper surface of the upper shell, and the OLED screen and the switch are arranged in oblique symmetry.
[0008] Preferably, the installation assembly includes two card blocks, the outer walls of the two card blocks are fixedly connected to the outer wall of the lower shell body, the two card blocks are symmetrically arranged, the outer wall of the lower shell body is fixedly connected to two mounting buckles, the two mounting buckles are symmetrically arranged on the outer wall of the upper shell body, and the inner wall of each mounting buckle is sleeved on the outer wall of the card block.
[0009] A fully functional gas sensor circuit, comprising:
[0010] Digital selection circuit, which is used to adapt to different detection conditions and logic processing;
[0011] A voltage stabilization circuit, which is used to receive and stabilize the input power signal to ensure that subsequent circuit components can operate at a safe and stable voltage;
[0012] An ADC analog-to-digital conversion circuit is connected to the digital selection circuit and is used to convert the received analog signal into a digital signal;
[0013] The sound and light alarm circuit is connected to the single-chip control circuit and is used to receive the control signal and generate an alarm;
[0014] Display circuit, whose display chip is connected to the microcontroller control circuit through the I2C protocol, is used to display the processed signal content
[0015] Preferably, the voltage stabilizing circuit comprises:
[0016] A first light emitting diode, a first end of which is connected to the input voltage, which is used to protect the component from damage when the power supply is reversely connected, and to provide a step-down reference;
[0017] The first capacitive device and the second capacitive device, both of which have first ends connected to the input voltage, are used to smooth the input voltage, filter high-frequency noise and voltage spikes, and ensure the stability of the power input;
[0018] The first voltage stabilizing chip and the second voltage stabilizing chip have first ends connected to the second ends of the first capacitive device and the second capacitive device respectively, and are used to further convert the voltage smoothed by the capacitive device into a specific stable output voltage to meet the voltage requirements of different circuit parts.
[0019] Preferably, the ADC analog-to-digital conversion circuit comprises:
[0020] an operational amplifier, a first input terminal of which is connected to the third output voltage, a second input terminal of which is connected to the output terminal of the operational amplifier, and which is used to adjust and stabilize the voltage signal from the third output voltage to the output terminal of the operational amplifier;
[0021] The ADC analog-to-digital conversion chip has a first end connected to the output end of the operational amplifier and the other end connected to the single-chip microcomputer control circuit. It is used to convert the analog signal output from the operational amplifier into a digital signal so that the single-chip microcomputer can process these signals.
[0022] Preferably, the digital selection circuit comprises:
[0023] A plurality of NOT logic gates, whose multiple input terminals are respectively connected to the first output terminal, the second output terminal and the third output terminal of the single chip control circuit, and whose multiple input terminals and output terminals are connected to the 3-input AND logic gate, which is used to process the received input signal;
[0024] A plurality of 3-input AND logic gates, which are respectively connected to different output terminals of the NOT logic gates, and are used to perform a logic “AND” operation on the outputs from the NOT logic gates to generate a synthesized logic output signal for controlling subsequent switch transistors;
[0025] Eight switch transistors, a first end of which is connected to a first output end of a 3-input AND logic gate, and used to control the on and off of current according to a logic output signal received from the 3-input AND logic gate, thereby controlling the flow direction of current connected to the load resistor;
[0026] Eight load resistors, each having a first end connected to a plurality of switch transistor control terminals, are used to limit the amount of current passing through when the switch transistor is turned on, thereby protecting the circuit from damage caused by excessive current, and are also used to generate a specific voltage drop for signal processing in subsequent circuits.
[0027] Preferably, the sound and light alarm circuit comprises:
[0028] A ninth switch transistor, a first end of which is connected to the single-chip control circuit, a control end of which is connected to the second end of the integrated structure electronic sounder, and is used to receive a control signal from the single-chip computer to control the activation and deactivation of the electronic sounder;
[0029] A second light emitting diode is connected to the output voltage, has an input terminal connected to the first output potential terminal, and an output terminal connected to the ninth switch transistor control terminal, and is used to provide a visual alarm and display the circuit is in an activated state by emitting light.
[0030] A software system for coordinating with a full-function gas sensor circuit, comprising:
[0031] WeChat applet end, which is used to connect to the onenet cloud platform via the MQTT protocol;
[0032] The parameter setting module is used by users to set and publish various operating parameters to the MCU to ensure that the hardware operates according to the requirements set by the software;
[0033] A small independent server that receives data sent from the microcontroller via the MQTT protocol and aggregates and relays it.
[0034] Working principle: Initialization and setting are performed first: turn on the device switch to start the gas sensor. Enter the required monitoring parameters in the WeChat applet, such as the type of gas to be monitored, concentration threshold, etc. The parameters are transmitted to the microcontroller through the cloud platform, and the microcontroller configures the corresponding settings of the sensor and circuit. Then data acquisition is performed: the gas sensor starts to collect gas samples in the surrounding environment. The collected analog signal is sent to the ADC analog-to-digital conversion circuit by the sensor and converted into a digital signal. Then data processing and display are performed: the converted digital signal is sent to the microcontroller for further processing. The processing results are displayed in real time on the OLED screen and sent to the WeChat applet through the cloud platform. Users can view the real-time concentration smoothing curve chart and other important information on the applet. If the gas concentration exceeds the preset threshold, the sound and light alarm circuit is activated and an alarm is issued. At the same time, the alarm information will also be pushed to the user through the applet. In this process, all monitoring data are stored in the cloud server and can be used for subsequent data analysis and trend prediction. The gas sensor needs to regularly check and clean the sensor and heat dissipation components in the device during use to ensure the stable operation of the device. Replace the battery as needed or easily replace the battery through the battery box. When building the full-function gas sensor housing and carrier, component one uses the elasticity of torsion spring one. After torsion spring one is deformed, it will return to its original state under a certain external force, and is based on the ability of the probe to stably fix the mold. Component two also uses the elasticity of torsion spring two to give a reaction force to achieve the purpose of stably fixing the mold after rotation. After being fixed by the above-mentioned components one and two, the purpose of lifting, extending and lowering the probe and rotating it left and right to replace the mold is achieved.
[0035] The present invention provides a fully functional gas sensor having the following beneficial effects:
[0036] 1. The present invention allows the use of a variety of gas-sensitive materials, including N-type and P-type semiconductor materials, for testing by designing a digital selection circuit and a replaceable sensor module. This enables the sensor to be applicable to a variety of chemical environments and conditions, thereby expanding its scope of use.
[0037] 2. The present invention designs a lightweight sensor structure, which is more compact and lightweight than traditional large laboratory equipment, and is easy to carry and operate on site. Users can quickly replace different sensor modules through a simple mechanical structure, thereby improving the flexibility and efficiency of the experiment.
[0038] 3. The present invention adopts advanced ADC analog-to-digital conversion circuit and reduces noise and interference through built-in signal processing function, ensuring accurate and reliable conversion from analog signal to digital signal.
[0039] 4. The present invention realizes real-time monitoring, remote management and intelligent alarm system of data through integrated software system and cloud platform connection. Users can receive data and adjust parameters in real time through WeChat applet, and obtain instant alarm when dangerous gas concentration is detected, which greatly enhances the safety and convenience of operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A perspective view of the present invention;
[0041] Figure 2 It is a structural schematic diagram of the fan of the present invention;
[0042] Figure 3 is a perspective view of the present invention;
[0043] Figure 4 It is a structural schematic diagram of a torsion spring 1 of the present invention;
[0044] Figure 5 This is a circuit module diagram of a signal selection module of the present invention;
[0045] Figure 6 This is a module diagram of the power supply step-down and voltage stabilization circuit of the present invention;
[0046] Figure 7 It is a module diagram of the sound and light alarm circuit of the present invention;
[0047] Figure 8 This is a module diagram of the power indicator light circuit of the present invention;
[0048] Fig. 9 A circuit module diagram for software interaction of the present invention;
[0049] Fig.10 A schematic diagram of the system entry interface of the software end of the present invention;
[0050] Fig.11 A schematic diagram of a parameter input interface of the software end of the present invention;
[0051] Fig.12 This is a diagram showing the effect of the software end of the present invention;
[0052] Fig.13 This is a diagram showing the second effect of the software end of the present invention;
[0053] Fig.14 It is a framework diagram of the ADC analog-to-digital conversion circuit of the present invention.
[0054] Among them, 1. Lower shell; 2. Upper shell; 3. Component one; 4. Component two; 5. Mounting part; 6. Torsion spring one; 7. Probe; 8. Battery box; 9. Mounting buckle; 10. Block; 11. Ventilation hole; 12. OLED screen; 13. Switch; 14. Mounting slot; 15. Fan; 16. Torsion spring two; 17. Component three; 18. Connector. DETAILED DESCRIPTION
[0055] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] Example:
[0057] Please refer to the attached Figure 1 -Attached Figure 4 The embodiment of the present invention provides a full-function gas sensor, including a lower shell 1, an upper shell 2 is arranged on the upper side of the lower shell 1, components three 17 are arranged at two corners of the upper surface of the upper shell 2, components one 3 are arranged on the outer walls of the two components three 17, the outer wall of the component one 3 is fixedly connected with a mounting member 5, the other end of the mounting member 5 is rotatably connected to the outer wall of the component three 17, the outer sleeve of the mounting member 5 is provided with a torsion spring one 6, one end of the torsion spring one 6 is connected to a probe 7, the other end of the torsion spring one 6 is connected to a wire, the wire is connected to a circuit board, the outer wall of the component one 3 is fixedly connected with a connecting member 18, the outer sleeve of the connecting member 18 is provided with a torsion spring two 16, the middle part of the component three 17 is penetrated by a component two 4, the outer wall of the component two 4 is inserted into the inner wall of the connecting member 18, the outer wall of the lower shell 1 is provided with a heat dissipation component, and the outer walls of the lower shell 1 and the upper shell 2 are provided with mounting components.
[0058] Specifically, component one 3, component two 4 and component three 17 are the core components of the sensor, each of which has an important function. Component one 3 is located at the corner of the upper shell 2, and its outer wall is fixedly connected to a mounting member 5, and the rotation of the mounting member 5 is connected to the outer wall of component three 17. This installation method allows component one 3 to rotate within a certain range to adapt to different environmental requirements. Connecting member 18 is fixedly connected to the outer wall of component one 3, and component two 4 is inserted inside the connecting member 18, so that component two 4 can establish a stable connection with component one 3.
[0059] The functions of the torsion spring 1 6 and the torsion spring 2 16 are to provide a certain elastic support and connection. The torsion spring 1 6 is connected between the mounting member 5 and the probe 7, and its function is to enable the probe 7 to sensitively detect the ambient gas and transmit the detected information to the circuit board. The torsion spring 2 16 is connected between the connecting member 18 and the component 2 4, and its function is to maintain the stability of the component 2 4 and ensure that it can accurately dock with the component 1 3.
[0060] The circuit board is the control center of the sensor, responsible for receiving, processing and storing data from the probe 7, and can transmit the data to external devices through connecting wires for further analysis and application. In this way, the sensor can achieve real-time monitoring and accurate detection of environmental gases, thereby helping people take appropriate measures in time to deal with possible risks.
[0061] The heat dissipation component is set up to ensure that the sensor can maintain a stable temperature during long-term operation to prevent overheating from affecting the performance and accuracy of the sensor. The installation component provides a convenient installation method, allowing the sensor to be flexibly applied in different scenarios and environments. It is also to increase the gas circulation speed in a closed environment, speed up the material response speed, and reduce the response time.
[0062] Please refer to the attached Figure 2 The heat dissipation assembly includes a mounting groove 14 , which is disposed at the bottom of the lower housing 1 , a fan 15 is fixedly connected to the inner wall of the mounting groove 14 , and a plurality of ventilation holes 11 are disposed on the outer wall of the lower housing 1 .
[0063] Specifically, when the sensor works for a long time, the internal circuits and components will generate heat. If the heat is not dissipated in time, the temperature will gradually rise, which may cause the sensor performance to deteriorate or even be damaged. In order to prevent this from happening, the fan 15 in the heat dissipation component will start working, continuously inhaling external air and exhausting it, forming an air flow cycle, thereby taking the heat out of the sensor. At the same time, multiple ventilation holes 11 provide sufficient ventilation, ensure the smooth flow of air, thereby ensuring the maximum heat dissipation effect, and in order to increase the gas circulation speed in a closed environment, speed up the material response speed, and reduce the response time.
[0064] Please refer to the attached Figure 3 A battery box 8 is disposed on the outer wall of the lower shell 1, an OLED screen 12 is disposed on the upper surface of the upper shell 2, and a switch 13 is disposed on the upper surface of the upper shell 2. The OLED screen 12 and the switch 13 are arranged in oblique symmetry.
[0065] Specifically, the battery box 8 is arranged on the outer wall of the lower housing 1, and its function is to provide power for the sensor. Powered by the battery, the sensor can operate independently of the external power supply, which increases the portability and flexibility of its use. The user can replace the battery at any time to ensure the continuous operation of the sensor. The position design of the battery box 8 is reasonable, which not only facilitates the installation and replacement of the battery, but also does not occupy the internal space of the sensor, ensuring the compactness and stability of the sensor.
[0066] Please refer to the attached Figure 1 OLED screen 12 is the display device of the sensor, and its function is to show the gas monitoring data and the working status of the sensor to the user in real time. Due to the high contrast and wide viewing angle characteristics of the OLED screen, the user can clearly view the monitoring data and thus timely understand the situation of the ambient gas. Switch 13 is used to control the power on and off and other functions of the sensor, and the user can conveniently operate the sensor through switch 13. The oblique symmetrical arrangement design is both beautiful and practical, making it more convenient and comfortable for the user to operate.
[0067] When the user needs to use the sensor, the sensor power supply is turned on through the switch 13. The battery box 8 provides power so that the sensor starts to work. The sensor element inside the sensor starts to monitor the ambient gas and processes the data through the circuit board. The processed data is sent to the OLED screen 12 for display, and the user can understand the gas monitoring results in real time. When the user does not need to use the sensor, the sensor power supply is turned off through the switch 13, thereby saving power and extending battery life.
[0068] Please refer to the attached Figure 1 The installation assembly includes two card blocks 10, the outer walls of the two card blocks 10 are fixedly connected to the outer wall of the lower shell 1, and the two card blocks 10 are symmetrically arranged. The outer wall of the lower shell 1 is fixedly connected to two mounting buckles 9, and the two mounting buckles 9 are symmetrically arranged on the outer wall of the upper shell 2, and the inner wall of each mounting buckle 9 is sleeved on the outer wall of the card block 10.
[0069] Specifically, the design of the mounting assembly is intended to provide a stable mounting method so that the sensor can be easily fixed at the location that needs to be monitored.
[0070] The card block 10 is one of the key components in the installation assembly, and its outer wall is fixedly connected to the outer wall of the lower shell 1. The two card blocks 10 are arranged symmetrically, which can provide a more balanced support force, thereby ensuring the stability of the sensor installation. The design of the card block 10 allows the sensor to be easily docked with the installation location, and can withstand a certain amount of external pressure and vibration, ensuring the stability and reliability of the sensor.
[0071] The mounting buckle 9 is located on the outer wall of the lower housing 1, and its inner wall is sleeved on the outer wall of the block 10. Two mounting buckles 9 are symmetrically arranged on the outer wall of the upper housing 2. The function of the mounting buckle 9 is to fix the sensor in the installation position to prevent it from moving or shaking during use. When the sensor is docked with the installation position, the mounting buckle 9 will be firmly locked on the block 10, thereby ensuring the stability and safety of the sensor.
[0072] When installing the sensor, the user aligns the lower housing 1 of the sensor with the installation position and sleeves the installation buckle 9 on the outer wall of the block 10. Then, the user gently presses the sensor to the installation position so that the installation buckle 9 can be completely locked on the block 10, thereby fixing the sensor at the installation position. In this way, the sensor can be stably installed at the position to be monitored to perform gas monitoring work.
[0073] Please refer to the attached Figure 5 -Attached Fig. 9 , a fully functional gas sensor circuit, comprising:
[0074] Digital selection circuit, which is used to adapt to different detection conditions and logic processing;
[0075] A voltage stabilization circuit, which is used to receive and stabilize the input power signal to ensure that subsequent circuit components can operate at a safe and stable voltage;
[0076] An ADC analog-to-digital conversion circuit is connected to the digital selection circuit and is used to convert the received analog signal into a digital signal;
[0077] The sound and light alarm circuit is connected to the single-chip control circuit and is used to receive the control signal and generate an alarm;
[0078] The display circuit has a display chip connected to the single-chip control circuit via the I2C protocol, and is used to display the processed signal content.
[0079] Specifically, the main function of the voltage stabilization circuit is to receive the input power signal and stabilize it to ensure that the voltage of the power output to the subsequent circuit elements is always kept within a safe and stable range.
[0080] Stable voltage output can avoid component damage caused by voltage fluctuations and improve system reliability and life.
[0081] The digital selection circuit can select the appropriate logic processing method and sensor configuration according to the environmental conditions detected by the sensor.
[0082] The circuit is composed of logic gates, multiplexers, etc., and can switch different circuit states or modes according to changes in input signals.
[0083] The sensor system can adapt to different detection environments, enhancing the applicability and flexibility of the system.
[0084] The ADC analog-to-digital conversion circuit is used to convert the analog signal received from the sensor into a digital signal for easy processing by the digital circuit.
[0085] The ADC samples the analog signal and converts it into digital form at a certain sampling rate and resolution. This usually involves comparison, amplification and quantization.
[0086] Digital signals are easy to store, process and transmit, which improves signal processing efficiency and accuracy.
[0087] When the sound and light alarm circuit detects abnormal conditions such as excessive concentration of dangerous gases, the sound and light alarm circuit can sound an alarm to warn personnel to take corresponding measures.
[0088] This circuit usually contains sound and light-emitting components such as LED lights and buzzers, which are driven by the microcontroller control circuit according to the detection data. Timely alarms can prevent accidents and ensure personnel safety.
[0089] The display circuit is used to display the processed signal content to the user, such as gas type, concentration and other information.
[0090] The display chip communicates with the microcontroller control circuit through the I2C protocol, receives data from the microcontroller and outputs it on the display device.
[0091] Users can intuitively understand the environmental status and monitor and adjust the system operation in real time.
[0092] Please refer to the attached Figure 6 , the voltage stabilizing circuit comprises:
[0093] A first light emitting diode, a first end of which is connected to the input voltage, which is used to protect the component from damage when the power supply is reversely connected, and to provide a step-down reference;
[0094] The first capacitive device and the second capacitive device, both of which have first ends connected to the input voltage, are used to smooth the input voltage, filter high-frequency noise and voltage spikes, and ensure the stability of the power input;
[0095] The first voltage stabilizing chip and the second voltage stabilizing chip have first ends connected to the second ends of the first capacitive device and the second capacitive device respectively, and are used to further convert the voltage smoothed by the capacitive device into a specific stable output voltage to meet the voltage requirements of different circuit parts.
[0096] Specifically, the first light-emitting diode is mainly used to prevent damage when the power supply is connected in reverse. Reverse connection may cause permanent damage to the circuit, so adding a light-emitting diode to the power input is a common protection measure. At the same time, it is also used to provide a stable voltage reduction reference point, which is helpful for subsequent voltage stabilization operations.
[0097] When the power supply is connected correctly, the LED conducts forward, current can flow normally, and a reference voltage is provided through its voltage drop characteristics. If the power supply is connected in reverse, the LED will block the current flow, thus protecting the circuit from damage.
[0098] The first and second capacitive devices are used to smooth the input voltage and reduce voltage fluctuations by storing charge. They also filter out high-frequency noise and voltage spikes to ensure the stability of the power input. This is essential to improve the overall performance and reliability of the circuit.
[0099] Capacitive devices show impedance in AC circuits, blocking high-frequency noise and spikes, and charge and discharge in DC circuits to smooth voltage fluctuations. The basic principle is that the voltage across the capacitor cannot change suddenly, so when the input voltage suddenly changes, the capacitor can absorb or release charge to reduce voltage changes.
[0100] The main function of the first voltage regulator chip and the second voltage regulator chip is to further convert the voltage smoothed by the capacitive device into a specific stable output voltage. This is essential for the normal operation of various sensitive components in electronic devices, because these components usually require precise and stable voltage to ensure performance and function.
[0101] The voltage regulator chip adjusts its output voltage by controlling the current to ensure that the output voltage remains at the set target value.
[0102] Please refer to the attached Fig.14 , the ADC analog-to-digital conversion circuit comprises:
[0103] an operational amplifier, a first input terminal of which is connected to the third output voltage, a second input terminal of which is connected to the output terminal of the operational amplifier, and which is used to adjust and stabilize the voltage signal from the third output voltage to the output terminal of the operational amplifier;
[0104] The ADC analog-to-digital conversion chip has a first end connected to the output end of the operational amplifier and the other end connected to the single-chip microcomputer control circuit. It is used to convert the analog signal output from the operational amplifier into a digital signal so that the single-chip microcomputer can process these signals.
[0105] Specifically, the operational amplifier in this circuit is mainly responsible for regulating and stabilizing the voltage signal from the third output voltage to the output terminal of the operational amplifier. This is accomplished through a feedback mechanism, which can ensure the stability and accuracy of the output signal, thereby providing accurate input for ADC analog-to-digital conversion.
[0106] The first input (non-inverting input) of the operational amplifier is connected to the third output voltage, and the second input (inverting input) is connected to the output of the operational amplifier itself. This configuration forms a negative feedback loop that automatically adjusts the output of the operational amplifier so that the output voltage is always stable at a level equal to the third output voltage. This negative feedback mechanism improves the stability and bandwidth of the system by reducing the gain.
[0107] The main function of the ADC chip is to convert the analog signal output by the operational amplifier into a digital signal. The digital signal can be read and processed by the microcontroller, thereby realizing the quantization and control of the analog world. This is essential for realizing functions such as digital control, data processing and communication.
[0108] The ADC chip receives the stable analog signal from the operational amplifier and converts it into digital form through the internal sampling and quantization process. The sampling and holding stage determines the voltage value of the signal at a specific point in time, the quantization stage converts this continuous analog value into discrete digital values, and finally the encoding stage converts these digital values into a binary format that the computer can understand.
[0109] Please refer to the attached Figure 5 , the digital selection circuit comprises:
[0110] A plurality of NOT logic gates, whose multiple input terminals are respectively connected to the first output terminal, the second output terminal and the third output terminal of the single chip control circuit, and whose multiple input terminals and output terminals are connected to the 3-input AND logic gate, which is used to process the received input signal;
[0111] A plurality of 3-input AND logic gates, which are respectively connected to different output terminals of the NOT logic gates, and are used to perform a logic “AND” operation on the outputs from the NOT logic gates to generate a synthesized logic output signal for controlling subsequent switch transistors;
[0112] Eight switch transistors, a first end of which is connected to a first output end of a 3-input AND logic gate, and used to control the on and off of current according to a logic output signal received from the 3-input AND logic gate, thereby controlling the flow direction of current connected to the load resistor;
[0113] Eight load resistors, each having a first end connected to a plurality of switch transistor control terminals, are used to limit the amount of current passing through when the switch transistor is turned on, thereby protecting the circuit from damage caused by excessive current, and are also used to generate a specific voltage drop for signal processing in subsequent circuits.
[0114] Specifically, NOT logic gates are mainly used to perform logical inversion on input signals. In this circuit, they receive multiple output signals from the microcontroller control circuit and perform logical NOT operations on these signals, that is, converting logic high (1) to logic low (0) and vice versa.
[0115] The output of the NOT logic gate is connected to the corresponding input of the 3-input AND logic gate. By inverting the input signal, the NOT logic gate provides the required logic level to the 3-input AND logic gate to implement more complex logic functions.
[0116] The 3-input AND logic gate is used to logically AND multiple outputs from the NOT logic gates. The output of the AND logic gate is high only when all inputs are logic high, otherwise it is low. This allows the circuit to generate a composite logic output signal based on a combination of multiple conditions.
[0117] The output signals of these AND logic gates are used to control the switching transistors connected to them, ensuring that the transistors are turned on only when certain conditions are met.
[0118] The transistor acts as an electronic switch and turns on when it receives a logic high signal from a 3-input AND logic gate, allowing current to flow through the circuit connected to the load resistor. The transistor ensures that the circuit can respond quickly to the control signal.
[0119] When the AND logic gate outputs a high level (the conduction condition is met), the corresponding transistor is activated, allowing current to flow; when the output is a low level, the transistor is turned off, cutting off the current.
[0120] The load resistors limit the amount of current that passes through the transistor, protecting the circuit from potential damage from excessive current. In addition, these resistors produce a specific voltage drop that can be used for signal processing in subsequent circuits.
[0121] When the transistor is turned on, current flows through the load resistor, generating a certain voltage drop. This voltage drop can be used as input or feedback for subsequent circuits to affect other parts of the circuit.
[0122] Please see attached Figure 7 , the sound and light alarm circuit comprises:
[0123] A ninth switch transistor, a first end of which is connected to the single-chip control circuit, a control end of which is connected to the second end of the integrated structure electronic sounder, and is used to receive a control signal from the single-chip computer to control the activation and deactivation of the electronic sounder;
[0124] A second light emitting diode is connected to the output voltage, has an input terminal connected to the first output potential terminal, and an output terminal connected to the ninth switch transistor control terminal, and is used to provide a visual alarm and display the circuit is in an activated state by emitting light.
[0125] Specifically, the above connection method provides the device with an intelligent alarm function. When the device is officially started, the single-chip microcomputer control circuit sends a specific signal to the sound and light alarm circuit, triggering the alarm system to achieve flashing lights and sharp whistle prompts.
[0126] Please see attached Fig. 9 -Attached Fig.13 , a software system for coordinating with a full-function gas sensor circuit, comprising:
[0127] WeChat applet end, which is used to connect to the onenet cloud platform via the MQTT protocol;
[0128] The parameter setting module is used by users to set and publish various operating parameters to the MCU to ensure that the hardware operates according to the requirements set by the software;
[0129] A small independent server that receives data sent from the microcontroller via the MQTT protocol and aggregates and relays it.
[0130] Specifically, the second input pin of the display chip of the display circuit in the above-mentioned single-chip microcomputer end is connected to the single-chip microcomputer control circuit. This method provides the device with an intuitive and real-time information display function. After the single-chip microcomputer control end uses the I2C protocol to process the circuit signal accordingly, the processed signal content will be transmitted to the display chip through the connected input pin. Once the display chip receives the signal from the single-chip microcomputer, it will immediately process it and realize the display of the content on the display screen, and intuitively display the processed signal content.
[0131] The hardware end uses MQTT to connect to the onenet cloud platform through the MCU control circuit, subscribes to the data information published by the software applet end, and publishes the real-time concentration value detected by the hardware end;
[0132] Using WeChat developer tools and JavaScript as the framework language, a WeChat applet that meets the professional needs of the new gas-sensitive material R&D team is designed to publish various setting parameters for software users and subscribe to the values detected by the full-function gas sensor circuit of the first aspect of the present invention; the settings include professional Response definitions, material characteristic curve parameter settings, load resistance span selection, concentration threshold settings, etc., to achieve accurate hardware and software joint debugging; a small independent server is built based on the Alibaba Cloud platform as a data aggregation and relay. Through a special format of software and hardware communication protocols, various setting parameters for software users are published, and the values detected by the full-function gas sensor circuit of the first aspect of the present invention are subscribed. The echarts framework is used to establish a real-time concentration smoothing curve chart on the applet side to achieve an intuitive effect display, including the implementation of concentration display and the display of the response characteristics of the material.
[0133] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A full-function gas sensor, comprising a lower housing (1), characterized in that: An upper shell (2) is arranged on the upper side of the lower shell (1), components three (17) are arranged at two corners of the upper surface of the upper shell (2), components one (3) are arranged on the outer walls of the two components three (17), the components one (3) are capable of rotating within a certain range, the outer wall of the component one (3) is fixedly connected to a mounting member (5), and the other end of the mounting member (5) is rotatably connected to the outer wall of the component three (17); The outer sleeve of the mounting member (5) is provided with a torsion spring 1 (6), one end of which is connected to a probe (7) so that the probe (7) can be lifted, extended or lowered, the other end of which is connected to a wire, the wire being connected to a circuit board, the outer wall of the component 1 (3) is fixedly connected to a connecting member (18), the outer sleeve of the connecting member (18) is provided with a torsion spring 2 (16), the middle of the component 3 (17) is penetrated by a component 2 (4), the outer wall of the component 2 (4) being inserted into the inner wall of the connecting member (18); The outer wall of the lower shell (1) is provided with a heat dissipation component, the heat dissipation component comprises a mounting groove (14), the mounting groove (14) is provided at the bottom of the lower shell (1), a fan (15) is fixedly connected to the inner wall of the mounting groove (14), and a plurality of ventilation holes (11) are provided on the outer wall of the lower shell (1); The outer walls of the lower shell and the upper shell are provided with mounting components.
2. A fully functional gas sensor according to claim 1, characterized in that: A battery box (8) is provided on the outer wall of the lower shell (1), an OLED screen (12) is provided on the upper surface of the upper shell (2), and a switch (13) is provided on the upper surface of the upper shell (2); the OLED screen (12) and the switch (13) are arranged in an obliquely symmetrical manner.
3. A fully functional gas sensor according to claim 1, characterized in that: The mounting assembly comprises two clamping blocks (10), the outer walls of the two clamping blocks (10) are fixedly connected to the outer wall of the lower shell (1), the two clamping blocks (10) are symmetrically arranged, the outer wall of the lower shell (1) is fixedly connected to two mounting buckles (9), the two mounting buckles (9) are symmetrically arranged on the outer wall of the upper shell (2), and the inner wall of each mounting buckle (9) is sleeved on the outer wall of the clamping block (10).
Citation Information
Patent Citations
Small-sized sealed in-situ testing device
CN113588694A
Universal gas detector
CN215297321U