An intelligent data management system and method for gas sensors
By designing a gas sensor intelligent data management system, the problem of insufficient systematicness, intelligence and effectiveness of infrared gas sensors in large-scale batch preparation has been solved, and the stability, repeatability and consistency of batch infrared sensors have been achieved. Guarantee, improve data management efficiency and resource utilization.
Patent Information
- Application Number
- CN202310966742.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-08-02
AI Technical Summary
Infrared gas sensors face problems of insufficient systematicness, intelligence, and effectiveness during large-scale batch preparation, resulting in difficulty in ensuring stability, repeatability, and consistency, low testing efficiency, poor traceability, and difficulty in meeting large-scale data management requirements. need.
An intelligent data management system for gas sensors is designed, including a data acquisition circuit board, a gas sensor host computer and a DC switching power supply. Multiple data acquisition circuit boards connected in series are connected to the gas sensor host computer to achieve batch data collection, automatic Screening of defective products, data analysis and uploading simplify the operation process and improve data management efficiency.
It realizes simultaneous data collection, storage and analysis of batch infrared sensors, automatically determines quality, and generates analysis reports, which improves the systematicness, intelligence and effectiveness of data management, simplifies the operation process, saves manual resources, and improves efficiency. Resource usage efficiency.
Smart Images

Figure CN116991797B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent data management of gas sensors, and in particular to an intelligent data management system and method for gas sensors. Background Art
[0002] In recent years, industrial gases have become important chemical raw materials and energy sources, and their important position and role in the national economy have become increasingly prominent. They are widely used in energy and chemical, biopharmaceutical, fine chemical, semiconductor and other industries. However, industrial gases often have certain dangers such as flammability, toxicity, and corrosiveness. Gas sensors are professional devices for sensing and measuring gas concentrations and are an important means to ensure the safety of industrial gases. Therefore, the stability, repeatability, and consistency of gas sensors have become important factors affecting industrial production safety.
[0003] Infrared gas sensors use the infrared absorption spectrum characteristics of gas molecules to accurately detect the concentration of hydrocarbon combustible gases, carbon dioxide, sulfur hexafluoride, refrigerants and other gases. As infrared gas sensors are widely used in petrochemicals, natural gas, coal chemical industry, power systems and other fields, their demand is growing. However, since infrared gas sensors involve precision optical devices and complex preparation processes, how to effectively ensure the stability, repeatability, consistency and other key performance of large-scale batch infrared gas sensors has become an important challenge facing the infrared gas sensor industry.
[0004] In order to ensure the key performance of gas sensors, it is necessary to conduct data testing and analysis management of the entire life cycle of batch gas sensors during the preparation process to verify the reliability of gas sensors, screen out defective sensors, and ensure the traceability of gas sensor performance. At present, the data management of infrared gas sensors mainly faces the following three problems:
[0005] 1. Insufficient systematization. In each process of gas sensor assembly, aging, calibration, etc., independent test tools are used for data detection. Different test tools need to be adapted, resulting in low test efficiency and poor traceability.
[0006] 2. Lack of intelligence. Usually, test data is collected, judged and written by manual input, threshold determination, and one-by-one reading and writing. The data processing efficiency is low and it is difficult to meet the data management needs of large-scale gas sensors.
[0007] 3. Insufficient effectiveness. Usually, the final test data of gas sensors is analyzed and managed, but there is a lack of analysis and management of process data, which makes it difficult to meet the analysis requirements for comprehensive performance such as long-term stability and anti-interference ability of gas sensors. Summary of the invention
[0008] Focusing on the data management needs of batch infrared gas sensors throughout their life cycle, the present invention proposes an intelligent data management system and method for gas sensors to solve the problems of systematic, intelligent and effective data management of large-scale gas sensors, and to ensure the key performance of batch-produced gas sensors, such as stability, repeatability and consistency.
[0009] The technical solution of the present invention is as follows:
[0010] An intelligent data management system for a gas sensor, comprising:
[0011] The data acquisition circuit board is provided with a plurality of sensor receiving slots or connection line terminal receiving slots, each sensor receiving slot is provided with a connection port, and the gas sensor placed in the sensor receiving slot is connected to the data acquisition circuit board through the corresponding connection port; or the gas sensor is connected to the data acquisition circuit board through the connection line terminal receiving slot;
[0012] A gas sensor host computer is connected to the data acquisition circuit board and is used to transmit command signals to the data acquisition circuit board, and is used to receive data of the gas sensor acquired by the data acquisition circuit board, and to store the data locally and upload the data to the server; the gas sensor host computer is also used to analyze the data and automatically screen out gas sensors that do not meet the standards;
[0013] A direct current switching power supply is connected to the data acquisition circuit board and is used to supply power to the data acquisition circuit board and the multiple gas sensors thereon.
[0014] The present invention according to the above scheme includes a plurality of data acquisition circuit boards connected in series, and the plurality of data acquisition circuit boards are connected to the gas sensor host computer through the same communication interface; each of the data acquisition circuit boards is provided with an 8-bit dip switch for adjusting the dip switch to change the address position of the sensor receiving slot or the connecting wire terminal receiving slot.
[0015] According to the present invention of the above scheme, the preset address of the gas sensor host computer corresponds to each gas sensor on the data acquisition circuit board; and the gas sensor host computer retrieves the data within the range of the preset address and returns the normal gas sensor, and records the returned results and displays them on the interface of the gas sensor host computer.
[0016] The present invention also provides a method for implementing an intelligent data management system for a gas sensor. In different stages of gas sensor assembly, gas sensor aging, high and low temperature testing of gas sensors, and gas sensor calibration, a gas sensor host computer cyclically traverses and accesses the gas sensors on a data acquisition circuit board to obtain data of each gas sensor at different stages, and saves the data according to classification at different stages; in each stage, the gas sensor host computer analyzes and screens out defective products; and the gas sensor host computer regularly uploads data to a server.
[0017] According to the above scheme of the present invention, in the gas sensor assembly stage, the unassembled semi-finished sensor and the jig adapted to its interface are detachably connected, placed in the sensor receiving slot of the data acquisition circuit board through the jig connection wire terminal, and connected to the gas sensor host computer through the data acquisition circuit board to collect data from the semi-finished sensor. The gas sensor host computer displays the collected data on the interface, identifies the semi-finished sensor that does not meet the standards based on the data through the threshold judgment, and displays its corresponding position on the data acquisition circuit board on the interface.
[0018] According to the present invention of the above scheme, during the aging stage of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in a constant temperature and humidity test, the gas sensor host computer continuously collects data from all gas sensors on the data acquisition circuit board, and the gas sensor host computer marks the location of the gas sensors that do not meet the standards.
[0019] According to the present invention of the above scheme, during the high and low temperature test stage of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in a constant temperature and humidity test chamber. The gas sensor host computer collects data from all gas sensors on the data acquisition circuit board during each temperature cycle change, screens out defective products, and calculates and records the data of gas sensors that meet the standards.
[0020] Furthermore, the gas sensor host computer collects data from all gas sensors on the data acquisition circuit board during each temperature cycle change, specifically including the following steps:
[0021] Step 1, the temperature of the constant temperature and humidity test box is set to a temperature cycle with five temperature points, including a first high temperature-a second high temperature-a normal temperature-a first low temperature-a second low temperature;
[0022] Step 2: During the temperature cycle, the gas sensor host computer collects the temperature value of the gas sensor and determines whether the gas sensor has completed a complete high and low temperature cycle based on the temperature change of the gas sensor: starting from room temperature - rising to high temperature - falling to low temperature - returning to room temperature, and at each of the five temperature points, the stability must be maintained for more than 2 hours to obtain complete required data;
[0023] Step 3: The gas sensor host computer determines whether the number of temperature gradient values of the gas sensor in the stage of decreasing from high temperature to low temperature meets the standard, and determines those that do not meet the standard as defective products and screens them out;
[0024] Step 4: The gas sensor host computer collects the test signal and reference signal of the gas sensor that meets the standard;
[0025] Step 5: The gas sensor host computer performs data analysis, including eliminating useless data and extracting multiple test signal values and multiple reference signal values corresponding to each temperature gradient;
[0026] Step 6: The gas sensor host computer calculates the average test signal value and the average reference signal value under each temperature gradient;
[0027] Step 7: The gas sensor host computer saves the data.
[0028] Furthermore, the gas sensor host computer collects data from two rounds of high and low temperature cycles of the gas sensor.
[0029] Furthermore, when the data acquisition circuit board loaded with the gas sensor is placed in the constant temperature and humidity test chamber, the connection lines between the data acquisition circuit board and the DC switching power supply, and the connection lines between the data acquisition circuit board and the gas sensor host computer all pass through the wire threading port of the constant temperature and humidity test chamber.
[0030] Furthermore, in step 7, the gas sensor host computer generates a coefficient table corresponding to each gas sensor according to the collected data, and writes the coefficient of each gas sensor into the coefficient table.
[0031] According to the present invention of the above scheme, in the gas sensor calibration stage, multiple data acquisition circuit boards loaded with gas sensors are placed in a matching box, and the gas sensor host computer periodically collects data from all gas sensors on the data acquisition circuit boards to compare the gas sensor concentration value with the analyzer concentration value. When the analyzer concentration value reaches a preset value, the gas sensor host computer sends a gas sensor calibration instruction to calibrate the gas sensor and calibrate the gas sensor concentration value to the analyzer concentration value.
[0032] The present invention according to the above scheme has the following beneficial effects:
[0033] The present invention establishes data communication with the gas sensor host computer through the data acquisition circuit board, realizes address allocation, signal reading, and parameter writing of multiple gas sensors; the gas sensor host computer can realize communication status detection of batch gas sensors with one key, and synchronously obtain the gas sensor software version number, product serial number, original signal, and calculation data;
[0034] The present invention can automatically collect data information of the entire process of gas sensors, including different stages of gas sensor assembly, gas sensor aging, gas sensor high and low temperature testing, and gas sensor calibration, automatically determine the quality of gas sensors, screen out defective products, and automatically generate analysis reports for the entire process data of batch gas sensors, and simultaneously save them to the local hard disk and upload them to the server;
[0035] Therefore, the present invention can achieve: 1. Batch operation, realizing simultaneous data collection by batch infrared sensors; 2. Storing the data collected by batch infrared sensors in local files and uploading them to the server at regular intervals; 3. Easy operation, the originally complex work that requires professionals is transformed into something that ordinary people can do by operating the gas sensor host computer application software; 4. The data acquisition system established by the gas sensor host computer with components such as the acquisition board facilitates data collection and makes data collection standardized, modularized and efficient; 5. Intelligent data management method, through the gas sensor host computer software, a series of operations such as software storage, analysis, backup, and result judgment are realized, which saves labor in the intermediate process and improves resource utilization efficiency; 6. The effect of controlling the quality of gas sensors is good, and the intelligent data management system effectively utilizes existing resources, and with the application of the gas sensor host computer software, the pros and cons analysis of gas sensors is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a structural schematic diagram of the present invention.
[0037] Figure 2 It is a schematic diagram of the present invention applied to a constant temperature and humidity test chamber;
[0038] Figure 3 It is the temperature curve of the gas sensor;
[0039] Figure 4 Test signal curve graph for gas sensor;
[0040] Figure 5 is a gas sensor reference signal curve graph;
[0041] Figure 6 Schematic diagram of the gas sensor host computer eliminating useless data.
[0042] In the figure,
[0043] 1. Data acquisition circuit board; 2. Gas sensor host computer; 21. USB to RS485 module; 3. DC switching power supply; 4. Constant temperature and humidity test chamber. DETAILED DESCRIPTION
[0044] In order to better understand the purpose, technical scheme and technical effect of the present invention, the present invention is further explained in conjunction with the accompanying drawings and embodiments. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, it is stated that the embodiments described below are only used to explain the present invention and are not used to limit the present invention.
[0045] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element, and when an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time. The term "plurality" means two or more, unless otherwise clearly and specifically defined.
[0046] like Figure 1 and Figure 2 As shown, an intelligent data management system for a gas sensor includes a data acquisition circuit board 1, a gas sensor host computer 2 and a DC switching power supply 3. The data acquisition circuit board 1 is used to place the gas sensor and communicate with the gas sensor. The DC switching power supply supplies power to the data acquisition circuit board and the gas sensor thereon. The gas sensor host computer is connected to the data acquisition circuit board 1 and sends a command signal to the data acquisition circuit board 1 to collect data from different gas sensors.
[0047] In an optional embodiment, the data acquisition circuit board 1 is provided with a plurality of sensor receiving slots, each of which is provided with a connection port, the connection port including a positive power supply pole, a negative power supply pole, a serial communication sending point, and a serial communication receiving point, and the gas sensor placed in the sensor receiving slot is communicatively connected to the data acquisition circuit board through the corresponding connection port; this embodiment is suitable for small-sized miniature gas sensors.
[0048] In another optional embodiment, for gas sensors that are larger in size and heavier in weight, the data acquisition circuit board is provided with a connection wire terminal accommodating groove. When in use, the data acquisition circuit board is installed under the supporting steel plate of the constant value temperature box, and the gas sensor is placed on the supporting steel plate. The supporting steel plate is used to support the large gas sensor; and the supporting steel plate is provided with a wire hole for threading and connecting the connection wires between the data acquisition circuit board and the gas sensor. It can be seen that this embodiment is suitable for gas sensors that are larger in size and cannot be directly supported by the data acquisition circuit board.
[0049] Each sensor receiving slot or connecting wire terminal receiving slot has a different port number, which can distinguish the gas sensors received on the data acquisition circuit board. Finally, the data acquisition circuit board 1 communicates with the gas sensor host computer serial port through the USB to 485 module 21.
[0050] In a preferred embodiment, multiple data acquisition circuit boards 1 are connected in series to achieve data communication, forming an extended combination of multiple data acquisition circuit boards, and connected to the gas sensor host computer through the same communication interface, thereby realizing the data acquisition function of large-scale gas sensors. Each data acquisition circuit board is provided with an 8-bit dip switch. By adjusting the dip switch, the address bit of the receiving slot (sensor receiving slot or connecting wire terminal receiving slot) of the data acquisition circuit board can be increased according to the number of receiving slots, so as to distinguish the data acquisition circuit boards, so that multiple data acquisition circuit boards can be used in series.
[0051] In the present invention, the data acquisition circuit board 1 is provided with 15 or 30 sensor receiving slots, and each sensor receiving slot is provided with a connection port for connecting a gas sensor, so that one data acquisition circuit board can simultaneously power 15 or 30 gas sensors and collect data from 15 or 30 gas sensors. In a specific embodiment, a combination of multiple data acquisition circuit boards can enable a computer end (i.e., a gas sensor host computer 2) to synchronously collect data from 255 gas sensors through one communication serial port. On the other hand, the existing sensors use a TTL communication method. If the sensor data is to be directly collected through a computer, it is necessary to use a USB to RS232 + RS232 to TTL module to achieve this. This method has the following defects: each serial port channel can only collect data from one sensor, resulting in large consumption of peripheral configuration and inability to use in large quantities.
[0052] The gas sensor host computer 2 is connected to the data acquisition circuit board 1 and is used to transmit command signals to the data acquisition circuit board, and is used to receive the data of the gas sensor obtained by the data acquisition circuit board 1. The gas sensor host computer 2 is provided with a GUI interface for user operation. The preset address position of the gas sensor host computer 2 corresponds to each gas sensor on the data acquisition circuit board 1; and the gas sensor host computer retrieves the data within the range of the preset address and returns the normal gas sensor, and records the returned results and displays them on the interface of the gas sensor host computer. The gas sensor host computer can traverse the address to send command signals to each gas sensor to achieve communication. The specific implementation logic is that the data acquisition circuit board defines different address positions corresponding to the connection port in each sensor accommodating slot, and there is a dial switch to select at different address positions; in communication, the command signal sent by the gas sensor host computer through the serial port reaches the data acquisition circuit board, and the data acquisition circuit board sends the command to the corresponding gas sensor according to the address position to read the gas sensor.
[0053] In a specific embodiment, the data acquisition circuit board 1 sends the instruction to the corresponding gas sensor according to the address bit to read the hexadecimal data returned by the gas sensor. The data acquisition circuit board adjusts the data format according to the returned data and returns the data in readable and easy-to-read text form to the gas sensor host computer. For example, the gas sensor host computer sends the instruction "01 03 01 0A". If the data format is not adjusted by the data acquisition circuit board, the returned data is "01 03 050000 00 03 25 00 00 27 10". The fourth value "00" represents the fault information: 00, corresponding to no fault, and the fifth to eighth values "00 00 03 25" represent the temperature value: 00 00 03 25. The value is converted from hexadecimal to decimal and corresponds to 805. After calculation, the final corresponding temperature value is (805-500) / 10=30.5°C. It can be seen that if the data format is not adjusted by the data acquisition circuit board, the readability will be poor.
[0054] After adjusting the format, the output content is:
[0055] "[001#Normal V1:05838V0:28695T1:00301]", where 001# is the number (the number corresponds to the address of the data acquisition circuit board where the sensor is located), the fault information shows "Normal", concentration 1: V1 = 05838, concentration 2: V0 = 28695, temperature: T1 = 00301. It is relatively readable and easy to understand.
[0056] It should be noted that the gas sensor host computer of the present invention is compiled based on python, and the serial port connection of the gas sensor host computer realizes serial port connection and communication based on the serial library. The hexadecimal instructions sent to the serial port will be received and executed by the data acquisition circuit board 1. The data acquisition circuit board 1 sends corresponding instructions to the gas sensor to obtain data according to the established protocol, and adjusts the format and returns it to the serial port. The gas sensor host computer then reads the data to complete a data collection.
[0057] In the present invention, the gas sensor host computer 2 also saves the data locally and automatically stores it in a .txt text file.
[0058] In the present invention, the gas sensor host computer 2 can also upload the collected data to the server. After the data is saved, the gas sensor host computer 2 can transfer it to a designated file. The computer is installed with file backup software, and the content in this folder will be regularly uploaded to the server for backup. The gas sensor host computer 2 can transfer all supporting files to this folder after the gas sensor data is collected and processed, thereby achieving a perfect connection for the function. In a specific embodiment, the data backup upload software "Synology Drive Client-3.2.1-13272.exe" corresponding to the server can realize the above-mentioned data upload function by installing and executing the software.
[0059] The gas sensor host computer 2 is also used to analyze the data and automatically screen out substandard gas sensors. For the screening of substandard or defective gas sensors by the gas sensor host computer 2, see the implementation method of the intelligent data management system of the gas sensor.
[0060] The present invention also provides a method for implementing an intelligent data management system for a gas sensor. In different stages of gas sensor assembly, gas sensor aging, high and low temperature testing of the gas sensor, and gas sensor calibration, the gas sensor host computer automatically generates corresponding instructions for the gas sensor based on the address bits of the gas sensor, and cyclically traverses and accesses the gas sensors on the data acquisition circuit board to obtain data from each gas sensor at different stages, and saves the data according to different stages. In each stage, the gas sensor host computer analyzes and screens out defective products, and the gas sensor host computer uploads the data to the server at regular intervals.
[0061] Among them, during the gas sensor assembly stage, the unassembled semi-finished sensor and the jig adapted to its interface are detachably connected, placed in the sensor receiving slot of the data acquisition circuit board through the jig connection line terminal, and connected to the gas sensor host computer through the data acquisition circuit board to collect data from the semi-finished sensor. The gas sensor host computer displays the collected data on the interface, identifies the substandard semi-finished sensors based on the data through the threshold judgment, and displays their corresponding positions on the data acquisition circuit board on the interface. Semi-finished sensors are quality inspections before being assembled into finished sensors to screen out defective semi-finished sensors. The role of the jig is to fix the semi-finished sensors and match the semi-finished sensors to realize the basic functions of the finished sensors. The gas sensor host computer communicates with the gas sensor in real time through the data acquisition circuit board to obtain real-time data of the sensor, and displays good products that meet the parameter indicators and defective products that do not meet the parameter indicators.
[0062] Among them, during the aging stage of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in the constant temperature and humidity test chamber, and the gas sensor host computer continuously collects data from all gas sensors on the data acquisition circuit board, and the gas sensor host computer marks the location of the gas sensors that do not meet the standards. At this time, the constant temperature and humidity test chamber is used as an aging test chamber, and the constant temperature and humidity test chamber runs the set aging program group. The test environment in the constant temperature and humidity test chamber is built, and it is fixed once built without change. Only gas sensors of different batches and models are cycled for testing and data collection. The aging test chamber is a temperature chamber, and only two temperature values are set: a high temperature and a low temperature, which are cycled within two temperature ranges. Collect all parameters of all gas sensors at regular intervals to determine whether they are still within the qualified value, and screen out gas sensors that do not meet the standards after the aging test.
[0063] It should be noted that the common parameter indicators of gas sensors include: detection signal fluctuation size and drift range, temperature signal, test signal, reference signal change trend, measurement error, response speed, cross interference, temperature and humidity influence, etc.
[0064] During the high and low temperature test phase of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in the constant temperature and humidity test box 4, the data acquisition circuit board and its gas sensor are located inside the box, the gas sensor host computer and the DC switching power supply are located outside the box, and the connection line between the data acquisition circuit board and the DC switching power supply, and the connection line between the data acquisition circuit board and the gas sensor host computer are all passed through the threading port of the constant temperature and humidity test box 4. The gas sensor host computer collects data from all gas sensors on the data acquisition circuit board in each temperature cycle change, screens out defective products, and calculates and records the data of gas sensors that meet the standards.
[0065] The specific steps include:
[0066] Step 1, the temperature of the constant temperature and humidity test box is set to a temperature cycle with five temperature points, including a first high temperature-a second high temperature-a normal temperature-a first low temperature-a second low temperature;
[0067] The so-called high temperature refers to a temperature higher than normal temperature, and the low temperature refers to a temperature lower than normal temperature. The specific high temperature value and the low temperature value are set according to the actual test requirements. The two high temperatures in this embodiment are the first high temperature (85°C) and the second high temperature (55°C), and the two high temperatures are the first low temperature (-10°C) and the second low temperature (-40°C).
[0068] Formation: Normal temperature (23℃) - high temperature (85℃) - high temperature (55℃) Normal temperature (23℃) - low temperature (-10℃) - low temperature (-40℃) - normal temperature (23℃). The initial normal temperature and the final normal temperature only indicate that the temperature box starts to rise from normal temperature and returns to normal temperature at the end. These two temperatures do not need to be kept stable for more than 2 hours. Only the five middle temperature points are kept for more than 2 hours to obtain complete required data for analysis and processing.
[0069] Step 2: During the temperature cycle, the gas sensor host computer collects the temperature value of the gas sensor and determines whether the gas sensor has completed a complete high and low temperature cycle from the change in the temperature value of the gas sensor: rising to high temperature - falling to low temperature - returning to normal temperature;
[0070] The gas sensor host computer sets the above five temperature points. The setting of the temperature points of the temperature box (i.e., constant temperature and humidity test box) needs to follow a fixed temperature change process, that is, heating from room temperature to high temperature, then gradually cooling to low temperature, and then returning from low temperature to room temperature. Each gas sensor has a temperature sensor inside, which can detect the corresponding temperature value of each gas sensor under the set temperature environment. The temperature change process of the gas sensor can be used to determine whether a complete high and low temperature cycle is completed, that is, through the process of the gas sensor reaching high temperature - dropping to low temperature - returning to room temperature, it can be determined that a round of high and low temperature 5 point data collection is completed.
[0071] In order to ensure the stability of the data measured by the gas sensor during temperature cycling, two rounds of high and low temperature testing can be carried out, and the judgment of the second round is the same as the first round.
[0072] Step 3: The gas sensor host computer determines whether the number of temperature gradient values of the gas sensor in the stage of decreasing from high temperature to low temperature meets the standard, and determines those that do not meet the standard as defective products and screens them out;
[0073] After the gas sensor host computer obtains the temperature value corresponding to the gas sensor in a cyclically changing temperature environment, it first determines whether the number of temperature gradients exhibited by the temperature curve in the stage of decreasing from high temperature to low temperature meets the standard. For example, the gas sensor of this embodiment should have five temperature gradient values, and the curve should show five temperature gradients. If there are no five temperature gradients, it is a defective product. The gas sensor host computer will mark the address bit corresponding to the defective gas sensor.
[0074] Step 4: The gas sensor host computer collects the test signal and reference signal of the gas sensor that meets the standard;
[0075] It should be noted that the gas sensor signal model is as follows Figures 3 to 5As shown, it is divided into three signals: temperature signal (the value of the temperature sensor inside the sensor), test signal (the signal value of the NDIR detector test channel), and reference signal (the signal value of the NDIR detector reference channel). After the gas sensor host computer screens out defective products, it collects the test signal and reference signal of the gas sensor one by one and saves them. Figure 4 and Figure 5 The vertical axis is the signal intensity, which is obtained through a series of calculations by the instrument. It corresponds to the signal intensity output by the reference channel of the detector chip in the gas sensor. The signal is amplified by hardware, filtered by software, and then calculated by software. It is a value with no clear unit.
[0076] In a preferred embodiment, the gas sensor host computer has a self-learning function. Specifically, the self-learning process is divided into two processes: 1. The gas sensor host computer pre-sets the target value. Based on the target value and the data of the acquisition process, the gas sensor host computer will automatically adjust the thresholds of various parameters to achieve the purpose of self-learning. For example, if it is necessary to ensure that the good products are above 90%, the gas sensor host computer can automatically adjust the parameters of the good products based on the process data so that the output final result meets the expected 90% good products. 2. The gas sensor host computer records the key parameters of all previous data, and adjusts the threshold parameters based on the key parameters and the corresponding calculation logic to achieve the purpose of self-learning. For example, record the data of all gas sensors, calculate the mode of all data, and the value of the offset mode is an unexpected value. It can be preset in the gas sensor host computer according to actual needs, such as the value of the offset mode exceeding 5% is an unexpected value; as the amount of collected data increases, the thresholds of various parameters are continuously adjusted to achieve the purpose of learning.
[0077] Step 5: The gas sensor host computer performs data analysis, including eliminating useless data and extracting multiple test signal values and multiple reference signal values corresponding to each temperature gradient;
[0078] After the gas sensor host computer collects the temperature signal, test signal and reference signal of the gas sensor, only the data when the temperature is stable is needed, and the data of the initial stage when the temperature rises from normal temperature / low temperature to high temperature (refer to Figure 6 The dashed box in the figure is useless and will interfere with the processing and analysis of normal data. Therefore, the gas sensor host computer needs to remove this segment of data. In actual operation, the gas sensor host computer sets 60℃ (the specific value depends on actual needs) at the heating stage, and the data of the heating stage below 60℃ is fixedly deleted, and only the data segment with a temperature value greater than or equal to the set 60℃ is retained.
[0079] In this embodiment, the gas sensor used has five temperature gradients, i.e., five stable temperature stages. In the five temperature stable stages, corresponding test signal values and reference signal values are extracted. As can be seen from the figure, in each temperature gradient stage, there is more than one test signal value and reference signal value.
[0080] Step 6: The gas sensor host computer calculates the average test signal value and the average reference signal value under each temperature gradient;
[0081] The gas sensor host computer calculates the average value of multiple test signal values and the average value of multiple reference signal values under each temperature gradient, that is, the data in the temperature stabilization stage is averaged, and the average value is used to represent the value under the stable temperature state. Based on the gas sensor in this embodiment, five temperature values are finally obtained, and each temperature value corresponds to a test signal value and a reference signal value.
[0082] Step 7: The gas sensor host computer saves the data.
[0083] In a specific embodiment, the local storage method of the gas sensor host computer is to write various required parameters into Excel for storage according to demand. During the above data analysis process, the gas sensor host computer will extract the data parameters that need to be changed for each gas sensor (such as the aforementioned temperature value, test signal and reference signal), and match other default parameter values (referring to coefficients applicable to all gas sensors or the same batch, such as the range, unit, constant of the calculation process equation, etc. of the sensor test), to generate a unique coefficient table corresponding to each gas sensor, which includes the basic parameters of the gas sensor, serial number, software version and other information.
[0084] After the gas sensor host computer generates the coefficient table, it executes coefficient writing. Specifically, it calls the content in the coefficient table. The content format in the table is fixed, so it can be traversed according to certain rules to write the coefficients of each normal (i.e., screen out defective) gas sensor.
[0085] Among them, the format of the sensors_data table is: the first column - the names corresponding to all coefficients; the second column - the standard instructions corresponding to writing coefficients to registers; the third column - the standard instructions corresponding to reading the values of coefficients in registers; the fourth column - the write enable bit, which is used to specify whether the row instruction corresponding to the second column performs a write operation; the fifth column - the read enable bit, which is used to specify whether the row instruction corresponding to the third column performs a read operation; the sixth column - the serial number of the first sensor and the parameters required for the corresponding row; the seventh column - the serial number of the second sensor and the parameters required for the corresponding row; the *th column - the serial number of the (*-5)th sensor and the parameters required for the corresponding row.
[0086] The rules to be followed are: 1. The name of the coefficient table is fixed: data_output3.xlsx; 2. The name of the sheet in Excel is fixed: sensors_data.
[0087] Therefore, based on the required data extracted from the data analysis, the gas sensor host computer determines that the products that meet the preset values are good products according to the established standards, otherwise they are defective products. The gas sensor host computer stores the judgment results in another table of the coefficient table Excel. The gas sensor host computer can also display the results on the GUI interface.
[0088] In other optional implementations, the local storage method of the gas sensor host computer can also be stored in program variables.
[0089] The implementation method of the intelligent data management system of the gas sensor of the present invention is as follows: during the gas sensor calibration stage, multiple data acquisition circuit boards loaded with gas sensors are placed in a matching box, and the gas sensor host computer regularly collects data from all gas sensors on the data acquisition circuit boards so as to compare the concentration value measured by the gas sensor with the concentration value of the analyzer.
[0090] In a specific embodiment, 20 gas sensors are put into a batch box in turn, and a certain concentration of standard gas is injected into the batch box. The batch box acts as a seal, and an analyzer is used to monitor the gas concentration in the batch box in real time. As for the power supply and communication of the gas sensor, as mentioned above, a gas sensor data acquisition circuit board is configured in the batch box as a transfer, and a DC regulated power supply (i.e., a DC switching power supply) is still used for power supply, and USB to RS485 is used for communication.
[0091] When the operator is in actual operation, he should first build the environment required for calibration. The execution of the calibration action is controlled by the gas sensor host computer to realize semi-automatic operation, that is, the calibration is performed at the gas sensor host computer, and the operator will be prompted to perform corresponding operations in turn. The execution logic of the gas sensor host computer is: click the button calibration start at the gas sensor host computer--automatically detect the communication status of the batch, and display the communication status--prompt the operator to put the gas sensor in a gas-free state, and the operator clicks the button to confirm--automatically perform zeroing--prompt the zeroing success after judgment--prompt the operator to ventilate the proportioning box--monitor the gas concentration, and prompt the operator to stop introducing gas before reaching the expected concentration--after the gas concentration is stable, according to the concentration value fed back by the analyzer, send the corresponding calibration command to each gas sensor. After the command is sent, the concentration value of the gas sensor is compared with the concentration value of the analyzer to prompt the operator whether the calibration is successful.
[0092] In summary, the present invention establishes data communication with the gas sensor host computer through the data acquisition circuit board, realizes address allocation, signal reading, and parameter writing of multiple gas sensors. The data acquisition circuit board is suitable for the entire production process of gas sensor assembly, aging, calibration, and detection. It can perform intelligent analysis and judgment and data management on the test data of each process link, automatically determine the quality of gas sensors, screen out defective products, and automatically generate analysis reports for the entire process data of batch gas sensors, and synchronously save them to the local hard disk and upload them to the server.
[0093] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for intelligent data management of a gas sensor, characterized in that: During the different stages of gas sensor assembly, gas sensor aging, gas sensor high and low temperature testing, and gas sensor calibration, the gas sensor host computer cyclically traverses and accesses the gas sensors on the data acquisition circuit board to obtain the data of each gas sensor at different stages, and saves the data according to different stages; at each stage, the gas sensor host computer analyzes and screens out defective products; and the gas sensor host computer regularly uploads the data to the server; During the gas sensor assembly stage, the unassembled semi-finished sensor and the jig adapted to its interface are detachably connected, placed in the sensor receiving slot of the data acquisition circuit board through the jig connection line terminal, and connected to the gas sensor host computer through the data acquisition circuit board to collect data from the semi-finished sensor. The gas sensor host computer displays the collected data on the interface, identifies the semi-finished sensor that does not meet the standard based on the data through the threshold judgment, and displays its corresponding position on the data acquisition circuit board on the interface; During the aging stage of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in a constant temperature and humidity test chamber. The gas sensor host computer continuously collects data from all gas sensors on the data acquisition circuit board, and the gas sensor host computer marks the location of the gas sensors that do not meet the standards. During the high and low temperature test phase of the gas sensor, the data acquisition circuit board loaded with the gas sensor is placed in a constant temperature and humidity test chamber. The gas sensor host computer collects data from all gas sensors on the data acquisition circuit board during each temperature cycle, screens out defective products, and calculates and records the data of gas sensors that meet the standards. The specific steps include: Step 1, the temperature of the constant temperature and humidity test box is set to a temperature cycle with five temperature points, including a first high temperature-a second high temperature-a normal temperature-a first low temperature-a second low temperature; Step 2: During the temperature cycle, the gas sensor host computer collects the temperature value of the gas sensor and determines whether the gas sensor has completed a complete high and low temperature cycle based on the temperature change of the gas sensor: starting from room temperature - rising to high temperature - falling to low temperature - returning to room temperature, and at each of the five temperature points, the stability must be maintained for more than 2 hours to obtain complete required data; Step 3: The gas sensor host computer determines whether the number of temperature gradient values of the gas sensor in the stage of decreasing from high temperature to low temperature meets the standard, and determines those that do not meet the standard as defective products and screens them out; Specifically, when the temperature curve of the gas sensor decreases from high temperature to low temperature, if the temperature curve of the gas sensor shows five temperature gradient values, the gas sensor is a good product; if the temperature curve of the gas sensor does not have five temperature gradient values, the gas sensor is a defective product, and the gas sensor host computer marks the address bit corresponding to the defective gas sensor; Step 4: The gas sensor host computer collects the test signal and reference signal of the gas sensor that meets the standard; Step 5: The gas sensor host computer performs data analysis, including eliminating useless data and extracting multiple test signal values and multiple reference signal values corresponding to each temperature gradient; Step 6: The gas sensor host computer calculates the average test signal value and the average reference signal value under each temperature gradient; Step 7, the gas sensor host computer saves data; The gas sensor host computer generates a unique coefficient table for each gas sensor based on the collected data, and writes the coefficient of each gas sensor into the coefficient table; the gas sensor host computer can loop through and write the coefficient of each good gas sensor according to certain rules. The rules to be followed are:
1. The coefficient table name is fixed: data_output3.xlsx; 2. The name of the Excel worksheet is fixed: sensors_data; The format of the sensors_data table is: the first column - the names corresponding to all coefficients; the second column - the standard instructions corresponding to writing coefficients to registers; the third column - the standard instructions corresponding to reading coefficient values in registers; the fourth column - the write enable bit, which is used to specify whether the row instruction corresponding to the second column performs a write operation; the fifth column - the read enable bit, which is used to specify whether the row instruction corresponding to the third column performs a read operation; the sixth column - the serial number of the first sensor and the parameters required for the corresponding row; the seventh column - the serial number of the second sensor and the parameters required for the corresponding row; During the gas sensor calibration stage, multiple data acquisition circuit boards loaded with gas sensors are placed in a matching box. The gas sensor host computer periodically collects data from all gas sensors on the data acquisition circuit boards in order to compare the gas sensor concentration value with the analyzer concentration value. When the analyzer concentration value reaches the preset value, the gas sensor host computer sends a gas sensor calibration instruction to calibrate the gas sensor and calibrate the gas sensor concentration value to the analyzer concentration value.
Citation Information
Patent Citations
Large-batch sensor quality inspection method
CN104034361A
Sensor monitoring system based on electronic identifier and cloud platform, convenient detection data acquisition system and method
CN109189008A
Automatic aging calibration system, intelligent aging cabinet and intelligent aging vehicle
CN111579729A
Automatic test system for gas sensor
CN114646680A
Infrared sensor calibration and temperature compensation device and method
CN114993474A
