A portable alarm analyzer for posture recognition and gas detection
Through the MCU and acquisition unit of the portable alarm analyzer, real-time monitoring and alarm of the attitude and gas concentration of the operator are realized, solving the problem that the prior art cannot identify the attitude and gas concentration at the same time, and improving the safety of the industrial production environment.
Patent Information
- Application Number
- CN202010260181.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-03
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2040-04-03
AI Technical Summary
The existing gas detectors cannot simultaneously identify the attitude changes and gas concentration of operators in industrial production environments, resulting in failure to alarm in time, increasing safety hazards.
A portable alarm analyzer including an MCU, an attitude acquisition unit and a gas acquisition unit is designed. Data is collected through a gyroscope chip and a variety of gas acquisition units. The MCU analyzes the signal and sends an alarm signal to the alarm output unit to realize attitude and gas concentration. real-time monitoring and alarm.
It realizes real-time monitoring and alarm of attitude and gas concentration when an operator encounters an accident, improves safety in the industrial production environment and reduces the occurrence of accidental injuries.
Smart Images

Figure CN112748215B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of gas detectors, and in particular to a portable alarm analyzer for gesture recognition and gas detection. Background Art
[0002] Many toxic, harmful, flammable and explosive gases generated during industrial production are an important part of industrial safety production that must be prevented. Gas detection and monitoring can effectively suppress disasters before they occur, so that possible accidents can be controlled in advance, while protecting personal safety. In the existing technology, gas detectors only measure the concentration of various gases in confined spaces or limited spaces, and issue warnings based on the concentration; however, due to the complexity of the production environment, in addition to the known risks of gas poisoning and explosion, there are also some unknown safety hazards that may cause accidents to detection personnel, such as fainting, falling, and falling into pits. Because the operators cannot alarm for a long time, they inhale too much toxic gas and become poisoned, resulting in casualties.
[0003] Therefore, there is an urgent need for an alarm analyzer with both posture recognition and gas detection, which can alarm when an operator encounters an accident by detecting the movement trajectory of the operator and the concentration of the gas. Summary of the invention
[0004] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a portable alarm analyzer for posture recognition and gas detection, which has the functions of posture recognition and gas detection, and can alarm when an operator encounters an accident by detecting the movement trajectory of the operator and the concentration of the gas.
[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: to provide a portable alarm analyzer for posture recognition and gas detection, including an MCU, a posture acquisition unit connected to the MCU, a gas acquisition unit and an alarm output unit, the posture acquisition unit is used to collect the current posture of the alarm analyzer, the gas acquisition unit is used to collect the detection gas currently required, the posture acquisition unit transmits the collected posture signal of the alarm analyzer to the MCU, the gas acquisition unit transmits the collected detection gas signal to the MCU, the MCU analyzes the posture signal and the detection gas signal, if the value of the posture signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the posture signal combined with the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, and the alarm output unit outputs an audible and visual alarm or a vibration alarm according to the different levels of alarm signals received.
[0006] Furthermore, the posture acquisition unit includes a gyroscope chip U31, resistors R8, R16, R83, R147, R148 and R151, and capacitors C99, C100, C101 and C102; the gyroscope chip U31 is used to obtain the current posture signal of the alarm analyzer, including angular velocity and acceleration; pin 1 and pin 25 of the gyroscope chip U31 are connected to ground, pin 8 of the gyroscope chip U31 is connected to one end of the capacitor C101, pin 10 of the gyroscope chip U31 is connected to one end of the resistor R8, pin 11 of the gyroscope chip U31 is connected to one end of the capacitor C102, the other end of the capacitor C101, the other end of the resistor R8 and the other end of the capacitor C102 are connected to ground, pin 12 of the gyroscope chip U31 is connected to one end of the resistor R16, and the resistor R16 The other end of the gyroscope chip U31 is connected to the other terminal, the pin 13 of the gyroscope chip U31 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C100, the other end of the capacitor C100 is grounded, the pin 18 of the gyroscope chip U31 is grounded, the pin 21 of the gyroscope chip U31 is connected to one end of the capacitor C99, the other end of the capacitor C99 is grounded, the pin 23 of the gyroscope chip U31 is connected to one end of the resistor R147, the other end of the resistor R147 is respectively connected to the clock line interface SCL of the MCU and one end of the resistor R148, the pin 24 of the gyroscope chip U31 is connected to one end of the resistor R83, the other end of the resistor R83 is respectively connected to the data line interface SDA of the MCU and one end of the resistor R151, the other end of the resistor R148 is connected to the other end of the resistor R151 and then connected to the circuit voltage 3.3V.
[0007] Furthermore, the gas collection unit includes an oxygen collection unit, a combustible gas collection unit and a toxic gas collection unit. The oxygen collection unit is used to collect the oxygen concentration in the detection gas, the combustible gas collection unit is used to collect the concentrations of two combustible gases in the detection gas, and the toxic gas collection unit is used to collect the concentrations of six toxic gases in the detection gas.
[0008] Furthermore, the oxygen collection unit includes operational amplifiers U611 and U612, a transistor Q2, capacitors C4 and C58, and resistors R13, R15, R25, R27, R54, R124, and R163; the in-phase input terminal of the operational amplifier U611 is grounded, the output terminal of the operational amplifier U611 is connected to one end of the resistor R13, then connected to the inverting input terminal of the operational amplifier U611, and then connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R54, the other end of the resistor R54 is connected to a power supply voltage of 3.3V, and the emitter of the transistor Q2 is connected to one end of the resistor R15 and the One end of the resistor R25 and the other end of the resistor 15 are respectively connected to one end of the resistor R27, one end of the capacitor C4, one end of the resistor R163 and the inverting input end of the operational amplifier U612, the other end of the resistor R27 is connected to one end of the resistor R124, the other end of the resistor R124 is grounded, the other end of the capacitor C4 is connected to the other end of the resistor R163 and then connected to the output end of the operational amplifier U612 and one end of the capacitor C58, the other end of the capacitor C58 is grounded, the other end of the resistor R25 is connected to the other end of the resistor R13 and then connected to the non-inverting input end of the operational amplifier U612.
[0009] Furthermore, the combustible gas collection unit includes operational amplifiers U61, U62, U28 and U29, resistors R1, R2, R3, R4, R206, R207, R208 and R209, and a capacitor C5; one end of the resistor R1 is respectively connected to the terminal and the first combustible gas input negative electrode, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the in-phase input terminal of the operational amplifier U61, the other end of the resistor R2 is grounded, the inverting input terminal of the operational amplifier U61 is connected to the output terminal and then connected to the first combustible gas output negative electrode; one end of the resistor R3 is respectively connected to the terminal and the first combustible gas input positive electrode, the other end of the resistor R3 is respectively connected to one end of the resistor R4 and the in-phase input terminal of the operational amplifier U62, the other end of the resistor R4 is connected to the negative power supply of the operational amplifier U62 and then grounded, the inverting input terminal of the operational amplifier U62 is connected to the output terminal and then connected to the first A combustible gas output positive electrode, the positive power supply of the operational amplifier U62 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C5, and the other end of the capacitor C5 is grounded; one end of the resistor R206 is respectively connected to the terminal and the second combustible gas input negative electrode, the other end of the resistor R206 is respectively connected to one end of the resistor R209 and the in-phase input end of the operational amplifier U28, the other end of the resistor R209 is grounded, the inverting input end of the operational amplifier U28 is connected to the output end and then connected to the terminal and the second combustible gas output negative electrode; one end of the resistor R207 is respectively connected to the terminal and the second combustible gas input positive electrode, the other end of the resistor R207 is respectively connected to one end of the resistor R208 and the in-phase input end of the operational amplifier U29, the other end of the resistor R208 is grounded, the inverting input end of the operational amplifier U29 is connected to the output end and then connected to the terminal and the second combustible gas output positive electrode.
[0010] Furthermore, the toxic gas collection unit includes a polarity switching switch U20, an operational amplifier U71, an operational amplifier U72, an operational amplifier U73, a transistor Q3, a capacitor C9, a capacitor C10, a capacitor C23, a capacitor C59, a capacitor C60, a resistor R31, a resistor R33, a resistor R55, a resistor R214, a resistor R215, a resistor R30, a resistor R44, a resistor R63, a resistor R50, a resistor R51, a resistor R161, a polarity switching switch U19, an operational amplifier U51, an operational amplifier U52, an operational amplifier U53, a transistor Q4, a capacitor C9, a capacitor C10, a capacitor C23, a capacitor C59, a capacitor C60, a resistor R31, a resistor R33, a resistor R55, a resistor R214, a resistor R215, a resistor R30, a resistor R44, a resistor R63, a resistor R50, a resistor R51, a resistor R161 Capacitor C24, capacitor C16, capacitor C15, capacitor C61, capacitor C62, resistor R32, resistor R34, resistor R216, resistor R217, resistor R37, resistor R45, resistor R64, resistor R52, resistor R53, resistor R56, resistor R162, polarity switching switch U26, operational amplifier U251, operational amplifier U252, operational amplifier U253, transistor Q16, capacitor C56, capacitor C57, capacitor C63, capacitor C64, capacitor C65, resistor R38, resistor R84, resistor R20, resistor R57, resistor R 117, resistor R58, resistor R164, resistor R96, resistor R116, polarity switch U34, operational amplifier U281, operational amplifier U282, operational amplifier U283, NMOS tube Q18, capacitor C83, capacitor C84, capacitor C88, resistor R172, resistor R174, resistor R175, resistor R176, resistor R177, resistor R182, resistor R184, resistor R185, resistor R188, polarity switch U35, operational amplifier U291, operational amplifier U292, operational amplifier U293, triode Tube Q23, capacitor C85, capacitor C86, capacitor C89, resistor R173, resistor R178, resistor R179, resistor R180, resistor R181, resistor R186, resistor R187, resistor R189, resistor R183, polarity switch U27, operational amplifier U5, operational amplifier U25, operational amplifier U7, transistor Q9, capacitor C50, capacitor C51, capacitor C67, capacitor C68, resistor R5, resistor R6, resistor R7, resistor R41, resistor R61, resistor R74, resistor R75, resistor R76, resistor R165;
[0011] One end of the resistor R214 is connected to a power supply voltage of 3.3V, and the connection point between the other end of the resistor R214 and one end of the resistor R215 is respectively connected to one end of the resistor R30 and the non-inverting input end of the operational amplifier U73, the other end of the resistor R215 is grounded, the inverting input end of the operational amplifier U73 is connected to one end of the resistor R31, the output end of the operational amplifier U73 is connected to one end of the capacitor C23, the other end of the capacitor C23 is connected to the other end of the resistor R31 and then connected to one end of the resistor R33, and the other end of the resistor R33 is connected to the other end of the resistor R31. One end is connected to the base of the transistor Q3, the collector of the transistor Q3 is connected to one end of the resistor R55, the other end of the resistor R55 is connected to the power supply voltage 3.3V, the emitter of the transistor Q3 is connected to one end of the resistor R51, the other end of the resistor R51 is respectively connected to one end of the capacitor C10, one end of the resistor R161 and the inverting input end of the operational amplifier U72, the other end of the capacitor C10, the other end of the resistor R161 and the output end of the operational amplifier U72 are connected and then connected to the first end of the polarity switching switch U20. The other end of the resistor R30 is respectively connected to the second input end of the polarity switching switch U20 and the inverting input end of the operational amplifier U71, the non-inverting input end of the operational amplifier U71 is respectively connected to one end of the resistor R44 and one end of the resistor R63, the other end of the resistor R63 is grounded, the other end of the resistor R44 is respectively connected to the power supply voltage 3.3V, one end of the resistor R45 and one end of the resistor R57, the negative power supply of the operational amplifier U71 is grounded, and the positive power supply of the operational amplifier U71 is respectively connected to the power supply voltage 3.3V. V and one end of the capacitor C9, the other end of the capacitor C9 is grounded, the output end of the operational amplifier U71 is connected to one end of the resistor R50, the other end of the resistor R50 is connected to the non-inverting input end of the operational amplifier U72, the first output end of the polarity switching switch U20 is connected to one end of the capacitor C59 and then connected to the positive electrode of the first toxic gas signal channel, the second output end of the polarity switching switch U20 is connected to one end of the capacitor C60 and then connected to the negative electrode of the first toxic gas signal channel, the other end of the capacitor C59 and the other end of the capacitor C60 are grounded respectively;
[0012] One end of the resistor R216 is connected to a power supply voltage of 3.3V, the other end of the resistor R216 and the connection point of one end of the resistor R217 are respectively connected to one end of the resistor R37 and the non-inverting input end of the operational amplifier U53, the other end of the resistor R217 is grounded, the inverting input end of the operational amplifier U53 is connected to one end of the resistor R32, the output end of the operational amplifier U53 is connected to one end of the capacitor C24, the other end of the capacitor C24 is connected to the other end of the resistor R32 and then connected to one end of the resistor R34. The other end of the resistor R34 is connected to the base of the transistor Q4, the collector of the transistor Q4 is connected to one end of the resistor R56, the other end of the resistor R56 is connected to the power supply voltage 3.3V, the emitter of the transistor Q4 is connected to one end of the resistor R53, the other end of the resistor R53 is respectively connected to one end of the capacitor C16, one end of the resistor R162 and the inverting input terminal of the operational amplifier U52, the other end of the capacitor C16, the other end of the resistor R162 and the inverting input terminal of the operational amplifier U52 The output end of the resistor R37 is connected to the first input end of the polarity switching switch U19, the other end of the resistor R37 is respectively connected to the second input end of the polarity switching switch U19 and the inverting input end of the operational amplifier U51, the non-inverting input end of the operational amplifier U51 is respectively connected to the other end of the resistor R45 and one end of the resistor R64, the other end of the resistor R64 is grounded, the negative power supply of the operational amplifier U51 is grounded, the positive power supply of the operational amplifier U51 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C15, The other end of the capacitor C15 is grounded, the output end of the operational amplifier U51 is connected to one end of the resistor R52, the other end of the resistor R52 is connected to the non-inverting input end of the operational amplifier U52, the first output end of the polarity switching switch U19 is connected to one end of the capacitor C61 and then connected to the positive electrode of the second toxic gas signal channel, the second output end of the polarity switching switch U19 is connected to one end of the capacitor C62 and then connected to the negative electrode of the second toxic gas signal channel, and the other end of the capacitor C61 and the other end of the capacitor C62 are grounded respectively;
[0013] One end of the resistor R172 is connected to the power supply voltage 3.3V, the other end of the resistor R172 is respectively connected to one end of the resistor R182 and the non-inverting input end of the operational amplifier U281, the other end of the resistor R182 is grounded, the negative power supply of the operational amplifier U281 is grounded, the positive power supply of the operational amplifier U281 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C83, the other end of the capacitor C83 is grounded, the inverting input end of the operational amplifier U281 is respectively connected to one end of the resistor R174 and the second input end of the polarity switching switch U34, the output end of the operational amplifier U281 is connected to one end of the resistor R184, the other end of the resistor R184 is connected to the non-inverting input end of the operational amplifier U282, the other end of the resistor R174 is connected to the non-inverting input end of the operational amplifier U283, the inverting input end of the operational amplifier U283 is connected to one end of the resistor R175, and the output end of the operational amplifier U283 The first end of the NMOS transistor Q18 is connected to one end of the capacitor C88, the other end of the capacitor C88 is respectively connected to the other end of the resistor R175 and one end of the resistor R176, the other end of the resistor R176 is connected to the drain of the NMOS transistor Q18, the gate of the NMOS transistor Q18 is connected to one end of the resistor R188, the other end of the resistor R188 is connected to the power supply voltage 3.3V, the source of the NMOS transistor Q18 is connected to one end of the resistor R185, the other end of the resistor R185 is respectively connected to one end of the capacitor C84, one end of the resistor R177 and the inverting input end of the operational amplifier U282, the output end of the operational amplifier U282 is connected to the other end of the capacitor C84 and the other end of the resistor R177, and then connected to the first input end of the polarity switching switch U34, the first output end of the polarity switching switch U34 is connected to the positive electrode of the third toxic gas signal channel, and the second output end of the polarity switching switch U34 is connected to the negative electrode of the third toxic gas signal channel;
[0014] One end of the resistor R173 is connected to the power supply voltage 3.3V, the other end of the resistor R173 is respectively connected to one end of the resistor R183 and the non-inverting input end of the operational amplifier U291, the other end of the resistor R183 is grounded, the negative power supply of the operational amplifier U291 is grounded, the positive power supply of the operational amplifier U291 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C85, the other end of the capacitor C85 is grounded, the inverting input end of the operational amplifier U291 is respectively connected to one end of the resistor R178 and the second input end of the polarity switching switch U35, the output end of the operational amplifier U291 is connected to one end of the resistor R186, the other end of the resistor R186 is connected to the non-inverting input end of the operational amplifier U292, the other end of the resistor R178 is connected to the non-inverting input end of the operational amplifier U293, the inverting input end of the operational amplifier U293 is connected to one end of the resistor R179, and the The output end is connected to one end of the capacitor C89, the other end of the capacitor C89 is respectively connected to the other end of the resistor R179 and one end of the resistor R180, the other end of the resistor R180 is connected to the base of the transistor Q23, the collector of the transistor Q23 is connected to one end of the resistor R189, the other end of the resistor R189 is connected to the power supply voltage 3.3V, the emitter of the transistor Q23 is connected to one end of the resistor R187, the other end of the resistor R187 is respectively connected to one end of the capacitor C86, one end of the resistor R181 and the inverting input end of the operational amplifier U292, the output end of the operational amplifier U292 is connected to the other end of the capacitor C86 and the other end of the resistor R181, and then connected to the first input end of the polarity switching switch U35, the first output end of the polarity switching switch U35 is connected to the positive electrode of the fourth toxic gas signal channel, and the second output end of the polarity switching switch U35 is connected to the negative electrode of the fourth toxic gas signal channel;
[0015] One end of the resistor R41 is connected to the power supply voltage 3.3V, the other end of the resistor R41 is respectively connected to one end of the resistor R76 and the non-inverting input end of the operational amplifier U5, the other end of the resistor R76 is grounded, the inverting input end of the operational amplifier U5 is respectively connected to one end of the resistor R5 and the second input end of the polarity switching switch U27, the output end of the operational amplifier U5 is connected to one end of the resistor R61, the other end of the resistor R61 is connected to the non-inverting input end of the operational amplifier U25, the other end of the resistor R5 is connected to the non-inverting input end of the operational amplifier U7, the inverting input end of the operational amplifier U7 is connected to one end of the resistor R6, the output end of the operational amplifier U7 is connected to one end of the capacitor C67, the other end of the capacitor C67 is respectively connected to the other end of the resistor R6 and one end of the resistor R7, the other end of the resistor R7 is connected to the three The base of the transistor Q9, the collector of the transistor Q9 is connected to one end of the resistor R75, the other end of the resistor R75 is connected to the power supply voltage 3.3V, the emitter of the transistor Q9 is connected to one end of the resistor R74, the other end of the resistor R74 is respectively connected to one end of the capacitor C50, one end of the resistor R165 and the inverting input end of the operational amplifier U25, the output end of the operational amplifier U25 is connected to the other end of the capacitor C50 and the other end of the resistor R165, and then connected to the first input end of the polarity switching switch U27, the first output end of the polarity switching switch U27 is connected to one end of the capacitor C68 and then connected to the positive electrode of the fifth toxic gas signal channel, the second output end of the polarity switching switch U27 is connected to one end of the capacitor C51 and then connected to the negative electrode of the fifth toxic gas signal channel, the other end of the capacitor C68 and the other end of the capacitor C51 are grounded respectively;
[0016] The other end of the resistor R57 is respectively connected to one end of the resistor R117 and the non-inverting input end of the operational amplifier U251, the other end of the resistor R117 is grounded, the negative power supply of the operational amplifier U251 is grounded, the positive power supply of the operational amplifier U251 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C56, the other end of the capacitor C56 is grounded, the inverting input end of the operational amplifier U251 is respectively connected to one end of the resistor R20 and the second input end of the polarity switching switch U26, the output end of the operational amplifier U251 is connected to one end of the resistor R58, the other end of the resistor R58 is connected to the non-inverting input end of the operational amplifier U252, the other end of the resistor R20 is connected to the non-inverting input end of the operational amplifier U253, the inverting input end of the operational amplifier U253 is connected to one end of the resistor R84, the output end of the operational amplifier U253 is connected to one end of the capacitor C65, and the other end of the capacitor C65 is respectively connected to the resistor R84 The other end of the resistor R38 is connected to the base of the transistor Q16, the collector of the transistor Q16 is connected to one end of the resistor R116, the other end of the resistor R116 is connected to the power supply voltage 3.3V, the emitter of the transistor Q16 is connected to one end of the resistor R96, the other end of the resistor R96 is respectively connected to one end of the capacitor C57, one end of the resistor R164 and the inverting input end of the operational amplifier U252, the operational amplifier U252 ... connected to one end of the capacitor C57, one end of the resistor R164 and the The output end of the amplifier U252 is connected to the other end of the capacitor C57 and the other end of the resistor R164, and then connected to the first input end of the polarity switching switch U26. The first output end of the polarity switching switch U26 is connected to one end of the capacitor C63 and then connected to the positive electrode of the sixth toxic gas signal channel. The second output end of the polarity switching switch U26 is connected to one end of the capacitor C64 and then connected to the negative electrode of the sixth toxic gas signal channel. The other end of the capacitor C63 and the other end of the capacitor C64 are grounded respectively.
[0017] Furthermore, the alarm analyzer also includes a power supply unit, a communication interface identification unit, a wireless communication unit, a storage unit and a human-computer interaction unit connected to the MCU, the power supply unit is used to provide working power for the alarm analyzer, the communication interface identification power supply is used for the alarm analyzer to connect with external devices to realize data interaction and export, the wireless communication unit is used for the alarm analyzer to remotely transmit data, the storage unit is used for the alarm analyzer to store data, and the human-computer interaction unit is used for human-computer interaction operations between the user and the alarm analyzer.
[0018] Furthermore, the power supply unit includes a charging circuit and a power management circuit; the charging circuit is used to charge the lithium battery of the alarm analyzer so that the alarm analyzer can work in a portable manner; the power management circuit is used to provide a stable working voltage for the alarm analyzer;
[0019] The charging circuit includes a battery charging management chip U8, an adjustable resistor RP1, a transistor Q1, a voltage-stabilizing diode D20, a light-emitting diode D2, capacitors C1 and C2, resistors R17, R24, R26, R59, R60 and R123; Pin 1 of the battery charging management chip U8 is respectively connected to the emitter of the transistor Q1 and one end of the resistor R59, the other end of the resistor R59 is respectively connected to the USB input power supply, one end of the resistor R123 and one end of the capacitor C1, Pin 2 of the battery charging management chip U8 is respectively connected to the negative electrode of the voltage-stabilizing diode D20 and one end of the capacitor C2, one end of the capacitor C2 is also connected to an external charging power supply, the other end of the capacitor C2 is grounded, Pin 3 of the battery charging management chip U8 is connected to the other end of the resistor R123, Pin 4 of the battery charging management chip U8 is respectively connected to the negative electrode of the voltage-stabilizing diode D20 and one end of the capacitor C2, one end of the capacitor C2 is also connected to the external charging power supply, the other end of the capacitor C2 is grounded, Pin 3 of the battery charging management chip U8 is connected to the other end of the resistor R123, One end of the resistor R24, one end of the adjustable resistor RP1 and one end of the resistor R26 are respectively connected, the other end of the resistor R24 is connected to the USB input power supply, the pin 5 of the battery charging management chip U8 is connected to the positive electrode of the light-emitting diode D2, the negative electrode of the light-emitting diode D2 is connected to one end of the resistor R17, the other end of the resistor R17, the other end of the resistor R26 and the other end of the adjustable resistor RP1 are connected and then grounded, the pin 6 of the battery charging management chip U8 is connected to the other end of the capacitor C1 and then grounded, the pin 7 of the battery charging management chip U8 is connected to one end of the resistor R60, the other end of the resistor R60 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to the positive electrode of the voltage-stabilizing diode D20, and the pin 8 of the battery charging management chip U8 is connected to the USB input power supply;
[0020] The power management circuit includes power management chips U1 and U2, a switch chip U23, magnetic core inductors L1, L2, L5 and L8, polar capacitors E4, E5 and E2, capacitors C70, C77, C76, C75, C74, C71 and C3, resistors R115, R47, R140, R139, R42, R46, R138, R94, R68, R65, R11, R62, R95 and R48, a transistor Q10, diodes D4 and D15, a button KEY8, and a fuse F1; pin 1 of the power management chip U1 is respectively connected to one end of the capacitor C78 and the polar capacitor E5 The positive electrode of the capacitor C78 is connected to the negative electrode of the polar capacitor and then grounded. The positive electrode of the polar capacitor E5 is also connected to one end of the resistor R42 and one end of the capacitor C74 respectively. The other end of the capacitor C74 is grounded. One end of the capacitor C74 is also connected to the power supply voltage 3.3V and the circuit voltage terminal respectively. Pin 1, pin 2 and pin 3 of the switch chip U23 are connected to the circuit voltage terminal and one end of the resistor R94 respectively. Pin 4 of the switch chip U23 is connected to the other end of the resistor R94, one end of the resistor R68 and one end of the resistor R65 respectively. The other end of the resistor R68 The first and second terminals of the transistors C47 and KEY8 are connected to one end of the capacitor C47, one end of the key KEY8 and the other end of the resistor R65, respectively. The other end of the resistor R65 is also connected to the collector of the transistor Q10 and the cathode of the diode D4, respectively. The anode of the diode D4 is connected to one end of the resistor R11 and the power supply of the key KEY8, respectively. The other end of the resistor R11 is connected to the circuit voltage 3.3V. The base of the transistor Q10 is connected to one end of the resistor R95 and the cathode of the diode D15, respectively. The cathode of the diode D15 is also connected to one end of the resistor R62, and the other end of the resistor R62 is connected to an external power supply. The positive electrode of the tube D15 is connected to one end of the resistor R48, the other end of the resistor R48 is connected to the 3.3V output, the other end of the capacitor C47, the other end of the key KEY8, the emitter of the transistor Q10 and the other end of the resistor R95 are connected and then grounded, the pins 5, 6, 7 and 8 of the switch chip U23 are connected and respectively connected to the circuit voltage 3.3V and 3.3V terminals, one end of the magnetic core inductor L8, one end of the magnetic core inductor L5 and the connection point of one end of the capacitor C71, the other end of the capacitor C71 is grounded, and the other end of the magnetic core inductor L5 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C3, the other end of the capacitor C3 is grounded, the pin 2 of the power management chip U1 is connected to one end of the inductor L1 with a magnetic core, the pin 3 of the power management chip U1 is grounded, the pin 4 of the power management chip U1 is connected to the other end of the inductor U1 with a magnetic core, the pin 5 of the power management chip U1 is respectively connected to the pin 6 and pin 8 of the power management chip U1, the positive electrode of the polarity capacitor E2, one end of the capacitor C75, the pin 5 of the power management chip U2 and one end of the fuse F1, and the fuse F1 The other end is connected to an external power supply, the other end of the capacitor C75 is connected to the negative electrode of the polarity capacitor E2 and then grounded, the pin 7 of the power management chip U1 is connected to one end of the resistor R138, the other end of the resistor R138 is grounded, the pin 9 of the power management chip U1 is respectively connected to one end of the resistor R46 and the ground, the pin 10 of the power management chip U1 is respectively connected to the other end of the resistor R42 and the other end of the resistor R46, the pin 11 of the power management chip U1 is grounded, and the pins 5 of the power management chip U2 are also respectively connected to the power management chip U The pin 8 of the power management chip U2 is connected to one end of the capacitor C77, the positive electrode of the polar capacitor E4, one end of the resistor R115 and the power supply 3.3V terminal respectively, and the power supply 3.3V terminal is also connected to one end of the capacitor C70, and the other end of the capacitor C70 is grounded. The other end of the capacitor C77 is connected to the negative electrode of the polar capacitor E4 and then grounded. The pin 2 of the power management chip U2 is connected to one end of the inductor L2 with a magnetic core. Pin 3 of U2 is grounded, pin 4 of the power management chip U2 is connected to the other end of the magnetic core inductor L2, pin 6 of the power management chip U2 is connected to one end of the resistor R139, pin 7 of the power management chip U2 is connected to one end of the resistor R140, the other end of the resistor R139 is connected to the other end of the resistor R140 and then grounded, pin 9 of the power management chip U2 is respectively grounded and one end of the resistor R47, and the other end of the resistor R47 is respectively connected to pin 10 of the power management chip U2 and the other end of the resistor R115. .
[0021] Furthermore, the communication interface identification unit includes an interface selection circuit, a USB interface, an RS232 interface and a Bluetooth interface; the interface selection circuit is used to identify whether the connection mode between the external device and the alarm analyzer is through a USB interface, an RS232 interface or a Bluetooth interface, the USB interface is used for the alarm analyzer to connect to the external device through the USB interface, the RS232 interface is used for the alarm analyzer to connect to the external device through the RS232 interface, and the Bluetooth interface is used for the alarm analyzer to connect to the external device through the Bluetooth interface;
[0022] The interface selection circuit includes an analog switch and multiplexer U21, a capacitor C26 and a resistor R80; the analog switch and multiplexer U21 is used to switch the alarm analyzer to be connected to external devices through different interfaces; pin 1 of the analog switch and multiplexer U21 is connected to the input end of the USB interface, pin 16 of the analog switch and multiplexer U21 is connected to one end of the resistor R80, pin 2 of the analog switch and multiplexer U21 is connected to the other end of the resistor R80 and then connected to a circuit voltage 3.3V, pin 3 of the analog switch and multiplexer U21 is connected to pin 15 and then grounded, pin 4 of the analog switch and multiplexer U21 is connected to the data output end of the RS232 interface, and pin 2 of the analog switch and multiplexer U21 is connected to the data output end of the RS232 interface. Pin 5 is connected to pin 7, pin 8 of the analog switch and multiplexer U21 is connected to the data output end of the MCU, pin 9 of the analog switch and multiplexer U21 is connected to the data input end of the MCU, pin 10 of the analog switch and multiplexer U21 is connected to pin 12, pin 11 of the analog switch and multiplexer U21 is connected to the data output end of the Bluetooth interface, pin 6 of the analog switch and multiplexer U21 is connected to the data input end of the Bluetooth interface, pin 13 of the analog switch and multiplexer U21 is connected to the data input end of the RS232 interface, pin 14 of the analog switch and multiplexer U21 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C26, and the other end of the capacitor C26 is grounded;
[0023] When the level of the pin 1 of the analog switch and multiplexer U21 is 1 and the level of the pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit selects the external device to be connected to the alarm analyzer through the Bluetooth interface;
[0024] When the level of the pin 1 of the analog switch and multiplexer U21 is 1, and the level of the pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit selects the external device to be connected to the alarm analyzer through the USB interface;
[0025] When the level of the pin 1 of the analog switch and multiplexer U21 is 0, and the level of the pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit selects the external device to be connected to the alarm analyzer through the RS232 interface;
[0026] When the level of the pin 1 of the analog switch and multiplexer U21 is 0 and the level of the pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit selects the external device to be connected to the alarm analyzer through the USB interface and the RS232 interface;
[0027] The USB interface includes an interface conversion chip U10, magnetic core inductors L6 and L13, polar capacitor E1, transistors Q19, Q20, Q21 and Q22, varistors R131, R132 and R133, a socket J1, resistors R125, R126, R127, R129 and R130, capacitors C6 and C7; the interface conversion chip U10 realizes the conversion from USB to serial UART interface, and can also be converted to synchronous and asynchronous Bit-Bang interface modes; pin 1 of the socket J1 is respectively connected to the USB power supply, the varistor R133 The pin 2 of the socket J1 is connected to one end of the varistor R132, the pin 3 of the socket J1 is connected to one end of the varistor R131, the pin 5 of the socket J1 is respectively connected to the ground, the other end of the varistor R131, the other end of the varistor R132, the other end of the varistor R133 and the negative electrode of the polar capacitor, the pin 8 and the pin 9 of the socket J1 are connected to one end of the iron core inductor L13, and the other end of the iron core inductor L13 is grounded; the pin 1 of the interface conversion chip U10 is a digital According to the output end, pin 5 of the interface conversion chip U10 is the data input end, pin 4 of the interface conversion chip U10 is connected to 3.3V output, pin 16 of the interface conversion chip U10 is connected to the negative electrode of the USB data line, pin 15 of the interface conversion chip U10 is connected to the positive electrode of the USB data line, pin 25, pin 7, pin 18, pin 21 and pin 26 of the interface conversion chip U10 are connected, pin 20 of the interface conversion chip U10 is respectively connected to one end of the iron core inductor L6 and one end of the capacitor C6, the other end of the capacitor C6 is grounded, and the iron core inductor L6 is connected to the ground. The other end of the sensor L6 is connected to the USB input power supply, the pin 17 of the interface conversion chip U10 is connected to one end of the capacitor C7, and the other end of the capacitor C7 is grounded; one end of the resistor R125 is connected to the data output end of the MCU, the other end of the resistor R125 is connected to the base of the transistor Q19, the emitter of the transistor Q19 and the transistor Q20 are connected and then grounded, the collector of the transistor Q19 is respectively connected to one end of the resistor R127 and the base of the transistor Q20, the other end of the resistor R127 is connected to one end of the resistor R129 and then connected to 3.3V output, the other end of the resistor R129 is connected to the collector of the transistor Q20 and then connected to the data input end of the interface conversion chip U10; one end of the resistor R126 is connected to the data output end of the interface conversion chip U10, the other end of the resistor R126 is connected to the base of the transistor Q21, the collector of the transistor Q21 is connected to the collector of the transistor Q22 and then grounded, the emitter of the transistor Q21 is respectively connected to one end of the resistor R128 and the base of the transistor Q22, the other end of the resistor R128 is connected to one end of the resistor R130 and then connected to the circuit voltage 3.3V, the other end of the resistor R130 is connected to the emitter of the transistor Q22 and then connected to the data input end of the MCU;.
[0028] The RS232 interface includes a transceiver U15, a protection terminal U22, an RS232 port J11, capacitors C27, C28, C29, C30 and C31; the transceiver U15 is an RS232 driver chip, and the protection terminal U22 is used to avoid the harm of surge current to the RS232 port; the pin 1 of the RS232 port J11 is connected to the pin 3 of the protection terminal U22 and then grounded, the pin 2 of the RS232 port J11 is connected to the pin 2 of the protection terminal U22, the pin 3 of the RS232 port J11 is connected to the pin 1 of the protection terminal U22, and the pin 4 of the RS232 port J11 is connected to the 232 data transmission end of the MCU; the pin 1 of the transceiver U15 is connected to one end of the capacitor C28, the pin 3 of the transceiver U15 is connected to the other end of the capacitor C28, and the pin 2 of the transceiver U15 is connected to the One end of the capacitor C29 is connected, and the other end of the capacitor C29 is connected to the circuit voltage 3.3V. Pin 4 of the transceiver U15 is connected to one end of the capacitor C30, and pin 5 of the transceiver U15 is connected to the other end of the capacitor C30. Pin 6 of the transceiver U15 is connected to one end of the capacitor C31, and the other end of the capacitor C31 is grounded. Pin 11 of the transceiver U15 is connected to the 232 data sending end of the MCU, and pin 12 of the transceiver U15 is connected to the 232 data receiving end of the MCU. Pin 13 of the transceiver U15 is connected to the data receiving end of the MCU, and pin 14 of the transceiver U15 is connected to the data sending end of the MCU. Pin 15 of the transceiver U15 is grounded, and pin 16 of the transceiver U15 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C27, and the other end of the capacitor C27 is grounded;
[0029] The Bluetooth interface includes a Bluetooth module U16, capacitors C18 and C180; pin 1 of the Bluetooth module U16 is connected to the Bluetooth data sending end of the MCU, pin 2 of the Bluetooth module U16 is connected to the Bluetooth data receiving end of the MCU, pin 10 of the Bluetooth module U16 is connected to the network end of the MCU, pin 12 of the Bluetooth module U16 is respectively connected to one end of the capacitor C180 and one end of the capacitor C18, one end of the capacitor C18 is also connected to the circuit voltage 3.3V, the other end of the capacitor C18 and the other end of the capacitor C180 are respectively grounded, pin 13 of the Bluetooth module U16 is grounded, pin 21 of the Bluetooth module U16 is grounded, pin 22 of the Bluetooth module U16 is grounded, and pin 33 of the Bluetooth module U16 is connected to the connection status end of the MCU.
[0030] Furthermore, the wireless communication unit includes a GPRS circuit and a ZigBee circuit; the GPRS circuit is used for the alarm analyzer to transmit data via GPRS, and the ZigBee circuit is used for the alarm analyzer to transmit data via ZigBee;
[0031] The GPRS circuit includes a GPRS module J17, a switch chip U30, a transistor Q24, a capacitor C90, resistors R153, R154, R155, R156, R200, R201, R202, R204 and R205; Pin 1 of the GPRS module J11 is connected to one end of the resistor R153, and the other end of the resistor R153 is connected to the 232 data receiving end of the MCU, Pin 2 of the GPRS module J11 is connected to one end of the resistor R154, and the other end of the resistor R154 is connected to the 232 data sending end of the MCU, Pin 3 of the GPRS module J11 is grounded, Pin 5 and Pin 6 of the GPRS module J11 are respectively connected to the circuit voltage, Pin 7 of the GPRS module J11 is connected to one end of the resistor R156, and the other end of the resistor R156 is connected to the circuit voltage 3.3V; Pin 1 of the switch chip U30 , pin 2 and pin 3 are connected to each other and then connected to one end of the resistor R200, one end of the resistor R201 and one end of the resistor R204 respectively, the other end of the resistor R200 is connected to the circuit voltage 5V, the other end of the resistor R210 is connected to the sensor power supply, the other end of the resistor R204 is respectively connected to the collector of the transistor Q24 and the pin 4 of the switch chip U30, the base of the transistor Q24 is respectively connected to one end of the resistor R205 and one end of the resistor R203, the other end of the resistor R205 is connected to the GPRS power supply, the other end of the resistor R203 is connected to the emitter of the transistor Q24 and then grounded, the pin 5, pin 6, pin 7 and pin 8 of the switch chip U30 are connected to one end of the resistor R202, the other end of the resistor R202 is respectively connected to the GPRS voltage and one end of the capacitor C90, and the other end of the capacitor C90 is grounded;
[0032] The ZigBee circuit includes a ZigBee communication module U17, pin 1 of the ZigBee communication module U17 is connected to the circuit voltage 3.3V, pin 2 of the ZigBee communication module U17 is connected to the Bluetooth data sending end of the MCU, pin 3 of the ZigBee communication module U17 is connected to the Bluetooth data receiving end of the MCU, pin 4 of the ZigBee communication module U17 is connected to the network end of the MCU, pin 5 of the ZigBee communication module U17 is connected to the connection status end of the MCU, and pin 6 of the ZigBee communication module U17 is grounded.
[0033] Compared with the prior art, the present invention provides a portable alarm analyzer for posture recognition and gas detection, including an MCU, a posture acquisition unit connected to the MCU, a gas acquisition unit and an alarm output unit. The posture acquisition unit is used to acquire the current posture of the alarm analyzer, and the gas acquisition unit is used to acquire the currently required detection gas. The posture acquisition unit transmits the acquired posture signal of the alarm analyzer to the MCU, and the gas acquisition unit transmits the acquired detection gas signal to the MCU. The MCU analyzes the posture signal and the detection gas signal. If the value of the posture signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the posture signal combined with the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit. The alarm output unit outputs an audible and visual alarm or a vibration alarm according to the received alarm signals of different levels. Since the present invention has the functions of posture recognition and gas detection at the same time, it can alarm when an accident occurs to the operator by detecting the movement trajectory of the operator and the concentration of the gas. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 The present invention provides a system composition block diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0036] Figure 2 The present invention provides a schematic diagram of a gesture collection unit circuit of a portable alarm analyzer for gesture recognition and gas detection.
[0037] Figure 3 The present invention provides a schematic circuit diagram of an oxygen collection unit of a portable alarm analyzer for gesture recognition and gas detection.
[0038] Figure 4 The present invention provides a circuit schematic diagram of a combustible gas collection unit of a portable alarm analyzer for gesture recognition and gas detection.
[0039] Figure 5 The present invention provides a circuit schematic diagram of a toxic gas collection unit of a portable alarm analyzer for gesture recognition and gas detection.
[0040] Figure 6The present invention provides a charging circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0041] Figure 7 The present invention provides a power management circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0042] Figure 8 The present invention provides an interface selection circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0043] Fig. 9 The present invention provides a circuit schematic diagram of a USB interface of a portable alarm analyzer for gesture recognition and gas detection.
[0044] Fig.10 The present invention provides a circuit schematic diagram of an RS232 interface of a portable alarm analyzer for gesture recognition and gas detection.
[0045] Fig.11 The present invention provides a schematic circuit diagram of a Bluetooth interface of a portable alarm analyzer for gesture recognition and gas detection.
[0046] Fig.12 The present invention provides a GPRS circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0047] Fig.13 The present invention provides a ZigBee circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0048] Fig.14 The present invention provides a storage unit circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0049] Fig.15 The present invention provides a key circuit schematic diagram of a portable alarm analyzer for gesture recognition and gas detection.
[0050] Fig.16 The present invention provides a schematic circuit diagram of an alarm output unit of a portable alarm analyzer for gesture recognition and gas detection.
[0051] The markings in the above figure are 1, MCU; 2, posture acquisition unit; 3, gas acquisition unit; 31, oxygen acquisition unit; 32, combustible gas acquisition unit; 33, toxic gas acquisition unit; 4, alarm output unit; 41, vibration alarm circuit; 42, sound and light alarm circuit; 5, power supply unit; 51, charging circuit; 52, power management circuit; 6, human-computer interaction unit; 61, display circuit; 62, button circuit; 7, communication interface identification unit; 71, interface selection circuit; 72, USB interface; 73, RS232 interface; 74, Bluetooth interface; 8, wireless communication unit; 81, GPRS circuit; 82, ZigBee circuit; 9, storage unit; 91, Micro SD card circuit; 92, FLASH circuit; 93, chip storage circuit. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0053] The same or similar numbers in the drawings of this embodiment correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, it is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0054] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0055] like Figures 1 to 16 The figure shows a preferred embodiment of the present invention.
[0056] Reference Figure 1The embodiment provides a portable alarm analyzer for posture recognition and gas detection, including MCU1, a posture acquisition unit 2, a gas acquisition unit 3 and an alarm output unit 4 connected to MCU1, the posture acquisition unit 2 is used to acquire the current posture of the alarm analyzer, the gas acquisition unit 3 is used to acquire the currently required detection gas, the posture acquisition unit 2 transmits the collected posture signal of the alarm analyzer to MCU1, the gas acquisition unit 3 transmits the collected detection gas signal to MCU1, MCU1 analyzes the posture signal and the detection gas signal, if the value of the posture signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, or if the value of the detection gas signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, or if the value of the posture signal combined with the detection gas signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, the alarm output unit 4 outputs an audible and visual alarm or a vibration alarm according to the different levels of alarm signals received.
[0057] The above technical solution provides a portable alarm analyzer for posture recognition and gas detection. The posture acquisition unit 2 transmits the collected posture signal of the alarm analyzer to MCU1, and the gas acquisition unit 3 transmits the collected detection gas signal to MCU1. MCU1 analyzes the posture signal and the detection gas signal. If the value of the posture signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, or the value of the detection gas signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, or the value of the posture signal combined with the detection gas signal exceeds the specified range, MCU1 sends an alarm signal to the alarm output unit 4, and the alarm output unit 4 outputs a sound alarm, a light alarm, or a vibration alarm according to the different levels of alarm signals received. Since the present invention has the functions of posture recognition and gas detection at the same time, it can alarm when an accident occurs to the operator by detecting the movement trajectory of the operator and the concentration of the gas.
[0058] As an embodiment of the present invention, refer to Figure 2The attitude acquisition unit 2 includes a gyroscope chip U31, resistors R8, R16, R83, R147, R148 and R151, and capacitors C99, C100, C101 and C102; the gyroscope chip U31 is used to obtain the current attitude signal of the alarm analyzer, including angular velocity and acceleration; pin 1 and pin 25 of the gyroscope chip U31 are connected to ground, pin 8 of the gyroscope chip U31 is connected to one end of the capacitor C101, pin 10 of the gyroscope chip U31 is connected to one end of the resistor R8, pin 11 of the gyroscope chip U31 is connected to one end of the capacitor C102, the other end of the capacitor C101, the other end of the resistor R8 and the other end of the capacitor C102 are connected to ground, pin 12 of the gyroscope chip U31 is connected to one end of the resistor R16, and the resistor R1 6, pin 13 of the gyroscope chip U31 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C100, the other end of the capacitor C100 is grounded, pin 18 of the gyroscope chip U31 is grounded, pin 21 of the gyroscope chip U31 is connected to one end of the capacitor C99, the other end of the capacitor C99 is grounded, pin 23 of the gyroscope chip U31 is connected to one end of the resistor R147, the other end of the resistor R147 is respectively connected to the clock line interface SCL of MCU1 and one end of the resistor R148, pin 24 of the gyroscope chip U31 is connected to one end of the resistor R83, the other end of the resistor R83 is respectively connected to the data line interface SDA of MCU1 and one end of the resistor R151, the other end of the resistor R148 is connected to the other end of the resistor R151 and then connected to the circuit voltage 3.3V.
[0059] As an embodiment of the present invention, refer to Figure 1 The gas collection unit 3 includes an oxygen collection unit 31, a combustible gas collection unit 323 and a toxic gas collection unit 333. The oxygen collection unit 31 is used to collect the oxygen concentration in the detection gas, the combustible gas collection unit 323 is used to collect the concentrations of two combustible gases in the detection gas, and the toxic gas collection unit 333 is used to collect the concentrations of six toxic gases in the detection gas.
[0060] Specifically, refer to Figure 3The oxygen collection unit 31 includes operational amplifiers U611 and U612, a transistor Q2, capacitors C4 and C58, and resistors R13, R15, R25, R27, R54, R124, and R163; the in-phase input terminal of the operational amplifier U611 is grounded, the output terminal of the operational amplifier U611 is connected to one end of the resistor R13, then to the inverting input terminal of the operational amplifier U611, and then to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R54, the other end of the resistor R54 is connected to the power supply voltage 3.3V, and the emitter of the transistor Q2 is connected to the resistor R15, respectively. One end of the resistor R25 and one end of the resistor R27, the other end of the resistor R163 and the inverting input end of the operational amplifier U612 are respectively connected. The other end of the resistor R27 is connected to one end of the resistor R124, and the other end of the resistor R124 is grounded. The other end of the capacitor C4 is connected to the other end of the resistor R163 and then connected to the output end of the operational amplifier U612 and one end of the capacitor C58, and the other end of the capacitor C58 is grounded. The other end of the resistor R25 is connected to the other end of the resistor R13 and then connected to the non-inverting input end of the operational amplifier U612.
[0061] Specifically, refer to Figure 4The combustible gas collection unit 323 includes operational amplifiers U61, U62, U28 and U29, resistors R1, R2, R3, R4, R206, R207, R208 and R209, and a capacitor C5; one end of the resistor R1 is respectively connected to the terminal and the first combustible gas input negative electrode, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the in-phase input terminal of the operational amplifier U61, the other end of the resistor R2 is grounded, the inverting input terminal of the operational amplifier U61 is connected to the output terminal and then connected to the first combustible gas output negative electrode; one end of the resistor R3 is respectively connected to the terminal and the first combustible gas input positive electrode, the other end of the resistor R3 is respectively connected to one end of the resistor R4 and the in-phase input terminal of the operational amplifier U62, the other end of the resistor R4 is connected to the negative power supply of the operational amplifier U62 and then grounded, the inverting input terminal of the operational amplifier U62 is connected to the output terminal and then connected to the first A combustible gas output positive electrode, the positive power supply of the operational amplifier U62 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C5, and the other end of the capacitor C5 is grounded; one end of the resistor R206 is respectively connected to the terminal and the second combustible gas input negative electrode, the other end of the resistor R206 is respectively connected to one end of the resistor R209 and the in-phase input end of the operational amplifier U28, the other end of the resistor R209 is grounded, the inverting input end of the operational amplifier U28 is connected to the output end and then connected to the terminal and the second combustible gas output negative electrode; one end of the resistor R207 is respectively connected to the terminal and the second combustible gas input positive electrode, the other end of the resistor R207 is respectively connected to one end of the resistor R208 and the in-phase input end of the operational amplifier U29, the other end of the resistor R208 is grounded, the inverting input end of the operational amplifier U29 is connected to the output end and then connected to the terminal and the second combustible gas output positive electrode.
[0062] Specifically, refer to Figure 5The toxic gas collection unit 333 includes a polarity switching switch U20, an operational amplifier U71, an operational amplifier U72, an operational amplifier U73, a transistor Q3, a capacitor C9, a capacitor C10, a capacitor C23, a capacitor C59, a capacitor C60, a resistor R31, a resistor R33, a resistor R55, a resistor R214, a resistor R215, a resistor R30, a resistor R44, a resistor R63, a resistor R50, a resistor R51, a resistor R161, a polarity switching switch U19, an operational amplifier U51, an operational amplifier U52, an operational amplifier U53, a transistor Q4, a capacitor C 24, capacitor C16, capacitor C15, capacitor C61, capacitor C62, resistor R32, resistor R34, resistor R216, resistor R217, resistor R37, resistor R45, resistor R64, resistor R52, resistor R53, resistor R56, resistor R162, polarity switch U26, operational amplifier U251, operational amplifier U252, operational amplifier U253, transistor Q16, capacitor C56, capacitor C57, capacitor C63, capacitor C64, capacitor C65, resistor R38, resistor R84, resistor R20, resistor R57, resistor R11 7. Resistor R58, resistor R164, resistor R96, resistor R116, polarity switch U34, operational amplifier U281, operational amplifier U282, operational amplifier U283, NMOS tube Q18, capacitor C83, capacitor C84, capacitor C88, resistor R172, resistor R174, resistor R175, resistor R176, resistor R177, resistor R182, resistor R184, resistor R185, resistor R188, polarity switch U35, operational amplifier U291, operational amplifier U292, operational amplifier U293, transistor Q23, capacitor C85, capacitor C86, capacitor C89, resistor R173, resistor R178, resistor R179, resistor R180, resistor R181, resistor R186, resistor R187, resistor R189, resistor R183, polarity switch U27, operational amplifier U5, operational amplifier U25, operational amplifier U7, transistor Q9, capacitor C50, capacitor C51, capacitor C67, capacitor C68, resistor R5, resistor R6, resistor R7, resistor R41, resistor R61, resistor R74, resistor R75, resistor R76, resistor R165;
[0063] One end of the resistor R214 is connected to the power supply voltage 3.3V, the connection point between the other end of the resistor R214 and one end of the resistor R215 is connected to one end of the resistor R30 and the non-inverting input end of the operational amplifier U73 respectively, the other end of the resistor R215 is grounded, the inverting input end of the operational amplifier U73 is connected to one end of the resistor R31, the output end of the operational amplifier U73 is connected to one end of the capacitor C23, the other end of the capacitor C23 is connected to the other end of the resistor R31 and then connected to one end of the resistor R33, and the other end of the resistor R33 is connected to one end of the resistor R31. The base of transistor Q3 is connected, the collector of transistor Q3 is connected to one end of resistor R55, the other end of resistor R55 is connected to the power supply voltage 3.3V, the emitter of transistor Q3 is connected to one end of resistor R51, the other end of resistor R51 is respectively connected to one end of capacitor C10, one end of resistor R161 and the inverting input end of operational amplifier U72, the other end of capacitor C10, the other end of resistor R161 and the output end of operational amplifier U72 are connected and then connected to the first input end of polarity switching switch U20, The other end of the resistor R30 is respectively connected to the second input end of the polarity switching switch U20 and the inverting input end of the operational amplifier U71, the non-inverting input end of the operational amplifier U71 is respectively connected to one end of the resistor R44 and one end of the resistor R63, the other end of the resistor R63 is grounded, the other end of the resistor R44 is respectively connected to the power supply voltage 3.3V, one end of the resistor R45 and one end of the resistor R57, the negative power supply of the operational amplifier U71 is grounded, the positive power supply of the operational amplifier U71 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C9, the other end of the capacitor C9 is grounded, the output end of the operational amplifier U71 is connected to one end of the resistor R50, the other end of the resistor R50 is connected to the non-inverting input end of the operational amplifier U72, the first output end of the polarity switching switch U20 is connected to one end of the capacitor C59 and then connected to the positive electrode of the first toxic gas signal channel, the second output end of the polarity switching switch U20 is connected to one end of the capacitor C60 and then connected to the negative electrode of the first toxic gas signal channel, the other end of the capacitor C59 and the other end of the capacitor C60 are respectively grounded;
[0064] One end of resistor R216 is connected to a power supply voltage of 3.3V, and a connection point between the other end of resistor R216 and one end of resistor R217 is respectively connected to one end of resistor R37 and the non-inverting input end of operational amplifier U53, and the other end of resistor R217 is grounded. The inverting input end of operational amplifier U53 is connected to one end of resistor R32, and the output end of operational amplifier U53 is connected to one end of capacitor C24, and the other end of capacitor C24 is connected to the other end of resistor R32 and then connected to one end of resistor R34, and the other end of resistor R34 is connected to the base of transistor Q4, and the collector of transistor Q4 is connected to one end of resistor R56, and the other end of resistor R56 is connected to a power supply voltage of 3.3V, and the emitter of transistor Q4 is connected to one end of resistor R53, and the other end of resistor R53 is respectively connected to one end of capacitor C16, one end of resistor R162 and the inverting input end of operational amplifier U52, and the other end of capacitor C16, the other end of resistor R162 and the output end of operational amplifier U52 are respectively connected. The first input terminal of the polarity switching switch U19 is connected thereto, the other end of the resistor R37 is respectively connected to the second input terminal of the polarity switching switch U19 and the inverting input terminal of the operational amplifier U51, the non-inverting input terminal of the operational amplifier U51 is respectively connected to the other end of the resistor R45 and one end of the resistor R64, the other end of the resistor R64 is grounded, the negative power supply of the operational amplifier U51 is grounded, the positive power supply of the operational amplifier U51 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C15, the other end of the capacitor C15 is grounded, the output terminal of the operational amplifier U51 is connected to one end of the resistor R52, the other end of the resistor R52 is connected to the non-inverting input terminal of the operational amplifier U52, the first output terminal of the polarity switching switch U19 is connected to one end of the capacitor C61 and then connected to the positive electrode of the second toxic gas signal channel, the second output terminal of the polarity switching switch U19 is connected to one end of the capacitor C62 and then connected to the negative electrode of the second toxic gas signal channel, the other end of the capacitor C61 and the other end of the capacitor C62 are respectively grounded;
[0065] One end of resistor R172 is connected to the power supply voltage 3.3V, the other end of resistor R172 is respectively connected to one end of resistor R182 and the non-inverting input terminal of operational amplifier U281, the other end of resistor R182 is grounded, the negative power supply of operational amplifier U281 is grounded, the positive power supply of operational amplifier U281 is respectively connected to the power supply voltage 3.3V and one end of capacitor C83, the other end of capacitor C83 is grounded, the inverting input terminal of operational amplifier U281 is respectively connected to one end of resistor R174 and the second input terminal of polarity switching switch U34, the output terminal of operational amplifier U281 is connected to one end of resistor R184, the other end of resistor R184 is connected to the non-inverting input terminal of operational amplifier U282, the other end of resistor R174 is connected to the non-inverting input terminal of operational amplifier U283, the inverting input terminal of operational amplifier U283 is connected to one end of resistor R175, the output of operational amplifier U283 The first end of the NMOS transistor Q18 is connected to one end of the capacitor C88, the other end of the capacitor C88 is respectively connected to the other end of the resistor R175 and one end of the resistor R176, the other end of the resistor R176 is connected to the drain of the NMOS transistor Q18, the gate of the NMOS transistor Q18 is connected to one end of the resistor R188, the other end of the resistor R188 is connected to the power supply voltage 3.3V, the source of the NMOS transistor Q18 is connected to one end of the resistor R185, the other end of the resistor R185 is respectively connected to one end of the capacitor C84, one end of the resistor R177 and the inverting input end of the operational amplifier U282, the output end of the operational amplifier U282 is connected to the other end of the capacitor C84 and the other end of the resistor R177, and then connected to the first input end of the polarity switching switch U34, the first output end of the polarity switching switch U34 is connected to the positive electrode of the third toxic gas signal channel, and the second output end of the polarity switching switch U34 is connected to the negative electrode of the third toxic gas signal channel;
[0066] One end of resistor R173 is connected to the power supply voltage 3.3V, the other end of resistor R173 is respectively connected to one end of resistor R183 and the non-inverting input terminal of operational amplifier U291, the other end of resistor R183 is grounded, the negative power supply of operational amplifier U291 is grounded, the positive power supply of operational amplifier U291 is respectively connected to the power supply voltage 3.3V and one end of capacitor C85, the other end of capacitor C85 is grounded, the inverting input terminal of operational amplifier U291 is respectively connected to one end of resistor R178 and the second input terminal of polarity switching switch U35, the output terminal of operational amplifier U291 is connected to one end of resistor R186, the other end of resistor R186 is connected to the non-inverting input terminal of operational amplifier U292, the other end of resistor R178 is connected to the non-inverting input terminal of operational amplifier U293, the inverting input terminal of operational amplifier U293 is connected to one end of resistor R179, the The output end is connected to one end of the capacitor C89, the other end of the capacitor C89 is respectively connected to the other end of the resistor R179 and one end of the resistor R180, the other end of the resistor R180 is connected to the base of the transistor Q23, the collector of the transistor Q23 is connected to one end of the resistor R189, the other end of the resistor R189 is connected to the power supply voltage 3.3V, the emitter of the transistor Q23 is connected to one end of the resistor R187, the other end of the resistor R187 is respectively connected to one end of the capacitor C86, one end of the resistor R181 and the inverting input end of the operational amplifier U292, the output end of the operational amplifier U292 is connected to the other end of the capacitor C86 and the other end of the resistor R181 and then connected to the first input end of the polarity switching switch U35, the first output end of the polarity switching switch U35 is connected to the positive electrode of the fourth toxic gas signal channel, and the second output end of the polarity switching switch U35 is connected to the negative electrode of the fourth toxic gas signal channel;
[0067] One end of the resistor R41 is connected to the power supply voltage 3.3V, the other end of the resistor R41 is respectively connected to one end of the resistor R76 and the non-inverting input end of the operational amplifier U5, the other end of the resistor R76 is grounded, the inverting input end of the operational amplifier U5 is respectively connected to one end of the resistor R5 and the second input end of the polarity switching switch U27, the output end of the operational amplifier U5 is connected to one end of the resistor R61, the other end of the resistor R61 is connected to the non-inverting input end of the operational amplifier U25, the other end of the resistor R5 is connected to the non-inverting input end of the operational amplifier U7, the inverting input end of the operational amplifier U7 is connected to one end of the resistor R6, the output end of the operational amplifier U7 is connected to one end of the capacitor C67, the other end of the capacitor C67 is respectively connected to the other end of the resistor R6 and one end of the resistor R7, the other end of the resistor R7 is connected to the transistor Q9 The base of the transistor Q9, the collector of the transistor Q9 is connected to one end of the resistor R75, the other end of the resistor R75 is connected to the power supply voltage 3.3V, the emitter of the transistor Q9 is connected to one end of the resistor R74, the other end of the resistor R74 is respectively connected to one end of the capacitor C50, one end of the resistor R165 and the inverting input end of the operational amplifier U25, the output end of the operational amplifier U25 is connected to the other end of the capacitor C50 and the other end of the resistor R165, and then connected to the first input end of the polarity switching switch U27, the first output end of the polarity switching switch U27 is connected to one end of the capacitor C68 and then connected to the positive electrode of the fifth toxic gas signal channel, the second output end of the polarity switching switch U27 is connected to one end of the capacitor C51 and then connected to the negative electrode of the fifth toxic gas signal channel, the other end of the capacitor C68 and the other end of the capacitor C51 are grounded respectively;
[0068] The other end of the resistor R57 is respectively connected to one end of the resistor R117 and the non-inverting input terminal of the operational amplifier U251, the other end of the resistor R117 is grounded, the negative power supply of the operational amplifier U251 is grounded, the positive power supply of the operational amplifier U251 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C56, the other end of the capacitor C56 is grounded, the inverting input terminal of the operational amplifier U251 is respectively connected to one end of the resistor R20 and the second input terminal of the polarity switching switch U26, the output terminal of the operational amplifier U251 is connected to one end of the resistor R58, the other end of the resistor R58 is connected to the non-inverting input terminal of the operational amplifier U252, the other end of the resistor R20 is connected to the non-inverting input terminal of the operational amplifier U253, the inverting input terminal of the operational amplifier U253 is connected to one end of the resistor R84, the output terminal of the operational amplifier U253 is connected to one end of the capacitor C65, and the other end of the capacitor C65 is respectively connected to the positive and negative ends of the resistor R84. The other end is connected to one end of resistor R38, the other end of resistor R38 is connected to the base of transistor Q16, the collector of transistor Q16 is connected to one end of resistor R116, the other end of resistor R116 is connected to the power supply voltage 3.3V, the emitter of transistor Q16 is connected to one end of resistor R96, the other end of resistor R96 is respectively connected to one end of capacitor C57, one end of resistor R164 and the inverting input end of operational amplifier U252, the output end of operational amplifier U252 is connected to the other end of capacitor C57 and the other end of resistor R164 and then connected to the first input end of polarity switching switch U26, the first output end of polarity switching switch U26 is connected to one end of capacitor C63 and then connected to the positive electrode of the sixth toxic gas signal channel, the second output end of polarity switching switch U26 is connected to one end of capacitor C64 and then connected to the negative electrode of the sixth toxic gas signal channel, the other end of capacitor C63 and the other end of capacitor C64 are grounded respectively.
[0069] As an embodiment of the present invention, refer to Figure 1 The alarm analyzer also includes a power supply unit 5, a communication interface identification unit 7, a wireless communication unit 8, a storage unit 9 and a human-computer interaction unit 6 connected to the MCU1. The power supply unit 5 is used to provide working power for the alarm analyzer. The communication interface identification power supply is used for the alarm analyzer to connect with external devices to realize data interaction and export. The wireless communication unit 8 is used for the alarm analyzer to remotely transmit data. The storage unit 9 is used for the alarm analyzer to store data. The human-computer interaction unit 6 is used for the user to interact with the alarm analyzer.
[0070] As an embodiment of the present invention, refer to Figure 1 The power supply unit 5 includes a charging circuit 51 and a power management circuit 52; the charging circuit 51 is used to charge the lithium battery of the alarm analyzer so that the alarm analyzer can work in a portable mode; the power management circuit 52 is used to provide a stable working voltage for the alarm analyzer.
[0071] Specifically, refer to Figure 6 The charging circuit 51 includes a battery charging management chip U8, an adjustable resistor RP1, a transistor Q1, a voltage-stabilizing diode D20, a light-emitting diode D2, capacitors C1 and C2, resistors R17, R24, R26, R59, R60 and R123; pin 1 of the battery charging management chip U8 is respectively connected to the emitter of the transistor Q1 and one end of the resistor R59, the other end of the resistor R59 is respectively connected to the USB input power supply, one end of the resistor R123 and one end of the capacitor C1, pin 2 of the battery charging management chip U8 is respectively connected to the negative electrode of the voltage-stabilizing diode D20 and one end of the capacitor C2, one end of the capacitor C2 is also connected to the external charging power supply, the other end of the capacitor C2 is grounded, pin 3 of the battery charging management chip U8 is connected to the other end of the resistor R123, and the battery charging management chip Pin 4 of U8 is respectively connected to one end of resistor R24, one end of adjustable resistor RP1 and one end of resistor R26. The other end of resistor R24 is connected to the USB input power supply. Pin 5 of the battery charging management chip U8 is connected to the positive electrode of light-emitting diode D2. The negative electrode of light-emitting diode D2 is connected to one end of resistor R17. The other end of resistor R17, the other end of resistor R26 and the other end of adjustable resistor RP1 are connected and then grounded. Pin 6 of the battery charging management chip U8 is connected to the other end of capacitor C1 and then grounded. Pin 7 of the battery charging management chip U8 is connected to one end of resistor R60. The other end of resistor R60 is connected to the base of transistor Q1. The collector of transistor Q1 is connected to the positive electrode of voltage-stabilizing diode D20. Pin 8 of the battery charging management chip U8 is connected to the USB input power supply.
[0072] Specifically, refer to Figure 7The power management circuit 52 includes power management chips U1 and U2, a switch chip U23, magnetic core inductors L1, L2, L5 and L8, polar capacitors E4, E5 and E2, capacitors C70, C77, C76, C75, C74, C71 and C3, resistors R115, R47, R140, R139, R42, R46, R138, R94, R68, R65, R11, R62, R95 and R48, a transistor Q10, diodes D4 and D15, a button KEY8, and a fuse F1; Pin 1 of the power management chip U1 is divided into One end of the capacitor C78 is connected to the positive electrode of the polar capacitor E5, the other end of the capacitor C78 is connected to the negative electrode of the polar capacitor and then grounded, the positive electrode of the polar capacitor E5 is also connected to one end of the resistor R42 and one end of the capacitor C74, the other end of the capacitor C74 is grounded, one end of the capacitor C74 is also connected to the power supply voltage 3.3V and the circuit voltage terminal, the pin 1, pin 2 and pin 3 of the switch chip U23 are connected and connected to the circuit voltage terminal and one end of the resistor R94, respectively, the pin 4 of the switch chip U23 is connected to the other end of the resistor R94, one end of the resistor R68 and the resistor R65, respectively. One end of the resistor R68 is connected to one end of the capacitor C47, one end of the key KEY8 and the other end of the resistor R65 respectively. The other end of the resistor R65 is also connected to the collector of the transistor Q10 and the cathode of the diode D4 respectively. The anode of the diode D4 is respectively connected to one end of the resistor R11 and the power supply of the key KEY8. The other end of the resistor R11 is connected to the circuit voltage 3.3V. The base of the transistor Q10 is respectively connected to one end of the resistor R95 and the cathode of the diode D15. The cathode of the diode D15 is also connected to one end of the resistor R62. The other end of the resistor R62 is connected to the external power supply. The positive electrode of the transistor D15 is connected to one end of the resistor R48, the other end of the resistor R48 is connected to the 3.3V output, the other end of the capacitor C47, the other end of the key KEY8, the emitter of the transistor Q10 and the other end of the resistor R95 are connected and then grounded, the pins 5, 6, 7 and 8 of the switch chip U23 are connected and then connected to the circuit voltage 3.3V and 3.3V terminals, one end of the magnetic core inductor L8, one end of the magnetic core inductor L5 and the connection point of one end of the capacitor C71, the other end of the capacitor C71 is grounded, and the other end of the magnetic core inductor L5 is connected to the power supply voltage 3.3V.3V and one end of capacitor C3, the other end of capacitor C3 is grounded, pin 2 of power management chip U1 is connected to one end of inductor L1 with magnetic core, pin 3 of power management chip U1 is grounded, pin 4 of power management chip U1 is connected to the other end of inductor U1 with magnetic core, pin 5 of power management chip U1 is respectively connected to pin 6 and pin 8 of power management chip U1, the positive electrode of polarity capacitor E2, one end of capacitor C75, pin 5 of power management chip U2 and one end of fuse F1, the other end of fuse F1 One end is connected to an external power supply, the other end of capacitor C75 is connected to the negative electrode of polarity capacitor E2 and then grounded, pin 7 of power management chip U1 is connected to one end of resistor R138, the other end of resistor R138 is grounded, pin 9 of power management chip U1 is respectively connected to one end of resistor R46 and ground, pin 10 of power management chip U1 is respectively connected to the other end of resistor R42 and the other end of resistor R46, pin 11 of power management chip U1 is grounded, and pin 5 of power management chip U2 is also respectively connected to power management chip U Pin 8 of the power management chip U2 is connected to one end of the capacitor C76, and the other end of the capacitor C76 is grounded. Pin 1 of the power management chip U2 is respectively connected to one end of the capacitor C77, the positive electrode of the polar capacitor E4, one end of the resistor R115 and the 3.3V terminal of the power supply. The 3.3V terminal of the power supply is also connected to one end of the capacitor C70, and the other end of the capacitor C70 is grounded. The other end of the capacitor C77 is connected to the negative electrode of the polar capacitor E4 and then grounded. Pin 2 of the power management chip U2 is connected to one end of the inductor L2 with a magnetic core. The power management chip U Pin 3 of power management chip U2 is grounded, pin 4 of power management chip U2 is connected to the other end of inductor L2 with magnetic core, pin 6 of power management chip U2 is connected to one end of resistor R139, pin 7 of power management chip U2 is connected to one end of resistor R140, the other end of resistor R139 is connected to the other end of resistor R140 and then grounded, pin 9 of power management chip U2 is respectively grounded and one end of resistor R47, the other end of resistor R47 is respectively connected to pin 10 of power management chip U2 and the other end of resistor R115. .
[0073] As an embodiment of the present invention, refer to Figure 1 The communication interface identification unit 7 includes an interface selection circuit 71, a USB interface 72, an RS232 interface 73 and a Bluetooth interface 74; the interface selection circuit 71 is used to identify whether the connection method between the external device and the alarm analyzer is through the USB interface 72 or the RS232 interface 73 or the Bluetooth interface 74, the USB interface 72 is used for the alarm analyzer to connect with the external device through the USB interface 72, the RS232 interface 73 is used for the alarm analyzer to connect with the external device through the RS232 interface 73, and the Bluetooth interface 74 is used for the alarm analyzer to connect with the external device through the Bluetooth interface 74.
[0074] Specifically, refer to Figure 8The interface selection circuit 71 includes an analog switch and multiplexer U21, a capacitor C26 and a resistor R80; the analog switch and multiplexer U21 is used to switch the alarm analyzer to be connected to external devices through different interfaces; pin 1 of the analog switch and multiplexer U21 is connected to the input end of the USB interface 72, pin 16 of the analog switch and multiplexer U21 is connected to one end of the resistor R80, pin 2 of the analog switch and multiplexer U21 is connected to the other end of the resistor R80 and then connected to the circuit voltage 3.3V, pin 3 of the analog switch and multiplexer U21 is connected to pin 15 and then grounded, pin 4 of the analog switch and multiplexer U21 is connected to the data output end of the RS232 interface 73, and the analog switch and multiplexer U21 Pin 5 of the analog switch and multiplexer U21 is connected to pin 7, pin 8 of the analog switch and multiplexer U21 is connected to the data output end of MCU1, pin 9 of the analog switch and multiplexer U21 is connected to the data input end of MCU1, pin 10 of the analog switch and multiplexer U21 is connected to pin 12, pin 11 of the analog switch and multiplexer U21 is connected to the data output end of the Bluetooth interface 74, pin 6 of the analog switch and multiplexer U21 is connected to the data input end of the Bluetooth interface 74, pin 13 of the analog switch and multiplexer U21 is connected to the data input end of the RS232 interface 73, pin 14 of the analog switch and multiplexer U21 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C26, and the other end of the capacitor C26 is grounded;
[0075] When the level of the pin 1 of the analog switch and multiplexer U21 is 1 and the level of the pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit 71 selects the external device to be connected to the alarm analyzer via the Bluetooth interface 74;
[0076] When the level of pin 1 of the analog switch and multiplexer U21 is 1 and the level of pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit 71 selects the external device to be connected to the alarm analyzer through the USB interface 72;
[0077] When the level of pin 1 of the analog switch and multiplexer U21 is 0 and the level of pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit 71 selects the external device to be connected to the alarm analyzer through the RS232 interface 73;
[0078] When the level of pin 1 of the analog switch and multiplexer U21 is 0 and the level of pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit 71 selects the external device to be connected to the alarm analyzer through the USB interface 72 and the RS232 interface 73.
[0079] Specifically, refer to Fig. 9The USB interface 72 includes an interface conversion chip U10, magnetic core inductors L6 and L13, polarity capacitor E1, transistors Q19, Q20, Q21 and Q22, varistors R131, R132 and R133, a socket J1, resistors R125, R126, R127, R129 and R130, capacitors C6 and C7; the interface conversion chip U10 realizes the conversion from USB to serial UART interface, and can also be converted to synchronous and asynchronous Bit-Bang interface modes; pin 1 of the socket J1 is respectively connected to the USB power supply, one end of the varistor R133 and the positive electrode of the polarity capacitor E1, pin 2 of the socket J1 is connected to one end of the varistor R132, and the lead of the socket J1 is connected to the positive electrode of the polarity capacitor E1. Pin 3 is connected to one end of the varistor R131, and pin 5 of the socket J1 is respectively connected to the ground, the other end of the varistor R131, the other end of the varistor R132, the other end of the varistor R133 and the negative electrode of the polarity capacitor. Pin 8 and pin 9 of the socket J1 are connected and then connected to one end of the iron core inductor L13, and the other end of the iron core inductor L13 is grounded; pin 1 of the interface conversion chip U10 is the data output end, pin 5 of the interface conversion chip U10 is the data input end, pin 4 of the interface conversion chip U10 is connected to the 3.3V output, pin 16 of the interface conversion chip U10 is connected to the negative electrode of the USB data line, pin 15 of the interface conversion chip U10 is connected to the positive electrode of the USB data line, and the interface conversion chip U10 Pin 25, pin 7, pin 18, pin 21 and pin 26 are connected, pin 20 of the interface conversion chip U10 is respectively connected to one end of the iron core inductor L6 and one end of the capacitor C6, the other end of the capacitor C6 is grounded, and the other end of the iron core inductor L6 is connected to the USB input power supply, pin 17 of the interface conversion chip U10 is connected to one end of the capacitor C7, and the other end of the capacitor C7 is grounded; one end of the resistor R125 is connected to the data output end of MCU1, the other end of the resistor R125 is connected to the base of the transistor Q19, the emitter of the transistor Q19 and the transistor Q20 are connected and then grounded, the collector of the transistor Q19 is respectively connected to one end of the resistor R127 and the base of the transistor Q20, and the other end of the resistor R127 is connected to the base of the transistor Q20. The end is connected to one end of the resistor R129 and then connected to the 3.3V output, the other end of the resistor R129 is connected to the collector of the transistor Q20 and then connected to the data input end of the interface conversion chip U10; one end of the resistor R126 is connected to the data output end of the interface conversion chip U10, the other end of the resistor R126 is connected to the base of the transistor Q21, the collector of the transistor Q21 and the collector of the transistor Q22 are connected and then grounded, the emitter of the transistor Q21 is respectively connected to one end of the resistor R128 and the base of the transistor Q22, the other end of the resistor R128 is connected to one end of the resistor R130 and then connected to the circuit voltage 3.3V, and the other end of the resistor R130 is connected to the emitter of the transistor Q22 and then connected to the data input end of the MCU1.
[0080] Specifically, refer to Fig.10 , the RS232 interface 73 includes a transceiver U15, a protection terminal U22, an RS232 port J11, capacitors C27, C28, C29, C30 and C31; the transceiver U15 is an RS232 driver chip, and the protection terminal U22 is used to avoid the harm of surge current to the RS232 port; pin 1 of the RS232 port J11 is connected to pin 3 of the protection terminal U22 and then grounded, pin 2 of the RS232 port J11 is connected to pin 2 of the protection terminal U22, pin 3 of the RS232 port J11 is connected to pin 1 of the protection terminal U22, and pin 4 of the RS232 port J11 is connected to the 232 data transmission end of MCU1; pin 1 of the transceiver U15 is connected to one end of the capacitor C28, pin 3 of the transceiver U15 is connected to the other end of the capacitor C28, and the transceiver U15 Pin 2 of is connected to one end of capacitor C29, the other end of capacitor C29 is connected to the circuit voltage 3.3V, pin 4 of transceiver U15 is connected to one end of capacitor C30, pin 5 of transceiver U15 is connected to the other end of capacitor C30, pin 6 of transceiver U15 is connected to one end of capacitor C31, the other end of capacitor C31 is grounded, pin 11 of transceiver U15 is connected to the 232 data sending end of MCU1, pin 12 of transceiver U15 is connected to the 232 data receiving end of MCU1, pin 13 of transceiver U15 is connected to the data receiving end of MCU1, pin 14 of transceiver U15 is connected to the data sending end of MCU1, pin 15 of transceiver U15 is grounded, pin 16 of transceiver U15 is respectively connected to the circuit voltage 3.3V and one end of capacitor C27, and the other end of capacitor C27 is grounded.
[0081] Specifically, refer to Fig.11 The Bluetooth interface 74 includes a Bluetooth module U16, capacitors C18 and C180; pin 1 of the Bluetooth module U16 is connected to the Bluetooth data sending end of the MCU1, pin 2 of the Bluetooth module U16 is connected to the Bluetooth data receiving end of the MCU1, pin 10 of the Bluetooth module U16 is connected to the network end of the MCU1, pin 12 of the Bluetooth module U16 is respectively connected to one end of the capacitor C180 and one end of the capacitor C18, one end of the capacitor C18 is also connected to the circuit voltage 3.3V, the other end of the capacitor C18 and the other end of the capacitor C180 are respectively grounded, pin 13 of the Bluetooth module U16 is grounded, pin 21 of the Bluetooth module U16 is grounded, pin 22 of the Bluetooth module U16 is grounded, and pin 33 of the Bluetooth module U16 is connected to the connection status end of the MCU1.
[0082] As an embodiment of the present invention, refer to Figure 1 The wireless communication unit 8 includes a GPRS circuit 81 and a ZigBee circuit 82; the GPRS circuit 81 is used for the alarm analyzer to transmit data via GPRS, and the ZigBee circuit 82 is used for the alarm analyzer to transmit data via ZigBee.
[0083] Specifically, refer to Fig.12 , the GPRS circuit 81 includes a GPRS module J17, a switch chip U30, a transistor Q24, a capacitor C90, resistors R153, R154, R155, R156, R200, R201, R202, R204 and R205; Pin 1 of the GPRS module J11 is connected to one end of the resistor R153, and the other end of the resistor R153 is connected to the 232 data receiving end of the MCU1, Pin 2 of the GPRS module J11 is connected to one end of the resistor R154, and the other end of the resistor R154 is connected to the 232 data sending end of the MCU1, Pin 3 of the GPRS module J11 is grounded, Pin 5 and Pin 6 of the GPRS module J11 are respectively connected to the circuit voltage, Pin 7 of the GPRS module J11 is connected to one end of the resistor R156, and the other end of the resistor R156 is connected to the circuit voltage 3.3V; the switch chip Pin 1, Pin 2 and Pin 3 of U30 are connected to each other and are respectively connected to one end of resistor R200, one end of resistor R201 and one end of resistor R204. The other end of resistor R200 is connected to the circuit voltage 5V, the other end of resistor R210 is connected to the sensor power supply, the other end of resistor R204 is respectively connected to the collector of transistor Q24 and pin 4 of switch chip U30, the base of transistor Q24 is respectively connected to one end of resistor R205 and one end of resistor R203, the other end of resistor R205 is connected to the GPRS power supply, the other end of resistor R203 is connected to the emitter of transistor Q24 and then to ground, pin 5, pin 6, pin 7 and pin 8 of switch chip U30 are connected to one end of resistor R202, the other end of resistor R202 is respectively connected to the GPRS voltage and one end of capacitor C90, and the other end of capacitor C90 is grounded.
[0084] Specifically, refer to Fig.13 The ZigBee circuit 82 includes a ZigBee communication module U17, pin 1 of the ZigBee communication module U17 is connected to the circuit voltage 3.3V, pin 2 of the ZigBee communication module U17 is connected to the Bluetooth data sending end of the MCU1, pin 3 of the ZigBee communication module U17 is connected to the Bluetooth data receiving end of the MCU1, pin 4 of the ZigBee communication module U17 is connected to the network end of the MCU1, pin 5 of the ZigBee communication module U17 is connected to the connection status end of the MCU1, and pin 6 of the ZigBee communication module U17 is grounded.
[0085] As an embodiment of the present invention, refer to Figure 1The storage unit 9 includes a Micro SD card circuit 91, a FLASH circuit 92 and a chip storage circuit 93. The Micro SD card circuit 91 is used to store data in a Micro SD card manner, the FLASH circuit 92 is used to store data in a FLASH manner, and the chip storage circuit 93 is used to store data in a large-capacity chip manner.
[0086] Specifically, refer to Fig.14 , Micro SD card circuit 91 includes connector U18, capacitor C36, resistors R100, R101, R102 and R108; pin 9 and pin 11 of connector U18 are connected to ground, pin 10 and pin 12 of connector U18 are connected to ground, pin 3 of connector U18 is connected to one end of resistor R101, pin 5 of connector U18 is connected to one end of resistor R100, pin 7 of connector U18 is connected to one end of resistor R108, the other end of resistor R101, the other end of resistor R100 and the other end of resistor R108 are connected to circuit voltage 3.3V, pin 6 of connector U18 is grounded, pin 4 of connector U18 is respectively connected to circuit voltage 3.3V and one end of capacitor C36, the other end of capacitor C36 is grounded, pin 2 of connector U18 is respectively connected to SD card data end of MCU1 and resistor R102, and the other end of resistor R102 is connected to circuit voltage 3.3V.
[0087] Specifically, refer to Fig.14 , the FLASH circuit 92 includes a memory chip U14, resistors R106, R107 and R143; pin 1 of the memory chip U14 is connected to one end of the resistor R107, pin 8 of the memory chip U14 is respectively connected to the other end of the resistor R107, the circuit voltage 3.3V and one end of the resistor R106, pin 7 of the memory chip U14 is connected to the other end of the resistor R106, pin 4 of the memory chip U14 is grounded, pin 5 of the memory chip U14 is connected to the output end of the FLASH signal line, pin 6 of the memory chip U14 is connected to the clock line, pin 2 of the memory chip U14 is connected to the input end of the FLASH signal line, pin 3 of the memory chip U14 is connected to one end of the resistor R143, and the other end of the resistor R143 is grounded.
[0088] Specifically, refer to Fig.14, the chip storage circuit 93 includes large-capacity storage chips U11 and U12, capacitors C34 and C35, resistors R39 and R144; pin 1 and pin 2 of the large-capacity storage chip U11 are connected to ground, pin 3 of the large-capacity storage chip U11 is connected to the circuit voltage 3.3V, pin 4 of the large-capacity storage chip U11 is grounded, pin 5 of the large-capacity storage chip U11 is connected to the data line of MCU1, pin 6 of the large-capacity storage chip U11 is connected to the control line of MCU1, pin 7 of the large-capacity storage chip U11 is connected to one end of the resistor R144, the other end of the resistor R144 is connected to the circuit voltage 3.3V, pin 8 of the large-capacity storage chip U11 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C35, and the other end of the capacitor C35 is grounded;
[0089] Pin 1 of the large-capacity storage chip U12 is connected to one end of the resistor R39, pin 8 of the large-capacity storage chip U11 is respectively connected to the other end of the resistor R39, the circuit voltage 3.3V and one end of the capacitor C34, the other end of the capacitor C34 is grounded, pin 3 of the large-capacity storage chip U11 is connected to the circuit voltage 3.3V, pin 4 of the large-capacity storage chip U11 is grounded, pin 5 of the large-capacity storage chip U11 is connected to the data line of MCU1, pin 6 of the large-capacity storage chip U11 is connected to the control line of MCU1, and pin 7 of the large-capacity storage chip U11 is connected to the terminal of MCU1.
[0090] As an embodiment of the present invention, refer to Figure 1 The human-computer interaction unit 6 includes a display circuit 61 and a key circuit 62. The display circuit 61 is a high-definition liquid crystal display screen, and the key circuit 62 is used to operate the alarm analyzer through keys.
[0091] Specifically, refer to Fig.15The key circuit 62 includes keys KEY1, KEY2, KEY3, KEY4, KEY5, KEY6 and KEY7, resistors R86, R87, R88, R89, R90, R91 and R92; one end of the key KEY1, one end of the key KEY2, one end of the key KEY3, one end of the key KEY4, one end of the key KEY5, one end of the key KEY6 and one end of the key KEY7 are connected to the ground, the other end of the key KEY1 is connected to one end of the resistor R86, and the other end of the key KEY2 is connected to the resistor R87 One end of the button KEY3 is connected to one end of resistor R88, the other end of the button KEY4 is connected to one end of resistor R89, the other end of the button KEY5 is connected to one end of resistor R90, the other end of the button KEY6 is connected to one end of resistor R91, the other end of the button KEY7 is connected to one end of resistor R92, the other end of resistor R86, the other end of resistor R87, the other end of resistor R88, the other end of resistor R89, the other end of resistor R90, the other end of resistor R91 and the other end of resistor R92 are connected and then connected to the circuit voltage 3.3V.
[0092] As an embodiment of the present invention, refer to Figure 1 The alarm output unit 4 includes a vibration alarm circuit 41 and an audio-visual alarm circuit 42. The vibration alarm circuit 41 is used to send an alarm by vibration, and the audio-visual alarm circuit 42 is used to send an alarm by sound and light.
[0093] Specifically, refer to Fig.16 The vibration alarm circuit 41 includes a transistor Q6, resistors R21 and R69; the collector of the transistor Q6 is connected to the vibration motor, the base of the transistor Q6 is respectively connected to one end of the resistor R21 and one end of the resistor R69, the other end of the resistor R69 is connected to the emitter of the transistor Q6 and then grounded, and the other end of the resistor R21 is connected to the vibration alarm signal of the MCU1.
[0094] Specifically, refer to Fig.16The sound and light alarm circuit 42 includes a buzzer SP2, transistors Q8, Q14, Q15, Q11, Q12 and Q13, a polar capacitor E13, resistors R23, R43, R118, R110, R112, R113, R109, R111, R114, R28, R18, R97, R98, R99 and R136, light emitting diodes D3, D11, D12, D13, D14, D1, D5 and D6, and three-color light emitting diodes D8 and D10; one end of the resistor R28 is connected to the sound alarm signal of MCU1, the other end of the resistor R28 is connected to the base of the transistor Q12, the emitter of the transistor Q12 is grounded, the collector of the transistor Q12 is respectively connected to one end of the resistor R99 and one end of the buzzer SP2, and the resistor R99 is connected to the base of the transistor Q12. The other end is connected to the other end of the buzzer SP2 and one end of the resistor R98 and then to one end of the resistor R97. The other end of the resistor R97 is connected to the positive electrode of the polarity capacitor E13. The negative electrode of the polarity capacitor E13 is respectively connected to one end of the resistor R136 and the emitter of the transistor Q11. The emitter of the transistor Q11 is also grounded. The base of the transistor Q11 is connected to one end of the resistor R14. The other end of the resistor R14 is connected to the luminous alarm signal of the MCU1. The collector of the transistor Q11 is connected to the other end of the resistor R136 and then to one end of the resistor R18. The other end of the resistor R18 is respectively connected to one end of the resistor R93 and the base of the transistor Q13. The other end of the resistor R93 is connected to the collector of the transistor Q13 and then to the circuit voltage 5V. The collector of the transistor Q3 is connected to the other end of the resistor R98.Pin 1 of the three-color light-emitting diode D8, pin 1 of the three-color light-emitting diode D10, the anode of the light-emitting diode D3, the anode of the light-emitting diode D11, the anode of the light-emitting diode D12, the anode of the light-emitting diode D13, the anode of the light-emitting diode D14, the anode of the light-emitting diode D1, the anode of the light-emitting diode D5 and the anode of the light-emitting diode D6 are connected and then connected to a circuit voltage of 5V, and pin 4 of the three-color light-emitting diode D8 and pin 4 of the three-color light-emitting diode D10 are connected and then connected to a resistor One end of resistor R109 and the other end of resistor R109 are connected to the collector of transistor Q14, the emitter of transistor Q14 is connected to one end of resistor R111 and then grounded, the base of transistor Q14 is respectively connected to the other end of resistor R111 and one end of resistor R114, the other end of resistor R114 is connected to the green light control signal of MCU1, pin 2 of three-color light emitting diode D8 is connected to pin 2 of three-color light emitting diode D10 and then connected to one end of resistor R110, and the other end of resistor R110 is connected to the collector of transistor Q14. The collector of transistor Q15 is connected, the emitter of transistor Q15 is connected to one end of resistor R112 and then grounded, the base of transistor Q15 is respectively connected to the other end of resistor R112 and one end of resistor R113, the other end of resistor R113 is connected to the yellow light control signal of MCU1, pin 3 of tricolor light emitting diode D8, pin 3 of tricolor light emitting diode D10, cathode of light emitting diode D3, cathode of light emitting diode D11, cathode of light emitting diode D12, and cathode of light emitting diode D13 are connected to the collector of transistor Q15, the emitter of transistor Q15 is connected to one end of resistor R112 and then grounded, the base of transistor Q15 is respectively connected to the other end of resistor R112 and one end of resistor R113, the other end of resistor R113 is connected to the yellow light control signal of MCU1, the pin 3 of tricolor light emitting diode D8, the pin 3 of tricolor light emitting diode D10, cathode of light emitting diode D3, cathode of light emitting diode D11, cathode of light emitting diode D12, and cathode of light emitting diode D13 are connected to the collector of transistor Q15, the emitter of transistor Q15 is connected to one end of resistor R112 and the base of transistor Q15 are connected to the other end of resistor R113 The cathode of D13, the cathode of LED D14, the cathode of LED D1, the cathode of LED D5 and the cathode of LED D6 are connected and then connected to one end of resistor R118, the other end of resistor R118 is connected to the collector of transistor Q8, the emitter of transistor Q8 is connected to one end of resistor R43 and then grounded, the base of transistor Q8 is respectively connected to one end of resistor R23 and the other end of resistor R43, the other end of resistor R23 is connected to the blue light control signal of MCU1.;
[0095] The above is a detailed description of the embodiments of the present invention, but the invention is not limited to this embodiment. Those skilled in the art may make many equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the protection scope defined by the claims of this application.
Claims
1. A portable alarm analyzer for posture recognition and gas detection, characterized in that: It comprises an MCU, a posture acquisition unit, a gas acquisition unit and an alarm output unit connected to the MCU, the posture acquisition unit is used to acquire the current posture of the alarm analyzer, the gas acquisition unit is used to acquire the detection gas currently required, the posture acquisition unit transmits the acquired posture signal of the alarm analyzer to the MCU, the gas acquisition unit transmits the acquired detection gas signal to the MCU, the MCU analyzes the posture signal and the detection gas signal, if the value of the posture signal exceeds a specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, or if the value of the posture signal combined with the detection gas signal exceeds the specified range, the MCU sends an alarm signal to the alarm output unit, and the alarm output unit outputs an audible and visual alarm or a vibration alarm according to the received alarm signals of different levels; The posture acquisition unit includes a gyroscope chip U31, resistors R8, R16, R83, R147, R148 and R151, and capacitors C99, C100, C101 and C102; the gyroscope chip U31 is used to obtain the current posture signal of the alarm analyzer, including angular velocity and acceleration; pin 1 and pin 25 of the gyroscope chip U31 are connected to ground, pin 8 of the gyroscope chip U31 is connected to one end of the capacitor C101, pin 10 of the gyroscope chip U31 is connected to one end of the resistor R8, pin 11 of the gyroscope chip U31 is connected to one end of the capacitor C102, the other end of the capacitor C101, the other end of the resistor R8 and the other end of the capacitor C102 are connected to ground, pin 12 of the gyroscope chip U31 is connected to one end of the resistor R16, and the resistor R16 The other end terminal of the gyroscope chip U31, the pin 13 of the gyroscope chip U31 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C100, the other end of the capacitor C100 is grounded, the pin 18 of the gyroscope chip U31 is grounded, the pin 21 of the gyroscope chip U31 is connected to one end of the capacitor C99, the other end of the capacitor C99 is grounded, the pin 23 of the gyroscope chip U31 is connected to one end of the resistor R147, the other end of the resistor R147 is respectively connected to the clock line interface of the MCU and one end of the resistor R148, the pin 24 of the gyroscope chip U31 is connected to one end of the resistor R83, the other end of the resistor R83 is respectively connected to the data line interface of the MCU and one end of the resistor R151, the other end of the resistor R148 is connected to the other end of the resistor R151 and then connected to the circuit voltage 3.3V; The gas collection unit includes an oxygen collection unit, a combustible gas collection unit and a toxic gas collection unit. The oxygen collection unit is used to collect the oxygen concentration in the detection gas, the combustible gas collection unit is used to collect the concentrations of two combustible gases in the detection gas, and the toxic gas collection unit is used to collect the concentrations of six toxic gases in the detection gas; The oxygen collection unit includes operational amplifiers U611 and U612, transistor Q2, capacitors C4 and C58, resistors R13, R15, R25, R27, R54, R124 and R163; the in-phase input terminal of the operational amplifier U611 is grounded, the output terminal of the operational amplifier U611 is connected to one end of the resistor R13, then connected to the inverting input terminal of the operational amplifier U611 and then connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to one end of the resistor R54, the other end of the resistor R54 is connected to the power supply voltage 3.3V, the emitter of the transistor Q2 is connected to one end of the resistor R15 and the other end of the resistor R54, respectively. One end of R25 and the other end of the resistor 15 are respectively connected to one end of the resistor R27, one end of the capacitor C4, one end of the resistor R163 and the inverting input end of the operational amplifier U612, the other end of the resistor R27 is connected to one end of the resistor R124, the other end of the resistor R124 is grounded, the other end of the capacitor C4 is connected to the other end of the resistor R163 and then connected to the output end of the operational amplifier U612 and one end of the capacitor C58, the other end of the capacitor C58 is grounded, the other end of the resistor R25 is connected to the other end of the resistor R13 and then connected to the non-inverting input end of the operational amplifier U612; The combustible gas collection unit includes operational amplifiers U61, U62, U28 and U29, resistors R1, R2, R3, R4, R206, R207, R208 and R209, and a capacitor C5; one end of the resistor R1 is respectively connected to the terminal and the first combustible gas input negative electrode, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and the in-phase input end of the operational amplifier U61, the other end of the resistor R2 is grounded, the inverting input end of the operational amplifier U61 is connected to the output end and then connected to the first combustible gas output negative electrode; one end of the resistor R3 is respectively connected to the terminal and the first combustible gas input positive electrode, the other end of the resistor R3 is respectively connected to one end of the resistor R4 and the in-phase input end of the operational amplifier U62, the other end of the resistor R4 is connected to the negative power supply of the operational amplifier U62 and then grounded, the inverting input end of the operational amplifier U62 is connected to the output end and then connected to the first combustible gas output positive electrode. The positive electrode of the combustible gas output, the positive power supply of the operational amplifier U62 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C5, and the other end of the capacitor C5 is grounded; one end of the resistor R206 is respectively connected to the terminal and the second combustible gas input negative electrode, the other end of the resistor R206 is respectively connected to one end of the resistor R209 and the in-phase input end of the operational amplifier U28, the other end of the resistor R209 is grounded, the inverting input end of the operational amplifier U28 is connected to the output end and then connected to the terminal and the second combustible gas output negative electrode; one end of the resistor R207 is respectively connected to the terminal and the second combustible gas input positive electrode, the other end of the resistor R207 is respectively connected to one end of the resistor R208 and the in-phase input end of the operational amplifier U29, the other end of the resistor R208 is grounded, the inverting input end of the operational amplifier U29 is connected to the output end and then connected to the terminal and the second combustible gas output positive electrode.
2. A portable alarm analyzer for gesture recognition and gas detection according to claim 1, characterized in that: The poisonous gas collection unit includes a polarity switching switch U20, an operational amplifier U71, an operational amplifier U72, an operational amplifier U73, a transistor Q3, a capacitor C9, a capacitor C10, a capacitor C23, a capacitor C59, a capacitor C60, a resistor R31, a resistor R33, a resistor R55, a resistor R214, a resistor R215, a resistor R30, a resistor R44, a resistor R63, a resistor R50, a resistor R51, a resistor R161, a polarity switching switch U19, an operational amplifier U51, an operational amplifier U52, an operational amplifier U53, a transistor Q4, a capacitor C24 , capacitor C16, capacitor C15, capacitor C61, capacitor C62, resistor R32, resistor R34, resistor R216, resistor R217, resistor R37, resistor R45, resistor R64, resistor R52, resistor R53, resistor R56, resistor R162, polarity switching switch U26, operational amplifier U251, operational amplifier U252, operational amplifier U253, transistor Q16, capacitor C56, capacitor C57, capacitor C63, capacitor C64, capacitor C65, resistor R38, resistor R84, resistor R20, resistor R57, resistor R117 , resistor R58, resistor R164, resistor R96, resistor R116, polarity switch U34, operational amplifier U281, operational amplifier U282, operational amplifier U283, NMOS tube Q18, capacitor C83, capacitor C84, capacitor C88, resistor R172, resistor R174, resistor R175, resistor R176, resistor R177, resistor R182, resistor R184, resistor R185, resistor R188, polarity switch U35, operational amplifier U291, operational amplifier U292, operational amplifier U293, transistor Q 23. Capacitor C85, capacitor C86, capacitor C89, resistor R173, resistor R178, resistor R179, resistor R180, resistor R181, resistor R186, resistor R187, resistor R189, resistor R183, polarity switch U27, operational amplifier U5, operational amplifier U25, operational amplifier U7, transistor Q9, capacitor C50, capacitor C51, capacitor C67, capacitor C68, resistor R5, resistor R6, resistor R7, resistor R41, resistor R61, resistor R74, resistor R75, resistor R76, resistor R165; One end of the resistor R214 is connected to a power supply voltage of 3.3V, and the connection point between the other end of the resistor R214 and one end of the resistor R215 is respectively connected to one end of the resistor R30 and the non-inverting input end of the operational amplifier U73, the other end of the resistor R215 is grounded, the inverting input end of the operational amplifier U73 is connected to one end of the resistor R31, the output end of the operational amplifier U73 is connected to one end of the capacitor C23, the other end of the capacitor C23 is connected to the other end of the resistor R31 and then connected to one end of the resistor R33, and the other end of the resistor R33 is connected to the other end of the resistor R31. One end is connected to the base of the transistor Q3, the collector of the transistor Q3 is connected to one end of the resistor R55, the other end of the resistor R55 is connected to the power supply voltage 3.3V, the emitter of the transistor Q3 is connected to one end of the resistor R51, the other end of the resistor R51 is respectively connected to one end of the capacitor C10, one end of the resistor R161 and the inverting input end of the operational amplifier U72, the other end of the capacitor C10, the other end of the resistor R161 and the output end of the operational amplifier U72 are connected and then connected to the first end of the polarity switching switch U20. The other end of the resistor R30 is respectively connected to the second input end of the polarity switching switch U20 and the inverting input end of the operational amplifier U71, the non-inverting input end of the operational amplifier U71 is respectively connected to one end of the resistor R44 and one end of the resistor R63, the other end of the resistor R63 is grounded, the other end of the resistor R44 is respectively connected to the power supply voltage 3.3V, one end of the resistor R45 and one end of the resistor R57, the negative power supply of the operational amplifier U71 is grounded, and the positive power supply of the operational amplifier U71 is respectively connected to the power supply voltage 3.3V. V and one end of the capacitor C9, the other end of the capacitor C9 is grounded, the output end of the operational amplifier U71 is connected to one end of the resistor R50, the other end of the resistor R50 is connected to the non-inverting input end of the operational amplifier U72, the first output end of the polarity switching switch U20 is connected to one end of the capacitor C59 and then connected to the positive electrode of the first toxic gas signal channel, the second output end of the polarity switching switch U20 is connected to one end of the capacitor C60 and then connected to the negative electrode of the first toxic gas signal channel, the other end of the capacitor C59 and the other end of the capacitor C60 are grounded respectively; One end of the resistor R216 is connected to a power supply voltage of 3.3V, the other end of the resistor R216 and the connection point of one end of the resistor R217 are respectively connected to one end of the resistor R37 and the non-inverting input end of the operational amplifier U53, the other end of the resistor R217 is grounded, the inverting input end of the operational amplifier U53 is connected to one end of the resistor R32, the output end of the operational amplifier U53 is connected to one end of the capacitor C24, the other end of the capacitor C24 is connected to the other end of the resistor R32 and then connected to one end of the resistor R34. The other end of the resistor R34 is connected to the base of the transistor Q4, the collector of the transistor Q4 is connected to one end of the resistor R56, the other end of the resistor R56 is connected to the power supply voltage 3.3V, the emitter of the transistor Q4 is connected to one end of the resistor R53, the other end of the resistor R53 is respectively connected to one end of the capacitor C16, one end of the resistor R162 and the inverting input terminal of the operational amplifier U52, the other end of the capacitor C16, the other end of the resistor R162 and the inverting input terminal of the operational amplifier U52 The output end of the resistor R37 is connected to the first input end of the polarity switching switch U19, the other end of the resistor R37 is respectively connected to the second input end of the polarity switching switch U19 and the inverting input end of the operational amplifier U51, the non-inverting input end of the operational amplifier U51 is respectively connected to the other end of the resistor R45 and one end of the resistor R64, the other end of the resistor R64 is grounded, the negative power supply of the operational amplifier U51 is grounded, the positive power supply of the operational amplifier U51 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C15, The other end of the capacitor C15 is grounded, the output end of the operational amplifier U51 is connected to one end of the resistor R52, the other end of the resistor R52 is connected to the non-inverting input end of the operational amplifier U52, the first output end of the polarity switching switch U19 is connected to one end of the capacitor C61 and then connected to the positive electrode of the second toxic gas signal channel, the second output end of the polarity switching switch U19 is connected to one end of the capacitor C62 and then connected to the negative electrode of the second toxic gas signal channel, and the other end of the capacitor C61 and the other end of the capacitor C62 are grounded respectively; One end of the resistor R172 is connected to the power supply voltage 3.3V, the other end of the resistor R172 is respectively connected to one end of the resistor R182 and the non-inverting input end of the operational amplifier U281, the other end of the resistor R182 is grounded, the negative power supply of the operational amplifier U281 is grounded, the positive power supply of the operational amplifier U281 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C83, the other end of the capacitor C83 is grounded, the inverting input end of the operational amplifier U281 is respectively connected to one end of the resistor R174 and the second input end of the polarity switching switch U34, the output end of the operational amplifier U281 is connected to one end of the resistor R184, the other end of the resistor R184 is connected to the non-inverting input end of the operational amplifier U282, the other end of the resistor R174 is connected to the non-inverting input end of the operational amplifier U283, the inverting input end of the operational amplifier U283 is connected to one end of the resistor R175, and the output end of the operational amplifier U283 The first end of the NMOS transistor Q18 is connected to one end of the capacitor C88, the other end of the capacitor C88 is respectively connected to the other end of the resistor R175 and one end of the resistor R176, the other end of the resistor R176 is connected to the drain of the NMOS transistor Q18, the gate of the NMOS transistor Q18 is connected to one end of the resistor R188, the other end of the resistor R188 is connected to the power supply voltage 3.3V, the source of the NMOS transistor Q18 is connected to one end of the resistor R185, the other end of the resistor R185 is respectively connected to one end of the capacitor C84, one end of the resistor R177 and the inverting input end of the operational amplifier U282, the output end of the operational amplifier U282 is connected to the other end of the capacitor C84 and the other end of the resistor R177, and then connected to the first input end of the polarity switching switch U34, the first output end of the polarity switching switch U34 is connected to the positive electrode of the third toxic gas signal channel, and the second output end of the polarity switching switch U34 is connected to the negative electrode of the third toxic gas signal channel; One end of the resistor R173 is connected to the power supply voltage 3.3V, the other end of the resistor R173 is respectively connected to one end of the resistor R183 and the non-inverting input end of the operational amplifier U291, the other end of the resistor R183 is grounded, the negative power supply of the operational amplifier U291 is grounded, the positive power supply of the operational amplifier U291 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C85, the other end of the capacitor C85 is grounded, the inverting input end of the operational amplifier U291 is respectively connected to one end of the resistor R178 and the second input end of the polarity switching switch U35, the output end of the operational amplifier U291 is connected to one end of the resistor R186, the other end of the resistor R186 is connected to the non-inverting input end of the operational amplifier U292, the other end of the resistor R178 is connected to the non-inverting input end of the operational amplifier U293, the inverting input end of the operational amplifier U293 is connected to one end of the resistor R179, and the The output end is connected to one end of the capacitor C89, the other end of the capacitor C89 is respectively connected to the other end of the resistor R179 and one end of the resistor R180, the other end of the resistor R180 is connected to the base of the transistor Q23, the collector of the transistor Q23 is connected to one end of the resistor R189, the other end of the resistor R189 is connected to the power supply voltage 3.3V, the emitter of the transistor Q23 is connected to one end of the resistor R187, the other end of the resistor R187 is respectively connected to one end of the capacitor C86, one end of the resistor R181 and the inverting input end of the operational amplifier U292, the output end of the operational amplifier U292 is connected to the other end of the capacitor C86 and the other end of the resistor R181, and then connected to the first input end of the polarity switching switch U35, the first output end of the polarity switching switch U35 is connected to the positive electrode of the fourth toxic gas signal channel, and the second output end of the polarity switching switch U35 is connected to the negative electrode of the fourth toxic gas signal channel; One end of the resistor R41 is connected to the power supply voltage 3.3V, the other end of the resistor R41 is respectively connected to one end of the resistor R76 and the non-inverting input end of the operational amplifier U5, the other end of the resistor R76 is grounded, the inverting input end of the operational amplifier U5 is respectively connected to one end of the resistor R5 and the second input end of the polarity switching switch U27, the output end of the operational amplifier U5 is connected to one end of the resistor R61, the other end of the resistor R61 is connected to the non-inverting input end of the operational amplifier U25, the other end of the resistor R5 is connected to the non-inverting input end of the operational amplifier U7, the inverting input end of the operational amplifier U7 is connected to one end of the resistor R6, the output end of the operational amplifier U7 is connected to one end of the capacitor C67, the other end of the capacitor C67 is respectively connected to the other end of the resistor R6 and one end of the resistor R7, the other end of the resistor R7 is connected to the three The base of the transistor Q9, the collector of the transistor Q9 is connected to one end of the resistor R75, the other end of the resistor R75 is connected to the power supply voltage 3.3V, the emitter of the transistor Q9 is connected to one end of the resistor R74, the other end of the resistor R74 is respectively connected to one end of the capacitor C50, one end of the resistor R165 and the inverting input end of the operational amplifier U25, the output end of the operational amplifier U25 is connected to the other end of the capacitor C50 and the other end of the resistor R165, and then connected to the first input end of the polarity switching switch U27, the first output end of the polarity switching switch U27 is connected to one end of the capacitor C68 and then connected to the positive electrode of the fifth toxic gas signal channel, the second output end of the polarity switching switch U27 is connected to one end of the capacitor C51 and then connected to the negative electrode of the fifth toxic gas signal channel, the other end of the capacitor C68 and the other end of the capacitor C51 are grounded respectively; The other end of the resistor R57 is respectively connected to one end of the resistor R117 and the non-inverting input end of the operational amplifier U251, the other end of the resistor R117 is grounded, the negative power supply of the operational amplifier U251 is grounded, the positive power supply of the operational amplifier U251 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C56, the other end of the capacitor C56 is grounded, the inverting input end of the operational amplifier U251 is respectively connected to one end of the resistor R20 and the second input end of the polarity switching switch U26, the output end of the operational amplifier U251 is connected to one end of the resistor R58, the other end of the resistor R58 is connected to the non-inverting input end of the operational amplifier U252, the other end of the resistor R20 is connected to the non-inverting input end of the operational amplifier U253, the inverting input end of the operational amplifier U253 is connected to one end of the resistor R84, the output end of the operational amplifier U253 is connected to one end of the capacitor C65, and the other end of the capacitor C65 is respectively connected to the resistor R84 The other end of the resistor R38 is connected to the base of the transistor Q16, the collector of the transistor Q16 is connected to one end of the resistor R116, the other end of the resistor R116 is connected to the power supply voltage 3.3V, the emitter of the transistor Q16 is connected to one end of the resistor R96, the other end of the resistor R96 is respectively connected to one end of the capacitor C57, one end of the resistor R164 and the inverting input end of the operational amplifier U252, the operational amplifier U252 ... connected to one end of the capacitor C57, one end of the resistor R164 and the The output end of the amplifier U252 is connected to the other end of the capacitor C57 and the other end of the resistor R164, and then connected to the first input end of the polarity switching switch U26. The first output end of the polarity switching switch U26 is connected to one end of the capacitor C63 and then connected to the positive electrode of the sixth toxic gas signal channel. The second output end of the polarity switching switch U26 is connected to one end of the capacitor C64 and then connected to the negative electrode of the sixth toxic gas signal channel. The other end of the capacitor C63 and the other end of the capacitor C64 are grounded respectively.
3. A portable alarm analyzer for gesture recognition and gas detection according to claim 1, characterized in that: The alarm analyzer also includes a power supply unit, a communication interface identification unit, a wireless communication unit, a storage unit and a human-computer interaction unit connected to the MCU. The power supply unit is used to provide working power for the alarm analyzer. The communication interface identification unit is used to connect the alarm analyzer with external devices to realize data interaction and export. The wireless communication unit is used for the alarm analyzer to remotely transmit data. The storage unit is used for the alarm analyzer to store data. The human-computer interaction unit is used for human-computer interaction operations between a user and the alarm analyzer.
4. A portable alarm analyzer for gesture recognition and gas detection according to claim 3, characterized in that: The power supply unit includes a charging circuit and a power management circuit; the charging circuit is used to charge the lithium battery of the alarm analyzer so that the alarm analyzer can work in a portable manner; the power management circuit is used to provide a stable working voltage for the alarm analyzer; The charging circuit includes a battery charging management chip U8, an adjustable resistor RP1, a transistor Q1, a voltage-stabilizing diode D20, a light-emitting diode D2, capacitors C1 and C2, resistors R17, R24, R26, R59, R60 and R123; Pin 1 of the battery charging management chip U8 is respectively connected to the emitter of the transistor Q1 and one end of the resistor R59, the other end of the resistor R59 is respectively connected to the USB input power supply, one end of the resistor R123 and one end of the capacitor C1, Pin 2 of the battery charging management chip U8 is respectively connected to the negative electrode of the voltage-stabilizing diode D20 and one end of the capacitor C2, one end of the capacitor C2 is also connected to an external charging power supply, the other end of the capacitor C2 is grounded, Pin 3 of the battery charging management chip U8 is connected to the other end of the resistor R123, Pin 4 of the battery charging management chip U8 is respectively connected to the negative electrode of the voltage-stabilizing diode D20 and one end of the capacitor C2, one end of the capacitor C2 is also connected to the external charging power supply, the other end of the capacitor C2 is grounded, Pin 3 of the battery charging management chip U8 is connected to the other end of the resistor R123, One end of the resistor R24, one end of the adjustable resistor RP1 and one end of the resistor R26 are respectively connected, the other end of the resistor R24 is connected to the USB input power supply, the pin 5 of the battery charging management chip U8 is connected to the positive electrode of the light-emitting diode D2, the negative electrode of the light-emitting diode D2 is connected to one end of the resistor R17, the other end of the resistor R17, the other end of the resistor R26 and the other end of the adjustable resistor RP1 are connected and then grounded, the pin 6 of the battery charging management chip U8 is connected to the other end of the capacitor C1 and then grounded, the pin 7 of the battery charging management chip U8 is connected to one end of the resistor R60, the other end of the resistor R60 is connected to the base of the transistor Q1, the collector of the transistor Q1 is connected to the positive electrode of the voltage-stabilizing diode D20, and the pin 8 of the battery charging management chip U8 is connected to the USB input power supply; The power management circuit includes power management chips U1 and U2, a switch chip U23, magnetic core inductors L1, L2, L5 and L8, polar capacitors E4, E5 and E2, capacitors C70, C77, C76, C75, C74, C71 and C3, resistors R115, R47, R140, R139, R42, R46, R138, R94, R68, R65, R11, R62, R95 and R48, a transistor Q10, diodes D4 and D15, a button KEY8, and a fuse F1; pin 1 of the power management chip U1 is respectively connected to one end of the capacitor C78 and the polar capacitor E5 The positive electrode of the capacitor C78 is connected to the negative electrode of the polar capacitor and then grounded. The positive electrode of the polar capacitor E5 is also connected to one end of the resistor R42 and one end of the capacitor C74 respectively. The other end of the capacitor C74 is grounded. One end of the capacitor C74 is also connected to the power supply voltage 3.3V and the circuit voltage terminal respectively. Pin 1, pin 2 and pin 3 of the switch chip U23 are connected to the circuit voltage terminal and one end of the resistor R94 respectively. Pin 4 of the switch chip U23 is connected to the other end of the resistor R94, one end of the resistor R68 and one end of the resistor R65 respectively. The other end of the resistor R68 The first and second terminals of the transistors C47 and KEY8 are connected to one end of the capacitor C47, one end of the key KEY8 and the other end of the resistor R65, respectively. The other end of the resistor R65 is also connected to the collector of the transistor Q10 and the cathode of the diode D4, respectively. The anode of the diode D4 is connected to one end of the resistor R11 and the power supply of the key KEY8, respectively. The other end of the resistor R11 is connected to the circuit voltage 3.3V. The base of the transistor Q10 is connected to one end of the resistor R95 and the cathode of the diode D15, respectively. The cathode of the diode D15 is also connected to one end of the resistor R62, and the other end of the resistor R62 is connected to an external power supply. The positive electrode of the tube D15 is connected to one end of the resistor R48, the other end of the resistor R48 is connected to the 3.3V output, the other end of the capacitor C47, the other end of the key KEY8, the emitter of the transistor Q10 and the other end of the resistor R95 are connected and then grounded, the pins 5, 6, 7 and 8 of the switch chip U23 are connected and respectively connected to the circuit voltage 3.3V and 3.3V terminals, one end of the magnetic core inductor L8, one end of the magnetic core inductor L5 and the connection point of one end of the capacitor C71, the other end of the capacitor C71 is grounded, and the other end of the magnetic core inductor L5 is respectively connected to the power supply voltage 3.3V and one end of the capacitor C3, the other end of the capacitor C3 is grounded, the pin 2 of the power management chip U1 is connected to one end of the inductor L1 with a magnetic core, the pin 3 of the power management chip U1 is grounded, the pin 4 of the power management chip U1 is connected to the other end of the inductor L1 with a magnetic core, the pin 5 of the power management chip U1 is respectively connected to the pin 6 and pin 8 of the power management chip U1, the positive electrode of the polarity capacitor E2, one end of the capacitor C75, the pin 5 of the power management chip U2 and one end of the fuse F1, and the fuse F1 The other end is connected to an external power supply, the other end of the capacitor C75 is connected to the negative electrode of the polarity capacitor E2 and then grounded, the pin 7 of the power management chip U1 is connected to one end of the resistor R138, the other end of the resistor R138 is grounded, the pin 9 of the power management chip U1 is respectively connected to one end of the resistor R46 and the ground, the pin 10 of the power management chip U1 is respectively connected to the other end of the resistor R42 and the other end of the resistor R46, the pin 11 of the power management chip U1 is grounded, and the pins 5 of the power management chip U2 are also respectively connected to the power management chip U The pin 8 of the power management chip U2 is connected to one end of the capacitor C77, the positive electrode of the polar capacitor E4, one end of the resistor R115 and the power supply 3.3V terminal respectively, and the power supply 3.3V terminal is also connected to one end of the capacitor C70, and the other end of the capacitor C70 is grounded. The other end of the capacitor C77 is connected to the negative electrode of the polar capacitor E4 and then grounded. The pin 2 of the power management chip U2 is connected to one end of the inductor L2 with a magnetic core. Pin 3 of U2 is grounded, pin 4 of the power management chip U2 is connected to the other end of the magnetic core inductor L2, pin 6 of the power management chip U2 is connected to one end of the resistor R139, pin 7 of the power management chip U2 is connected to one end of the resistor R140, the other end of the resistor R139 is connected to the other end of the resistor R140 and then grounded, pin 9 of the power management chip U2 is respectively grounded and one end of the resistor R47, and the other end of the resistor R47 is respectively connected to pin 10 of the power management chip U2 and the other end of the resistor R115. .
5. A portable alarm analyzer for gesture recognition and gas detection according to claim 3, characterized in that: The communication interface identification unit includes an interface selection circuit, a USB interface, an RS232 interface and a Bluetooth interface; the interface selection circuit is used to identify that the connection mode between the external device and the alarm analyzer is through a USB interface, an RS232 interface or a Bluetooth interface, the USB interface is used for the alarm analyzer to connect with the external device through the USB interface, the RS232 interface is used for the alarm analyzer to connect with the external device through the RS232 interface, and the Bluetooth interface is used for the alarm analyzer to connect with the external device through the Bluetooth interface; The interface selection circuit includes an analog switch and multiplexer U21, a capacitor C26 and a resistor R80; the analog switch and multiplexer U21 is used to switch the alarm analyzer to be connected to external devices through different interfaces; pin 1 of the analog switch and multiplexer U21 is connected to the input end of the USB interface, pin 16 of the analog switch and multiplexer U21 is connected to one end of the resistor R80, pin 2 of the analog switch and multiplexer U21 is connected to the other end of the resistor R80 and then connected to a circuit voltage 3.3V, pin 3 of the analog switch and multiplexer U21 is connected to pin 15 and then grounded, pin 4 of the analog switch and multiplexer U21 is connected to the data output end of the RS232 interface, and pin 2 of the analog switch and multiplexer U21 is connected to the data output end of the RS232 interface. Pin 5 is connected to pin 7, pin 8 of the analog switch and multiplexer U21 is connected to the data output end of the MCU, pin 9 of the analog switch and multiplexer U21 is connected to the data input end of the MCU, pin 10 of the analog switch and multiplexer U21 is connected to pin 12, pin 11 of the analog switch and multiplexer U21 is connected to the data output end of the Bluetooth interface, pin 6 of the analog switch and multiplexer U21 is connected to the data input end of the Bluetooth interface, pin 13 of the analog switch and multiplexer U21 is connected to the data input end of the RS232 interface, pin 14 of the analog switch and multiplexer U21 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C26, and the other end of the capacitor C26 is grounded; When the level of the pin 1 of the analog switch and multiplexer U21 is 1 and the level of the pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit selects the external device to be connected to the alarm analyzer through the Bluetooth interface; When the level of the pin 1 of the analog switch and multiplexer U21 is 1, and the level of the pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit selects the external device to be connected to the alarm analyzer through the USB interface; When the level of the pin 1 of the analog switch and multiplexer U21 is 0, and the level of the pin 16 of the analog switch and multiplexer U21 is 0, the interface selection circuit selects the external device to be connected to the alarm analyzer through the RS232 interface; When the level of the pin 1 of the analog switch and multiplexer U21 is 0 and the level of the pin 16 of the analog switch and multiplexer U21 is 1, the interface selection circuit selects the external device to be connected to the alarm analyzer through the USB interface and the RS232 interface; The USB interface includes an interface conversion chip U10, magnetic core inductors L6 and L13, polar capacitor E1, transistors Q19, Q20, Q21 and Q22, varistors R131, R132 and R133, a socket J1, resistors R125, R126, R127, R129 and R130, capacitors C6 and C7; the interface conversion chip U10 realizes the conversion from USB to serial UART interface, and converts to synchronous and asynchronous Bit-Bang interface mode; pin 1 of the socket J1 is respectively connected to the USB power supply, one end of the varistor R133 and the positive electrode of the polarity capacitor E1, the pin 2 of the socket J1 is connected to one end of the varistor R132, the pin 3 of the socket J1 is connected to one end of the varistor R131, the pin 5 of the socket J1 is respectively connected to the ground, the other end of the varistor R131, the other end of the varistor R132, the other end of the varistor R133 and the negative electrode of the polarity capacitor, the pin 8 and pin 9 of the socket J1 are connected to one end of the inductor L13 with a magnetic core, and the other end of the inductor L13 with a magnetic core is grounded; the pin 1 of the interface conversion chip U10 is a data input The output terminal of the interface conversion chip U10 is a data input terminal, the pin 4 of the interface conversion chip U10 is connected to a 3.3V output, the pin 16 of the interface conversion chip U10 is connected to the negative electrode of the USB data line, the pin 15 of the interface conversion chip U10 is connected to the positive electrode of the USB data line, the pin 25, the pin 7, the pin 18, the pin 21 and the pin 26 of the interface conversion chip U10 are connected, the pin 20 of the interface conversion chip U10 is respectively connected to one end of the inductor L6 with a magnetic core and one end of the capacitor C6, the other end of the capacitor C6 is grounded, and the inductor L6 with a magnetic core is connected to the ground. The other end of the interface L6 is connected to the USB input power supply, the pin 17 of the interface conversion chip U10 is connected to one end of the capacitor C7, and the other end of the capacitor C7 is grounded; one end of the resistor R125 is connected to the data output end of the MCU, the other end of the resistor R125 is connected to the base of the transistor Q19, the emitter of the transistor Q19 and the transistor Q20 are connected and then grounded, the collector of the transistor Q19 is respectively connected to one end of the resistor R127 and the base of the transistor Q20, the other end of the resistor R127 is connected to one end of the resistor R129 and then connected to 3.3V output, the other end of the resistor R129 is connected to the collector of the transistor Q20 and then connected to the data input end of the interface conversion chip U10; one end of the resistor R126 is connected to the data output end of the interface conversion chip U10, the other end of the resistor R126 is connected to the base of the transistor Q21, the collector of the transistor Q21 is connected to the collector of the transistor Q22 and then grounded, the emitter of the transistor Q21 is respectively connected to one end of the resistor R128 and the base of the transistor Q22, the other end of the resistor R128 is connected to one end of the resistor R130 and then connected to the circuit voltage 3.3V, the other end of the resistor R130 is connected to the emitter of the transistor Q22 and then connected to the data input end of the MCU;. The RS232 interface includes a transceiver U15, a protection terminal U22, an RS232 port J11, capacitors C27, C28, C29, C30 and C31; the transceiver U15 is an RS232 driver chip, and the protection terminal U22 is used to avoid the harm of surge current to the RS232 port; the pin 1 of the RS232 port J11 is connected to the pin 3 of the protection terminal U22 and then grounded, the pin 2 of the RS232 port J11 is connected to the pin 2 of the protection terminal U22, the pin 3 of the RS232 port J11 is connected to the pin 1 of the protection terminal U22, and the pin 4 of the RS232 port J11 is connected to the 232 data transmission end of the MCU; the pin 1 of the transceiver U15 is connected to one end of the capacitor C28, the pin 3 of the transceiver U15 is connected to the other end of the capacitor C28, and the pin 2 of the transceiver U15 is connected to the One end of the capacitor C29 is connected, and the other end of the capacitor C29 is connected to the circuit voltage 3.3V. Pin 4 of the transceiver U15 is connected to one end of the capacitor C30, and pin 5 of the transceiver U15 is connected to the other end of the capacitor C30. Pin 6 of the transceiver U15 is connected to one end of the capacitor C31, and the other end of the capacitor C31 is grounded. Pin 11 of the transceiver U15 is connected to the 232 data sending end of the MCU, and pin 12 of the transceiver U15 is connected to the 232 data receiving end of the MCU. Pin 13 of the transceiver U15 is connected to the data receiving end of the MCU, and pin 14 of the transceiver U15 is connected to the data sending end of the MCU. Pin 15 of the transceiver U15 is grounded, and pin 16 of the transceiver U15 is respectively connected to the circuit voltage 3.3V and one end of the capacitor C27, and the other end of the capacitor C27 is grounded; The Bluetooth interface includes a Bluetooth module U16, capacitors C18 and C180; pin 1 of the Bluetooth module U16 is connected to the Bluetooth data sending end of the MCU, pin 2 of the Bluetooth module U16 is connected to the Bluetooth data receiving end of the MCU, pin 10 of the Bluetooth module U16 is connected to the network end of the MCU, pin 12 of the Bluetooth module U16 is respectively connected to one end of the capacitor C180 and one end of the capacitor C18, one end of the capacitor C18 is also connected to the circuit voltage 3.3V, the other end of the capacitor C18 and the other end of the capacitor C180 are respectively grounded, pin 13 of the Bluetooth module U16 is grounded, pin 21 of the Bluetooth module U16 is grounded, pin 22 of the Bluetooth module U16 is grounded, and pin 33 of the Bluetooth module U16 is connected to the connection status end of the MCU.
6. A portable alarm analyzer for gesture recognition and gas detection according to claim 3, characterized in that: The wireless communication unit includes a GPRS circuit and a ZigBee circuit; the GPRS circuit is used for the alarm analyzer to transmit data via GPRS, and the ZigBee circuit is used for the alarm analyzer to transmit data via ZigBee; The GPRS circuit includes a GPRS module J17, a switch chip U30, a transistor Q24, a capacitor C90, resistors R153, R154, R155, R156, R200, R201, R202, R204 and R205; Pin 1 of the GPRS module J11 is connected to one end of the resistor R153, and the other end of the resistor R153 is connected to the 232 data receiving end of the MCU, Pin 2 of the GPRS module J11 is connected to one end of the resistor R154, and the other end of the resistor R154 is connected to the 232 data sending end of the MCU, Pin 3 of the GPRS module J11 is grounded, Pin 5 and Pin 6 of the GPRS module J11 are respectively connected to the circuit voltage, Pin 7 of the GPRS module J11 is connected to one end of the resistor R156, and the other end of the resistor R156 is connected to the circuit voltage 3.3V; Pin 1 of the switch chip U30 , pin 2 and pin 3 are connected to each other and then connected to one end of the resistor R200, one end of the resistor R201 and one end of the resistor R204 respectively, the other end of the resistor R200 is connected to the circuit voltage 5V, the other end of the resistor R210 is connected to the sensor power supply, the other end of the resistor R204 is respectively connected to the collector of the transistor Q24 and the pin 4 of the switch chip U30, the base of the transistor Q24 is respectively connected to one end of the resistor R205 and one end of the resistor R203, the other end of the resistor R205 is connected to the GPRS power supply, the other end of the resistor R203 is connected to the emitter of the transistor Q24 and then grounded, the pin 5, pin 6, pin 7 and pin 8 of the switch chip U30 are connected to one end of the resistor R202, the other end of the resistor R202 is respectively connected to the GPRS voltage and one end of the capacitor C90, and the other end of the capacitor C90 is grounded; The ZigBee circuit includes a ZigBee communication module U17, pin 1 of the ZigBee communication module U17 is connected to the circuit voltage 3.3V, pin 2 of the ZigBee communication module U17 is connected to the Bluetooth data sending end of the MCU, pin 3 of the ZigBee communication module U17 is connected to the Bluetooth data receiving end of the MCU, pin 4 of the ZigBee communication module U17 is connected to the network end of the MCU, pin 5 of the ZigBee communication module U17 is connected to the connection status end of the MCU, and pin 6 of the ZigBee communication module U17 is grounded.
Citation Information
Patent Citations
Fiber-optic gyroscope strapdown inertial navigation computer based on DSP (Digital Signal Processor) and navigation calculating method thereof
CN103323008A
Riding vehicle attitude recognition and alarm method and attitude monitoring and alarming device
CN108663045A
Portable alarm analyzer for posture recognition and gas detection
CN212207260U
Driver assistance apparatus and vehicle having the same
US20170240185A1