An intelligent sensor for multi-parameter air detection
By designing an intelligent sensor that integrates a small fan and a sensor, it solves the problem that existing multi-parameter sensors are only suitable for coal mine environments, and achieves efficient detection and widespread application of multiple air parameters.
Patent Information
- Application Number
- CN202410648674.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-05-23
AI Technical Summary
The existing multi-parameter sensors are only suitable for coal mine environments and cannot be used effectively in environments outside coal mines, which limits the widespread application of multi-parameter detection sensors.
A smart sensor for air multi-parameter detection is designed, including a casing and a circuit board. The circuit board integrates a small fan and sensor. It is equipped with an RJ45 interface, a 2EDG-3.81-4P interface, a DC power interface and an RS485 address DIP switch, and supports Modbus. -RTU protocol, capable of connecting to a computer for data transmission and parameter detection.
The sensor can efficiently detect multiple parameters in the air, such as temperature, humidity, PM2.5, PM10, CO2, formaldehyde and TVOC, and perform data processing and alarming through a computer. It is suitable for various places and expands the multi-parameter detection sensor scope of application.
Smart Images

Figure CN118707029B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of air detection, and in particular to an intelligent sensor for multi-parameter air detection. Background Art
[0002] Sensors are needed to detect multiple air parameters, and there are various structures of sensors or detectors for detecting various air parameters on the market. Sensors or detectors with appropriate structures can be selected according to different usage requirements.
[0003] For example, a Chinese patent authorization announcement number CN205620374U discloses a multi-parameter sensor for coal mines, including a shell and a monitoring device. The shell is provided with a handle, and the shell includes an upper shell and a lower shell. The upper shell and the lower shell are connected by a support arm. The upper shell is provided with a display window and an alarm window. The lower shell includes a sensor placement cavity and a gas monitoring cavity arranged on both sides of the sensor placement cavity. The monitoring device includes a battery, a sensor, a signal converter, a signal amplifier, a filter, a data acquisition card, a data storage device, a CPU unit, a digital tube display, a single-chip microcomputer, an alarm, a wireless transmission module, the Internet, and a remote monitoring host. It is an electronic instrument that adopts electrochemical principles, embedded controller intelligent control, and digital tube display. It is simple to operate, easy to use, safe and reliable, and is mainly used for the detection and alarm of methane, oxygen, carbon monoxide, hydrogen sulfide, and carbon dioxide.
[0004] The multi-parameter sensor provided by the above patent can detect multiple parameters in the air. However, the existing multi-parameter sensor is only applicable to coal mines, and has limited effect in environments outside coal mines, which is not conducive to the widespread use of multi-parameter detection sensors. Summary of the invention
[0005] The purpose of the present invention is to provide an intelligent sensor for multi-parameter air detection, aiming to improve the problem that the existing multi-parameter sensors are only suitable for coal mines, but have limited functions in environments outside coal mines, which is not conducive to the widespread use of multi-parameter detection sensors.
[0006] The present invention is achieved in that:
[0007] An intelligent sensor for multi-parameter air detection comprises a shell and a top cover, wherein a circuit board is arranged inside the shell, and the circuit board is used to detect various parameters of the air; a small fan and a sensor body are integrated on the circuit board, and an RJ45 interface, a 2EDG-3.81-4P interface, a DC power interface and an RS485 address dip switch are arranged in sequence at the rear end of the circuit board; and the RJ45 interface, the 2EDG-3.81-4P interface, the DC power interface and the RS485 address dip switch protrude out of the shell, the top cover is arranged at the top opening of the shell, and the top cover and the shell are fixed by bolts.
[0008] Preferably, a plurality of first air holes are provided on the side of the shell, and a baffle rod is provided on the inner side of the shell aligned with the position of the first air holes, the baffle rod is L-shaped, a plurality of pedestals are evenly provided on the inner bottom surface of the shell, and a limiting tube is provided in the middle of the pedestal; a limiting rod is provided on one side of the inner bottom surface of the shell, and the limiting rod is used to limit the small fan; a plurality of countersunk holes are evenly provided on the bottom surface of the shell, and the countersunk holes are communicated with the limiting tube; the countersunk holes are communicated with the limiting tube; a plurality of through holes are provided at the rear end of the shell, and the through holes are used for the RJ45 interface, 2EDG-3.81-4P interface, DC power interface and RS485 address dip switch to protrude from the shell.
[0009] Preferably, a plurality of sleeve holes are provided on the circuit board, and the sleeve holes are sleeved on the limiting tube to ensure that the circuit board is stably located at the inner bottom of the shell.
[0010] Preferably, a circle of through holes is provided in the middle of the top cover, and second air holes are evenly provided on the top cover, and a plurality of connecting columns are evenly provided on the bottom surface of the top cover, and the bottom ends of the connecting columns are against the top of the limiting tube.
[0011] Preferably, the circuit board operates in a master-slave mode, and the basic process of the operation is a series of repetitive call-response cycles, in which the call is issued by the master device (usually a PC) and directed to a slave device with a certain address hanging somewhere on the bus, and the slave confirms receipt of the call by answering and returns the data required by the master; the data format is: 8 data bits, 1 stop bit, no check (N, 8, 1); the communication baud rate defaults to 9600bps; the address defaults to: 1.
[0012] Preferably, the method for the circuit board to cooperate with the host device to detect multiple air parameters has the following specific steps:
[0013] S100, fix the smart sensor at a designated position, then connect the host device to the circuit board of the smart sensor, and set the parameters of the smart sensor. After the parameter setting is completed, test run the smart sensor to ensure that it can work normally;
[0014] S200, the master device sends a command (hexadecimal) to the transmitter, the command format: address code, function code, register start address high, register start address low, register number high, register number low, CRC check low, CRC check high; such as reading 10 register data starting from register 0000: 01030000000A C40B, address code range 01 ~ FE, that is, 254, function code is fixed to 0x03 (or 0x04), register start bit is fixed to 0x0000, register number is 0x000A, read 10 registers;
[0015] S300, after receiving the read command, the intelligent sensor immediately returns 25 bytes of frame data (hexadecimal) to the host. The data format is: address code, function code, data byte word, address data high bit, address data low bit, reserved data high bit, reserved data low bit, carbon dioxide value high bit, carbon dioxide value low bit, formaldehyde value high bit, formaldehyde value low bit, TVOC value high bit, TVOC value low bit, PM2.5 value high bit, PM2.5 value low bit, PM10 value high bit, PM10 value low bit, PM10 value high bit, temperature value high bit, temperature value low bit, humidity value high bit, humidity value low bit, CRC16 check low bit and CRC16 check high bit;
[0016] S400: After receiving the data, the host device compares and judges the data, and issues an alarm when the data is abnormal.
[0017] Preferably, the data judgment process in step S400 is as follows:
[0018] S410, after receiving the data, the master device processes the data and extracts the value D0 corresponding to each parameter in the data. At the same time, the master device obtains the normal range D1-D2 corresponding to each parameter in the system;
[0019] S420, the host device compares the value D0 corresponding to each extracted parameter with the normal range D1-D2 of the corresponding parameter to determine whether the value D0 is within the range D1-D2;
[0020] S430, if the value D0 is within the range of D1-D2, it proves that the air parameters are normal; if D0 is not within the range of D1-D2, compare the value D0 with the values of D1 and D2.
[0021] If the calculated H value is greater than 10%, it proves that there is a problem with the air quality and the device issues an alarm; if the calculated H value is less than 10%, it proves that the air quality is still normal.
[0022] Preferably, a threaded groove is provided at the rear end of the bottom of the shell, and the threaded groove is connected to a supporting frame.
[0023] Preferably, the support bracket is L-shaped, and a diagonal support rod is provided between the two ends of the support bracket, a threaded connecting plate is provided on the upper surface of the support bracket, and the threaded connecting plate is connected to the thread groove; fixed edges are symmetrically provided on both sides of the support bracket, and a plurality of fixing holes are provided on the fixed edges.
[0024] Preferably, the bottom surface of the shell is evenly provided with a plurality of bayonet holes, the bayonet is connected to a fixing plate, the edge of the fixing plate is evenly provided with a plurality of bolt holes, and the fixing plate is provided with a buckle aligned with the bayonet position, and the buckle is engaged with the inner side of the bayonet.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] 1. The present invention is used in conjunction with a computer. Commands are sent through the computer, and the sensor feeds back data according to the commands. The computer determines the temperature, humidity, PM2.5, PM10, CO2, formaldehyde and TVOC of the air based on the data fed back by the sensor. In this way, the air parameters can be detected efficiently, and the sensor of this structure can be widely used in various places and has a wide range of applications.
[0027] 2. A support bracket is installed at the bottom of the housing of the present invention, and the entire sensor can be installed at a designated position through the support bracket.
[0028] 3. The housing of the present invention can be mounted on the ceiling in cooperation with the fixing plate, and the housing and the fixing plate are snap-fitted and connected, which facilitates quick disassembly, assembly and use of the entire sensor. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a schematic structural diagram of Embodiment 1 of the present invention;
[0030] Figure 2 It is a schematic diagram of the structure of the housing of the present invention at an oblique downward angle at the rear end;
[0031] Figure 3 It is a schematic diagram of the structure of the housing of the present invention at a rear end oblique upward viewing angle;
[0032] Figure 4 It is a structural schematic diagram of the circuit board of the present invention;
[0033] Figure 5 It is a schematic structural diagram of the top cover of the present invention;
[0034] Figure 6 is a schematic diagram of the structure of Embodiment 2 of the present invention;
[0035] Figure 7 It is a structural schematic diagram of the support frame of the present invention;
[0036] Figure 8is a schematic diagram of the structure of Embodiment 3 of the present invention;
[0037] Fig. 9 It is a schematic diagram of the structure of the fixed disk of the present invention;
[0038] Fig.10 It is a flowchart of the method for detecting air parameters of the present invention;
[0039] Fig.11 It is an algorithm diagram for calculating the error range of parameters of the present invention.
[0040] In the figure: 1. shell; 11. first air vent; 12. stopper; 13. support platform; 14. limit tube; 15. limit rod; 16. through hole; 17. countersunk hole; 18. bayonet; 19. threaded groove; 2. circuit board; 21. sleeve hole; 22. RJ45 interface; 23. 2EDG-3.81-4P interface; 24. DC power interface; 25. RS485 address dial switch; 26. small fan; 3. top cover; 31. through hole; 32. second air vent; 33. connecting column; 4. supporting bracket; 41. threaded connecting plate; 42. diagonal support rod; 43. fixed edge; 44. fixing hole; 5. fixing plate; 51. bolt hole; 52. buckle. DETAILED DESCRIPTION
[0041] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] The following is a further description with reference to the accompanying drawings and specific embodiments:
[0043] Example 1
[0044] like Figure 1 and Figure 4As shown, an intelligent sensor for multi-parameter air detection includes a housing 1 and a top cover 3. A circuit board 2 is provided inside the housing 1. The circuit board 2 is used to detect various parameters of the air and transmit the detected data to the device connected to the circuit board 2. A small fan 26 and a sensor body are integrated on the circuit board 2. The small fan 26 is convenient for discharging the heat generated by the circuit board 2, and it is also convenient to drive the airflow, so that the circuit board 2 cooperates with the sensor body to detect various parameters of the air. The rear end of the circuit board 2 is provided with an RJ45 interface 22, a 2EDG-3.81-4P interface 23, a DC power interface 24 and an RS485 address dial switch 25 in sequence; and the RJ45 interface 22, the 2EDG-3.81-4P interface 23, the DC power interface 24 and the RS485 address dial switch 25 protrude from the housing 1, and the RJ45 interface 22 is used to directly connect the circuit board 2 to a switch or a computer. The 2EDG-3.81-4P interface 23 is convenient for the interface to be connected to the hardware; at the same time, the DC power interface 24 is convenient for powering the entire intelligent sensor. The RS485 address dial switch 25 facilitates the use of MODBUS_RTU protocol output. The top cover 3 is arranged at the top opening of the housing 1, and the top cover 3 and the housing 1 are connected and fixed by bolts; the top cover 3 is used to protect the circuit board 2 inside the housing 1, and the top cover 3 also makes the entire intelligent sensor more beautiful.
[0045] like Figure 2 and Figure 3 As shown, the side of the housing 1 is provided with a plurality of first air holes 11, and the first air holes 11 are for facilitating the flow of external air into the interior of the housing 1. A blocking rod 12 is provided on the inner side of the housing 1 aligned with the position of the first air hole 11, and the blocking rod 12 is L-shaped. The blocking rod 12 ensures that the first air hole 11 can communicate with the external air, and at the same time, the blocking rod 12 can also prevent water stains from spilling onto the upper surface of the circuit board 2. The inner bottom surface of the housing 1 is evenly provided with a plurality of pedestals 13, and a limiting tube 14 is provided in the middle of the pedestal 13; the cooperation between the pedestal 13 and the limiting tube 14 is convenient for installing the circuit board 2 and ensuring that the circuit board 2 is sufficiently stable. A limiting rod 15 is provided on one side of the inner bottom surface of the housing 1, and the limiting rod 15 is used to limit the small fan 26; ensuring that the small fan 26 is sufficiently stable. The bottom surface of the housing 1 is evenly provided with a plurality of countersunk holes 17, and the countersunk holes 17 are communicated with the limiting tube 14; the countersunk holes 17 are convenient for connecting and fixing the top cover 3 to the housing 1 by bolts. A plurality of through holes 16 are provided at the rear end of the housing 1 , and the through holes 16 are used for the RJ45 interface 22 , the 2EDG-3.81-4P interface 23 , the DC power interface 24 and the RS485 address dial switch 25 to protrude out of the housing 1 .
[0046] like Figure 4As shown, the circuit board 2 is provided with a plurality of holes 21, which are sleeved on the limit tube 14 to ensure that the circuit board 2 is stable at the bottom of the inner side of the shell 1. The circuit board 2 works in accordance with the Modbus-RTU protocol; the circuit board 2 works in accordance with the master-slave working mode, and the basic working process is a series of repeated calls and responses. The call is issued by the master device (usually a PC) and points to a slave device with a certain address hanging somewhere on the bus. The slave confirms the receipt of the call by answering and returns the data required by the master; the data format is: 8 data bits, 1 stop bit, no check (N, 8, 1); the communication baud rate defaults to 9600bps; the address defaults to 1; the Modbus-RTU protocol register address is shown in Table 1:
[0047] Table 1
[0048]
[0049]
[0050] like Figure 5 As shown, a circle of through holes 31 is provided in the middle of the top cover 3, and second air holes 32 are evenly provided on the top cover 3. The through holes 31 and the second air holes 32 are convenient for the inside of the housing 1 to communicate with the outside air, and for the sensor body integrated on the circuit board 2 to detect air parameters. A plurality of connecting columns 33 are evenly provided on the bottom surface of the top cover 3, and the bottom ends of the connecting columns 33 are against the top of the limiting tube 14; this structure is convenient for the connecting columns 33 to be against the circuit board 2, ensuring that the circuit board 2 is sufficiently stable.
[0051] Working principle: The use is to install the entire smart sensor to the specified position, then connect the smart sensor to the computer, and set the various parameters of the smart sensor through the computer to ensure that the smart sensor can operate normally. Then the smart sensor can be controlled by the computer to work. Compared with the prior art, the device of this application is used in conjunction with a computer, and commands are sent through the computer, and the sensor feedbacks data according to the commands, and the computer will determine the air temperature, humidity, PM2.5, PM10, formaldehyde and TVOC based on the data fed back by the sensor; in this way, the air parameters can be detected efficiently, and sensors with this structure can be widely used in various places and have a wide range of uses.
[0052] Example 2
[0053] like Figure 1 and Figure 4As shown, an intelligent sensor for multi-parameter air detection includes a housing 1 and a top cover 3. A circuit board 2 is provided inside the housing 1. The circuit board 2 is used to detect various parameters of the air and transmit the detected data to the device connected to the circuit board 2. A small fan 26 and a sensor body are integrated on the circuit board 2. The small fan 26 is convenient for discharging the heat generated by the circuit board 2, and it is also convenient to drive the airflow, so that the circuit board 2 cooperates with the sensor body to detect various parameters of the air. The rear end of the circuit board 2 is provided with an RJ45 interface 22, a 2EDG-3.81-4P interface 23, a DC power interface 24 and an RS485 address dial switch 25 in sequence; and the RJ45 interface 22, the 2EDG-3.81-4P interface 23, the DC power interface 24 and the RS485 address dial switch 25 protrude from the housing 1, and the RJ45 interface 22 is used to directly connect the circuit board 2 to a switch or a computer. The 2EDG-3.81-4P interface 23 is convenient for the interface to be connected to the hardware; at the same time, the DC power interface 24 is convenient for powering the entire intelligent sensor. The RS485 address dial switch 25 facilitates the use of MODBUS_RTU protocol output. The top cover 3 is arranged at the top opening of the housing 1, and the top cover 3 and the housing 1 are connected and fixed by bolts; the top cover 3 is used to protect the circuit board 2 inside the housing 1, and the top cover 3 also makes the entire intelligent sensor more beautiful.
[0054] like Figure 2 and Figure 3 As shown, the side of the housing 1 is provided with a plurality of first air holes 11, and the first air holes 11 are for facilitating the flow of external air into the interior of the housing 1. A blocking rod 12 is provided on the inner side of the housing 1 aligned with the position of the first air hole 11, and the blocking rod 12 is L-shaped. The blocking rod 12 ensures that the first air hole 11 can communicate with the external air, and at the same time, the blocking rod 12 can also prevent water stains from spilling onto the upper surface of the circuit board 2. The inner bottom surface of the housing 1 is evenly provided with a plurality of pedestals 13, and a limiting tube 14 is provided in the middle of the pedestal 13; the cooperation between the pedestal 13 and the limiting tube 14 is convenient for installing the circuit board 2 and ensuring that the circuit board 2 is sufficiently stable. A limiting rod 15 is provided on one side of the inner bottom surface of the housing 1, and the limiting rod 15 is used to limit the small fan 26; ensuring that the small fan 26 is sufficiently stable. The bottom surface of the housing 1 is evenly provided with a plurality of countersunk holes 17, and the countersunk holes 17 are communicated with the limiting tube 14; the countersunk holes 17 are convenient for connecting and fixing the top cover 3 to the housing 1 by bolts. A plurality of through holes 16 are provided at the rear end of the housing 1 , and the through holes 16 are used for the RJ45 interface 22 , the 2EDG-3.81-4P interface 23 , the DC power interface 24 and the RS485 address dial switch 25 to protrude out of the housing 1 .
[0055] like Figure 4As shown, the circuit board 2 is provided with a plurality of holes 21, which are sleeved on the limit tube 14 to ensure that the circuit board 2 is stable at the bottom of the inner side of the shell 1. The circuit board 2 works in accordance with the Modbus-RTU protocol; the circuit board 2 works in accordance with the master-slave working mode, and the basic working process is a series of repeated calls and responses. The call is issued by the master device (usually a PC) and points to a slave device with a certain address hanging somewhere on the bus. The slave confirms the receipt of the call by answering and returns the data required by the master; the data format is: 8 data bits, 1 stop bit, no check (N, 8, 1); the communication baud rate defaults to 9600bps; the address defaults to 1; the Modbus-RTU protocol register address is shown in Table 1:
[0056] Table 1
[0057]
[0058] like Figure 5 As shown, a circle of through holes 31 is provided in the middle of the top cover 3, and second air holes 32 are evenly provided on the top cover 3. The through holes 31 and the second air holes 32 are convenient for the inside of the housing 1 to communicate with the outside air, and for the sensor body integrated on the circuit board 2 to detect air parameters. A plurality of connecting columns 33 are evenly provided on the bottom surface of the top cover 3, and the bottom ends of the connecting columns 33 are against the top of the limiting tube 14; this structure is convenient for the connecting columns 33 to be against the circuit board 2, ensuring that the circuit board 2 is sufficiently stable.
[0059] like Figure 1 and Figure 3 As shown, a threaded groove 19 is provided at the rear end of the bottom of the housing 1, and the threaded groove 19 is connected to the support bracket 4. The threaded groove 19 is convenient for connection with the support bracket 4, and is convenient for disassembly and assembly between the smart sensor and the support bracket 4.
[0060] like Figure 7 As shown, the support bracket 4 is L-shaped, and a diagonal brace 42 is provided between the two ends of the support bracket 4, and the diagonal brace 42 is used to ensure sufficient stability of the support bracket 4. A threaded connecting plate 41 is provided on the upper surface of the support bracket 4, and the threaded connecting plate 41 is connected to the thread groove 19; it is convenient for the disassembly and use of the intelligent sensor. The support bracket 4 is symmetrically provided with fixed edges 43 on both sides, and a plurality of fixing holes 44 are provided on the fixed edges 43; the cooperation between the fixed edges 43 and the fixing holes 44 is convenient for fixing the position of the support bracket 4 by bolts.
[0061] Example 3
[0062] like Figure 1 and Figure 4As shown, an intelligent sensor for multi-parameter air detection includes a housing 1 and a top cover 3. A circuit board 2 is provided inside the housing 1. The circuit board 2 is used to detect various parameters of the air and transmit the detected data to the device connected to the circuit board 2. A small fan 26 and a sensor body are integrated on the circuit board 2. The small fan 26 is convenient for discharging the heat generated by the circuit board 2, and it is also convenient to drive the airflow, so that the circuit board 2 cooperates with the sensor body to detect various parameters of the air. The rear end of the circuit board 2 is provided with an RJ45 interface 22, a 2EDG-3.81-4P interface 23, a DC power interface 24 and an RS485 address dial switch 25 in sequence; and the RJ45 interface 22, the 2EDG-3.81-4P interface 23, the DC power interface 24 and the RS485 address dial switch 25 protrude from the housing 1, and the RJ45 interface 22 is used to directly connect the circuit board 2 to a switch or a computer. The 2EDG-3.81-4P interface 23 is convenient for the interface to be connected to the hardware; at the same time, the DC power interface 24 is convenient for powering the entire intelligent sensor. The RS485 address dial switch 25 facilitates the use of MODBUS_RTU protocol output. The top cover 3 is arranged at the top opening of the housing 1, and the top cover 3 and the housing 1 are connected and fixed by bolts; the top cover 3 is used to protect the circuit board 2 inside the housing 1, and the top cover 3 also makes the entire intelligent sensor more beautiful.
[0063] like Figure 2 and Figure 3 As shown, the side of the housing 1 is provided with a plurality of first air holes 11, and the first air holes 11 are for facilitating the flow of external air into the interior of the housing 1. A blocking rod 12 is provided on the inner side of the housing 1 aligned with the position of the first air hole 11, and the blocking rod 12 is L-shaped. The blocking rod 12 ensures that the first air hole 11 can communicate with the external air, and at the same time, the blocking rod 12 can also prevent water stains from spilling onto the upper surface of the circuit board 2. The inner bottom surface of the housing 1 is evenly provided with a plurality of pedestals 13, and a limiting tube 14 is provided in the middle of the pedestal 13; the cooperation between the pedestal 13 and the limiting tube 14 is convenient for installing the circuit board 2 and ensuring that the circuit board 2 is sufficiently stable. A limiting rod 15 is provided on one side of the inner bottom surface of the housing 1, and the limiting rod 15 is used to limit the small fan 26; ensuring that the small fan 26 is sufficiently stable. The bottom surface of the housing 1 is evenly provided with a plurality of countersunk holes 17, and the countersunk holes 17 are communicated with the limiting tube 14; the countersunk holes 17 are convenient for connecting and fixing the top cover 3 to the housing 1 by bolts. A plurality of through holes 16 are provided at the rear end of the housing 1 , and the through holes 16 are used for the RJ45 interface 22 , the 2EDG-3.81-4P interface 23 , the DC power interface 24 and the RS485 address dial switch 25 to protrude out of the housing 1 .
[0064] like Figure 4As shown, the circuit board 2 is provided with a plurality of holes 21, which are sleeved on the limit tube 14 to ensure that the circuit board 2 is stable at the bottom of the inner side of the shell 1. The circuit board 2 works in accordance with the Modbus-RTU protocol; the circuit board 2 works in accordance with the master-slave working mode, and the basic working process is a series of repeated calls and responses. The call is issued by the master device (usually a PC) and points to a slave device with a certain address hanging somewhere on the bus. The slave confirms the receipt of the call by answering and returns the data required by the master; the data format is: 8 data bits, 1 stop bit, no check (N, 8, 1); the communication baud rate defaults to 9600bps; the address defaults to 1; the Modbus-RTU protocol register address is shown in Table 1:
[0065] Table 1
[0066]
[0067]
[0068] like Figure 5 As shown, a circle of through holes 31 is provided in the middle of the top cover 3, and second air holes 32 are evenly provided on the top cover 3. The through holes 31 and the second air holes 32 are convenient for the inside of the housing 1 to communicate with the outside air, and for the sensor body integrated on the circuit board 2 to detect air parameters. A plurality of connecting columns 33 are evenly provided on the bottom surface of the top cover 3, and the bottom ends of the connecting columns 33 are against the top of the limiting tube 14; this structure is convenient for the connecting columns 33 to be against the circuit board 2, ensuring that the circuit board 2 is sufficiently stable.
[0069] like Figure 1 and Figure 3 As shown, a threaded groove 19 is provided at the rear end of the bottom of the housing 1 , and the threaded groove 19 is connected to the support bracket 4 . The threaded groove 19 is convenient for connecting the support bracket 4 and for facilitating the assembly and disassembly between the smart sensor and the support bracket 4 .
[0070] like Figure 7 As shown, the support bracket 4 is L-shaped, and a diagonal brace 42 is provided between the two ends of the support bracket 4, and the diagonal brace 42 is used to ensure sufficient stability of the support bracket 4. A threaded connecting plate 41 is provided on the upper surface of the support bracket 4, and the threaded connecting plate 41 is connected to the thread groove 19; it is convenient for the disassembly and use of the intelligent sensor. The support bracket 4 is symmetrically provided with fixed edges 43 on both sides, and a plurality of fixing holes 44 are provided on the fixed edges 43; the cooperation between the fixed edges 43 and the fixing holes 44 is convenient for fixing the position of the support bracket 4 by bolts.
[0071] like Figure 1 , Figure 3 and Fig. 9As shown, the bottom surface of the housing 1 is evenly provided with a plurality of bayonet holes 18, and the bayonet holes 18 are connected to the fixing plate 5. This structure facilitates the smart sensor to be installed on the ceiling. The edge of the fixing plate 5 is evenly provided with a plurality of bolt holes 51, and the bolt holes 51 are convenient for fixing the fixing plate 5 on the roof by bolts. And the fixing plate 5 is provided with a buckle 52 aligned with the position of the bayonet hole 18, and the buckle 52 is engaged with the inner side of the bayonet hole 18. This structure facilitates the flexible disassembly and assembly of the smart sensor.
[0072] Example 4
[0073] like Fig.10 and Fig.11 As shown, a method for using a circuit board of an intelligent sensor for air multi-parameter detection to cooperate with a host device to detect air multi-parameters is provided. The specific steps are as follows:
[0074] S100, fix the smart sensor at a designated position, then connect the host device to the circuit board of the smart sensor, and set the parameters of the smart sensor. After the parameter setting is completed, test run the smart sensor to ensure that it can work normally; the measurement parameters of the smart sensor are shown in Table 2:
[0075] Table 2
[0076]
[0077] S200, the master device sends a command (hexadecimal) to the transmitter, the command format: address code, function code, register start address high, register start address low, register number high, register number low, CRC check low, CRC check high; such as reading 10 register data from register 0000: 01030000000A C40B, address code range 01 ~ FE, that is, 254, function code is fixed to 0x03 (or 0x04), register start bit is fixed to 0x0000, register number is 0x000A, read 10 registers; the register data is based on Table 3:
[0078] Table 3
[0079]
[0080] After receiving the read instruction, the S300 intelligent sensor immediately returns 25 bytes of frame data (hexadecimal) to the host. The data format is: address code, function code, data byte word, high address data, low address data, high reserved data, low reserved data, high carbon dioxide value, low carbon dioxide value, high formaldehyde value, low formaldehyde value, high TVOC value, low TVOC value, high PM2.5 value, low PM2.5 value, high PM10 value, low PM10 value, high PM10 value, high temperature value, low temperature value, high humidity value, low humidity value, low CRC16 checksum, and high CRC16 checksum. The basis for the sensor to feedback data is shown in Table 4 as follows:
[0081] Table 4
[0082]
[0083]
[0084] S400. After receiving the data, the master device compares and judges the data, and issues an alarm when the data is abnormal. The judgment process for the data is as follows:
[0085] S410. After receiving the data, the master device processes the data, extracts the value D0 corresponding to each parameter in the data, and at the same time, the master device obtains the normal range D1 - D2 of each parameter in the system;
[0086] S420. The master device compares the value D0 corresponding to each extracted parameter with the normal range D1 - D2 of the corresponding parameter to judge whether the value D0 is within the range of D1 - D2;
[0087] S430. If the value D0 is within the range of D1 - D2, it proves that the air parameters are normal. If D0 is not within the range of D1 - D2, then compare the value D0 with the values of D1 and D2. If the value D0 > D2, then substitute the values of D0 and D2 into the formula:
[0088]
[0089] If the value D0 < D1, then substitute the values of D0 and D1 into the formula:
[0090]
[0091] In the above formula, D0 is the value corresponding to each parameter measured by the sensor;
[0092] D1 is the little - end value of the normal range of each parameter;
[0093] D2 is the big - end value of the normal range of each parameter;
[0094] H is the error percentage;
[0095] If the calculated H value is greater than 10%, it proves that there is a problem with the air quality and the device issues an alarm; if the calculated H value is less than 10%, it proves that the air quality is still normal.
[0096] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent sensor for air multi-parameter detection, comprising a housing (1) and a top cover (3), characterized in that: A circuit board (2) is provided inside the housing (1), and the circuit board (2) is used to detect various parameters of the air; a small fan (26) and a sensor body are integrated on the circuit board (2), and an RJ45 interface (22), a 2EDG-3.81-4P interface (23), a DC power interface (24) and an RS485 address dial switch (25) are provided at the rear end of the circuit board (2); and the RJ45 interface (22), the 2EDG-3.81-4P interface (23), the DC power interface (24) and the RS485 address dial switch (25) protrude out of the housing (1), and the top cover (3) is arranged at the top opening of the housing (1), and the top cover (3) and the housing (1) are fixed by bolt connection; A thread groove (19) is provided at the rear end of the bottom of the housing (1), and the thread groove (19) is connected to a support frame (4); The support frame (4) is L-shaped, and an oblique support rod (42) is provided between the two ends of the support frame (4); a threaded connecting plate (41) is provided on the upper surface of the support frame (4), and the threaded connecting plate (41) is connected to the thread groove (19); fixed edges (43) are symmetrically provided on both sides of the support frame (4), and a plurality of fixing holes (44) are provided on the fixed edges (43); The bottom surface of the housing (1) is evenly provided with a plurality of bayonet holes (18), the bayonet hole (18) is connected to a fixing plate (5), the edge of the fixing plate (5) is evenly provided with a plurality of bolt holes (51), and the fixing plate (5) is provided with a buckle (52) at a position aligned with the bayonet hole (18), and the buckle (52) is engaged with the inner side of the bayonet hole (18); The circuit board (2) works in a master-slave working mode. The basic working process is a series of repeated calls and responses. The call is sent by the master device and directed to a slave device with a certain address hanging somewhere on the bus. The slave device confirms the receipt of the call in a response mode and returns the data required by the master. The data format is: 8 data bits, 1 stop bit, no check (N, 8, 1); the communication baud rate defaults to 9600 bps; the address defaults to 1; The specific steps of the method for the circuit board to cooperate with the host device to detect multiple air parameters are as follows: S100, fix the smart sensor at a designated position, then connect the host device to the circuit board of the smart sensor, and set the parameters of the smart sensor. After the parameter setting is completed, test run the smart sensor to ensure that it can work normally; S200, the master device sends a hexadecimal command to the transmitter. The command format is: address code, function code, register start address high, register start address low, register number high, register number low, CRC check low, CRC check high; including reading 10 register data starting from register 0000: 01030000000A C40B, address code range 01~FE, i.e. 254, function code is fixed to 0x03 or 0x04, register start bit is fixed to 0x0000, register number is 0x000A, read 10 registers; After receiving the read instruction, the S300 intelligent sensor immediately returns 25 bytes of frame data to the host. The data format is as follows: address code, function code, data byte word, high address data, low address data, high reserved data, low reserved data, high carbon dioxide value, low carbon dioxide value, high formaldehyde value, low formaldehyde value, high TVOC value, low TVOC value, high PM2.5 value, low PM2.5 value, high PM10 value, low PM10 value, high PM10 value, high temperature value, low temperature value, high humidity value, low humidity value, CRC16 check low and CRC16 check high; S400. After receiving the data, the master device compares and judges the data, and issues an alarm when the data is abnormal; The judgment process of the data in step S400 is as follows: S410. After receiving the data, the master device processes the data, extracts the value D0 corresponding to each parameter in the data, and at the same time, the master device obtains the normal range D1 - D2 of each parameter in the system; S420. The master device compares the value D0 corresponding to each extracted parameter with the normal range D1 - D2 of the corresponding parameter to judge whether the value D0 is within the range of D1 - D2; S430. If the value D0 is within the range of D1 - D2, it proves that the air parameters are normal. If D0 is not within the range of D1 - D2, then compare the value D0 with the values of D1 and D2. If the value D0 > D2, substitute the values of D0 and D2 into the formula: If the value D0 < D1, substitute the values of D0 and D1 into the formula: In the above formula, D0 is the value corresponding to each parameter measured by the sensor; D1 is the little - end value of the normal range of each parameter; D2 is the big - end value of the normal range of each parameter; H is the error percentage; If the calculated value of H is greater than 10%, it proves that there is a problem with the air quality and the device issues an alarm. If the calculated value of H is less than 10%, it proves that the air quality is still normal.
2. The intelligent sensor for multi-parameter air detection according to claim 1, characterized in that: A plurality of first ventilation holes (11) are provided on the side surface of the housing (1), and a retaining rod (12) is provided at the position on the inner side surface of the housing (1) aligned with the first ventilation holes (11). The retaining rod (12) is L - shaped. A plurality of bearing platforms (13) are evenly provided on the inner bottom surface of the housing (1), and a limiting tube (14) is provided in the middle of the bearing platform (13); A limiting rod (15) is provided on one side of the inner bottom surface of the housing (1), and the limiting rod (15) is used to limit the small fan (26); A plurality of counter - bores (17) are evenly provided on the bottom surface of the housing (1), and the counter - bores (17) communicate with the limiting tubes (14); A plurality of through - holes (16) are provided at the rear end of the housing (1), and the through - holes (16) are used for the RJ45 interface (22), 2EDG - 3.81 - 4P interface (23), DC power supply interface (24) and RS485 address dial switch (25) to protrude from the housing (1).
3. The intelligent sensor for multi-parameter air detection according to claim 2 is characterized in that: The circuit board (2) is provided with a plurality of sleeve holes (21), and the sleeve holes (21) are sleeved on the limiting tube (14) to ensure that the circuit board (2) is stably located at the bottom of the inner side of the housing (1).
4. The intelligent sensor for multi-parameter air detection according to claim 2, characterized in that: A circle of through holes (31) is provided in the middle of the top cover (3), and second air holes (32) are evenly provided on the top cover (3). A plurality of connecting columns (33) are evenly provided on the bottom surface of the top cover (3), and the bottom ends of the connecting columns (33) are against the top of the limiting tube (14).
Citation Information
Patent Citations
Multiparameter sensor for coal mine
CN205620374U
Low-power-consumption field data acquisition system device with node positioning function
CN220123078U