Laboratory safety monitoring system and method based on Internet of things
Technical Field
The invention relates to the technical field of laboratory safety monitoring, in particular to a laboratory safety monitoring system and method based on the Internet of things.
Background
In the chemical reaction, a lot of harmful gases such as hydrogen, carbon monoxide, carbon dioxide, methane, toluene and the like are often generated, the harmful gases generated after the chemical reaction have certain harm to human bodies and are toxic or flammable and explosive, and in a chemical laboratory, if the toxic, harmful, flammable and explosive gases generated after the reaction leak, the personal safety of experimenters can be harmed, so that the laboratory safety can be guaranteed to the maximum extent only by early finding and forecasting and timely and stably solving the leakage problem.
Disclosure of Invention
In order to solve the problems, the invention provides a laboratory safety monitoring system and method based on the internet of things, which can effectively monitor the safety condition of a laboratory, can give an alarm in time when detecting that toxic and harmful gas leaks from the laboratory, and avoids the harm to laboratory personnel.
In order to solve the problems, the invention adopts the following technical scheme:
the invention relates to a laboratory safety monitoring system based on the Internet of things, which comprises a background server and a monitoring device arranged in a laboratory, wherein the monitoring device comprises a control device and a toxic and harmful gas detection device, the toxic and harmful gas detection device comprises a plurality of gas detection modules arranged at different positions at the top of the laboratory, each gas detection module comprises a base, a plurality of different gas sensors are arranged on the lower surface of the base, the gas sensors are encircled into a circle and are arranged at equal intervals along the circle, a microprocessor and a first wireless communication module are further arranged on the base, the control device comprises a controller, an alarm module and a second wireless communication module, the microprocessor is respectively and electrically connected with the gas sensors and the first wireless communication module, the controller is respectively and electrically connected with the alarm module and the second wireless communication module, the first wireless communication module is capable of wirelessly communicating with a second wireless communication module, which is capable of wirelessly communicating with a background server.
In the technical scheme, each gas sensor in the gas detection module is used for detecting a toxic and harmful gas, the microprocessor reads detection data of the gas detection module and sends the detection data to the control device through the first wireless communication module, when the gas detection module detects that the concentration of a certain toxic and harmful gas in a laboratory exceeds the standard, the alarm module gives an alarm, and the second wireless communication module sends alarm information to the background server.
Preferably, the control device further comprises a display screen and a key, and the controller is electrically connected with the display screen and the key respectively.
Preferably, the plurality of different gas sensors are respectively a ME4-C6H6 sensor, a TD400-SH-MDK sensor, a SK-600-C8H10 sensor, a TGS-826 sensor, a TGS-202 sensor, a TGS-825 sensor, and a ME3-C7H8 sensor.
The ME4-C6H6 sensor is used for detecting benzene, the TD400-SH-MDK sensor is used for detecting acetone gas, the SK-600-C8H10 sensor is used for detecting dimethylbenzene, the TGS-826 sensor is used for detecting ammonia gas, the TGS-202 sensor is used for detecting carbon dioxide, the TGS-825 sensor is used for detecting hydrogen sulfide, and the ME3-C7H8 sensor is used for detecting toluene.
Preferably, the monitoring device further comprises a plurality of cameras arranged at the top of the laboratory, and the controller is electrically connected with the cameras. The camera collects images in the laboratory, and the control device sends the images to the background server.
Preferably, the monitoring device further comprises a temperature sensor and a humidity sensor, and the controller is electrically connected with the temperature sensor and the humidity sensor respectively. Temperature sensor detects the interior temperature of laboratory, and humidity transducer detects the interior humidity of laboratory, and when the temperature in the laboratory was not conform to the condition or humidity was not conform to the condition, alarm module sent the warning.
Preferably, the monitoring device further comprises a smoke sensor, and the controller is electrically connected with the smoke sensor. When the smoke sensor detects that the smoke concentration in the laboratory exceeds a set value, the alarm module gives an alarm.
Preferably, the alarm module comprises an alarm lamp and a voice output module, and the controller is electrically connected with the alarm lamp and the voice output module respectively.
Preferably, the controller is also electrically connected to a ventilation system of the laboratory. When the concentration of the poisonous and harmful gas in the laboratory is detected to exceed the standard, the ventilation system works to discharge the gas in the laboratory to the outside of the laboratory.
As preferred, poisonous and harmful gas detection device is still including setting up the latticed track network that is at the laboratory top, gaseous detection module sets up on the track network and can follow the track network and remove, the track network includes a plurality of transverse guide and a plurality of longitudinal rail, the intersection of transverse guide and longitudinal rail is equipped with the positioning disk, the positioning disk top is equipped with drive positioning disk pivoted motor, the positioning disk lower surface is equipped with arc guide, arc guide's both ends meet with a transverse guide and a longitudinal rail respectively, the base top is equipped with the moving mechanism that can follow the guide rail and remove, the controller is connected with the motor electricity, microprocessor is connected with the moving mechanism electricity.
The controller can control the guide disc to rotate, when the gas detection module needs to move to a certain specified position of the track network, the controller calculates a path of the gas detection module moving to the specified position, the guide disc on the path is controlled to rotate to enable the transverse guide rail and the longitudinal guide rail which are mutually disconnected to be communicated through the arc-shaped guide rail, and then the gas detection module moves to the specified position along the path.
If the gas detection module only needs to move to a certain specified position along a straight line, if a guide disc is arranged on the straight line, the gas detection module moves along the straight line, when the gas detection module moves to a certain guide disc position, one end of an arc-shaped guide rail on which the guide disc rotates is connected with one end of a current moving line of the gas detection module, then the gas detection module moves to the arc-shaped guide rail of the guide disc, the other end of the arc-shaped guide rail on which the guide disc rotates is connected with one end of a line to be moved below the gas detection module, and finally the gas detection module moves to the line below and continues moving.
The gas detection modules can move along the track network, and can be arranged at positions where important detection is needed according to needs, and the gas detection modules are more flexibly arranged, so that the detection accuracy is guaranteed.
Preferably, the moving mechanism comprises two track wheels and a driving module for driving the track wheels to rotate, the two track wheels are respectively positioned at two sides of the guide rail and are jointed with the guide rail, and the microprocessor is electrically connected with the driving module.
The invention discloses a laboratory safety monitoring method based on the Internet of things, which is used for the laboratory safety monitoring system based on the Internet of things, wherein the lower surface of a base is provided with N different gas sensors which are metal oxide gas sensors, and the method comprises the following steps:
the control device receives the data output by each gas detection module, analyzes the data output by each gas detection module, and when the control device analyzes that a certain gas detection module detects that toxic and harmful gas leaks, the alarm module gives an alarm;
the method for judging whether a certain gas sensor detects the leakage of the corresponding toxic and harmful gas at the moment t by the control device comprises the following steps:
s1: collecting detection data output by N different gas sensors of the gas detection module from T-T moment to T moment, and respectively calculating calibration messages corresponding to the 1 st gas sensor to the Nth gas sensor from T momentNumber value T is a time variable, and T is a set constant;
s2: drawing a multi-axis vector diagram with N sensor response axes on a plane by taking the calibration signal of each gas sensor as the sensor response axis, wherein the original points of all the sensor response axes are the same point, and the included angle between two adjacent sensor response axesAccording to the value of the calibration signalMarking corresponding response points on corresponding sensor response shafts, connecting the response points marked on the adjacent sensor response shafts through straight lines to form a closed space, calculating the area surrounded by the connecting lines of the adjacent sensor response shafts and the upper response points thereof according to the values of the response points and the included angle theta, and obtaining N area areas Are1(t)、Are2(t)、Are3(t)、……AreN(t);
S3: constructing a sensor response surface envelope area transfer vector [ Are ] at the time t1(t)、Are2(t)、Are3(t)、……AreN(t)]And performing a secondary spline difference to form a sensor response surface envelope area transfer curve Cur (t) at the time t;
s4: inputting Cur (t) into a layer of signal amplification model:
wherein Bar (x, t) is potential function, x (t) is motion travel function, m and n are set constants, η (t) is explicit interference, and delta (t) is implicitThe interference is caused by the interference,for periodic free-running signaling, f is the signal frequency, t is the model travel time,is the phase, η (t) x3(t) is a calibration component, provided
Calculating the first derivative, the second derivative and the third derivative of Bar (x, t) for x, and making equation equal to 0, obtaining a three-layer signal amplification model:
setting η (t) to 0,the critical value of x (t) is calculated as
Will be a critical valueSubstituted into equation (1), and x is set0(t)=0,sf0When the value is 0, solving the formula (1) by adopting a fourth-order long lattice Kutta algorithm to obtain:
,
wherein x isn(t) is the nth derivative of x (t), sfn-1Is the value of the n-1 order derivative of input (t) at t ═ 0, snn+1Is the value of the n +1 order derivative of input (t) at t-0, n-0, 1, 2, 3 …, a, b being set constants,
calculating to obtain x1(t),x2(t)…xn+1Value of (t), for x1(t),x2(t)…xn+1(t) integration to x(t)And calculate x(t)Calculating the noise suppression ratio NER at the moment when a second-order signal amplification system consisting of a first-layer signal amplification model and a third-layer signal amplification model generates an extreme value:
wherein,
s5: according to the noise suppression ratio NER output noise suppression ratio curve, selecting the maximum NER in the noise suppression ratio curveMaximum valueIf NER isMaximum valueIf the threshold value is more than K, the toxic and harmful gas leakage is judged to exist at the moment t, step S6 is executed, if NER is not enough, the toxic and harmful gas leakage is judged to exist at the moment tMaximum valueIf the value is less than or equal to the threshold value K, judging that no toxic and harmful gas is leaked at the moment t;
s6: from the value of the calibration signalBy selecting the largest value as the maximum calibration signal value Seb(t)Maximum valueConstructing a response triangle corresponding to the t moment for each gas sensor, wherein the length of one side of the response triangle corresponding to the t moment of each gas sensor is Seb 2(t)Maximum valueAnd the length of the other side is the square of the calibration signal value corresponding to the gas sensor, the included angle of the two sides is theta, the area of the response triangle corresponding to the t moment of each gas sensor is calculated, and if the area of the response triangle corresponding to the t moment of a certain gas sensor is larger than the corresponding area threshold value, the toxic and harmful gas detected by the gas sensor is judged to be leaked at the t moment.
The different sensors have different detection signal characteristics, so that the profile ranges of the response surfaces of the sensors are different, the change ranges of the responses of the sensors are reflected to have certain distribution, and how to extract the characteristic information of the response surfaces for representing the properties of the measured object is one of the key points of the invention.
The metal oxide gas sensor has poor selectivity to gas or smell, dispersion of element parameters and unsatisfactory stability, and is easy to cause misjudgment. According to the method, through comprehensive analysis, the interference of other gases on the metal oxide gas sensor can be effectively avoided, the detection precision is improved, and the misjudgment is reduced.
Preferably, in step S1, a calibration signal value corresponding to the nth gas sensor at time t is calculatedThe method comprises the following steps:
calculating the average value AV of the detection data output by the Nth gas sensor from the T-T moment to the T momentN(T) selecting the maximum value HA in the detection data output by the Nth gas sensor from the time T-T to the time TN(t), minimum value LAN(t);
By usingCalculated by the following formula
Preferably, when only one gas sensor detects that the corresponding toxic and harmful gas leaks at the time t, the gas leakage at the time t is judged to be single gas leakage; when more than two gas sensors detect that the corresponding toxic and harmful gas leaks at the moment t, the gas leakage at the moment t is judged to be mixed gas leakage, the ratio of the area of the corresponding response triangle of each gas sensor detecting that the toxic and harmful gas leaks at the moment t is calculated, and the ratio is the ratio of the corresponding toxic and harmful gas measured by each gas sensor in the mixed gas.
Such as: at the time t, the TD400-SH-MDK sensor detects acetone gas leakage, the SK-600-C8H10 sensor detects xylene leakage and the TGS-826 sensor detects ammonia leakage, and the area ratio of the corresponding response triangles of the TD400-SH-MDK sensor, the SK-600-C8H10 sensor and the TGS-826 sensor is 1: 2, so that the ratio of acetone gas, xylene and ammonia in the mixed gas is 1: 2.
Preferably, P gas sensors detect corresponding toxic and harmful gases at time tWhen the body leaks, P is more than or equal to 2, the control device arranges the corresponding response triangle areas of the gas sensors at the time t in sequence from large to small, and takes the maximum response triangle area at the time t as a first reference area REF1The second largest response triangle area at time t is taken as the second reference area REF2… …, the area of the response triangle whose time at Pth is large at time t is taken as the Pth reference area REFpTo obtain a matrix [ REF1,REF2,REF3,……,REFp]Then, the following method is used to determine the gas treatment mode:
judgment ofIf true, then according to REF1The corresponding processing mode of the gas sensor detecting gas is processed, if the processing mode is not satisfied, the judgment is madeIf true, then according to REF1The gas sensor detects gas and REF2The combination corresponding to the combination of the gas sensor detection gas is processed, if the combination is not satisfied, the judgment is madeIf true, then according to REF1The gas sensor detects gas and REF2The gas sensor detects gas and REF3The combination corresponding to the combination of the gas sensor detection gas is processed, if the combination is not satisfied, the judgment is madeWhether it is true, and so on.
The advantage of determining the gas treatment mode is that the main pollutants in the laboratory are determined by utilizing the corresponding response triangle area of the sensor and are physically or chemically treated, so that the problem of main harmful gas pollution is solved, and the residual small amount of gas can be flexibly treated by adopting ventilation or other modes. The control device stores in advance a combination processing method corresponding to each gas sensor detection gas combination.
Preferably, a moving path of each gas detection module on the track network is preset, the gas detection modules move back and forth periodically along the moving path, the gas detection modules acquire data in real time in the moving process, the control device judges whether the gas detection modules detect the toxic and harmful gas leakage according to the data acquired by the gas detection modules, and when the gas detection modules detect the toxic and harmful gas leakage, the control device determines the toxic and harmful gas leakage area according to the positions of the gas detection modules detecting the toxic and harmful gas leakage in the moving path process.
The gas detection modules move along the track network for detection, so that the number of the gas detection modules in a laboratory can be effectively reduced, and the detection range of a single gas detection module is enlarged.
The invention has the beneficial effects that: the safety condition of laboratory can be effectively monitored, when the laboratory is detected to leak toxic and harmful gas, the alarm can be given in time, and the laboratory personnel are prevented from being damaged.
Drawings
FIG. 1 is a schematic block diagram of a circuit of the present invention;
FIG. 2 is a schematic block diagram of a circuit for a gas detection module;
FIG. 3 is a schematic diagram of one configuration of a track network;
FIG. 4 is a schematic diagram of one configuration of a gas detection module;
FIG. 5 is a bottom view of the gas detection module;
FIG. 6 is a schematic illustration of a region enveloped by a multi-axis vector diagram of calibration signal values for a gas sensor.
In the figure: 1. background server, 2, gas detection module, 3, base, 4, gas sensor, 5, microprocessor, 6, first wireless communication module, 7, controller, 8, alarm module, 9, second wireless communication module, 10, display screen, 11, button, 12, camera, 13, temperature sensor, 14, humidity transducer, 15, smoke transducer, 16, ventilation system, 17, transverse guide rail, 18, longitudinal guide rail, 19, guide disc, 20, motor, 21, arc guide rail, 22, moving mechanism, 23, rail wheel.
Detailed Description
The technical scheme of the invention is further specifically described by the following embodiments and the accompanying drawings.
Example (b): the laboratory safety monitoring system based on the internet of things of the embodiment comprises a background server 1 and a monitoring device arranged in a laboratory, the monitoring device comprises a control device and a toxic and harmful gas detection device, the toxic and harmful gas detection device comprises a latticed track network arranged at the top of the laboratory and six gas detection modules 2 which are arranged on the track network and can move along the track network, the track network comprises a plurality of transverse guide rails 17 and a plurality of longitudinal guide rails 18, a guide disc 19 is arranged at the intersection of the transverse guide rails 17 and the longitudinal guide rails 18, a motor 20 for driving the guide disc 19 to rotate is arranged at the top of the guide disc 19, an arc-shaped guide rail 21 is arranged on the lower surface of the guide disc 19, two ends of the arc-shaped guide rail 21 are respectively connected with the transverse guide rails 17 and the longitudinal guide rails 18, the gas detection modules 2 comprise a base 3, the lower surface of the base 3 is provided with seven different gas sensors 4, the gas sensors 4 are arranged in a circular shape and are arranged at equal intervals along the circular shape, the top of the base 3 is provided with a moving mechanism 22 capable of moving along a guide rail, the base 3 is further provided with a microprocessor 5 and a first wireless communication module 6, the control device comprises a controller 7, an alarm module 8 and a second wireless communication module 9, the microprocessor 5 is respectively connected with the gas sensors 4, the first wireless communication module 6 is electrically connected with the moving mechanism 22, the controller 7 is respectively connected with the alarm module 8, the second wireless communication module 9 is electrically connected with a motor 20, the first wireless communication module 6 can be in wireless communication with the second wireless communication module 9, and the second wireless communication module 9 can be in wireless communication with the background server 1.
Seven different gas sensors 4 are respectively ME4-C6H6 sensor, TD400-SH-MDK sensor, SK-600-C8H10 sensor, TGS-826 sensor, TGS-202 sensor, TGS-825 sensor and ME3-C7H8 sensor.
The ME4-C6H6 sensor is used for detecting benzene, the TD400-SH-MDK sensor is used for detecting acetone gas, the SK-600-C8H10 sensor is used for detecting dimethylbenzene, the TGS-826 sensor is used for detecting ammonia gas, the TGS-202 sensor is used for detecting carbon dioxide, the TGS-825 sensor is used for detecting hydrogen sulfide, and the ME3-C7H8 sensor is used for detecting toluene.
Every gas sensor in the gas detection module is used for detecting a poisonous and harmful gas, and microprocessor reads gas detection module's detection data to send it to controlling means through first wireless communication module, when gas detection module detects that certain poisonous and harmful gas concentration exceeds standard in the laboratory, alarm module sends the warning, and sends alarm information to backend server through second wireless communication module.
The controller can control the guide disc to rotate, when the gas detection module needs to move to a certain specified position of the track network, the controller calculates a path of the gas detection module moving to the specified position, the guide disc on the path is controlled to rotate to enable the transverse guide rail and the longitudinal guide rail which are mutually disconnected to be communicated through the arc-shaped guide rail, and then the gas detection module moves to the specified position along the path.
If the gas detection module only needs to move to a certain specified position along a straight line, if a guide disc is arranged on the straight line, the gas detection module moves along the straight line, when the gas detection module moves to a certain guide disc position, one end of an arc-shaped guide rail on which the guide disc rotates is connected with one end of a current moving line of the gas detection module, then the gas detection module moves to the arc-shaped guide rail of the guide disc, the other end of the arc-shaped guide rail on which the guide disc rotates is connected with one end of a line to be moved below the gas detection module, and finally the gas detection module moves to the line below and continues moving.
The gas detection modules can move along the track network, and can be arranged at positions where important detection is needed according to needs, and the gas detection modules are more flexibly arranged, so that the detection accuracy is guaranteed.
The control device further comprises a display screen 10 and keys 11, and the controller 7 is electrically connected with the display screen 10 and the keys 11 respectively.
The monitoring device further comprises a plurality of cameras 12 arranged at the top of the laboratory, and the controller 7 is electrically connected with the cameras 12. The camera collects images in the laboratory, and the control device sends the images to the background server.
The monitoring device further comprises a temperature sensor 13 and a humidity sensor 14, and the controller 7 is electrically connected with the temperature sensor 13 and the humidity sensor 14 respectively. Temperature sensor detects the interior temperature of laboratory, and humidity transducer detects the interior humidity of laboratory, and when the temperature in the laboratory was not conform to the condition or humidity was not conform to the condition, alarm module sent the warning.
The monitoring device further comprises a smoke sensor 15, and the controller 7 is electrically connected to the smoke sensor 15. When the smoke sensor detects that the smoke concentration in the laboratory exceeds a set value, the alarm module gives an alarm.
The alarm module 8 comprises an alarm lamp and a voice output module, and the controller 7 is electrically connected with the alarm lamp and the voice output module respectively.
The controller 7 is also electrically connected to a ventilation system 16 of the laboratory. When the concentration of the poisonous and harmful gas in the laboratory is detected to exceed the standard, the ventilation system works to discharge the gas in the laboratory to the outside of the laboratory.
The moving mechanism 22 includes two track wheels 23 and a driving module for driving the track wheels 23 to rotate, the two track wheels 23 are respectively located at two sides of the guide rail and are engaged with the guide rail, and the microprocessor 5 is electrically connected with the driving module.
The laboratory safety monitoring method based on the internet of things is used for the laboratory safety monitoring system based on the internet of things, the gas sensor is a metal oxide gas sensor, and the method comprises the following steps:
the control device receives the data output by each gas detection module, analyzes the data output by each gas detection module, and when the control device analyzes that a certain gas detection module detects that toxic and harmful gas leaks, the alarm module gives an alarm;
the method for judging whether a certain gas sensor detects the leakage of the corresponding toxic and harmful gas at the moment t by the control device comprises the following steps:
s1: collecting detection data output by seven different gas sensors of the gas detection module from T-T moment to T moment, and respectively calculating calibration signal values corresponding to the 1 st gas sensor to the seventh gas sensor from T moment T is a time variable, and T is a set constant;
s2: as shown in fig. 6, a multi-axis vector diagram with seven sensor response axes is drawn on a plane by taking the calibration signal of each gas sensor as the sensor response axis, the original points of all the sensor response axes are the same point, and the included angle between two adjacent sensor response axes isAccording to the value of the calibration signalMarking corresponding response points on corresponding sensor response shafts, connecting the response points marked on the adjacent sensor response shafts through straight lines to form a closed space, calculating the area surrounded by the connecting lines of the adjacent sensor response shafts and the upper response points thereof according to the values of the response points and the included angle theta, and obtaining seven area areas Are1(t)、Are2(t)、Are3(t)、……Are7(t);
S3: constructing a sensor response surface envelope area transfer vector [ Are ] at the time t1(t)、Are2(t)、Are3(t)、……Are7(t)]And performing a secondary spline difference to form a sensor response surface envelope area transfer curve Cur (t) at the time t;
s4: inputting Cur (t) into a layer of signal amplification model:
wherein Bar (x, t) is a potential function, x (t) is a motion travel function, m and n are set constants, η (t) is explicit interference, delta (t) is implicit interference,for periodic free-running signaling, f is the signal frequency, t is the model travel time,is the phase, η (t) x3(t) is a calibration component, provided
Calculating the first derivative, the second derivative and the third derivative of Bar (x, t) for x, and making equation equal to 0, obtaining a three-layer signal amplification model:
setting η (t) to 0,the critical value of x (t) is calculated as
Will be a critical valueSubstituted into equation (1), and x is set0(t)=0,sf0When the value is 0, solving the formula (1) by adopting a fourth-order long lattice Kutta algorithm to obtain:
wherein x isn(t) is the nth derivative of x (t), sfn-1Is the value of the n-1 order derivative of input (t) at t ═ 0, snn+1Is the value of the n +1 order derivative of input (t) at t-0, n-0, 1, 2, 3 …, a, b being set constants,
calculating to obtain x1(t),x2(t)…xn+1Value of (t), for x1(t),x2(t)…xn+1(t) integration to x(t)And calculate x(t)Calculating the noise suppression ratio NER at the moment when a second-order signal amplification system consisting of a first-layer signal amplification model and a third-layer signal amplification model generates an extreme value:
wherein,
s5: according to the noise suppression ratio NER output noise suppression ratio curve, selecting the maximum NER in the noise suppression ratio curveMaximum valueIf NER isMaximum valueIf the threshold value is more than K, the toxic and harmful gas leakage is judged to exist at the moment t, step S6 is executed, if NER is not enough, the toxic and harmful gas leakage is judged to exist at the moment tMaximum valueIf the value is less than or equal to the threshold value K, judging that no toxic and harmful gas is leaked at the moment t;
s6: from the value of the calibration signalThe largest value is selected as the maximum calibration signal value Seb(t)Maximum valueConstructing a response triangle corresponding to the t moment for each gas sensor, wherein the length of one side of the response triangle corresponding to the t moment of each gas sensor is Seb 2(t)Maximum valueThe length of the other side is the square of the calibration signal value corresponding to the gas sensor, and the included angle of the two sides is theta (namely, the lengths of the two sides of the response triangle corresponding to the Nth gas sensor are S respectivelyeb 2(t)Maximum value、The angle between the two edges is theta) and the gas transmission is calculated for each gasAnd if the area of the response triangle corresponding to the moment t of a certain gas sensor is larger than the corresponding area threshold value, judging that the toxic and harmful gas detected by the gas sensor leaks at the moment t.
The area is calculated by taking the square of the sensor response value as one side of the triangle instead of using the sensor response value, so that the method has the advantages that the calculation error of the area of the triangle caused by slight error of the sensor response value can be reduced, and the accuracy of detecting corresponding gas leakage by a single sensor is improved. In addition, the method has the advantage that when the components of the mixed gas are detected, the distribution of various components in the detected gas can be more accurately judged, so that the components of the leaked gas can be quickly judged, and important references are given to further treatment schemes.
The area of the triangle corresponding to the Nth gas sensor is SN=0.5×Seb 2(t)Maximum value×SebN 2(t)×sinθ。
The area threshold value of the triangular area corresponding to each gas sensor is preset by a worker, and the area threshold values of the triangular areas corresponding to each gas sensor are different.
The different sensors have different detection signal characteristics, so that the profile ranges of the response surfaces of the sensors are different, the change ranges of the responses of the sensors are reflected to have certain distribution, and how to extract the characteristic information of the response surfaces for representing the properties of the measured object is one of the key points of the invention.
The metal oxide gas sensor has poor selectivity to gas or smell, dispersion of element parameters and unsatisfactory stability, and is easy to cause misjudgment. According to the method, through comprehensive analysis, the interference of other gases on the metal oxide gas sensor can be effectively avoided, the detection precision is improved, and the misjudgment is reduced.
When only one gas sensor detects that the corresponding toxic and harmful gas leaks at the time t, judging that the gas leakage at the time t is single gas leakage; when more than two gas sensors detect that the corresponding toxic and harmful gas leaks at the time t, judging that the gas leakage at the time t is mixed gas leakage, and calculating the ratio of the area of a response triangle corresponding to each gas sensor detecting that the toxic and harmful gas leaks at the time t, wherein the ratio is the ratio of the corresponding toxic and harmful gas measured by each gas sensor in the mixed gas;
such as: at the time t, the TD400-SH-MDK sensor detects acetone gas leakage, the SK-600-C8H10 sensor detects xylene leakage and the TGS-826 sensor detects ammonia leakage, and the area ratio of the corresponding response triangles of the TD400-SH-MDK sensor, the SK-600-C8H10 sensor and the TGS-826 sensor is 1: 2, so that the ratio of acetone gas, xylene and ammonia in the mixed gas is 1: 2.
When P gas sensors detect that the corresponding toxic and harmful gas leaks at the moment t, P is more than or equal to 2, the control device arranges the areas of the response triangles corresponding to the gas sensors at the moment t from large to small in sequence, and the area of the response triangle with the maximum moment t is used as a first reference area REF1The second largest response triangle area at time t is taken as the second reference area REF2… …, the area of the response triangle whose time at Pth is large at time t is taken as the Pth reference area REFpTo obtain a matrix [ REF1,REF2,REF3,……,REFp]Then, the following method is used to determine the gas treatment mode:
judgment ofIf true, then according to REF1The corresponding processing mode of the gas sensor detecting gas is processed, if the processing mode is not satisfied, the judgment is madeIf true, then according to REF1The gas sensor detects gas and REF2The combination corresponding to the combination of the gas sensor detection gas is processed, if the combination is not satisfied, the judgment is madeIf true, then according to REF1The gas sensor detects gas and REF2The gas sensor detects gas and REF3The combination corresponding to the combination of the gas sensor detection gas is processed, if the combination is not satisfied, the judgment is madeWhether it is true, and so on.
The advantage of determining the gas treatment mode is that the main pollutants in the laboratory are determined by utilizing the corresponding response triangle area of the sensor and are physically or chemically treated, so that the problem of main harmful gas pollution is solved, and the residual small amount of gas can be flexibly treated by adopting ventilation or other modes.
The control device stores in advance a combination processing method corresponding to each gas sensor detection gas combination.
In step S1, a calibration signal value corresponding to the nth gas sensor at time t is calculatedThe method comprises the following steps:
calculating the average value AV of the detection data output by the Nth gas sensor from the T-T moment to the T momentN(T) selecting the maximum value HA in the detection data output by the Nth gas sensor from the time T-T to the time TN(t), minimum value LAN(t);
Calculated by the following formula
The moving path of each gas detection module on the track network is preset, the gas detection modules move in a reciprocating mode along the moving path periodically, the gas detection modules collect data in real time in moving, the control device judges whether the gas detection modules detect toxic and harmful gas leakage according to the data collected by the gas detection modules, and when the gas detection modules detect the toxic and harmful gas leakage, the control device determines the area where the toxic and harmful gas leakage occurs according to the position where the gas detection modules detect the toxic and harmful gas leakage in the moving path process.
The gas detection modules move along the track network for detection, so that the number of the gas detection modules in a laboratory can be effectively reduced, and the detection range of a single gas detection module is enlarged.