Air quality sensor calibration test method and system
Through multi-thread synchronization, sensor information and FPGA communication are obtained, combined with automatic cigarette lighter and standard tester, automatic calibration and testing of air quality sensors are realized, solving the problems of environmental fluctuations and complex operations in traditional systems, and improving production efficiency and precision.
Patent Information
- Application Number
- CN202410998379.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-05
AI Technical Summary
Traditional air quality sensor calibration and testing systems have problems such as large environmental fluctuations, uncontrollable processes, high operator capability requirements and low production efficiency, and the separation of calibration and testing leads to inefficiency.
Multi-threaded synchronization to obtain sensor information, realize sensor status judgment and environmental control through FPGA communication, design calibration test environment bins to achieve constant temperature and humidity state, and combine automatic cigarette lighters and standard testers to realize the integration of automatic calibration and testing of sensors process.
It improves production efficiency and production quality, reduces the ability requirements for operators, reduces environmental concentration differences, improves the accuracy of calibration tests and the quality of sensor products.
Smart Images

Figure CN118897052A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sensor calibration and testing, and more specifically, to a method and system for calibrating and testing an air quality sensor. Background Art
[0002] With the demand for environmental air quality detection and intelligent control in new energy vehicles, industrial environment monitoring, and smart fresh air air conditioners, air quality sensors are used in more and more fields.
[0003] The traditional calibration and testing system for air quality sensors has the calibration and testing functions for different environmental conditions. It usually adopts the manual calibration and testing method, manually adjusting the test environment in advance, and starting to calibrate an environmental parameter after the environment is stable. After the calibration is completed, the environment is adjusted to the next environmental parameter and calibrated, and the calibration points of all environmental parameters are completed in sequence. After the calibration is completed, the same method is used again to complete the test review of each environmental condition. Although this can also be used for large-scale operations, this traditional solution has the following defects:
[0004] (1) Large environmental fluctuations: Manually controlled fans and purifiers are turned on, and the environmental concentration varies greatly, resulting in an unstable environment.
[0005] (2) The process is uncontrollable: If the environmental changes exceed the optimal calibration window time, it needs to be redone, thus affecting the overall production efficiency.
[0006] (3) High requirements on the operator's ability: The operator needs to fully understand the test process and strictly follow the test process. The operator needs to have a high level of proficiency, follow up the operation for a long time, have a heavy workload, and is prone to errors.
[0007] (4) Low production efficiency: Traditional calibration and testing are separate and require repeated operations. The number of sensors that can be calibrated at a time is limited, resulting in low overall production efficiency. Summary of the invention
[0008] In response to at least one defect or improvement need in the prior art, the present application provides an air quality sensor calibration and testing method and system for at least realizing the integration of calibration and testing to improve production efficiency and production quality.
[0009] To achieve the above objectives, in a first aspect, the present application provides an air quality sensor calibration test method, comprising:
[0010] S1. Create multiple threads to synchronously obtain product feature information of each sensor, send and obtain the sensor's protocol signal by communicating with the FPGA, parse and store it, and determine whether the status of each sensor is normal according to the standard;
[0011] S2. If the sensor is in normal condition, calibrate the corresponding temperature according to the selected ambient temperature;
[0012] S3, control so that the airflow in the calibration test environment chamber reaches a dynamic equilibrium state of constant temperature and humidity;
[0013] S4, turn on the purifier, and when the dust concentration in the bin reaches the threshold of the start calibration point, turn off the purifier;
[0014] S5, sending a protocol command to calibrate the corresponding concentration point, and marking the current concentration value into the corresponding sensor;
[0015] S6, looping steps S2-S5 to complete the calibration of all concentration points;
[0016] S7, obtaining the performance index test value of each sensor, and judging whether the state of each sensor is normal according to the standard;
[0017] S8. If the sensor is in normal condition, control the airflow in the calibration test environment chamber to reach a dynamic equilibrium state of constant temperature and humidity;
[0018] S9, turning on the purifier, and when the concentration of the measured object in the air in the warehouse reaches the start calibration point threshold, turning off the purifier;
[0019] S10, sending a protocol command for testing the corresponding concentration point, comparing the concentration measurement values obtained by the standard tester according to the accuracy of different concentration settings, and judging whether the status of each sensor is normal;
[0020] S11, looping steps S8-S10 to complete the test of all concentration points.
[0021] Furthermore, the implementation of the calibration test includes:
[0022] Use FPGA to build a multi-channel LIN bus. Each FPGA I / O port corresponds to one LIN bus, which interacts with the sensors in sequence. The host computer sends signals and reads the return test values of the relevant sensors through multi-threaded synchronization, thus realizing the synchronous calibration and testing of multiple sensors under the corresponding dust concentration.
[0023] Furthermore, between step S4 and step S5, the following steps are also included:
[0024] Make the circulating stirring fan run for the first time to make the dust concentration more stable;
[0025] And / or turn off the circulating stirring fan and let it stand for a second time to allow the warehouse to reach a windless steady state.
[0026] Furthermore, between step S9 and step S10, the following steps are also included:
[0027] The circulating stirring fan is operated for a third time to make the concentration of the measured object in the air in the chamber more stable;
[0028] And / or turn off the circulating stirring fan and let it stand for a fourth time to allow the warehouse to reach a windless steady state.
[0029] Furthermore, after step S11, the method further includes:
[0030] Obtain the test results of various performance indicators of the sensor to determine whether the sensor is qualified;
[0031] The qualified status of the sensor is displayed on the upper computer test software interface and / or the indicator light of the calibration test stand.
[0032] In a second aspect, the present application provides an air quality sensor calibration test system, including: a calibration test environment chamber, a dust generator, a standard tester, a calibration test stand, and a calibration test controller;
[0033] The calibration test environment chamber is used to control the airflow in the chamber so that it can reach a dynamic equilibrium state of constant temperature and humidity;
[0034] The dust generator is arranged outside the cavity of the calibration test environment chamber and is used to provide dust;
[0035] The standard tester is arranged outside the cavity of the calibration test environment chamber and is used to measure the concentration of the dust;
[0036] The calibration test rack is a multi-layer parallel structure, which is arranged in the cavity of the calibration test environment chamber and can hold a plurality of air quality sensors at the same time;
[0037] The calibration test controller executes a calibration test program to implement any of the calibration test methods described above.
[0038] Furthermore, the calibration test environment chamber includes a cooling component, a heating component, a blower, a first air outlet and a second air outlet, and has a dual circulation mode; the dual circulation mode includes an external circulation mode and an internal circulation mode;
[0039] The implementation of the external circulation method includes:
[0040] The cold air from the cooling component is introduced into the cavity of the environmental chamber from the first air outlet through the blower, and the air in the cavity is discharged from the second air outlet, so that the temperature in the cavity is reduced to a preset temperature value;
[0041] The cooling component and the heating component are controlled in linkage to maintain the temperature in the cavity at a preset temperature value;
[0042] The implementation of the inner circulation method includes:
[0043] When it is necessary to measure the temperature inside the cavity, the first and second air vents are closed to close the external circulation mode. The linkage control of the cooling component and the heating component forms an internal circulation in the cavity, and a windless steady state is achieved in the cavity while meeting the requirements of rapid temperature change and constant temperature.
[0044] Furthermore, the calibration test frame adopts a tooling block plug-in installation form, and uses an intermediate plug-in block to connect the air quality sensor and the corresponding circuit board interface.
[0045] Furthermore, the calibration test frame includes: a plurality of FPGA communication circuit boards, a plurality of shielded communication lines and a visualization light board;
[0046] Each FPGA communication circuit board is configured with a preset number of serial port channels, which use the serial port to simulate LIN communication and support high-speed communication of a preset number of LIN channels; each signal light on the visualization light board can display the communication status of each LIN channel.
[0047] Furthermore, the dust generator is an automatic cigarette lighter with a screw push rod structure, which uses an external serial port for communication and can realize control of one or more of the ignition time, the exhaust time and the number of cigarettes lit.
[0048] In general, the above technical solutions conceived by the present application can achieve the following beneficial effects compared with the prior art:
[0049] (1) The air quality sensor calibration test method and system proposed in the present application verifies the optimal calibration timing and operation process through the parameter requirements of the calibration points of the air quality sensor to be calibrated and tested, designs the key node parameters and threshold ranges, and realizes an intelligent control environment through the execution of the calibration test program. It can automatically monitor the changes in the calibration environment, and automatically start the calibration test of the sensor product after reaching the steady-state environment, thereby overcoming the technical defect that the environmental changes caused by manual calibration tests require recalibration once the optimal calibration window time is exceeded, thereby affecting the calibration test efficiency; after completing the calibration of each parameter point, the test review of the calibrated sensor can be automatically started, and the integrated calibration test process design can realize the synchronous calibration and parallel testing of a large number of sensors that need to be calibrated and tested, thereby greatly improving the production efficiency and production quality, and reducing the requirements for the operator's manual operation of calibration tests.
[0050] (2) The air quality sensor calibration and testing system proposed in this application can achieve a windless and steady-state testing environment while meeting the requirements of rapid temperature change and constant temperature through the structural design of the dual-circulation mode of the calibration and testing environment chamber, thereby reducing the difference in environmental concentration and improving the accuracy of the calibration test and the production quality of the sensor product.
[0051] (3) The air quality sensor calibration and testing system proposed in the present application has a structural design of a quick plug-in installation form of the tooling blocks of the calibration test frame, which makes the installation process simple, the fastening stable and reliable, and avoids poor communication caused by frequent plug-ins and unplugs as much as possible, facilitating the replacement of abnormal parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A schematic diagram of the structure of the calibration test environment chamber provided in the embodiment of the present application;
[0054] Figure 2 A schematic diagram of the structure of a calibration test stand provided in an embodiment of the present application;
[0055] Figure 3 The core flow chart of the calibration test method provided in the embodiment of the present application;
[0056] Figure 4 A detailed flow chart of the calibration test method provided in the embodiment of the present application;
[0057] Figure 5 A hardware implementation diagram of the calibration test system provided in an embodiment of the present application;
[0058] Reference numerals:
[0059] exist Figure 1 In the figure, 1 represents a refrigerator; 2 represents a heater; 3 represents a blower (which may include several circulating stirring fans); 4 represents a first air outlet; 5 represents a second air outlet; 6 represents a calibration test area in the environmental chamber cavity; and 7 represents a circulating airflow. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.
[0061] The terms "first", "second" or "nth" in the specification, claims or drawings of the present application are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0062] As described in the background technology section of the specification, traditional manual calibration and testing schemes have technical defects such as large environmental fluctuations, uncontrollable processes, high requirements on the operator's capabilities and low production efficiency. In view of this, the present application provides an air quality sensor calibration and testing method and system for at least realizing the integration of calibration and testing to improve production efficiency and production quality.
[0063] refer to Figure 1 and Figure 2 An embodiment of the present application provides a high-speed, large-scale air quality sensor calibration and testing system, which may mainly include a calibration and testing environment chamber, a calibration and testing frame, an automatic cigarette lighter, a standard tester, and a calibration and testing controller.
[0064] The calibration test environment chamber is used to control the airflow in the chamber so that it can reach a dynamic equilibrium state of constant temperature and humidity. In a preferred embodiment, the calibration test environment chamber has a dual circulation system, which may include a heater 2, a refrigerator (which may include components such as a refrigeration compressor, a refrigeration evaporator, a water-cooled condenser, and a condensing evaporator) 1 and a drying filter, and has functions such as cooling, heating, humidification and dehumidification; a blower 3 and a purifier are also installed in the chamber, which can quickly adjust the temperature, humidity and air environment uniformity of the chamber environment, and provide a windy or windless environment.
[0065] The external circulation mode of the dual circulation system means that the cold air stored in the working room (or the cold air prepared by the refrigerator 1) is introduced into the calibration test area 6 (i.e., the cavity of the environmental chamber) from the first air outlet 4 by the blower 3, and the circulating air flow 7 in the cavity is discharged from the second air outlet 5 after circulation, so that the temperature of the calibration test area 6 drops to the set low temperature value. When the temperature of the calibration test area 6 reaches the set temperature, the refrigerator 1 and the heater 2 together maintain the temperature of the calibration test area 6 at the required temperature value. To measure the temperature of the calibration test area 6, close the damper switch, the first air outlet 4 and the second air outlet 5 are immediately closed, and the external circulation is closed. At this time, the refrigerator 1 and the heater 2 form an independent box for internal circulation, which can achieve a windless steady-state test environment under the premise of meeting the requirements of rapid temperature change and constant temperature. The calibration test environmental chamber has a constant temperature control in the temperature range of -25℃ to 80℃, and a constant humidity control in the humidity range of 20%RH to 95%RH.
[0066] An air quality sensor calibration and testing system proposed in the present application can achieve a windless and steady-state testing environment while meeting the requirements of rapid temperature change and constant temperature through the structural design of the dual-circulation mode of the calibration and testing environment chamber, thereby reducing the difference in environmental concentration and improving the accuracy of the calibration test and the production quality of the sensor product.
[0067] The calibration test rack is a multi-layer parallel structure, which is set in the cavity of the calibration test environment chamber and can hold several air quality sensors at the same time. The calibration test rack includes a PCB control circuit board, a connecting communication line, a quick loading and unloading positioning tool (product quick plug-in module) and a color indicator light, which can realize the rapid installation and removal of the sensor to be calibrated and tested, so that the sensors to be calibrated and tested do not interfere with each other, and can be controlled by communication through a bus.
[0068] In one embodiment, the calibration test frame may specifically include several FPGA communication circuit boards, several shielded communication lines and a visualization light board. Each FPGA communication circuit board is configured with 100 serial port channels, using the serial port to simulate LIN communication, and supports high-speed communication of 100 LIN channels; each signal light of the visualization light board can display the communication status of each LIN channel.
[0069] An air quality sensor calibration and testing system proposed in the present application adopts a structural design of a quick-plug installation form of a tooling block of a calibration test frame, which makes the installation process simple, the fastening stable and reliable, and avoids poor communication caused by frequent plugging and unplugging as much as possible, facilitating the replacement of abnormal parts.
[0070] The automatic cigarette lighter is set outside the cavity of the calibration test environment chamber to provide dust, and includes automatic smoke adding function, automatic cigarette lighting function, automatic smoke removal and residual smoke removal function, automatic counting function and automatic alarm function, etc. The automatic cigarette lighter is a spiral push rod structure, which uses an external serial port for communication and can realize multi-dimensional control of ignition time, extraction time and number of cigarettes lit.
[0071] The standard tester is a high-precision PM2.5 dust measuring instrument (such as TSI), which is installed outside the cavity of the calibration test environment chamber. It has its own particle cutter as well as temperature compensation, environmental compensation and other functions, and can realize directional measurement of PM2.5 concentration under various temperature conditions in complex environments.
[0072] The calibration test controller executes the calibration test program and can support calibration tests with up to 900 air quality sensor products at the same time. It can realize multiple functional modules such as calibration test process control, dust concentration control in the calibration test area, parameter configuration, data management and authority control.
[0073] The dust concentration in the calibration test area is calibrated by turning on and off the purifier and multiple circulating stirring fans to simulate the dispersion effect of dust in the natural environment, so that the sensor products can be calibrated and measured at a relatively stable concentration, thereby improving the accuracy of the product.
[0074] Parameter configuration can avoid repeated code modifications, ensuring the versatility of the program and the stability of the system.
[0075] The data management can trace the product calibration and testing process, and can be quickly connected to the MES system (Manufacturing Execution System, which is a management information system for the workshop level that aims to optimize the whole process management from order placement to product completion through information transmission), reducing the risk of defective products flowing out, facilitating product positioning, and quickly finding the cause of product failure.
[0076] Permission control can use different functional modules according to the user's role, avoiding the possibility of product process errors caused by employee misoperation and improving accuracy.
[0077] The specific working principle of the calibration test controller executing the calibration test program for calibration test is: use FPGA to build multiple LIN buses, each FPGA I / O port corresponds to one LIN bus, and interact with the sensor products in sequence. The host computer sends signals and reads the test return values of the sensor products through multi-threaded synchronization, thereby realizing the calibration and testing of the sensor products under the corresponding dust concentration.
[0078] refer to Figure 5As a preferred embodiment, the hardware circuit part supports high-speed transmission of multi-channel signals without interference between channels. First, the host computer sends instructions to the FPGA board through the USB port. After the FPGA board performs internal signal processing, the signal is sent through the serial port, and after passing through the LIN communication conversion chip, it is sent to each LIN channel; then the sensor product returns data to the FPGA main control board in the form of a message. Each main control board is connected to an LED signal light, which can perform logical judgment on the host computer based on the test return value of the sensor product and perform visual display of the LED light.
[0079] refer to Figure 3 and Figure 4 Another embodiment of the present application provides an air quality sensor calibration test method, which may specifically include the following steps.
[0080] Step 1. Configure the FPGA board: configure the calibration and test thresholds for the start and end points of each concentration, configure the serial port values of the automatic cigarette lighter, circulating stirring fan and purifier, configure the IP address of the standard tester, configure the database IP, account number and password and other initialization parameters.
[0081] Step 2: Select the basic information required for calibration test, including the number of sensor products, the number of FPGA boards, serial port selection and ambient temperature.
[0082] Step 3: Start verifying the test frame communication and start the program.
[0083] Step 4: Power on the sensor product. The system creates multiple threads to synchronously read the ID, software version, and SN code of each sensor product. By communicating with the FPGA, the system sends and obtains the protocol signal of the sensor product, parses and stores it in a report, and determines the qualified status of the sensor product according to the standard.
[0084] Step 5: If the qualified status of the sensor product is normal, calibrate the corresponding temperature according to the selected ambient temperature.
[0085] Step 6: Turn on the standard tester, automatic cigarette lighter, and circulating stirring fan to allow the airflow in the calibration test environment chamber to reach a relative dynamic equilibrium state.
[0086] Step 7: Turn on the purifier. When the dust concentration in the bin reaches the start calibration point threshold, turn off the purifier.
[0087] Step 8: Continue to keep the circulating stirring fan on for T1 second to make the dust concentration more stable.
[0088] Step 9. Turn off the circulating stirring fan and let it stand for T2 seconds to make the warehouse windless, simulate the natural sedimentation process, and make the dust concentration in the warehouse close to the usage scenario of the sensor product.
[0089] Step 10: Send a protocol command to calibrate the corresponding concentration point, and enter the current concentration value into the corresponding sensor product. Read the calibration status of the sensor product and display the status in the report.
[0090] Step 11: Repeat steps 5 to 10 to complete the calibration of all concentration points.
[0091] Step 12: Read the performance index test value of each sensor product, and automatically determine whether each sensor product is in a normal state based on the standard value.
[0092] Step 13: If the status of the sensor is normal, turn on the standard tester, automatic cigarette lighter and circulating stirring fan, and adjust the concentration, temperature and humidity of the object to be measured in the air in the chamber to make the airflow in the calibration test environment chamber reach a dynamic equilibrium state of constant temperature and humidity.
[0093] Step 14: Turn on the purifier and wait until the measured object in the air in the warehouse reaches the start calibration point threshold before turning off the purifier.
[0094] Step 15: Continue to keep the circulating stirring fan on for T3 seconds to make the concentration of the measured object in the air in the chamber more stable.
[0095] Step 16: Turn off the circulating stirring fan and let it stand for T4 seconds to allow the room to reach a windless steady state, simulating the natural sedimentation process so that the concentration state of the measured object in the air in the room approaches the usage scenario of the sensor product.
[0096] Step 17: Send a protocol command for testing the corresponding concentration point, read the concentration value of the object to be tested in the air in the warehouse measured by the standard tester, compare the read concentration value according to the accuracy set at different concentrations, and determine the qualified status of the sensor product.
[0097] Step 18: loop step 13 to step 17 to complete the measurement of all concentration points.
[0098] Step 19: Read various performance indicators of the sensor product, output the test results, and automatically determine whether it is qualified, using color light labels to distinguish.
[0099] Step 20: Set the corresponding LED light status on the test stand according to the qualified status of the sensor product.
[0100] The above steps constitute the calibration test program executed by the calibration test controller in the aforementioned calibration test system. The calibration test controller can implement the corresponding multiple functional modules by executing these calibration test programs, and finally implement the program steps of step 1 to step 20.
[0101] All protocols are sent to the FPGA board via USB2.0 mode with a fixed command length of 64 bits. The steps for the host computer to read the data in the command ID specified by the LIN slave device are: send a read request command -> send a LIN bus read command -> send an FPGA read unlock command -> execute a USB read operation (Read). More specifically, it includes the following steps.
[0102] ①The communication method of the LIN bus protocol includes read request instruction + read instruction.
[0103] ②The read request instruction function is to mark the data content to be read according to the instruction ID. After execution, the sensor will prepare the parameters to be read.
[0104] ③ After the read instruction is executed, the read function of the LIN bus is started. The FPGA will read the sensor data into the on-chip RAM through the LIN bus. The host computer reads the current data in the on-chip RAM of the FPGA through USB2.0. The function can read the data information that needs to be read in 100 LIN channels at the same time. (For the type of data information, refer to the ID in the read instruction request)
[0105] ④After the Read command is executed, the FPGA will lock the on-chip RAM, and the host computer will no longer be able to read the FPGA RAM data through the Read program. It is necessary to execute the FPGA read unlock before continuing to access the RAM data.
[0106] ⑤ Bits 55-48 of the instruction are the LIN channel selection bits. 0x00 corresponds to the 1st LIN channel, 0x63 corresponds to the 100th LIN channel, and 0xFF selects all LIN channels for broadcast settings.
[0107] Through the parameter requirements of the calibration points of the air quality sensor to be calibrated and tested, the optimal calibration timing and operation process are verified, the key node parameters and threshold ranges are designed, and the calibration test host computer runs the program to realize intelligent control of the environment and automatic monitoring of calibration environment changes. After reaching a stable environment, the product calibration test will be automatically started; after completing the calibration of each parameter point, the test review of the calibrated sensor will be automatically started, and the synchronous calibration and parallel testing of all sensors that need to be calibrated and tested can be achieved through the execution of the calibration test program; the calibration test results are distinguished by color and are intuitively reflected in the host computer test software interface and the indicator light of the calibration test stand, so as to prevent confusion when manually taking products off the shelves, and have double anti-fool measures.
[0108] The air quality sensor calibration test method and system proposed in this application verifies the optimal calibration timing and operation process through the parameter requirements of the calibration points of the air quality sensor to be calibrated and tested, designs the key node parameters and threshold ranges, and realizes the intelligent control environment through the execution of the calibration test program. It can automatically monitor the changes in the calibration environment, and automatically start the calibration test of the sensor product after reaching the steady-state environment, thereby overcoming the technical defects that the environmental changes caused by manual calibration tests need to be recalibrated once they exceed the optimal calibration window time, thereby affecting the efficiency of calibration tests; after completing the calibration of each parameter point, the test review of the calibrated sensor can be automatically started, and the synchronous calibration and parallel testing of sensors that need to be calibrated and tested in large quantities can be realized through the integrated process design of calibration tests, thereby greatly improving production efficiency and production quality, and reducing the ability requirements for manual operation of operator calibration tests. This application combines the verified optimal process parameters and uses the host computer program to realize the automatic operation, automatic judgment and abnormal automatic warning of the entire process, which can also be remotely controlled.
[0109] It should be noted that the functional modules in the various embodiments of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.
[0110] The flowchart and / or block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method or computer program product according to various embodiments of the present application. In this regard, each box in the flowchart and / or block diagram can represent a part of a module, program segment or code, and a part of the above-mentioned module, program segment or code includes one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0111] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the technical features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope of the present application.
[0112] Although the present application has been shown and described with reference to specific exemplary embodiments of the present application, it should be understood by those skilled in the art that various changes in form and details may be made to the present application without departing from the spirit and scope of the present application as defined by the appended claims and their equivalents. Therefore, the scope of the present application should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.
Claims
1. A calibration test method for an air quality sensor, characterized in that: include: S1. Create multiple threads to synchronously obtain product feature information of each sensor, send and obtain the sensor's protocol signal by communicating with the FPGA, parse and store it, and determine whether the status of each sensor is normal according to the standard; S2. If the sensor is in normal condition, calibrate the corresponding temperature according to the selected ambient temperature; S3, control so that the airflow in the calibration test environment chamber reaches a dynamic equilibrium state of constant temperature and humidity; S4, turn on the purifier, and when the dust concentration in the bin reaches the threshold of the start calibration point, turn off the purifier; S5, sending a protocol command to calibrate the corresponding concentration point, and marking the current concentration value into the corresponding sensor; S6, looping steps S2-S5 to complete the calibration of all concentration points; S7, obtaining the performance index test value of each sensor, and judging whether the state of each sensor is normal according to the standard; S8. If the sensor is in normal condition, control the airflow in the calibration test environment chamber to reach a dynamic equilibrium state of constant temperature and humidity; S9, turning on the purifier, and when the concentration of the measured object in the air in the warehouse reaches the start calibration point threshold, turning off the purifier; S10, sending a protocol command for testing the corresponding concentration point, comparing the concentration measurement values obtained by the standard tester according to the accuracy of different concentration settings, and judging whether the status of each sensor is normal; S11, looping steps S8-S10 to complete the test of all concentration points.
2. The calibration test method according to claim 1, characterized in that: The implementation of calibration test includes: Use FPGA to build a multi-channel LIN bus. Each FPGA I / O port corresponds to one LIN bus, which interacts with the sensors in sequence. The host computer sends signals and reads the return test values of the relevant sensors through multi-threaded synchronization, thus realizing the synchronous calibration and testing of multiple sensors under the corresponding dust concentration.
3. The calibration test method according to claim 1, characterized in that: Also included between step S4 and step S5: Make the circulating stirring fan run for the first time to make the dust concentration more stable; And / or turn off the circulating stirring fan and let it stand for a second time to allow the warehouse to reach a windless steady state.
4. The calibration test method according to claim 1, characterized in that: Also included between step S9 and step S10: The circulating stirring fan is operated for a third time to make the concentration of the measured object in the air in the chamber more stable; And / or turn off the circulating stirring fan and let it stand for a fourth time to allow the warehouse to reach a windless steady state.
5. The calibration test method according to claim 1, characterized in that: After step S11, the method further includes: Obtain the test results of various performance indicators of the sensor to determine whether the sensor is qualified; The qualified status of the sensor is displayed on the upper computer test software interface and / or the indicator light of the calibration test stand.
6. An air quality sensor calibration test system, characterized in that: include: Calibration test environment chamber, dust generator, standard tester, calibration test stand and calibration test controller; The calibration test environment chamber is used to control the airflow in the chamber so that it can reach a dynamic equilibrium state of constant temperature and humidity; The dust generator is arranged outside the cavity of the calibration test environment chamber and is used to provide dust; The standard tester is arranged outside the cavity of the calibration test environment chamber and is used to measure the concentration of the dust; The calibration test rack is a multi-layer parallel structure, which is arranged in the cavity of the calibration test environment chamber and can hold a plurality of air quality sensors at the same time; The calibration test controller executes a calibration test program to implement the calibration test method described in any one of claims 1-5.
7. The calibration test system according to claim 6, characterized in that: The calibration test environment chamber includes a cooling component, a heating component, a blower, a first air outlet and a second air outlet, and has a dual circulation mode; the dual circulation mode includes an external circulation mode and an internal circulation mode; The implementation of the external circulation method includes: The cold air from the cooling component is introduced into the cavity of the environmental chamber from the first air outlet through the blower, and the air in the cavity is discharged from the second air outlet, so that the temperature in the cavity is reduced to a preset temperature value; The cooling component and the heating component are controlled in linkage to maintain the temperature in the cavity at a preset temperature value; The implementation of the inner circulation method includes: When it is necessary to measure the temperature inside the cavity, the first and second air vents are closed to close the external circulation mode. The linkage control of the cooling component and the heating component forms an internal circulation in the cavity, and a windless steady state is achieved in the cavity while meeting the requirements of rapid temperature change and constant temperature.
8. The calibration test system according to claim 6, characterized in that: The calibration test frame adopts the installation form of tooling block plug-in, and uses the middle plug-in to connect the air quality sensor and the corresponding circuit board interface.
9. The calibration test system according to claim 8, characterized in that: The calibration test frame includes: a plurality of FPGA communication circuit boards, a plurality of shielded communication lines and a visualization light board; Each FPGA communication circuit board is configured with a preset number of serial port channels, which use the serial port to simulate LIN communication and support high-speed communication of a preset number of LIN channels; each signal light on the visualization light board can display the communication status of each LIN channel.
10. The calibration test system according to claim 6, characterized in that: The dust generator is an automatic cigarette lighter with a screw push rod structure, which uses an external serial port for communication and can realize control of one or more of the ignition time, the air extraction time and the number of cigarettes lit.
