Method for isolating and repairing multi-core sensor within taxi
METHOD FOR ISOLATING AND REPAIRING MULTI-CORE SENSOR WITHIN TAXI This application relates to environmental monitoring, and particularly to a multi-core sensor system for a mobile vehicle and a method for isolating, restoring and shifting, and more particularly to a multi-core sensor used in a taxi roof light. The monitoring indicators of atmospheric pollutants in environmental monitoring include sulfur dioxide, nitrogen oxides, ozone, carbon monoxide, ΡΜ1 (particles with aerodynamic particle size less than 1 pm), ΡΜ2.5 (particles with aerodynamic particle size less than 2.5 pm), PM 10 (particles with aerodynamic particle size less than 10 pm), PM 100 (particles with aerodynamic particle size less than 100 pm), and VOCs (volatile organic compounds) or TVOC (total volatile organic compounds). The atmospheric environment monitoring system can collect and process the monitoring data, and reflect the air quality condition and change law of the regional environment in a timely and accurate manner. At present, the atmospheric environment monitoring equipment mainly includes fixed monitoring stations and mobile monitoring equipment. The current fixed monitoring stations are mainly divided into large fixed monitoring stations and small stations. Mobile monitoring equipment mainly includes special atmospheric environmental monitoring vehicles, drones and handheld devices. The aforementioned small monitoring stations and handheld devices all use air quality sensors to measure pollutants in the atmosphere. Small sensors have the characteristics of low cost, miniaturization and online monitoring, and can be used on a large scale. However, the air quality sensor itself has errors due to various reasons that cause the measured value to be inconsistent with the true value, and it also has lower accuracy, poor stability, large errors, and requires frequent calibration compared with large precision instruments or manual monitoring methods. The laser scattering method for air pollution particulate matter sensors has a broad market prospect because of its low cost and portability. However, the portable analysis device using the scattering method has disadvantages such as poor measurement consistency, large noise, and low measurement accuracy. The core device is susceptible to various environmental factors, and fluctuations easily cause misjudgment. When the sensor data changes suddenly and sharply, being able to intelligently determine whether the change is due to sensor failure or sudden pollution will greatly improve the reliability of the data and is of great value for ensuring the quality of monitoring data. When the equipment fails, if it can be repaired automatically, the online rate of the data can also be greatly improved, which is of great value for the continuous monitoring required for haze control. At the same time, it can save manpower and material resources in equipment maintenance and reduce social waste. Chinese Patent No. 105823856 A discloses an air quality monitoring method based on multi-sensor fusion, which fuses multiple sets of measurement data from multiple sensors to optimize the problem of pseudo-random errors introduced by the fluctuation of light. The data fusion method can select the existing fusion algorithm according to the requirements. The article discloses that when the scattering method is used to measure pollutants in the air, the emitted laser is in the range of several hundred nanometers to more than one thousand nanometers, And for ΡΜ2.5 (particle diameter below 2500 nm) and PM 10 (particle diameter below 10000 nm) pollutants to be tested, the visible laser wavelength is equivalent to the particle size of the pollutant to be measured. The laser light shows both fluctuation and particle at the same wavelength, and the scattering effect used by the light scattering method can only be measured by the particle of light, so the one time measurement cannot fully accurately represent the number of particles in the space to be measured. Chinese Patent No. 101763053 A discloses a detection system with a real-time self-diagnostic function, capable of identifying sensor failure, signal abnormality, subsystem function failure, or system abnormality. When a fault occurs, the system can immediately upload the fault information and activate the alarm; at the same time, isolate the fault sensor. Chinese Patent No. 102480783 A discloses a wireless sensor system, which can make redundant nodes in the network rotational rest irregularly through the watchkeeping scheduling mechanism to extend the life. Due to various reasons, for example, the performance of the sensor itself and the influence of external interference, there is often a small error between the measured value and the true value of the air quality sensor. Reducing errors and improving accuracy are the efforts in the field of sensors. There are also many ways to improve sensor accuracy. The first method is to use a single high-cost and high-precision sensor, but the problems brought by it are also obvious. In addition to the high cost problem, it is not possible to determine whether the sensor is abnormal through the data output by the sensor itself. The second method is a dual-core sensor, which independently measures and outputs the results through two sensors. This method can compare the output results of the two sub-sensors according to a certain judgment standard to determine whether the sub-sensor works abnormally, but this method cannot determine which sub-sensor has an abnormality. The third method is a triple-core sensor. By comparing the output results of the three sub-sensors, it is determined which sub-sensor has a problem, and then isolate the sub-sensor. However, since the sensor module runs in dual-core mode after isolating a sub-sensor, there will be a problem that the abnormal sensor cannot be judged. Therefore, once one sub-sensor of the three-core sensor is abnormal, the reliability of the whole sensor module is greatly reduced. Fig. 1 shows the working state of the sub-sensor. The sub-sensor 100 indicates a normal sub-sensor. The sub-sensor 101 and the sub-sensor 102 are suspected abnormal sub-sensors. The sub-sensor 104 indicates an abnormal sub-sensor. In Fig. 2, 1U indicates a one-core sensor mode. When the sensor data is abnormal, it cannot be determined whether the sensor itself is faulty or the air quality is abnormal. 2U indicates a dual-core sensor module. When the dual-core sensor module has a sub-sensor output abnormal, it cannot determine which one is abnormal, so one sub-sensor of the dual-core sensor module is abnormal, and the entire module cannot work normally. By analogy, 3U represents a three-core sensor module. In view of the above-mentioned shortcomings, the present disclosure provides a multi-core sensor system and a method for isolating, recovering, and rotational resting. The disclosure uses at least four sub-sensor units to form a sensor module, which realizes complementary data deviations and mutual verification, and improves the reliability, consistency, accuracy and life of the sensor module. As shown in Figs. 3 and 4, 4U represents a quad-core sensor module. When a sub-sensor is found to have a suspected abnormality and it is determined that the suspected abnormal sub-sensor is an abnormal sub-sensor, it can be isolated. The quad-core sensor module downgraded to a three-core sensor module, the three-core sensor module can still work normally. 5U means a five-core sensor module. When a sub-sensor is found to have a suspected abnormality, and the suspected abnormal sub-sensor is an abnormal sub-sensor, the five-core sensor module is downgraded to a quad-core sensor module, and the quad-core sensor module can still work normally; and so on, the six-core sensor module, the seven-core sensor module and more core sensor modules. The multi-core sensor system is installed in the ceiling light of the taxi; the multi-core sensor system includes a gas separation box, a control module and a detection module. The gas separation box is used to distribute the measured gas to each individual sub-sensor. The gas inlet of the gas separation box is connected to the gas sampling head, and the gas outlet is connected to the air inlet of each sub-sensor of the detection module. The detection module is a sensor module with four or more sub-sensors built in and it is used to detect the concentration of atmospheric pollutants. The control module is used to receive, analyze and upload the data detected by the detection module, and supply power to the detection module. The sub-sensor types include ΡΜ1 sensor, ΡΜ2.5 sensor, PM 10 sensor, PM 100 sensor, sulfur dioxide sensor, nitrogen oxide sensor, ozone sensor, carbon monoxide sensor, VOCs sensor, TVOC sensor and other sensors that can measure the concentration of environmental pollutants. Sensor accuracy is related to many factors, such as the measured gas flow rate and temperature. The disclosure further improves the accuracy of the sensor module by designing in various ways. Sensor accuracy is related to temperature. As shown in Fig. 8, the sensor has an optimal operating temperature range. When the temperature is higher than the optimal operating temperature, the accuracy will decrease. In the disclosure, the temperature of the sensor and the intake air are adjusted by a temperature control device, and can be compensated by an algorithm to improve the detection accuracy. The accuracy of the sensor is also related to the flow rate of the measured gas flowing inside the sensor. As shown in Fig. 9, the measured gas has the highest accuracy at the optimal flow rate Vo. Too fast or too slow the measured gas flow rate will affect the accuracy. The internal air resistance of the sensor or other reasons will cause the measured gas flow rate to change, as shown in Fig. 10. The present disclosure controls the measured gas flow rate within the optimal flow rate range by adjusting the internal fan speed or other flow rate adjustment methods to improve the accuracy. Multi-core sensors use embedded algorithms to solve the problem of out-of-synchronization of multiple sub-sensors in detecting sampling gas due to different lengths of intake pipes, thereby obtaining more accurate detection data. Multi-core sensors use multiple sensors to measure air quality at the same time, and the output value is the average value of multiple sensors, with high data accuracy. Fig. 5 shows the output data of the quad-core sensor module, where Ul, U2, U3, and U4 are the output data of the four sub-sensors, and the solid line Average is the average of the four sensors, so the output data is smoother, Stability and higher accuracy. Laser sensor performance is affected by light decay of laser. As the semiconductor laser is used for a longer time, the problem of optical power attenuation due to semiconductor materials and production processes will occur. When the optical power attenuation reaches a certain level, the accuracy of the sensor detection data will be affected. In order to understand the degree of light attenuation of a group of laser sensors after working for a long time, the disclosure divides the sensor group into a high frequency group and a low frequency group, in which the low frequency group serves as a redundant unit to provide a calibration basis for the high frequency group. The disclosure discloses another multi-core sensor system, which is installed in a ceiling lamp of a taxi; the multi-core sensor system includes a control module and a detection module. The detection module includes at least two similar sub-sensor units to form a sensor module and operates at a normal operating frequency, and it includes at least one sub-sensor unit similar to the sensor module to form a low-frequency calibration module; the sub-sensor unit in the low-frequency calibration module operates at a frequency much lower than the operating frequency of the sensor module. Therefore, the low-frequency calibration module is also called a low-frequency group. For comparison, the sensor module is also called a high-frequency group. Generally, the operating frequency of the sensor module is 10 times or more than that of the low-frequency calibration module. The ratio of the working frequency of the high frequency group to the low frequency group is called the high frequency and low frequency ratio, and can be set as: 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1, 9: 1, 10: 1, 15: 1, 20: 1. The working frequency of the low frequency group can be consistent with the rhythm of abnormal judgment. That is, when it is necessary to determine whether there is the phenomenon of an abnormal sub-sensor in the sensor module, the low-frequency group performs the detection work. Because the laser power attenuation is slow in most of the working life of the laser sensor, the accuracy of its data can be restored by calibration; that is, the sub-sensor that is not attenuated or has a very low attenuation is used to calibrate the high-attenuated sub-sensor. During the operation of the sensor module, every certain time, such as 1 day, 1 week, or 1 month, use the low-frequency group detection data as a reference to calibrate the high-frequency group detection data, and the calibration coefficient can be obtained by the ratio of the average value of the detection data of the high-frequency sensor set to the average value of the detection data of the low-frequency sensor set. In addition to the light attenuation effect of laser sensors, other types of sensors may also have a tendency of unstable performance or increased data errors under long-term high-load working conditions. By introducing a low-frequency group, it can be used as a relatively reliable reference to determine whether there is a data shift phenomenon in the sensor module. At the same time, since the data of the low-frequency group is generally more reliable, when determining which sub-sensor unit in the sensor module is suspected to be abnormal or abnormal, a more reliable judgment can be made by increasing the data weight of the low-frequency group. A simple solution is that all the low-frequency groups of data are involved in the judgment of suspected anomalies with twice the weight. The low frequency group can also participate in the judgment of suspected anomalies by adopting the following schemes to distinguish situations: 1) Single low frequency sensor: the data weight of the low frequency sensor is 2; the data weight of each sensor unit in the sensor module is 1 ; 2) Two low-frequency sensors: Based on the average value of the sensor module, the data weight of one low-frequency sensor closer to the reference value is 2, and the other weight is 1. 3) Three or more low-frequency sensors: Based on the average value of the data in the low-frequency group, the ones that deviate farthest from the reference in the high-frequency group are suspected anomalies. When the control module detects a suspected abnormality in one of the sub-sensor units in the sensor module, and judges that the suspected abnormal sub-sensor is an abnormal sub-sensor, it is isolated and classified into an isolation area, and the multi-core sensor module continues to work normally after it is degraded. The disclosure also discloses a method for identifying the working state of the sub-sensor and isolation and recovery the sub-sensor. The method is shown in Fig. 11. The sensor module obtains a set of detection data at a time, and the control module filters out suspected abnormal data from this set of data, and then determines whether the corresponding sub-sensor meets the isolation condition. The sub-sensor was judged to be abnormal sub-sensor and then classified into the isolation zone; after judging that the suspected abnormal sub-sensor does not meet the isolation condition, the sub-sensor continues to work normally. Determine whether the sub-sensor entering the isolation area can self-heal. If it can self-heal, the frequency reduction will be performed. However, the output data of the sub-sensor will not participate in the calculation of the output data of the main control module. For sub-sensors that cannot self-heal, stop working and notify the operator to repair or replace them. For the sub-sensor after frequency reduction, the control module detects its output data to judge whether it meets the recovery condition. The sub-sensor that meets the recovery condition is removed from the isolation zone and resumed work. The output data is involved in the calculation of sensor module data or master control data. For the abnormal sub-sensor that does not meet the recovery condition, whether it can be self-healing is determined again. After isolating the abnormal sub-sensors in the sensor module, the average value of the remaining sub-sensor output data is used as the output result of the sensor module, and the sensor module can continue to be used normally. The present disclosure sets a rotational rest mode for the sensor module. Among the sub-sensors that work normally, one or more rotational rests are selected, which can solve the problem of reduced performance due to sensor fatigue. With the increase of working time, the internal state of the sensor will change to a certain extent. For example, the internal temperature will increase with the increase of working time, and the mechanical components of the sampling device will suffer from metal fatigue. Therefore, an appropriate rest after working for a period of time will restore the sensor to its optimal working state. The sensor enters the stable working period after starting for a period of time, but after a long period of continuous work, the fatigue will increase. In order to alleviate this situation, those sub-sensors that have entered a fatigue state can be selected to be put into a rest state to reduce the data offset of the sensor fatigue stage, and try to make the sensor unit work in a stable working period. For the laser sensor module, the rotational rest can also keep the light attenuation of the same group of sensors basically synchronized. With the use of semiconductor lasers for a long time, there will be a problem of attenuation of the light output power due to the decrease in the efficiency of semiconductor materials. When a semiconductor laser is used as a light emitting element, the light scattering emission particle sensor needs to consider the light attenuation synchronization between sensors when it contains multiple sub-sensors. If the light attenuation between the sub-sensors is not synchronized, when the light attenuation is light, its impact on the data is relatively small, so that there will be some differences in the data of each sensor, but it is impossible to determine whether the sub-sensor is faulty based on these lighter differences. But these data will still participate in the calculation of the final detection data of the sensor and result in deviations in the final detection data. Therefore, the control module of the multi-core sensor system should record and store the cumulative working time of each sub-sensor, adjust the rotational rest interval of each sub-sensor according to the cumulative working time, and keep the light attenuation of each sub-sensor basically synchronized, which is conducive to the improvement of sensor detection data accuracy. The disclosure has low use cost. Compared with expensive precision instruments, the sensor module only adds a few sub-sensors, which does not significantly increase the overall cost of the device. However, Due to the increase in reliability and accuracy, it is also possible to apply low-precision, low-reliability but low-cost sensors to situations where only high-precision instruments can be used. The multi-core sensor module also extends the life and maintenance cycle of the entire monitoring equipment, reducing the cost of equipment replacement and repair. Sensor failure judgment can be done through the local master control, or through the data center online monitoring system. The online monitoring system is responsible for receiving data, storing, data processing, and generating visual pollution cloud maps. Fig. 1 is the schematic diagram of a state of a sub-sensor; Fig. 2 is the schematic diagram of a single sensor failure of a single-core sensor module, a dual-core sensor module, a triple-core sensor module, and a triple-core sensor module; Fig. 3 is the schematic diagram of judging a suspected abnormal sub-sensor module. For one-core and dual-core sensor modules, abnormal conditions cannot be determined after suspected abnormalities; sensor modules with three or more cores can determine sensors suspected of abnormalities. Fig. 4 is the sensor error diagram, Do and Di are fluctuations; Do and actual values are drifting; Fig. 5 is a schematic diagram of the output data of the quad-core sensor module and its sub-sensor output, Average is the quad-core average output result, and the dotted line is the output result of each core; Fig. 6 is the schematic diagram of an isolation method for an abnormality of a sub-sensor of a six-core sensor module; Fig. 7 is a schematic diagram of isolation and recovery an abnormal sensor in a quad-core sensor module; Fig. 8 is a schematic diagram of the relationship between the accuracy of the sensor and the temperature; Fig. 9 shows the relationship between the sensor accuracy and the measured gas flow rate; Fig. 10 is a schematic diagram showing the relationship between fan speed, wind resistance and measured gas flow rate; Fig. 11 is a flowchart of a method for isolation and recovery a multi-core sensor module; Fig. 12 is a schematic diagram of the six-core sensor; Fig. 13 is a schematic diagram of the quad-core sensor and its fault indicator; Fig. 14 depicts the isolation and recovery process of a high/low-frequency multi-core sensor module. In the drawings: 100- normal sensor, 101- suspected abnormal sub-sensor (one), 102- suspected abnormal sub-sensor (two), 104- abnormal sub-sensor, U3- sensor 3, U3-d-status indicator (Red-fault), U4-d-status indicator (green-normal); 2U (3U)-represents a group of three-core sensors operating in two-core mode, with one core isolated. Sensor: A sensor is a detection device that can sense the concentration information of pollutants and can convert the sensed information into electrical signals or other required forms of information output in accordance with a certain rule to meet the transmission, processing, storage, display, record, and control requirements. The pollutants in this article mainly include particulate matter (ΡΜ1, ΡΜ2.5, ΡΜ10, ΡΜ100), nitrogen oxides, sulfur dioxide, ozone, VOCs / TVOC and carbon monoxide. Sub-sensor: It is also called sub-sensor unit. In this article, the sub-sensor unit includes fan, sensing element, MCU, signal conversion element and signal amplification circuit. It can independently complete the collection and calculation of pollutant data and can also transmit local storage data. Sensor module: The sensor module is a sensor device composed of multiple sub-sensors. The sub-sensors are also called cores in the sensor module. For example, a sensor module composed of four sub-sensors is called a quad-core sensor, and a sensor module composed of five sub-sensors is also called a five-core sensor. Abnormal fluctuation of sub-sensor: indicates that the discrete degree of the measurement results of the sensor during continuous measurement exceeds the normal range. Abnormal drift of sub-sensor: It means that the average value of the measurement result of the sensor during continuous measurement is shifted from the true value beyond the normal range. Abnormal correlation of sub-sensor: indicates that the correlation between the measurement result and other sensors during the continuous measurement is lower than the normal range. Abnormal of sub-sensor: Abnormal fluctuation of sub-sensor, abnormal drift of sub-sensor, and abnormal correlation of sub-sensor are all abnormal of sub-sensor. Abnormal sub-sensor: Also called a fault sub-sensor, it is a sub-sensor in which the abnormal phenomenon of the sub-sensor occurs. The suspected abnormal sub-sensor: Also called suspected faulty sub-sensor, in the sensor module, the sub-sensor with the largest fluctuation or drift does not trigger the isolation condition; that is, the degree of fluctuation or offset cannot make it be regarded as an abnormality of the sub-sensor. The suspected abnormal sub-sensor is the closest abnormal of sub-sensor among the normal sub-sensors. For example, if the measured value deviates from the normal value by 20%, it is judged to be abnormal. Assuming that the number 1, 2 and 3 sub-sensors deviate from the normal values by 5% and 6%, 16%, then we judge the sub-sensor 3 is a suspected abnormal sub-sensor. Isolation: The case where the sub-sensor does not participate in the operation of the value uploaded by the control module is called sub-sensor isolation. Isolation condition: The isolation condition is used to determine whether the suspected abnormal sub-sensor needs to be isolated. Such as the value of the degree of dispersion in the abnormal fluctuation of sub-sensor, and the offset value of the abnormal drift of sub-sensor. Recovery condition: The recovery condition is the basis for judging whether the sub-sensors in the isolation zone will resume work. The standard of the recovery condition should be appropriately higher than the isolation condition, and there should be a difference of at least 10% from each other to avoid the newly recovered sub-sensors from being isolated again. Rotational rest method: It is a kind of working method of sub-sensors, which means that the sub-sensors start and stop work alternately at intervals. Data deterioration: indicates that the range of sensor value deviates from the normal value increases. The multi-core sensor system includes a gas separation box, a control module and a detection module. The gas separation box is used to distribute the measured gas to each individual sub-sensor. The gas inlet of the gas separation box is connected to the gas sampling head, and the gas outlet is connected to the air inlet of each sub-sensor of the detection module. The detection module is a sensor module with four or more sub-sensors built in and it is used to detect the concentration of atmospheric pollutants. The control module is used to receive, analyze and upload the data detected by the detection module, and supply power to the detection module. The gas separation box has a buffer function to relieve pressure fluctuations. The detection module may also include at least one sub-sensor unit similar to the sensor module to form a low-frequency calibration module; the operating frequency of the sensor unit in the low-frequency calibration module works much lower than the sensor module. In a multi-core sensor system including a low-frequency calibration module can reduce to two or three sensor units. The control module is provided with a control module data communication interface that it and the sensor data communication interface are connected by wires. The sensor transmits data to the control module through the data communication interface of the control module connected to the sensor. The detection module is connected to the control module through a data interface. The control module can not only process the detection data of the sub-sensors, but also upload the data to the data center through the wireless network to implement the data uploading and positioning functions. The data center is responsible for receiving data, storing and processing data. The online monitoring system can manually control the secondary calibration of the abnormal sensor. The disclosure adopts a plurality of sub-sensor units to form a sensor module, which realizes complementary data deviations and mutual verification, and improves the reliability, consistency, accuracy and life of the sensor module. As shown in Figs. 3 and 4, 4U represents a quad-core sensor module. When a sub-sensor is found to have a suspected abnormality and it is determined that the suspected abnormal sub-sensor is an abnormal sub-sensor, it can be isolated. The quad-core sensor module downgraded to a three-core sensor module, the three-core sensor module can still work normally. 5U means a five-core sensor module. When a sub-sensor is found to have a suspected abnormality, and the suspected abnormal sub-sensor is an abnormal sub-sensor, the five-core sensor module is downgraded to a quad-core sensor module, and the quad-core sensor module can still work normally; and so on, the six-core sensor module, the seven-core sensor module and more core sensor modules. Sensor accuracy is related to temperature. As shown in Fig. 8, the sensor has an optimal operating temperature range. When the temperature is higher than the optimal operating temperature, the accuracy will decrease. In the disclosure, the temperature of the sensor and the intake air are adjusted by a temperature control device. The gas separation box can be equipped with a semiconductor refrigerating sheet made of metal and capable of heating and dehumidifying. The semiconductor refrigeration chip includes a hot end and a cold end. Use the hot end of the semiconductor refrigeration chip to directly heat the gas separation box, and install a humidity sensor before the gas inlet of the gas separation box. The system turns on the semiconductor refrigeration chip when the humidity of the gas measured is greater than the set value upper limit (the upper limit of the set value can be 60%, 65%, 70%, etc.); when the humidity is less than the lower limit of the set value (the lower limit of the set value can be 40%, 50%, etc.), the semiconductor refrigeration chip is turned off. The gas separation box can be equipped with a semiconductor refrigerating sheet with heating and dehumidification functions, and the material is metal. The semiconductor refrigerating sheet includes a hot end and a cold end. The gas separation box is directly heated by the hot end of the semiconductor refrigerating sheet, and the cold end of the semiconductor refrigerating sheet is connected to the heat-dissipating grille, and the heat is absorbed to the air-distributing box through the heat-dissipating grille. Install a humidity sensor before the air inlet of the gas separation box. The control module turns on the semiconductor refrigerating sheet when the humidity of the gas measured is greater than the set value upper limit (the upper limit of the set value can be 60%, 65%, 70%, etc.); when the humidity is less than the lower limit of the set value (the lower limit of the set value can be 40%, 50%, etc.), the semiconductor refrigeration chip is turned off. The gas separation box can be equipped with a semiconductor refrigerating sheet made of metal and capable of heating and dehumidifying. The semiconductor refrigeration chip includes a hot end and a cold end. Use the hot end of the semiconductor refrigeration chip to directly heat the gas separation box, the cold end of the semiconductor refrigerating chip is connected to an air pump to dissipate heat for the air pump. Install a humidity sensor before the gas inlet of the gas separation box. The system turns on the semiconductor refrigeration chip when the humidity of the gas measured is greater than the set value upper limit (the upper limit of the set value can be 60%, 65%, 70%, etc.); when the humidity is less than the lower limit of the set value (the lower limit of the set value can be 40%, 50%, etc.), the semiconductor refrigeration chip is turned off. The accuracy of the sensor is also related to the flow rate of the measured gas flowing inside the sensor. As shown in Fig. 9, the accuracy of the measured gas is within the range of Vi to V2 with the optimal flow rate Vo as the center. The accuracy of the measured gas flow rate is too fast or too slow. The internal air resistance of the sensor or other reasons will cause the measured gas flow rate to change. As shown in Fig. 10, the present disclosure controls the measured gas flow rate to the optimal flow rate by adjusting the internal fan speed (Si, S2) or other flow rate adjustment methods. Within range, improve sensor accuracy. Multi-core sensors use embedded algorithms to compensate for the problem of asynchronous sampling of multiple sub-sensors caused by different lengths of intake pipes, thereby obtaining more accurate detection data. Similarly, temperature and humidity are compensated by corresponding algorithms to improve data accuracy. By controlling the speed of the fan, the sampling flow is compensated. The flow rate and differential pressure sensor are used to obtain the gas flow rate, and a fan speed control circuit is added at the same time. The fan speed is controlled by the obtained gas flow rate information, so that the sampling gas flow rate is stabilized, within a range of preferred flow rate, as shown in Vo of Figs. 9 and 10. The optimal flow rate of the sensor is based on experimental methods to obtain empirical values. For the laser particle sensor, a laser power detection device and a laser power control circuit are added to compensate the laser power. The change relationship of the particle concentration value corresponding to each laser power value is obtained experimentally (that is, other conditions are fixed and only the measured conditions are changed to obtain the measurement results). The attenuation data is compensated by the laser power control circuit according to the detection result of the power detector. Take temperature compensation measures for the sensor. Install a temperature acquisition probe on the sensor or the measured gas. First, by using the experimental method or the sensor temperature characteristic data, the change relationship of the pollutant concentration value corresponding to different sampling temperature values is obtained (that is, other conditions are fixed and only the measured temperature conditions are changed). Compensate the output pollutant results based on the collected temperature data during use. Take humidity compensation measures for the sensor. Install humidity acquisition equipment to collect the humidity data of the measured gas. First, by using the experimental method or the humidity characteristic data of the sensor, the change relationship of pollutant concentration values corresponding to different sampling humidity values is obtained (that is, other conditions are fixed and only the humidity conditions of the measured gas are changed). Compensate the output pollutant results based on the collected humidity data during use. Multi-core sensors use multiple sensors to measure air quality at the same time, and the output value is the result of comprehensive calculation of data from multiple sensors. The data is smoother, more stable, and more accurate. The eighth embodiment to the twelfth embodiment are data calculation methods of the sensor module. The data of the outlier sensor needs to be excluded during data calculation. For the method of determining the outlier sensor, refer to the thirteenth to the seventeenth embodiments. In the case of the high-frequency group and the low-frequency group, when the low-frequency group generates data, its data can be used as more reliable detection data to participate in the calculation of the output data of the sensor module. Considering that the data of the low frequency group is more reliable, the data of the low frequency group can be given a double weight to be added to the calculation. Mean value method: a method for calculating the output data of a sensor module; after excluding abnormal sub-sensor unit data, the average value of all normal sub-sensor unit data is taken as the output result. Median method: a method for calculating the output data of a sensor module; after excluding abnormal sub-sensor unit data, the values of all normal sub-sensor units are sorted, and the middle value of the sort is used as the final result. The number is even, then the average of the two sub-sensor units in the middle is taken as the final result. Correlation coefficient method: a method for calculating the output data of a sensor module; after excluding abnormal sub-sensor unit data, calculate the normal sub-sensor unit data as follows to obtain the final result. The storage unit stores the historical detection data of each sub-sensor unit, and calculates the values of the judged sub-sensor unit and other sub-sensor units by using the historical data of a period (1 minute, 10 minutes, 20 minutes,... 1 hour) as a time unit. Correlation coefficient, the calculation method of the above correlation coefficient: A. Use the value of the selected historical time unit of the judged sub-sensor and the average value of other sub-sensor units in that period to calculate the correlation coefficient. Β. Use the value of the selected historical time unit of the judged sub-sensor to calculate the correlation coefficient with each other sub-sensor unit. After obtaining the result, calculate the average value of each correlation coefficient as the final correlation coefficient to obtain each normal sub-sensor unit. After correlating coefficients with other sub-sensor units, calculate the percentages of the correlation coefficients of all normal sub-sensor units to the sum of the total correlation coefficients. Multiply the detection result of each normal sub-sensor unit by this percentage and add up to get the final detection result. Variance method: a method for calculating the output data of the sensor module; after excluding the abnormal sub-sensor unit data, the normal sub-sensor unit data is calculated as follows to obtain the final result. The memory stores the historical detection data of each sub-sensor unit, and uses the historical data of a period of time (1 minute, 10 minutes, 20 minutes, ... 1 hour) as the time unit to calculate the variance Vi (or standard deviation), add the variance of each sub-sensor unit and calculate the difference between the sum and the variance of each sub-sensor unit. After obtaining the difference, calculate the percentage of the sum of the difference of each sub-sensor unit. The detection result of the sub-sensor unit is multiplied by the percentage and then added up to obtain the final detection result. Percentage method: A method for calculating output data of a sensor module. After excluding abnormal sub sensor unit data, the normal sub-sensor unit data is calculated as follows to obtain the final result. The sensor stores the historical detection data of each sub-sensor unit, and uses a period of time (10 seconds, 20 seconds, etc.) as the time unit to calculate the average value of the detection value in the nearest time unit, and uses the average value to calculate. The above calculation method: A. Add up the average value of each sub-sensor unit in the time unit to calculate the percentage of each sub-sensor unit in the sum, and multiply the detection result of each normal sub-sensor unit by the percentage to add the final result. Β. Using the calculation method described above, calculate the percentage of each sub-sensor in multiple time units closest to the current, average the percentage of each sub-sensor unit in multiple time units, and get the average of each sub-sensor unit in multiple time units closest to the current, the detection result of each normal sub-sensor unit is multiplied by the percentage and then added up to obtain the final detection result. This solution invents set a method for identifying the working state of sub-sensors, and isolation and recovery the sub-sensors. This method is shown in Fig. 11. 1) Judgment of the abnormal sub-sensor: The sensor module obtains a set of detection data at a time, and the control module filters out suspected abnormal data from this set of data, and then determines whether the corresponding sub-sensor meets the isolation condition. 2) Isolation of an abnormal sub-sensor: The sub-sensor was judged to be abnormal sub-sensor and then classified into the isolation zone; the sensor module continues to work after it is degraded. The sub-sensor entering the isolation zone can stop working or continue sampling and detection, but the data output by the sub-sensor does not participate in the calculation of the output data of the control module. 3) Determine whether the sub-sensor entering the isolation zone can heal itself: if it is judged that it can heal itself, then perform frequency reduction work on the self-healing sub-sensor, and notify the operation and maintenance party for repair or replace. 4) Recovery of an abnormal sub-sensors: Monitor the output data of the sub-sensors entering the isolation zone to determine whether they have reached the recovery conditions. The sub-sensors that have reached the recovery conditions are detached from the isolation zone and resume work. Judgment of suspected abnormal sub-sensor and abnormal sub-sensor: When the variance of the data of a certain sub-sensor exceeds the threshold, or the drift of the data of the sub-sensor exceeds the threshold, first list it as a suspected abnormal sensor instead of immediately identifying the sensor as abnormal. Finally, it is determined that the sub-sensor is abnormal only when multiple consecutive data are abnormal in a certain period of time. Comparison method of average values of sub-sensors: Take a quad-core sensor module as an example, and use the current time as a reference to compare the data of one sub-sensor with the average value of other three sub-sensors within a certain period of time (such as 5s average, 30s average, 60s average, etc.) When the abnormal sub-sensor occurs, the data collected by it should be isolated and not involved in the calculation of the final output data of the sensor module. However, the abnormal sub-sensor still normally outputs data to the control module to monitor the data of the abnormal sub-sensor. Abnormal sub-sensor includes abnormal drift of sub-sensor, abnormal fluctuation of sub-sensor and abnormal correlation of sub-sensor. The storage unit stores the historical detection data of each sub-sensor unit, and calculates respectively the value correlation coefficient of the target sub-sensor unit and other sub-sensor units by using the historical data of a period (1 minute, 10 minutes, 20 minutes, ... 1 hour) as a time unit. If the correlation coefficient is less than a certain value, such as 0.5 (non-strong correlation), the correlation of the sensor is judged to be abnormal, and it does not participate in the calculation of the final result. The above correlation coefficient is calculated as follows: A. Use the value of the selected historical time unit of the target sub-sensor and the average value of other sub-sensor units in that period to calculate the correlation coefficient. Β. Use the value of the selected historical time unit of the sub-sensor to calculate respectively the correlation coefficient with each other sub-sensor unit, and calculate the average value of each correlation coefficient as the final correlation coefficient after obtaining the result. The correlation method is used to determine the abnormal correlation of sub-sensor. Taking the correlation calculation of a quad-core sensor module as an example, the correlation between the 100 sets of data of the sub-sensors and the average of the 100 sets of data of the other three sub-sensors is used for correlation calculation. If the R2 is less than or equal to 0.8, the correlation between the sub-sensor data and the sub-sensor is abnormal. The sensor module selects the data of the other three sub-sensors to calculate and output the monitoring results. The sixteenth embodiment is a method for determining the abnormal fluctuation of sub-sensor. The sensor stores the historical detection data of each sub-sensor unit, and uses the historical data of a period of time (1 minute, 10 minutes, 20 minutes, ... 1 hour) as the time unit to calculate the variance (or standard deviation), by comparing the variance (or standard deviation) of the target sub-sensor unit with the variance (or standard deviation) of other sub-sensor units, the above variance comparison method: A. Compare the variance (or standard deviation) of the target sub-sensor unit with the mean value of the variance (or standard deviation) of other sub-sensor units. If the difference between the two exceeds a certain value, such as 20%, 30%, etc., the abnormal fluctuation of the sub-sensor unit will be judged. Β. Compare the variance (or standard deviation) of the target sub-sensor unit with the variance (or standard deviation) of other sub-sensor units respectively, and calculate the percentage of the difference between the two relative to the variance (or standard deviation) of the compared sub-sensor unit. Select the maximum value of percentage. If it exceeds a certain value, such as 20%, 30%, etc., it is judged that the abnormal fluctuation sub-sensor. The seventeenth embodiment is a method for judging the abnormal drift of sub-sensor. The difference between the average value of the target sensor unit in the past two time units is calculated, and the percentage of the difference value and the average value in the latest time unit is calculated, and the percentage is used for judgment. The above drift judgment method: A. Compare the percentage obtained by the target sub-sensor unit with the average of the percentages obtained by other sub-sensor units. If the percentage difference exceeds a certain value, such as 20%, 30%, 40%, etc., the sub-sensor unit is judged to be drifting abnormally. Β. Compare the percentage obtained by the target sub-sensor unit with the average of the maximum value obtained by other sub-sensor units. If the percentage difference exceeds a certain value, such as 20%, 30%, 40%, etc., the sub-sensor unit is judged to be drifting abnormally. In the case of the need to isolate the abnormal sensor, the data of the abnormal sensor is isolated, but the fan or air pump of the abnormal sensor continues to keep running, to ensure that the wind pressure and flow are constant, and to reduce pressure fluctuations. As shown in Fig. 13, install the status indicator light on the sub-sensor. After the abnormal sub-sensor is identified, the status indicator light at the corresponding position on the communication port of the circuit board will change to a warning color (such as red). The status indicator light corresponding to the sub-sensor in normal working state is green. The disclosure sets a rotational rest working mode for the sensor module. Among the sub-sensors that work normally, one or more rotation rests are selected, that is, the fatigue problem of the sensor is solved by actively degrading the operation. For the laser sensor module, the rotational rest can also keep the light attenuation of the same group of sensors basically synchronized. Common single-rotational rest conditions include: 1) The sub-sensor with the longest time to enter the fatigue state; 2) The sub-sensor closest to entering the fatigue state; 3) The sub-sensor with the longest accumulated working time; 4) The sub-sensor with the least accumulated rotational rest; 5) When the temperature data of the sub-sensor can be obtained, the sub-sensor with the highest temperature; 6) Suspected abnormal sensor. The sub-sensors selected by using different rotational rest conditions may be inconsistent. In actual application, multiple rotational rest conditions may be given weights or priorities to quantitatively determine which sub-sensor is allowed to enter the rotational rest. Considering that the fatigue problem is a periodic recurrence problem, ideally, each sensor should get a rest cycle before it enters the fatigue state. Assume that the average stable working time of the sub-sensor units is Τ. For the module of Ν sensor units, if the strategy of successive rotational rest of each sub-sensor in the sensor module is adopted, the interval between the two consecutive rotational rests should not be longer than Τ / Ν to ensure that each sensor can enter the rotational rest in time. If Τ = 8 hours, the sensor module composed of 4 sensor units can be rotated every 2 hours using the sequential rotational rest strategy, which can ensure that each sensor can enter the rotational rest before entering the fatigue state. A status indicator is installed on the sub-sensor unit. When an abnormal sub-sensor is identified, the color of the status indicator of the light corresponding sub-sensor changes to a warning color; the status indicator light corresponding to the sub-sensor in normal working status is continuous green. The status indicator light corresponding to the sub-sensor that enters the rotational rest state is green that turns on and off alternately. The twentieth embodiment is a rotational rest mode of a sub-sensor. For sensor modules, rotational rest refers to turning off the sensing part of one or more sub-sensors within a specified time. For example, the laser particle sensor module using a fan only turns off the laser, and the fan does not turn off. The off time of the sub-sensor can be a fixed time (such as 1 hour, 2 hours, 3 hours, 4 hours, 5 hours, 6 hours, 7 hours, 8 hours, 9 hours, 10 hours, 11 hours, 12 hours, 24 hours, 2 days, 3 days, 4 days, 5 days, 6 days, or 7 days, etc.), after the closed sub-sensor reaches the closing time, the closed sub-sensor is activated, and then the next sub-sensor that meets the rotational rest condition is closed. The closed time can also be determined according to the working status of other sub-sensors. For example, in a quad-core sensor module with one sub-sensor in the off state. At this time, if the system determines that one of the three sub-sensors in operation has reached the isolation condition and needs to be isolated, the sub-sensor in the closed state should be immediately enabled. The specific rotation conditions can be: A. Select the rotational rest sensor based on the temperature change. Form 1: Select the sub-sensor with the highest temperature through the acquired sub-sensor temperature data; Form 2: Select the sub-sensor that is turned off according to the ambient temperature. If the ambient temperature is higher than the temperature set value (such as 40 degrees Celsius), it will be numbered turn off sub-sensors in turn; Β. Select the rotational rest sensor by detecting the change in the value. For confirmed suspected abnormal sensor shut down preferentially. When three-core or more sub-sensors in the quad-core sensor module work normally, a single-core rotational rest scheme can be adopted. The working state of the sensor is greatly affected by temperature. When the temperature is higher than 60 ° C or after four hours of normal operation, the adjacent single-core cycle rest is changed, and the rest is rotated in order to reduce the working time of the sub-sensor under high temperature and increase the working time limit of the quad-core sensor. A method for isolating and repairing a sub-sensor within a multi-core sensor system, wherein it can be intelligently determined whether the reason for an abrupt dramatic change in sensor data is a sensor fault or sudden pollution, so as to increase data reliability. A data online rate is increased if a repair can be performed via automatic determination when a device fault occurs, which has significant value for continuous monitoring required for a haze treatment operation. In addition, human and material resources for device maintenance may be saved, thereby reducing waste. 1. A method for isolation and restoration for a multi-core sensor system within a taxi, wherein said multi-core sensor system is installed in a taxi roof light; said multi-core sensor system comprises a control module and a detection module; said detection module comprises a sensor module comprising at least four sub-sensor units of the same type; wherein said method comprises the following steps: 1) judgment of an abnormal sub-sensor: said control module obtains a set of detection data at a time, and said control module filters out suspected abnormal data from the set of detection data, and then determines whether the corresponding sub-sensor meets an isolation condition; 2) isolation of the abnormal sub-sensor: a sub-sensor meeting the isolation condition is classified into an isolation zone; said sensor module is degraded and continues to work; 3) determining whether said sub-sensor entering the isolation zone can heal itself; if it is judged that it can heal itself, then performing frequency reduction work on the self-healing sub-sensor, wherein data output by the sub-sensor does not participate in the calculation of the output data of said control module; and notifying an operation and maintenance party for repair or replace for said sub-sensor which cannot heal itself; and 4) recovery of said abnormal sub-sensor: monitoring the output data of said sub-sensor entering the isolation zone to determine whether they have reached the recovery conditions; and allowing said sub-sensor that have reached the recovery conditions to detach from the isolation zone and resume work. 2. A method for isolation and restoration for a multi-core sensor system within a taxi, wherein said multi-core sensor system is installed in a taxi roof light; said multi-core sensor system comprises a control module and a detection module; said detection module comprises a sensor module comprising at least two sub-sensor units of the same type; said detection module further comprises a low-frequency calibration module comprising at least one sub-sensor unit that is of the same type as the sub-sensor unit of said sensor module; wherein said method comprises the following steps: 1) judgment of an abnormal sub-sensor: said control module obtains a set of detection data at a time and detection data of the low-frequency calibration module; the detection data of the low-frequency calibration module is added to the set of detection data of the sensor module after the detection data of the low-frequency calibration module a double weight; and said control module fdters out suspected abnormal data from the set of detection data, and then determines whether the corresponding sub-sensor meets an isolation condition; 2) isolation of the abnormal sub-sensor: a sub-sensor meeting the isolation condition is classified into an isolation zone; said sensor module is degraded and continues to work; 3) determining whether said sub-sensor entering the isolation zone can heal itself; if it is judged that it can heal itself, then performing frequency reduction work on the self-healing sub-sensor, wherein data output by the sub-sensor does not participate in the calculation of the output data of said control module; and notifying an operation and maintenance party for repair or replace for said sub-sensor which cannot heal itself; and 4) recovery of said abnormal sub-sensor: monitoring the output data of said sub-sensor entering the isolation zone to determine whether they have reached the recovery conditions; and allowing said sub-sensor that have reached the recovery conditions to detach from the isolation zone and resume work. 3. The method according to claim 2 , wherein the sub-sensor unit of said calibration module operates at a significantly lower frequency than that of said sensor module. 4. The method according to claim 3 , wherein a ratio of operating frequencies between the sub-sensor unit of said sensor module and the sub-sensor unit of said 5. The method according to any one of claims 1-4 , wherein said abnormal sub-sensor unit is judged according to one of the following abnormalities: 1) abnormal drift of sub-sensor; 2) abnormal fluctuation of sub-sensor; and 3) abnormal correlation of sub-sensor. 6. The method according to any one of claims 1-4 , wherein a status indicator light is on each said sub-sensor unit; when said abnormal sub-sensor unit is identified, said status indicator light on said abnormal sub-sensor unit is changed to a warning color; otherwise, said status indicator light in green. 7. The method according to any one of claims 1-4 , wherein the detection module is configured to detect a concentration of atmospheric pollutants; and the control module is configured to receive, analyze and upload the data detected by the detection module. 8. The method according to claim 7 , wherein after receiving a set of detection data from said detection module, said control module analyses the set of detection data and calculates an output data according to one of the following methods: 1) mean value method; 2) median method; 3) correlation coefficient method; 4) variance method; 5) percentage method, wherein the data of the abnormal sub-sensor is filtered out. 9. The method according to claim 7 , wherein the accuracy of said multi-core sensor system is improved by one of the following methods: 1) compensation for lengths difference: embedded algorithms are used to compensate for asynchronous sampling of said sub-sensor units caused by different lengths of intake pipes; 2) control of flow rate: a flow rate sensor and a differential pressure sensor are used to obtain gas flow rate, and a fan and a fan speed control circuit are added; by adjusting the speed of said fan, gas flow rate is stabilized, within a range of preferred flow rate; 3) temperature compensation: a temperature acquisition probe is installed to measure gas temperature, output results of said multi-core sensor system are adjusted according to measured gas temperature; and 4) humidity compensation: a humidity acquisition device is installed to measure gas humidity, output results of said multi-core sensor system are adjusted according to measured gas humidity. 10. The method according to claim 7 , wherein said sub-sensor unit is one of the following sensors: ΡΜΐ sensor, ΡΜ2.5 sensor, PM 10 sensor, PM 100 sensor, sulphur dioxide sensor, nitrogen oxide sensor, ozone sensor, carbon monoxide sensor, VOCs sensor, or TVOC sensor. 11. The method according to claim 7 , wherein the accuracy of said multi-core sensor system is improved by the following methods: a laser power detection device and a laser power control circuit are installed to compensate a loss of laser power; a change relationship of the particle concentration value corresponding to each laser power value is obtained experimentally; and the attenuation data is compensated by the laser power control circuit according to the detection result of the power detector.TECHNICAL FIELD
BACKGROUND OF THE DISCLOSURE
SUMMARY OF THE DISCLOSURE
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF EMBODIMENTS
Terminology
Humidity and temperature adjustment
Embodiment One
Embodiment Two
Embodiment Three
Compensation of flow rate, temperature, power and pipeline length
Embodiment Four
Embodiment Five
Embodiment Six
Embodiment Seven
Output data calculation method
Embodiment Eight
Embodiment Nine
Embodiment Ten
Embodiment Eleven
Embodiment Twelve
Identify sub-sensor working status
Embodiment Thirteen
Embodiment Fourteen
Embodiment Fifteen
Embodiment Sixteen
Embodiment Seventeen
Embodiment Eighteen
Embodiment Nineteen
Rotational rest mode
Embodiment Twenty
Embodiment Twenty-one