CN108196491B - Tramcar internal environment real-time monitoring system and working method thereof - Google Patents
Tramcar internal environment real-time monitoring system and working method thereof Download PDFInfo
- Publication number
- CN108196491B CN108196491B CN201810307649.6A CN201810307649A CN108196491B CN 108196491 B CN108196491 B CN 108196491B CN 201810307649 A CN201810307649 A CN 201810307649A CN 108196491 B CN108196491 B CN 108196491B
- Authority
- CN
- China
- Prior art keywords
- data
- resistance ratio
- humidity
- sensor
- monitoring system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 68
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims abstract description 38
- 238000005457 optimization Methods 0.000 claims abstract description 11
- 230000000087 stabilizing effect Effects 0.000 claims description 24
- 230000006855 networking Effects 0.000 claims description 21
- 230000005059 dormancy Effects 0.000 claims description 11
- 229910052739 hydrogen Inorganic materials 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 6
- 229910052799 carbon Inorganic materials 0.000 claims description 5
- 238000006467 substitution reaction Methods 0.000 claims description 2
- 239000007789 gas Substances 0.000 description 57
- 230000007958 sleep Effects 0.000 description 9
- 239000003990 capacitor Substances 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000007613 environmental effect Effects 0.000 description 7
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 description 6
- UGFAIRIUMAVXCW-UHFFFAOYSA-N Carbon monoxide Chemical compound [O+]#[C-] UGFAIRIUMAVXCW-UHFFFAOYSA-N 0.000 description 5
- 229910002091 carbon monoxide Inorganic materials 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- ATUOYWHBWRKTHZ-UHFFFAOYSA-N Propane Chemical compound CCC ATUOYWHBWRKTHZ-UHFFFAOYSA-N 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- NNPPMTNAJDCUHE-UHFFFAOYSA-N isobutane Chemical compound CC(C)C NNPPMTNAJDCUHE-UHFFFAOYSA-N 0.000 description 2
- 208000001408 Carbon monoxide poisoning Diseases 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000001257 hydrogen Substances 0.000 description 1
- 125000004435 hydrogen atom Chemical class [H]* 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000001282 iso-butane Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 239000001294 propane Substances 0.000 description 1
- 230000004622 sleep time Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2612—Data acquisition interface
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
The utility model provides a real-time monitoring system for the environment in a tramcar and a working method thereof. The method comprises the following steps: the sensor node acquires a wake-up instruction, wakes up the air detection sensor group to acquire data, and acquires acquired data; the sensor node performs data optimization on the acquired data according to a preset mode, and sends the optimized acquired data to the monitoring terminal through the correspondingly connected wireless routing node; and the monitoring terminal displays the optimized acquired data in real time. The utility model can monitor the gas concentration in the vehicle in real time and improve the monitoring precision.
Description
Technical Field
The utility model relates to the technical field of in-car gas detection, in particular to a tramcar in-car environment real-time monitoring system and a working method of the tramcar in-car environment real-time monitoring system.
Background
Along with the development of the times, the tramcar has completed the transition from the traditional to the modern, and the modern tramcar is used as a public transportation system between urban rapid rail transit and a conventional public transportation mode, has the characteristics of reliable operation, comfort, energy conservation, environmental protection and the like, can effectively solve the social problems of common properties such as urban traffic jam, traffic pollution and the like, and is very suitable for the requirements of low-carbon and rapid transportation of modern cities. However, modern tramcars do not have a perfect intelligent monitoring system like advanced cars, trains, high-speed rails and the like for the environment in the car, and some modern tramcars can monitor flammable dangerous goods such as gasoline by using a non-contact detection system deployed at the entrance of the tramcar or a chemical sensor in the car, but cannot dynamically detect the air quality and harmful gas in the car in real time.
In recent years, various portable gas detection systems with small volume and simple operation have been popular in the market, and in the chinese patent application No. CN201720046942.2, a vehicle-mounted gas detection device is disclosed. The device comprises a detection head, a carbon monoxide sensor, a ZigBee module, a controller, an alarm and a relay switch; the carbon monoxide sensor and the ZigBee module are both arranged inside the detection head, and the carbon monoxide sensor is connected with the ZigBee module; the ZigBee module is also arranged in the vehicle body, and the controller is arranged in the vehicle body and connected with the ZigBee module; the controller is respectively connected with a relay switch and an alarm which are arranged in the vehicle body, and the relay switch is connected in series in a power supply circuit of the vehicle. The device can monitor the concentration of carbon monoxide gas inside and outside the vehicle at any time, and avoid the occurrence of carbon monoxide poisoning of personnel. However, the device is designed for automobiles, mainly detected gas mainly enters automobile tail gas of a carriage through external circulation, a modern tramcar is electrically driven, the gas cannot appear, the device cannot dynamically display monitoring values in real time, and each feedback is only designed for automobiles, so that the device cannot be applied to the modern tramcar.
In the chinese patent application No. CN201620684893.0, a mobile terminal for permitting operation for communication with a dangerous gas detector is disclosed, the terminal uses a bluetooth module to send collected data to the terminal and display the collected data on a display module, but the bluetooth communication technology has many drawbacks, and the characteristic of short communication distance of the bluetooth technology results in that the device cannot be applied to a long and narrow space of a modern tram, and has higher power consumption, and does not conform to the design concept of energy conservation and environmental protection of the modern tram.
The equipment has a plurality of defects, the requirements of the modern tram can not be well met, the market is rarely met, the environmental safety monitoring device which can be transplanted to the modern tram is far fewer, and most of the equipment has potential to be transplanted because the equipment is not compatible because the unique environment of the modern tram is not considered, for example, the ZIGBEE-based wearable gas detection alarm network disclosed in the Chinese patent application No. CN2015120629180. X is very suitable for the requirements of the environmental safety detection of the modern tram in all aspects, but the special closed environment of the modern tram is not considered during data acquisition, and proper algorithm and network structure are designed, so that the acquired data error is large, and meanwhile, the problem of real-time dynamic display on a screen is not considered.
Therefore, in the face of the current situation of rapid development of modern tram, it is highly desirable to effectively monitor various environmental indexes of temperature and humidity, air quality and abnormal gases (such as combustible gases including methane and ethanol) in the tram in real time, so as to ensure the operation safety of the tram.
Disclosure of Invention
The utility model mainly aims to provide a tramcar internal environment real-time monitoring system capable of monitoring the concentration of gas in a car in real time.
The utility model further aims to provide a working method of the tramcar in-car environment real-time monitoring system, which can monitor the gas concentration in the car in real time and improve the monitoring precision.
In order to achieve the main purpose, the real-time monitoring system for the environment in the tramcar provided by the utility model comprises a monitoring terminal, a main controller, at least one wireless routing node and more than two sensor nodes, wherein the wireless routing node is connected with the main controller through a wireless network, and the wireless routing node is connected with the corresponding sensor nodes through a multicast mode; the sensor node comprises a wireless main control chip, an air detection sensor group and a power supply circuit, wherein the power supply circuit provides power for the wireless main control chip and the air detection sensor group, and the air detection sensor group sends acquisition data to the wireless main control chip; the wireless routing node acquires the acquired data of the corresponding sensor node, and the wireless routing node sends the acquired data to the main controller; and the main controller sends the acquired data to the monitoring terminal.
According to the scheme, the real-time monitoring system for the environment in the tramcar realizes data acquisition of temperature and humidity, air quality, abnormal gas and the like in the tramcar through various sensors, performs data transmission through a wireless sensor network, and sends the data to an upper computer through a serial port after a coordinator node receives the data sent by a terminal node, so that the functions of automatic storage of the data, dynamic curve display, monitoring, alarm and the like of the temperature and humidity and various gas concentrations in the tramcar are realized on the upper computer.
In a further scheme, the sensor node further comprises a serial circuit, and the serial circuit is electrically connected with the wireless main control chip.
Therefore, the sensor node can perform data transmission through wireless communication, and can also perform data transmission through the serial circuit, so that the diversity of data transmission is increased, and the application range of the sensor node is increased.
In a further scheme, the sensor node further comprises an indicator light, and the indicator light is electrically connected with the wireless main control chip.
Therefore, the indicator lamp is arranged, so that a user can know the working state of the sensor node, and whether the sensor node works normally or not can be judged conveniently.
In a further scheme, the sensor node further comprises a key circuit, and the key circuit is electrically connected with the wireless main control chip.
Thus, by setting the key circuit, the sensor node can be reset or switched.
In a further aspect, the power supply circuit includes a rechargeable battery and a voltage stabilizing circuit, the rechargeable battery being electrically connected to the voltage stabilizing circuit.
Therefore, in order to prevent the power circuit from loosening and power failure caused by vibration when the vehicle walks, a rechargeable battery is arranged on the power circuit, so that the sensor node can collect data without power failure.
In order to achieve the other object, the working method of the in-car environment real-time monitoring system for the tram provided by the utility model comprises the following steps: the sensor node acquires a wake-up instruction, wakes up the air detection sensor group to acquire data, and acquires acquired data; the sensor node performs data optimization on the acquired data according to a preset mode, and sends the optimized acquired data to the monitoring terminal through the correspondingly connected wireless routing node; and the monitoring terminal displays the optimized acquired data in real time.
According to the scheme, the working method of the real-time monitoring system for the environment in the tramcar enables collected data to be more accurate through data optimization on the collected data at the sensor nodes. Meanwhile, the monitoring terminal displays the acquired data in real time, so that a user can know the indoor environment of the tramcar in real time.
In a further scheme, the sensor node performs data optimization on the acquired data according to a preset mode, and the method comprises the following steps: acquiring humidity data and temperature data acquired by an air detection sensor group, and measuring a resistance ratio value measured by a sensor corresponding to the gas to be measured; judging whether the resistance ratio falls on a preset threshold value, if not, obtaining a fitting curve of the gas concentration and the resistance ratio according to the humidity data and the temperature data; and obtaining the concentration value of the gas to be measured according to the resistance ratio measured by the sensor corresponding to the fitting curve and the gas to be measured.
Therefore, considering that the modern tramcar is a narrow and long closed space and has large people flow, the target gas is easily influenced by other irrelevant factors, the original data of the target gas need to be compensated before the final data of the target gas are acquired, specifically, the influence of the irrelevant factors such as temperature, humidity, interference gas concentration and the like need to be abstracted out when a program is written, a compensation algorithm is designed, then the influence of the target gas concentration is abstracted out, a concentration acquisition algorithm is designed, and the final expected target gas concentration value can be obtained by combining the compensation algorithm with the concentration acquisition algorithm.
In a further scheme, before the sensor node obtains the wake-up instruction, the working method of the tramcar environment real-time monitoring system further comprises the following steps: and the sensor node sends a networking request to the wireless routing node, and confirms whether networking is successful or not according to the networking request feedback returned by the wireless routing node.
Therefore, when data acquisition is performed, network connection is required, and because the sensor nodes and the router nodes are connected in a multicast mode, each sensor node has a corresponding router node, so the sensor nodes need to send networking requests to the corresponding router nodes, and data transmission can be performed after successful networking.
In a further scheme, after the sensor node sends the optimized acquired data to the monitoring terminal through the correspondingly connected wireless routing node, the working method of the real-time monitoring system for the environment in the tramcar further comprises the following steps: and the sensor node acquires a dormancy instruction, and dormancy is performed on the air detection sensor group according to the dormancy instruction.
Therefore, after data are sent, the sensor node performs dormancy operation on the air detection sensor group, so that electric energy can be saved, and the energy is saved and the environment is protected.
In a further scheme, the real-time display of the optimized collected data by the monitoring terminal comprises: and confirming the sensor node to which the acquired optimized acquisition data belongs, drawing a chart according to the optimized acquisition data corresponding to the sensor node, and displaying the chart on a monitoring terminal.
Therefore, when the collected data is displayed, the collected data can be displayed in a chart, and the user can check conveniently.
Drawings
FIG. 1 is a system block diagram of an embodiment of the in-car environment real-time monitoring system of the present utility model.
Fig. 2 is a block diagram of a circuit structure of a sensor node in an embodiment of the real-time monitoring system for the environment in a tram car according to the present utility model.
Fig. 3 is a schematic circuit diagram of a power supply circuit of a sensor node in an embodiment of the real-time monitoring system of the present utility model for the environment in a tram.
Fig. 4 is a flowchart of an embodiment of a method of operating the in-car environment real-time monitoring system of the present utility model.
FIG. 5 is a graph showing the variation of the resistance ratio due to the influence of humidity and temperature in an embodiment of the method for operating the real-time monitoring system in the tram of the present utility model.
FIG. 6 is a graph showing the variation of the resistance ratio with the variation of the gas concentration in an embodiment of the method for operating the system for monitoring the environment in a tramcar according to the present utility model.
The utility model is further described below with reference to the drawings and examples.
Detailed Description
As shown in fig. 1, the system for monitoring the environment in a tramcar in real time comprises a monitoring terminal 1, a main controller 2, at least one wireless routing node 3 and at least two sensor nodes 4, wherein the wireless routing node 3 and the sensor nodes 4 can be distributed and installed in the tramcar according to the requirement. The wireless routing node 3 is connected with the main controller 2 through a wireless network, and the wireless routing node 3 is connected with the corresponding sensor node 4 through a multicast mode. The monitoring terminal 1 is electrically connected with the main controller 2 through a serial port data line. Preferably, a ZIGBEE wireless network is adopted between the main controller 2 and the wireless routing node 3, and a ZIGBEE wireless network is adopted between the wireless routing node 3 and the sensor node 4. The monitor terminal 1 may be an intelligent terminal device such as a desktop computer, a notebook computer, or a palm computer.
Referring to fig. 2, the sensor node 4 includes a wireless main control chip 40, an air detection sensor group 41, a serial circuit 42, an indicator light 43, a key circuit 44, and a power circuit 45, wherein the power circuit 45 provides power to the wireless main control chip 40, the air detection sensor group 41, the serial circuit 42, the indicator light 43, and the key circuit 44, and the air detection sensor group 41, the serial circuit 42, the indicator light 43, and the key circuit 44 are electrically connected with the wireless main control chip 40, respectively. The air detection sensor group 41 is used for collecting concentration data of gas in air, and in this embodiment, the air detection sensor group 41 includes a temperature and humidity sensor, a carbon monoxide gas sensor, a methane gas sensor, an ethanol gas sensor, a propane gas sensor, an isobutane gas sensor and a hydrogen sensor. The serial circuit 42 is used for being connected with an external circuit and performing data interaction, the indicator light 43 is used for indicating the working state of the sensor node 4, and the key circuit 44 is used for resetting the sensor node 4. The air detection sensor group 41 sends acquired data to the wireless main control chip 40, the wireless routing node 3 acquires the acquired data of the corresponding sensor node 4, the wireless routing node 3 sends the acquired data to the main controller 2, and the main controller 2 sends the acquired data to the monitoring terminal 1. Preferably, the wireless master control chip 40 is a control chip of model CC 2530.
Referring to fig. 3, the power circuit 45 includes a power socket J1, a rechargeable battery B1, a power switch K, a first voltage stabilizing circuit 451 and a second voltage stabilizing circuit 452, where the rechargeable battery B1 is electrically connected to the first voltage stabilizing circuit 451 and the second voltage stabilizing circuit 452 through the power switch K, a branch circuit of the rechargeable battery B1 and the power switch K is further provided with a safety seat F and a voltage stabilizing diode D, and the power socket J1 is electrically connected to the branch circuit of the safety seat F and the voltage stabilizing diode D. The power jack J1 can supply power to the first voltage stabilizing circuit 451 and the second voltage stabilizing circuit 452 and charge the rechargeable battery B1 when the external power is connected, and the rechargeable battery B1 supplies power to the first voltage stabilizing circuit 451 and the second voltage stabilizing circuit 452 when the external power is not connected to the power jack J1.
The first voltage stabilizing circuit 451 includes a first voltage stabilizing chip U1 and a filter circuit formed by connecting a capacitor C1 and a capacitor C2 in parallel, and the filter circuit formed by connecting the capacitor C1 and the capacitor C2 in parallel is electrically connected to an output terminal of the first voltage stabilizing chip U1. Preferably, the first voltage stabilizing chip U1 is a voltage stabilizing chip of AMS1117-5.0 type. The second voltage stabilizing circuit 452 includes a second voltage stabilizing chip U2 and a filter circuit formed by connecting a capacitor C3 and a capacitor C4 in parallel, where the filter circuit formed by connecting the capacitor C3 and the capacitor C4 in parallel is electrically connected to the output end of the second voltage stabilizing chip U2. Preferably, the second voltage stabilizing chip U2 is a voltage stabilizing chip of AMS1117-3.3 model.
In order to better illustrate the utility model, the working method of the real-time monitoring system for the environment in the tram car is described below.
As shown in fig. 4, when the real-time monitoring system for the environment in the tramcar of the present utility model detects air, step S1 is executed first, and the sensor node 4 sends a networking request to the wireless routing node 3, and determines whether networking is successful according to the networking request feedback returned by the wireless routing node 3. When data acquisition is performed, network connection is required first, and because the sensor nodes 4 and the router nodes 3 are connected in a multicast mode, each sensor node 4 has a corresponding router node 3, and therefore, the sensor nodes 4 need to send networking requests to the corresponding router nodes 3. When the router node 3 acquires the networking request, whether the networking is required to be performed or not is authenticated according to networking request information, if yes, networking request feedback of successful networking is returned. The sensor node 4 acquires the feedback of the networking request and confirms whether the networking request is successful, and if the networking request is successful, the state of data acquisition or data transmission can be entered.
After the networking is successful, step S2 is executed, and the sensor node 4 acquires a wake-up instruction to wake up the air detection sensor group 41 for data acquisition, so as to obtain acquisition data. The step of the sensor node 4 obtaining a wake-up instruction comprises: judging whether the current time is preset wake-up time or not, if so, acquiring a wake-up instruction; or when the external wake-up instruction is acquired, the wake-up instruction is acquired. The preset wake-up time can be set by a program developer or set by a user according to needs. When the sensors in the air detection sensor group 41 are awakened, all the sensors can be awakened, and the sensors can be awakened in a time-sharing manner as required to save electric energy. The external wake-up instruction may be a wake-up instruction sent by the monitor terminal 1, and the user may wake up the sensor that needs to view data according to real-time requirements. When the sensor node 4 acquires the wake-up instruction, the sensor in the air detection sensor group 41 is subjected to wake-up operation according to the wake-up instruction, so that the sensor can perform data acquisition to acquire acquisition data.
After the air detection sensor group 41 obtains the collected data, step S3 is executed, and the sensor node 4 performs data optimization on the collected data according to a preset manner, and sends the optimized collected data to the monitoring terminal 1 through the wireless routing node 3 correspondingly connected.
The sensor in the air detection sensor group 41 mainly depends on the built-in resistor to work due to the change of the concentration of the gas to be detected, and the built-in resistor of the sensor is easily influenced by the external environment in the measuring process due to the influence of the process, so that the inaccuracy of data is caused, and although the sensor can be compensated by using a neural network algorithm at present, a certain error still exists, so that an intelligent optimization algorithm is needed to reduce the error. Each type of sensor can be detected and calibrated before leaving the factory, the influence of external environment factors on the type of sensor can be detected, and a characteristic curve of corresponding environment influence factors and resistance ratio and a characteristic curve of the gas to be detected and the resistance ratio can be provided during sales, so that a user can better apply the sensor. However, since the characteristic curves provided by the manufacturer are only a few known characteristic curves, calculation is required if data other than the characteristic curves is to be acquired.
In the utility model, the preset optimization algorithm is to acquire data outside the characteristic curve through the characteristic curve of the ratio of the environmental influence factors to the resistance. In this embodiment, the resistive sensor is mainly affected by temperature and humidity, so that the compensation algorithm is designed first, the influence of temperature, humidity and concentration of interference gas is abstracted, the concentration acquisition algorithm is designed again, the influence of target gas concentration is abstracted, the compensation algorithm and the concentration acquisition algorithm are combined to obtain the final desired target gas concentration value, and the specific process of calculating the target gas concentration value will be described in detail below.
In this embodiment, the step of performing data optimization on the collected data by the sensor node 4 according to the preset manner includes: acquiring humidity data and temperature data acquired by the air detection sensor group 41, and measuring a resistance ratio value measured by a sensor corresponding to the gas to be measured; judging whether the resistance ratio falls on a preset threshold value, if not, obtaining a fitting curve of the gas concentration and the resistance ratio according to the humidity data and the temperature data; and obtaining the concentration value of the gas to be measured according to the resistance ratio measured by the sensor corresponding to the fitting curve and the gas to be measured.
For example, a sensor of the TGS813 type has a characteristic curve of the resistance ratio changing under the influence of humidity and temperature as shown in fig. 5, and a characteristic curve of the resistance ratio changing with the change of the gas concentration as shown in fig. 6.
When the acquired data of the TGS813 type sensor is optimized, if the acquired humidity at the same time point is H 0 % RH, temperature T 0 A resistance ratio measured by a sensor of TGS813 model B 0 . Judging the resistance ratio B 0 Whether it falls on a preset threshold. The preset threshold is set based on a characteristic curve of known resistance ratio as a function of gas concentration. When judging the resistance ratio B 0 When the resistance value falls on a preset threshold value, the concentration of the gas to be detected can be obtained directly according to the characteristic curve of the change of the resistance ratio along with the change of the gas concentration.
When judging the resistance ratio B 0 When the humidity does not fall on the preset threshold value, the minimum range of the humidity and the temperature of the collected data is confirmed, for example, the humidity H 0 % RH falls to H 1 % RH and H 2 % RH, temperature T 0 Fall at T DEG C 1 DEG C and T 2 Between c. Then, a straight line of humidity-to-resistance ratio is fitted when the temperature is at the interval point. Will (H) 1 %RH,T 1 DEG C) and (H) 2 %RH,T 1 DEG C) and (H) 1 %RH,T 2 DEG C) and (H) 2 %RH,T 2 C) are substituted into known points of the characteristic curve of the resistance ratio that changes under the influence of humidity and temperature, respectively (see e.g., fig. 5), to obtain the corresponding humidity-to-resistance ratio. Performing straight line fitting by using the ratio of humidity to resistance to obtain temperatureDegree of T 1 Relation curve of humidity versus resistance ratio at c: b (B) 1 =A 1 H+C 1 Wherein B is 1 Representing T 1 Resistance ratio at DEG C, H represents humidity, A 1 And C 1 Is a constant; at a temperature T 2 Relation curve of humidity versus resistance ratio at c: b (B) 2 =A 2 H+C 2 Wherein B is 2 Representing T 2 Resistance ratio at DEG C, H represents humidity, A 2 And C 2 Is constant. Then, the temperature and resistance ratio is subjected to linear fitting to measure the humidity H 0 % RH is substituted into B respectively 1 =A 1 H+C 1 And B 2 =A 2 H+C 2 Obtaining the resistance ratio B 1 And B 2 . Will (T) 1 ℃,B 1 ) And (T) 2 ℃,B 2 ) Fitting to obtain a relation curve of temperature and resistance ratio: b (B) 3 =A 3 T+C 3 Wherein the humidity H is in the range of H 1 %RH<H<H 2 %RH,B 3 The resistance ratio at this humidity is represented by T, the temperature is represented by A 3 And C 3 Is constant. Then, the measured temperature T 0 Substitution of C into B 3 =A 3 T+C 3 Obtaining an in-sensor resistance value B under the environment 3 According to formula B C =B 0 /B 3 Obtaining a corrected resistance ratio B C 。
Obtaining a corrected resistance ratio B C Then, the resistance ratio B is found out according to the characteristic curve (shown in FIG. 6) of the resistance ratio changing with the change of the gas concentration C Between the minimum regions (B 4 ,B 5 ) And a known point (P 1 ,B 4 )、(P 2 ,B 5 ) For a known point (P 1 ,B 4 )、(P 2 ,B 5 ) Fitting to obtain a relation curve of the concentration and the resistance ratio of the gas to be measured: p=a 4 B+C 4 Wherein B is 4 <B<B 5 P represents gas concentration, B represents resistance ratio, A 4 And C 4 Is constant. Substituting the corrected resistance ratio into p=a 4 B+C 4 Then it can be obtainedAnd outputting the gas concentration value of the gas to be measured at the moment by the corresponding gas concentration at the moment.
After obtaining optimized collected data such as concentration values of gas to be detected and the like, the sensor node 4 sends the optimized collected data to the wireless routing node 3 which is correspondingly connected, the wireless routing node 3 forwards the collected data to the main controller 2, and the main controller 2 finally sends the optimized collected data to the monitoring terminal 1.
After the sensor node 4 sends the optimized collected data to the wireless routing node 3 correspondingly connected, step S4 is executed, the sensor node 4 obtains a sleep instruction, and the air detection sensor group 41 is dormant according to the sleep instruction. The step of the sensor node 4 obtaining the sleep instruction includes: judging whether the current time is a preset dormancy time or not, if so, acquiring a dormancy instruction; or when the external dormancy instruction is acquired, acquiring the dormancy instruction. The preset sleep time can be set by a program developer or set by a user according to requirements. When the sensors in the air detection sensor group 41 are dormant, all the sensors can be dormant, and the sensors can be dormant in a time-sharing manner according to the needs so as to save electric energy. The external sleep instruction may be a sleep instruction transmitted by the monitor terminal 1, and the user may sleep the sensor according to real-time needs. When the sensor node 4 acquires the sleep instruction, the sleep operation is performed on the sensors in the air detection sensor group 41 according to the sleep instruction, so that electric energy is saved.
After the monitoring terminal 1 obtains the optimized collected data, step S5 is executed, and the monitoring terminal 1 displays the optimized collected data in real time. When the display is performed, the data is displayed on the display screen of the monitoring terminal 1 through analysis of the data. For example, the temperature and humidity and the concentration of the gas to be measured are dynamically displayed on a display screen, and are displayed in a curve form. When a certain environmental parameter exceeds a standard, such as when the alcohol concentration in the vehicle exceeds the standard, displaying the current alcohol concentration on a display screen and indicating the approximate position of the exceeding standard by using a node; in addition, the detection center computer can store historical data and can be used for real-time calling, so that the detection center computer can be used for analyzing the environment in the vehicle and is beneficial to the adjustment of an air conditioning system.
As can be seen from the above, the real-time monitoring system for the environment in the tramcar realizes data acquisition of temperature and humidity, air quality, abnormal gas and the like in the tramcar through various sensors, and performs data transmission based on a wireless sensor network, and after receiving data sent by a terminal node, a coordinator node sends the data to an upper computer through a serial port, so that the functions of automatic storage of the data, dynamic curve display, monitoring and alarm of the temperature and humidity and various gas concentrations in the tramcar are realized on the upper computer. Meanwhile, when the sensor node performs data acquisition, data acquired by the air detection sensor group are optimized, so that the acquired data are more accurate.
It should be noted that the foregoing is only a preferred embodiment of the present utility model, but the design concept of the present utility model is not limited thereto, and any insubstantial modifications made to the present utility model by using the concept fall within the scope of the present utility model.
Claims (9)
1. The working method of the in-tram environment real-time monitoring system is applied to the in-tram environment real-time monitoring system and is characterized in that the in-tram environment real-time monitoring system comprises a monitoring terminal, a main controller, at least one wireless routing node and more than two sensor nodes, wherein the wireless routing node is connected with the main controller through a wireless network, and the wireless routing node is connected with the corresponding sensor nodes through a multicast mode; the sensor node comprises a wireless main control chip, an air detection sensor group and a power supply circuit, wherein the power supply circuit provides power for the wireless main control chip and the air detection sensor group, and the air detection sensor group sends acquired data to the wireless main control chip; the wireless routing node acquires the acquired data of the corresponding sensor node, and the wireless routing node sends the acquired data to the main controller; the main controller sends the acquired data to the monitoring terminal;
the method comprises the following steps:
the sensor node acquires a wake-up instruction, wakes up the air detection sensor group to acquire data, and acquires acquired data;
the sensor node performs data optimization on the acquired data according to a preset mode, and sends the optimized acquired data to the monitoring terminal through the correspondingly connected wireless routing node;
the monitoring terminal displays the optimized acquired data in real time;
the sensor node performs data optimization on the acquired data according to a preset mode, and the data optimization includes: acquiring humidity data and temperature data acquired by the air detection sensor group, and measuring a resistance ratio value measured by a sensor corresponding to the gas to be measured; judging whether the resistance ratio falls on a preset threshold value, if not, obtaining a fitting curve of gas concentration and resistance ratio according to the humidity data and the temperature data, and obtaining a concentration value of the gas to be detected according to the fitting curve and the resistance ratio measured by a sensor corresponding to the gas to be detected;
the obtaining a fitting curve of a gas concentration and a resistance ratio according to the humidity data and the temperature data, and obtaining a concentration value of the gas to be measured according to the fitting curve and the resistance ratio measured by the sensor corresponding to the gas to be measured includes: confirming the minimum interval of humidity and temperature in the acquired data, wherein the humidity H 0 % RH falls to H 1 % RH and H 2 % RH, T 0 Fall at T DEG C 1 DEG C and T 2 Between DEG C; then, a straight line of the ratio of the humidity to the resistance when the temperature is at the interval point is fitted, and (H 1 %RH,T 1 DEG C) and (H) 2 %RH,T 1 DEG C) and (H) 1 %RH,T 2 DEG C) and (H) 2 %RH,T 2 DEG C) are respectively substituted into known points of a characteristic curve of the resistance ratio which is changed under the influence of the humidity and the temperature to obtain the corresponding humidity and the resistance ratio, and the humidity and the resistance ratio are utilized to carry out linear fitting to obtain the temperature T 1 At a temperature of C, the humidity to the resistance ratioValue dependence: b (B) 1 =A 1 H+C 1 Wherein B is 1 Representing T 1 Resistance ratio at DEG C, H represents humidity, A 1 And C 1 Is a constant; the temperature is T 2 A plot of the humidity versus the resistance ratio at c: b (B) 2 =A 2 H+C 2 Wherein B is 2 Representing T 2 Resistance ratio at DEG C, H represents humidity, A 2 And C 2 Is a constant; fitting a straight line of the ratio of the temperature to the resistance to obtain the humidity H 0 % RH is substituted into B respectively 1 =A 1 H+C 1 And B 2 =A 2 H+C 2 Obtaining the resistance ratio B 1 And B 2 The method comprises the steps of carrying out a first treatment on the surface of the Will (T) 1 ℃,B 1 ) And (T) 2 ℃,B 2 ) Fitting to obtain a relation curve of temperature and resistance ratio: b (B) 3 =A 3 T+C 3 Wherein the humidity H is in the range of H 1 %RH<H<H 2 %RH,B 3 The resistance ratio at this humidity is represented by T, the temperature is represented by A 3 And C 3 Is a constant; will actually measure the temperature T 0 Substitution of C into B 3 =A 3 T+C 3 Obtaining an in-sensor resistance value B under the environment 3 According to formula B C =B 0 /B 3 Obtaining a corrected resistance ratio B C The method comprises the steps of carrying out a first treatment on the surface of the Finding out the resistance ratio B according to the characteristic curve of the resistance ratio changing along with the change of the gas concentration C Between the minimum regions (B 4 ,B 5 ) And a known point (P 1 ,B 4 )、(P 2 ,B 5 ) For the known point (P 1 ,B 4 )、(P 2 ,B 5 ) Fitting to obtain a relation curve of the concentration and the resistance ratio of the gas to be measured: p=a 4 B+C 4 Wherein B is 4 <B<B 5 P represents gas concentration, B represents resistance ratio, A 4 And C 4 Is a constant; substituting the corrected resistance ratio into p=a 4 B+C 4 And obtaining the corresponding gas concentration value at the moment.
2. The method for operating a real-time monitoring system for the environment in a tram according to claim 1, characterized in that,
before the sensor node obtains the wake-up instruction, the method further comprises:
and the sensor node sends a networking request to the wireless routing node, and confirms whether networking is successful or not according to the networking request feedback returned by the wireless routing node.
3. The method for operating a real-time monitoring system for the environment in a tram according to claim 1, characterized in that,
after the sensor node sends the optimized acquired data to the monitoring terminal through the wireless routing node which is correspondingly connected, the method further comprises the following steps:
and the sensor node acquires a dormancy instruction, and dormancy the air detection sensor group according to the dormancy instruction.
4. A method for operating a real-time monitoring system for the environment in a tram car according to any one of claims 1 to 3, characterized in that,
the monitoring terminal displays the optimized acquired data in real time, and the method comprises the following steps:
and confirming the sensor node to which the acquired optimized acquisition data belongs, drawing a chart according to the optimized acquisition data corresponding to the sensor node, and displaying the chart on a monitoring terminal.
5. A tram in-car environment real-time monitoring system, characterized in that the tram in-car environment real-time monitoring system is operated by adopting the working method of the tram in-car environment real-time monitoring system according to any one of claims 1 to 4.
6. The tram car environment real-time monitoring system according to claim 5, wherein,
the sensor node further comprises a serial circuit, and the serial circuit is electrically connected with the wireless main control chip.
7. The tramcar environment real-time monitoring system according to claim 5 or 6, wherein,
the sensor node further comprises an indicator light, and the indicator light is electrically connected with the wireless main control chip.
8. The tramcar environment real-time monitoring system according to claim 5 or 6, wherein,
the sensor node further comprises a key circuit, and the key circuit is electrically connected with the wireless main control chip.
9. The tramcar environment real-time monitoring system according to claim 5 or 6, wherein,
the power supply circuit comprises a rechargeable battery and a voltage stabilizing circuit, and the rechargeable battery is electrically connected with the voltage stabilizing circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810307649.6A CN108196491B (en) | 2018-04-08 | 2018-04-08 | Tramcar internal environment real-time monitoring system and working method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810307649.6A CN108196491B (en) | 2018-04-08 | 2018-04-08 | Tramcar internal environment real-time monitoring system and working method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108196491A CN108196491A (en) | 2018-06-22 |
CN108196491B true CN108196491B (en) | 2023-12-29 |
Family
ID=62596408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810307649.6A Active CN108196491B (en) | 2018-04-08 | 2018-04-08 | Tramcar internal environment real-time monitoring system and working method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108196491B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114636443A (en) * | 2022-03-11 | 2022-06-17 | 山东交通学院 | Subway carriage environment monitoring method and system based on wireless transmission |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007248288A (en) * | 2006-03-16 | 2007-09-27 | Fujitsu Ltd | Method of correcting temperature characteristic and amplification circuit for sensor |
EP2093644A2 (en) * | 2008-02-23 | 2009-08-26 | Techem Energy Services GmbH | Method and device for influencing a temperature measurement at the entry to a heating regulator |
JP2011215129A (en) * | 2010-03-16 | 2011-10-27 | Renesas Electronics Corp | Temperature sensor, semiconductor device, and method of calibrating the semiconductor device |
CN102377801A (en) * | 2010-08-19 | 2012-03-14 | 中国科学院计算技术研究所 | Sensor network for environmental monitoring and data transmission method |
CN102612108A (en) * | 2011-01-25 | 2012-07-25 | 上海工程技术大学 | Wireless sensing network multicast routing information processing method based on contents |
CN202795663U (en) * | 2012-08-27 | 2013-03-13 | 惠州学院 | Gas monitoring and alarming system based on ZigBee wireless network |
CN103528702A (en) * | 2013-10-21 | 2014-01-22 | 北京信息科技大学 | ZigBee-based temperature monitoring device, ZigBee-based temperature monitoring system and implementation method thereof |
CN103698056A (en) * | 2013-12-16 | 2014-04-02 | 杭州华安医疗保健用品有限公司 | Calibrated temperature error correction device and correction method |
CN103759851A (en) * | 2014-02-18 | 2014-04-30 | 悉雅特万科思自动化(杭州)有限公司 | Temperature compensation method used for thermal resistance collecting module |
CN105806898A (en) * | 2016-03-10 | 2016-07-27 | 电子科技大学 | Gas concentration calibration method for gas sensor |
CN106441285A (en) * | 2016-09-16 | 2017-02-22 | 杭州电子科技大学 | Outdoor advertising safety detection method based on ZigBee and MEMS (micro-electromechanical system) sensor |
CN206196060U (en) * | 2016-11-10 | 2017-05-24 | 贵州大学 | Laboratory environment monitoring system based on zigBee technique |
CN107167178A (en) * | 2017-05-18 | 2017-09-15 | 重庆大学 | Environment inside car detection method and detecting system |
CN107449809A (en) * | 2017-09-28 | 2017-12-08 | 艾欧史密斯(中国)热水器有限公司 | gas concentration measuring method, device and air purifier |
-
2018
- 2018-04-08 CN CN201810307649.6A patent/CN108196491B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007248288A (en) * | 2006-03-16 | 2007-09-27 | Fujitsu Ltd | Method of correcting temperature characteristic and amplification circuit for sensor |
EP2093644A2 (en) * | 2008-02-23 | 2009-08-26 | Techem Energy Services GmbH | Method and device for influencing a temperature measurement at the entry to a heating regulator |
JP2011215129A (en) * | 2010-03-16 | 2011-10-27 | Renesas Electronics Corp | Temperature sensor, semiconductor device, and method of calibrating the semiconductor device |
CN102377801A (en) * | 2010-08-19 | 2012-03-14 | 中国科学院计算技术研究所 | Sensor network for environmental monitoring and data transmission method |
CN102612108A (en) * | 2011-01-25 | 2012-07-25 | 上海工程技术大学 | Wireless sensing network multicast routing information processing method based on contents |
CN202795663U (en) * | 2012-08-27 | 2013-03-13 | 惠州学院 | Gas monitoring and alarming system based on ZigBee wireless network |
CN103528702A (en) * | 2013-10-21 | 2014-01-22 | 北京信息科技大学 | ZigBee-based temperature monitoring device, ZigBee-based temperature monitoring system and implementation method thereof |
CN103698056A (en) * | 2013-12-16 | 2014-04-02 | 杭州华安医疗保健用品有限公司 | Calibrated temperature error correction device and correction method |
CN103759851A (en) * | 2014-02-18 | 2014-04-30 | 悉雅特万科思自动化(杭州)有限公司 | Temperature compensation method used for thermal resistance collecting module |
CN105806898A (en) * | 2016-03-10 | 2016-07-27 | 电子科技大学 | Gas concentration calibration method for gas sensor |
CN106441285A (en) * | 2016-09-16 | 2017-02-22 | 杭州电子科技大学 | Outdoor advertising safety detection method based on ZigBee and MEMS (micro-electromechanical system) sensor |
CN206196060U (en) * | 2016-11-10 | 2017-05-24 | 贵州大学 | Laboratory environment monitoring system based on zigBee technique |
CN107167178A (en) * | 2017-05-18 | 2017-09-15 | 重庆大学 | Environment inside car detection method and detecting system |
CN107449809A (en) * | 2017-09-28 | 2017-12-08 | 艾欧史密斯(中国)热水器有限公司 | gas concentration measuring method, device and air purifier |
Non-Patent Citations (1)
Title |
---|
"利用微机数据处理提高温度测量精度";郑善锋 等;《电路与系统学报》;第10卷(第1期);90-92 * |
Also Published As
Publication number | Publication date |
---|---|
CN108196491A (en) | 2018-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108680244B (en) | Rotary machine vibration wireless monitoring device and method | |
WO2022012488A1 (en) | Vehicle detection method and apparatus, and detection device | |
CN205941678U (en) | Power battery current detection device based on shunt | |
CN203455922U (en) | Heatstroke and poisoning-prevention car alarm system based on ZigBee network | |
CN201107367Y (en) | Rolling stock hand-hold intelligent insulated detector | |
CN105270293A (en) | Vehicle maintenance reminding method based on cloud service and vehicle-mounted terminal device adopted in vehicle maintenance reminding method | |
CN112581056B (en) | Railway wagon running state monitoring system | |
CN108760981A (en) | A kind of remote controlled air quality detector | |
CN107394297A (en) | A kind of combined type battery fire alarm system | |
CN108196491B (en) | Tramcar internal environment real-time monitoring system and working method thereof | |
CN106846825B (en) | Geomagnetic vehicle detector, geomagnetic vehicle detection system and geomagnetic vehicle detection method | |
CN103256480B (en) | Based on the bus gas-storing capacity real-time monitoring system of vehicle-mounted data | |
CN109407009A (en) | A kind of battery group on-line detecting system and its detection method based on multi-signal acquisition | |
CN205970918U (en) | Electric automobile monitoring device | |
CN202393422U (en) | Multifunctional monitoring device for internal environment of automobile | |
CN208060985U (en) | A kind of tramcar environment inside car real-time monitoring system | |
CN208424789U (en) | A kind of experimental facilities based on the LoRa communication technology | |
CN206992268U (en) | A kind of combined type battery fire alarm system | |
CN207207640U (en) | A kind of automobile using tire pressure automatic detection device | |
Miletiev et al. | Smart in-vehicle environment monitoring system | |
CN205449375U (en) | USB rechargeable zigBee network wireless baroceptor | |
CN202871072U (en) | Internet of Things atmospheric environment sensing node with multiple communication modes | |
CN207301788U (en) | A kind of vehicle-mounted OBD control systems | |
CN207020822U (en) | Earth magnetism wagon detector and earth magnetism vehicle detecting system | |
CN209198016U (en) | A kind of portable car-mounted air-tightness detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |