An automatic test system for function parameters of refrigeration and insulation box controller

By introducing a backup power supply and calibration module into the refrigeration and insulation box controller, generating a mapping table and using wavelet transform to analyze the response status, combined with the improved analytic hierarchy process, the problems of low test accuracy and difficulty in fault location in the existing technology are solved, and the problem of low test accuracy and difficulty in fault location is solved. Efficient automatic testing and fault location.

CN118244746BActive Publication Date: 2024-08-23ZAOZHUANG POWER SUPPLY COMPANY OF STATE GRID SHANDONG ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410682970.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

In the existing technology, the test accuracy of the refrigeration and insulation box controller is low, the test efficiency is low, and the fault cannot be accurately located, resulting in limited product production and maintenance efficiency.

Method used

An automatic testing system for the functional parameters of the refrigeration and insulation box controller is designed. It uses a backup power supply and a calibration module for double-layer control, generates a mapping table for automatic testing, uses wavelet transform to analyze the actual value of the response state, and combines the improved analytic hierarchy process to calculate the weight coefficient. , to evaluate controller performance.

Benefits of technology

It improves test accuracy and efficiency, automatically locates the cause and location of faults, reduces manual participation, and improves product testing and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118244746B
    Figure CN118244746B
Patent Text Reader

Abstract

The present invention belongs to the technical field of hardware testing, and discloses an automatic testing system for functional parameters of a refrigeration and incubation box controller, comprising: an acquisition module, used for acquiring input instruction values, response instruction standard values ​​and response status standard values ​​of functional parameters; a creation module, used for creating a mapping table; a calibration module, used for making the input instruction value equal to the input instruction standard value; an input module, used for inputting the input instruction value into a controller to be tested; a collection module, used for collecting actual values; and a first judgment module, used for judging whether the actual value is equal to the standard value, and if so, outputting a target functional test item as normal, and otherwise, outputting an abnormal target functional test item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of hardware testing, and in particular relates to an automatic testing system for functional parameters of a refrigeration and incubation box controller. Background Art

[0002] Refrigeration boxes are usually used to store or transport items within a specific temperature range. The internal temperature is kept at a certain level. It can store low temperatures to freeze items, or it can be kept at a constant temperature to keep items warm. In specific application scenarios, such as medicine, food and other fields, the performance and stability of the refrigeration box are crucial. The refrigeration box controller is a key component in the refrigeration box, responsible for monitoring, controlling and adjusting parameters such as temperature and humidity in the box. It contains various sensors and actuators to ensure that the refrigeration box can maintain the required environmental conditions during operation. The performance of the controller is crucial to maintaining the quality and safety of the items in the box. Functional parameters refer to various specific functions or performance parameters that the refrigeration box controller needs to monitor and control, involving temperature control items and humidity control items, etc. An automatic test system is a device or software system designed to automatically perform a test process to verify whether the performance and function of a device or system meet the specification requirements.

[0003] Existing equipment testing is often carried out in a human-machine combination mode, which increases the workload of staff. The testing work is prone to subjective errors introduced by human factors. The test accuracy is easily affected by human subjective factors, and the test accuracy is low. In addition, the current equipment testing scheme can only determine the overall fault but cannot locate the specific fault condition, resulting in low test efficiency, which seriously restricts the efficiency of product production and maintenance. Summary of the invention

[0004] In order to solve the technical problems in the prior art of low product testing accuracy, low testing efficiency and inability to accurately locate faults, the present invention provides a refrigeration and incubation box controller function parameter automatic testing system.

[0005] The present invention provides a refrigeration and incubation box controller function parameter automatic testing system, the refrigeration and incubation box controller function parameter automatic testing system includes the refrigeration and incubation box controller function parameter automatic testing system includes a backup power supply and a calibration module, the backup power supply is connected to the controller to be tested through the calibration module;

[0006] The automatic test system for the function parameters of the refrigeration and incubation box controller also includes:

[0007] An acquisition module is used to acquire the functional parameters of each functional test item of the refrigeration and insulated box, and use the functional parameters of each functional mode of the refrigeration and insulated box as the response state standard value, and determine the input instruction value and the response instruction standard value of the controller to be tested corresponding to the response state standard value;

[0008] A creation module is used to create a mapping table according to an input instruction standard value, a response instruction standard value and a response status standard value;

[0009] A calibration module is used to obtain an input instruction value of a target functional test item, and calibrate the input instruction value according to a mapping table through the calibration module;

[0010] An input module is used to intermittently input the corrected input command value to the controller to be tested to simulate the function parameter input;

[0011] The acquisition module is used to acquire the actual value of the response instruction and the actual value of the response status of each test;

[0012] The first judgment module is used to judge whether the actual value of each response instruction is equal to the standard value of the response instruction. If so, the output target function test item is normal, otherwise, the output target function test item is abnormal.

[0013] Furthermore, the functional test items include: refrigeration function test items, heat preservation function test items, defrost function test items, timing function test items, high temperature alarm function test items and low temperature alarm function test items, and the functional parameters include temperature control lower limit value, temperature control upper limit value and control accuracy.

[0014] Furthermore, the creation module is specifically used for:

[0015] S1021: Create a database, wherein the database includes the function test items, the input instruction standard value, the response instruction standard value and the response status standard value;

[0016] S1022: Create row data for each functional test item, and fill the corresponding functional test item, the input instruction standard value, the response instruction standard value and the response status standard value into the column data under the row data;

[0017] S1023: Creating parallel column data for the row data, wherein the parallel column data is used to store variable threshold ranges of the input instruction standard value, the response instruction standard value, and the response status standard value;

[0018] S1024: Associating the row data corresponding to each functional test item with the corresponding parallel column data to obtain a sub-mapping table;

[0019] S1025: Fill the parameters of each functional test item in the factory parameters into different sub-mapping tables in sequence;

[0020] S1026: Connect the sub-mapping tables in sequence to obtain the mapping table, and save the mapping table.

[0021] Further, the variable threshold range is set based on the factory parameters.

[0022] Furthermore, the calibration module is specifically used for:

[0023] S1031: When the input instruction value is not equal to the input instruction standard value, calling the backup power supply to calibrate the input instruction value so that the input instruction value is equal to the input instruction standard value.

[0024] Furthermore, it also includes: a second judgment module, which is used to extract the response state actual value master data obtained in each test, and judge whether the response state actual value master data extracted each time is within the variable threshold range of the response state standard value, and if so, it issues a signal that the refrigeration and incubator structure is normal, otherwise, it issues a signal that the refrigeration and incubator structure is faulty; the second judgment module is specifically used to;

[0025] S1071: Establishing a state value sequence based on the actual value of the response state obtained in each test;

[0026] S1072: Perform wavelet transform on the state value sequence to extract the actual value master data of the response state;

[0027] S1073: Determine whether the actual value master data of the response status is within the corresponding variable threshold range. If so, issue a signal that the refrigeration and thermal insulation box structure is normal; otherwise, issue a signal that the refrigeration and thermal insulation box structure is faulty.

[0028] Furthermore, the S1072 specifically includes:

[0029] S1072A: Perform signal decomposition on the state value sequence:

[0030]

[0031]

[0032] in, represents the wavelet coefficients, Indicates different moments t The corresponding original signal is the state value sequence, represents the wavelet function, a represents the scale parameter, b represents the translation parameter, represents the basic wavelet function, represents the Haar wavelet function, N represents the multi-odd wavelet order, k represents the order index variable, represents the coefficients of the Haar wavelet function;

[0033] S1072B: Determine the main wavelet coefficient based on a preset signal-to-noise ratio threshold:

[0034]

[0035] in, represents the preset signal-to-noise ratio threshold, represents the current noise standard deviation, represents the main wavelet coefficient;

[0036] S1072C: Reconstruct the state value sequence according to the main wavelet coefficients to extract the main data of the actual value of the response state:

[0037]

[0038] in, The master data representing the actual value of the response status, Indicated in scale a and pan position b The summation is performed under the conditions of .

[0039] Furthermore, it also includes:

[0040] The performance evaluation module is used to evaluate the performance value of the controller of the refrigeration and insulation box according to the deviation between the input instruction value and the input instruction standard value, the deviation between the response instruction actual value and the response instruction standard value, and the deviation between the response state actual value and the response state standard value in each functional test item. When the performance value of the controller of the refrigeration and insulation box is greater than the preset performance value, the test is passed, otherwise, the test is failed.

[0041] Furthermore, the performance evaluation module is specifically used to:

[0042] Calculate the deviation between the input command value and the input command standard value, the deviation between the response command actual value and the response command standard value, and the deviation between the response status actual value and the response status standard value in each functional test item:

[0043]

[0044] in, e fi Indicates i The deviation between the input instruction value and the input instruction standard value in each functional test item is f i Indicates i The input instruction value in each functional test item, Indicates i The standard value of input instructions in each functional test item;

[0045]

[0046] in, e gi Indicates i The deviation between the actual value of the response instruction and the standard value of the response instruction in each functional test item is g i Indicates i The actual value of the response instruction in the functional test project, Indicates i The standard value of the response instruction in each functional test item;

[0047]

[0048] in, e xi Indicates i The deviation between the actual value of the response status and the standard value of the response status in each functional test item is x i Indicates i The actual value of the response status in the functional test project, Indicates i The standard value of the response status in each functional test item;

[0049] The performance values ​​of the controller of the refrigeration and incubation box in each functional test item are calculated according to the following formula:

[0050]

[0051] in, d i Indicates that the controller of the refrigeration and thermal insulation box is i Performance value of each functional test item, e represents a natural constant, l f represents the weight coefficient of the input instruction deviation term, l g represents the weight coefficient of the response instruction deviation term, l x Represents the weight coefficient of the response state deviation term;

[0052] According to the following formula, the performance value of the controller of the refrigeration and insulated box is evaluated:

[0053]

[0054] in, s Indicates the performance value of the controller of the refrigeration and incubation box. β i Indicates i The weight coefficient of each functional test item, ,n Indicates the total number of functional test items.

[0055] Furthermore, the weight coefficients of each functional test item are calculated by improving the hierarchical analysis method, which are as follows:

[0056] Combined with the nine-level scaling method, the weight coefficients of each functional test item are compared pairwise to establish a discriminant matrix A :

[0057]

[0058] in, a ij Indicates i The weight coefficient of the first functional test item is relative to the j The importance of the weight coefficient of each functional test item, , ;

[0059] Perform logarithmic operation on the discriminant matrix to obtain an antisymmetric matrix B :

[0060]

[0061] The symbol lg represents the logarithm operation with base 10;

[0062] Based on the antisymmetric matrix B Compute the optimal transfer matrix C :

[0063]

[0064]

[0065] in, Denotes the optimal transfer matrix C No. i Line j The elements of the column, k Indicates the tag parameter, Indicates the antisymmetric matrix j Line k The elements of the column, Denotes the antisymmetric matrix C Middle i Line k The elements of the column, , , , ;

[0066] Calculate the fitting matrix based on the optimal transfer matrix D :

[0067]

[0068] in, Indicates the first i Line j Elements of a column;

[0069] Calculate the weight coefficient of each functional test item:

[0070]

[0071] in, Indicates i The weight value of each functional test item, Indicates the first i Line k The elements of the column, Indicates i The weighted average of the functional test items, , , .

[0072] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0073] In the present invention, a backup power supply and a calibration module are introduced near the end of the controller to be tested, and a double-layer control is performed on the simulation instructions to ensure the effectiveness of the test, compensate for the distortion of the simulation instructions caused by third-party factors, avoid the problem of inaccurate simulation instructions caused by line transmission, improve the fault tolerance of the simulation instructions, and then improve the accuracy of the test. During the test, the test data is generated into a mapping table according to the functional test items and connected to be used as the basic instructions of the automatic test for automatic instruction input. For each simulation instruction, multiple repeated tests are performed, and the actual value master data of the response state is extracted to exclude uncontrollable environmental variable factors to ensure the accuracy of the test results. Each item is checked and reported one by one according to the mapping table, reducing manual participation, automatically and accurately locating the cause and location of the fault, and improving the product testing efficiency and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0075] Figure 1 It is a structural schematic diagram of a refrigeration and incubation box controller function parameter automatic testing system provided by the present invention;

[0076] Figure 2It is a structural schematic diagram of another automatic testing system for function parameters of a refrigeration and incubation box controller provided by the present invention. DETAILED DESCRIPTION

[0077] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0078] In one embodiment, referring to Figure 1 , showing a schematic diagram of the structure of a refrigeration and incubator controller function parameter automatic testing system provided by the present invention. Figure 2 , showing a structural schematic diagram of another automatic testing system for functional parameters of a refrigeration and incubation box controller provided by the present invention.

[0079] The present invention provides a refrigeration and incubation box controller function parameter automatic testing system, which comprises a backup power supply and a calibration module. The backup power supply is connected to the controller to be tested through the calibration module.

[0080] It should be noted that the automatic testing system for functional parameters of the refrigeration and insulated box controller also includes: a host computer, a slave computer and a direct power supply; the host computer is connected to the slave computer, the slave computer is connected to the refrigeration and insulated box, the direct power supply is connected to the calibration module through the slave computer, and the slave computer and the backup power supply are both connected to the controller to be tested through the calibration module.

[0081] Among them, the host computer is a computer or console, which is responsible for the control and monitoring of the entire test system. It is connected to the lower computer, communicates with the refrigeration and incubator through the lower computer, receives test data and executes corresponding instructions. The lower computer is a device connected to the refrigeration and incubator, responsible for communicating with the refrigeration and incubator and controlling its functions. The lower computer realizes instruction transmission and data exchange through the connection with the upper computer. The direct power supply is connected to the calibration module through the lower computer, which is used to provide power equipment to ensure the stable power supply of the system during the test. The backup power supply is connected to the controller to be tested through the calibration module. The backup power supply is used to provide backup power equipment to compensate for signal transmission loss and perform simulation instruction calibration, and ensure that the test system can still operate normally in the event of a possible power failure. The calibration module is used to calibrate the input instruction value in the test system. It connects the direct power supply, the backup power supply and the controller to be tested, and calibrates the input instruction value through mapping tables and other methods to ensure the accuracy of the test. The introduction of a backup power supply increases the stability of the system. In the event of a power failure or fluctuation, the backup power supply can maintain the normal operation of the test system, calibrate and supplement the simulation instructions, and avoid test failures caused by power problems and test failures caused by distortion of simulation instructions. The introduction of the calibration module improves the reliability of the test. By calibrating the input instruction value, the system can simulate the functional parameter input more accurately, reduce the distortion of simulation instructions that may be caused by third-party factors, and ensure the reliability and stability of the test system.

[0082] The automatic test system for the function parameters of the refrigeration and incubation box controller also includes:

[0083] Acquisition module 1 is used to acquire the functional parameters of various functional test items of the refrigeration and insulation box, and use the functional parameters of various functional modes of the refrigeration and insulation box as response state standard values ​​to determine the input instruction value and response instruction standard value of the controller to be tested corresponding to the response state standard value.

[0084] In a possible implementation, the functional test items include: refrigeration function test items, heat preservation function test items, defrost function test items, timing function test items, high temperature alarm function test items and low temperature alarm function test items, etc., and the functional parameters include temperature control lower limit value, temperature control upper limit value and control accuracy, etc.

[0085] Specifically, according to the factory parameters of the refrigeration and incubator, such as the set temperature range, humidity range, etc., the input command values ​​under different conditions, the corresponding response command standard values ​​and the response state standard values ​​are obtained. These values ​​can be used as the benchmark for the test for subsequent calibration, input simulation and result judgment. Such a design allows the system to obtain corresponding test data according to different functional test items, ensuring that all key functions and parameters are covered during the test process to verify the performance of the refrigeration and incubator. This improves the comprehensiveness and applicability of the system, enabling it to cope with different types of refrigeration and incubators and ensure the accuracy and effectiveness of the test.

[0086] The creation module 2 is used to create a mapping table according to the input instruction standard value, the response instruction standard value and the response status standard value.

[0087] Among them, the input instruction standard value is the expected value of the input instruction set in advance by the test system. During the test, the system will send input instructions to the refrigeration and incubator to be tested, and expect to get a corresponding response. The input instruction standard value is to ensure that the system can send accurate instructions during testing. The response instruction standard value is the expected response value for each input instruction. The system has defined in advance the response that the refrigeration and incubator should produce under given input instructions. The response instruction standard value is used in subsequent tests to determine whether the actual response of the system meets expectations. The response state standard value is the value of the expected response state for each input instruction, such as the temperature value and humidity value of the insulation room.

[0088] A mapping table is a data structure used to establish an association relationship between two data sets. In the test system, the mapping table is used to associate the standard value of the input instruction with the corresponding standard value of the response instruction and the standard value of the response status, so as to compare and verify during the test process. The creation process of the mapping table involves pairing the standard values ​​of each functional test item to build a corresponding relationship, so that the test system can compare the actual response with the expected standard value when it receives it. Such an association relationship can help the system determine whether the test results meet expectations, and then determine whether the function of the refrigeration and incubator is normal. The mapping table defines the standard value of the input instruction, the corresponding standard value of the response instruction, and the standard value of the response status, thereby providing a standardized reference for the test process, which helps to ensure that each test is carried out as expected and improves the consistency of the test. When the test result does not match the mapping table, the system can quickly locate the problem. By comparing the actual response with the standard value, the functional test item with problems can be quickly identified, which helps to quickly locate and solve the fault. The use of the mapping table can reduce manual intervention in the test process. The system can automatically compare and verify with the mapping table, reducing the risk of human error and improving the automation of the test. In addition, the mapping table makes the definition of test conditions and expected results more flexible without modifying the test code. When the specifications or test requirements of the refrigeration and incubator change, only the mapping table needs to be updated without modifying the test code, which improves the maintainability of the test system. The use of the mapping table can help the system automatically generate test reports. By comparing with the mapping table, the system can record which functional test items have passed the test and which have abnormalities, thereby generating a detailed test report to provide support for subsequent analysis and maintenance.

[0089] In a possible implementation, the creation module 2 is specifically used for:

[0090] S1021: Create a database, wherein the database includes function test items, input instruction standard values, response instruction standard values, and response status standard values.

[0091] S1022: Create row data for each functional test item, and fill the corresponding functional test item, input instruction standard value, response instruction standard value and response status standard value into the column data under the row data.

[0092] S1023: Create parallel column data for the row data, wherein the parallel column data is used to store variable threshold ranges of input instruction standard values, response instruction standard values, and response status standard values.

[0093] In one possible implementation, the variable threshold range is set based on factory parameters.

[0094] S1024: Associating the row data corresponding to each functional test item with the corresponding parallel column data to obtain a sub-mapping table.

[0095] S1025: Fill the parameters of each functional test item in the factory parameters into different sub-mapping tables in sequence.

[0096] S1026: Connect the sub-mapping tables in sequence to obtain a mapping table, and save the mapping table.

[0097] It should be noted that parallel column data is created to store variable threshold ranges for input instruction standard values, response instruction standard values, and response status standard values. The introduction of variable threshold ranges increases flexibility, allowing the system to tolerate a certain degree of change, thereby adapting to tests under different environments and conditions. The setting of the variable threshold range is based on factory parameters. The system can adjust the threshold range according to the factory parameters of the specific refrigeration and incubator to adapt to equipment of different models or configurations. The introduction of variable threshold ranges increases the system's adaptability to environmental changes and equipment differences, and improves the flexibility of testing. The generation of mapping tables is the basis of automated testing. By establishing mapping tables, the system can perform the test process more automatically, reducing the need for manual intervention. Overall, the use of mapping tables provides a structured data storage and management method for automated testing, while introducing variable threshold ranges to make the system more flexible and adaptable.

[0098] The calibration module 3 is used to obtain the input instruction value of the target functional test item, and calibrate the input instruction value according to the mapping table through the calibration module.

[0099] In a possible implementation manner, the calibration module 3 is specifically used for:

[0100] S1031: When the input instruction value is not equal to the input instruction standard value, call the backup power supply to calibrate the input instruction value so that the input instruction value is equal to the input instruction standard value.

[0101] It should be noted that the main purpose of this module is to ensure that the input instruction value of the target function test item is equal to the preset input instruction standard value after calibration. Specifically, the system first determines whether the actual input instruction value of the target function test item is equal to the preset input instruction standard value. If it is equal, it means that the input has met the standard and no additional calibration is required, and it goes directly to the next step. If it is determined that the input instruction value is not equal to the input instruction standard value, the system will call the backup power supply for calibration. The backup power supply is a device for adjusting voltage or other electrical signals. By calling the backup power supply, the system can calibrate the input instruction value to ensure that it is ultimately equal to the input instruction standard value. During the test, the input instruction value of the target function test item is calibrated in real time to ensure the accuracy of the test. If the input instruction value of the target function test item deviates from the standard value for some reason, the system can make real-time adjustments by calling the backup power supply and other means to make the input instruction value meet the preset standard. Through the calibration module, the system can calibrate the input instruction value in real time during the test to ensure the accuracy and reliability of the test. Calibration using the backup power supply increases the stability of the system, especially in the face of power fluctuations or instability, the backup power supply can ensure the accuracy of the input instruction value. Overall, this process ensures that the input instruction values ​​of the target functional test items during the test process can accurately reach the preset standard values, improving the reliability and accuracy of the test.

[0102] The input module 4 is used to intermittently input the corrected input command value to the controller to be tested to simulate the function parameter input.

[0103] Among them, the controller to be tested refers to the controller of the refrigeration and insulated box, that is, the target device that needs to be tested for functional parameters. The intermittent input method is used to input the corrected input command value multiple times in an interval manner to simulate the input changes in the actual use scenario, while reducing the burden on the system and being closer to the actual use scenario. By simulating the actual input situation, the controller to be tested can receive the calibrated input command values ​​and respond to these command values ​​accordingly, which helps the test system to verify whether the functional parameters of the refrigeration and insulated box are working normally and whether they can respond to the input correctly. The intermittent input method is closer to the actual use scenario, which helps the test system to more comprehensively evaluate the performance of the controller to be tested. By inputting the same and different simulated functional parameters to the controller to be tested multiple times, the test system can verify whether the actual response of the controller meets expectations, thereby judging the normality of the functional parameters.

[0104] The acquisition module 5 is used to acquire the actual value of the response instruction and the actual value of the response state of each test.

[0105] The actual response command value refers to the actual response command value that the refrigeration and incubator box will generate in each test, that is, the specific response of the controller to the input command. The acquisition module is responsible for capturing and recording this actual response command value. The actual response state value refers to the specific state value of the refrigeration and incubator box, that is, the temperature value or humidity value, etc.

[0106] The first judgment module 6 is used to judge whether the actual value of each response instruction is equal to the standard value of the response instruction. If so, the output target function test item is normal, otherwise, the output target function test item is abnormal.

[0107] It should be noted that the main task of the first judgment module is to judge the actual value of the response instruction obtained in each test, and issue the corresponding status information according to the judgment result. Specifically, the module first compares whether the actual value of the response instruction obtained in each test is equal to the preset response instruction standard value. This standard value is established in the creation module and is used to define the expected response of the system. If the actual value of the response instruction is equal to the standard value, it means that the response of the target function test item is normal. At this time, the first judgment module will issue the status information of "the target function test item is normal". If they are not equal, it means that there is an abnormality, and the module will issue the status information of "the target function test item is abnormal". The first judgment module provides real-time judgment of each test result, so that the system can quickly understand the response of the target function test item. By issuing abnormal status information, the system can automatically alarm and notify the operator or other monitoring system that there is a problem, which helps to take measures to solve the abnormality in time. Quickly judging whether the response of the target function test item meets expectations provides a preliminary judgment for subsequent fault location and maintenance. When the target function test item is found to be abnormal, the system can issue a warning in time to promote further investigation and repair.

[0108] In a possible implementation, it also includes: a second judgment module 7, which is used to extract the response status actual value master data obtained from each test, and judge whether the response status actual value master data extracted each time is within the variable threshold range of the response status standard value. If so, it is issued that the refrigeration insulation box structure is normal, otherwise, it is issued that the refrigeration insulation box structure is faulty.

[0109] Among them, wavelet transform is a signal processing technology used to analyze the characteristics of signals in time and frequency. It makes the signal characteristics at a certain scale more obvious by decomposing the signal into components of different scales and frequencies. Wavelet transform can decompose the signal into components of different frequencies, so as to more clearly show the characteristics of the signal in the frequency domain, which is very helpful for analyzing the frequency components and periodic changes of the signal. Wavelet transform can perform localized analysis in the time domain, that is, it can extract the characteristics of the signal at different time scales. Moreover, wavelet transform has the ability of denoising, which can separate the noise in the signal, so that the analysis is more focused on the characteristics of the signal itself, which helps to improve the signal-to-noise ratio. Wavelet transform can effectively extract the main information of the signal, and here it is used to extract the main data of the actual value of the response state obtained in each test, which helps to filter out some minor or irrelevant information and make the judgment more accurate. Through wavelet transform, the actual value of the response state can be analyzed in the frequency domain, the frequency characteristics of the signal can be captured, and then structural problems or anomalies can be identified, because structural problems usually show specific characteristics in the frequency domain. In addition, the wavelet transform has strong adaptability and can respond well to local changes in the signal. It can adapt to changes in the response state of the refrigeration and incubator, and make judgments based on the variable threshold range to improve the flexibility of the system. Overall, the wavelet transform helps to analyze the characteristics of the actual value of the response state more deeply and accurately in this scenario, thereby judging whether the structural state of the refrigeration and incubator is normal.

[0110] The second judgment module 7 is specifically used for:

[0111] S1071: Establish a state value sequence based on the actual value of the response state obtained in each test.

[0112] S1072: Perform wavelet transform on the state value sequence to extract the main data of the actual value of the response state.

[0113] In a possible implementation manner, S1072 specifically includes:

[0114] S1072A: Signal decomposition of state value sequence:

[0115]

[0116]

[0117] in, represents the wavelet coefficients, Indicates different moments t The corresponding original signal is the state value sequence, represents the wavelet function, a represents the scale parameter, b represents the translation parameter, represents the basic wavelet function, represents the Haar wavelet function, N represents the multi-odd wavelet order, k represents the order index variable, represents the coefficients of the Haar wavelet function.

[0118] It should be noted that in wavelet transform, The part is used to control the translation of the wavelet function on the time axis, which means that the wavelet function is translated to the right on the time axis. k units, specifically, t represents the current moment, and k Represents an index variable, by changing k The value of can realize the translation of the wavelet function on the time axis. In the formula, Represents the translation of the mother wavelet function on the time axis. The position of the mother wavelet function relative to the time axis is controlled to achieve the change of the wavelet function at different positions on the time axis, which helps to capture the characteristics of the signal at different time scales.

[0119] S1072B: Determine the main wavelet coefficient based on a preset signal-to-noise ratio threshold:

[0120]

[0121] in, Indicates the preset signal-to-noise ratio threshold. represents the current noise standard deviation, Represents the main wavelet coefficients.

[0122] S1072C: Reconstruct the state value sequence according to the main wavelet coefficients and extract the main data of the actual value of the response state:

[0123]

[0124] in, Indicates the actual value master data of the response status, Indicated in scale a and pan position b The summation is performed under the conditions of .

[0125] S1073: Determine whether the actual value master data of the response status is within the corresponding variable threshold range. If so, issue a signal that the refrigeration and thermal insulation box structure is normal; otherwise, issue a signal that the refrigeration and thermal insulation box structure is faulty.

[0126] Specifically, in each test, the system obtains the actual value of the response state, and these values ​​constitute a state value sequence, which contains the response state information of the refrigeration and incubation box at different times. Then, the state value sequence is processed by wavelet transform. The wavelet transform can extract the characteristics of the signal in the time and frequency domain by decomposing the signal at different scales and frequencies. The specific steps include: signal decomposition: wavelet decomposition is performed on the state value sequence to obtain wavelet coefficients, which include information at different scales and frequencies. Determine the main wavelet coefficients: based on the preset signal-to-noise ratio threshold, determine the main wavelet coefficients and filter out the noise components. Signal reconstruction: The state value sequence is reconstructed by using the main wavelet coefficients to obtain the main data of the actual value of the response state. Then, it is judged whether the main data of the actual value of the response state is within the corresponding variable threshold range: according to the preset variable threshold range, it is judged whether the main data of the actual value of the response state extracted is within the normal range. If it is within the range, the state information of "the structure of the refrigeration and incubation box is normal" is issued; otherwise, the state information of "the structure of the refrigeration and incubation box is faulty" is issued.

[0127] It should be noted that the application of wavelet transform here is mainly to analyze the response state of the refrigeration and incubator more carefully and comprehensively. Through wavelet transform, the system can capture the characteristics of the signal at different scales and better reflect the state changes of the refrigeration and incubator structure. Wavelet transform helps to extract the characteristics of the actual value of the response state in different frequency ranges, and can analyze structural problems more clearly. Wavelet transform can reduce interference in the signal and improve the resolution of the main information through the process of denoising. Wavelet transform adapts to the local characteristics of the signal, helps to capture the main data of the actual value of the response state more accurately, and improves the adaptability and accuracy of the system.

[0128] It should be noted that the automatic test system for functional parameters of the refrigeration and insulation box controller also includes: a third judgment module 8, which is used to judge whether the number of functional test items is less than the preset number of functional test items. If so, the switching module is executed, otherwise, the termination module is executed.

[0129] It should be noted that during the test, the system will automatically test the different functional test items of the refrigeration and insulated box controller, and the third judgment module will record the number of functional test items that have been executed and compare it with the preset number of functional test items. If the number of functional test items currently executed is less than the preset number of functional test items, the system will execute the switching module. The main function of the switching module is to add 1 to the number of functional test items, switch to the next target functional test item, and continue to execute the calibration module. If the number of functional test items currently executed has reached or exceeded the preset number of functional test items, the system will execute the termination module. The function of the termination module is to end the entire test process.

[0130] It should be noted that the automatic test system for functional parameters of the refrigeration and insulated box controller also includes: a switching module 9, which is used to increase the number of functional test items by 1, switch the target functional test items, and execute the calibration module.

[0131] It should be noted that the automatic test system for function parameters of the refrigeration and insulated box controller further includes: a termination module 10 for terminating the test.

[0132] It should be noted that during the test, the system will automatically test the different functional test items of the refrigeration and insulated box controller, and the third judgment module will record the number of functional test items that have been executed and compare it with the preset number of functional test items. If the number of functional test items currently executed is less than the preset number of functional test items, the system will execute the switching module. The main function of the switching module is to add 1 to the number of functional test items, switch to the next target functional test item, and continue to execute the calibration module. If the number of functional test items currently executed has reached or exceeded the preset number of functional test items, the system will execute the termination module. The function of the termination module is to end the entire test process.

[0133] In a possible implementation, the refrigeration and incubation box controller function parameter automatic testing system further includes:

[0134] The performance evaluation module is used to evaluate the performance value of the controller of the refrigeration and insulation box according to the deviation between the input instruction value and the input instruction standard value, the deviation between the response instruction actual value and the response instruction standard value, and the deviation between the response state actual value and the response state standard value in each functional test item. When the performance value of the controller of the refrigeration and insulation box is greater than the preset performance value, the test is passed, otherwise, the test is failed.

[0135] It should be noted that by examining the deviations of input, output and state, this module provides a comprehensive evaluation of the controller's performance, which helps to discover potential problems, not just the performance of a single aspect. Moreover, the use of multiple deviation values ​​for calculation can provide a more comprehensive understanding of the controller's performance in all aspects, and such a comprehensive evaluation is more in line with actual usage scenarios. In addition, the calculation formula of the performance value can be adjusted according to actual needs to adapt to different types or requirements of refrigeration and incubator controllers. In summary, the setting of the performance evaluation module helps to comprehensively and multi-dimensionally evaluate the performance of the refrigeration and incubator controller, improves the sensitivity and adaptability of the test, and such an evaluation method can better reflect the actual performance of the controller in all aspects, providing a stronger basis for system improvement and optimization.

[0136] In a possible implementation manner, the automatic testing system for functional parameters of a refrigeration and insulated box controller further includes: a performance evaluation module 11 .

[0137] The performance evaluation module 11 is specifically used for:

[0138] Calculate the deviation between the input command value and the input command standard value, the deviation between the response command actual value and the response command standard value, and the deviation between the response status actual value and the response status standard value in each functional test item:

[0139]

[0140] in, e fi Indicates i The deviation between the input instruction value and the input instruction standard value in each functional test item is f i Indicates i The input instruction value in each functional test item, Indicates i The standard value of input instructions in each functional test item;

[0141]

[0142] in, e gi Indicates i The deviation between the actual value of the response instruction and the standard value of the response instruction in each functional test item is g i Indicates i The actual value of the response instruction in the functional test project, Indicates i The standard value of the response instruction in each functional test item;

[0143]

[0144] in, e xi Indicates i The deviation between the actual value of the response status and the standard value of the response status in each functional test item is x i Indicates i The actual value of the response status in the functional test project, Indicates i The standard value of the response status in each functional test item;

[0145] According to the following formula, calculate the performance value of the controller of the refrigeration and incubation box in each functional test item:

[0146]

[0147] in, d i Indicates that the controller of the refrigeration and thermal insulation box is iPerformance value of each functional test item, e represents a natural constant, l f represents the weight coefficient of the input instruction deviation term, l g represents the weight coefficient of the response instruction deviation term, l x Represents the weight coefficient of the response state deviation term;

[0148] According to the following formula, the performance value of the controller of the refrigeration insulation box is evaluated:

[0149]

[0150] in, s Indicates the performance value of the controller of the refrigeration and incubation box. β i Indicates i The weight coefficient of each functional test item, , n Indicates the total number of functional test items.

[0151] Specifically, for each functional test item, the difference between the actual value and the standard value of the input, output and status is calculated. The importance of each functional test item is considered using weights, and the performance of the refrigeration and incubator controller in each item is calculated. The overall performance of the refrigeration and incubator controller is calculated by combining the performance values ​​and weights of all functional test items. The performance of input, output and status is comprehensively considered, and the relative importance of each functional test item can be adjusted through the weight coefficient to meet different needs.

[0152] It should be noted that by calculating the deviations of input, output and state, and combining their respective weights, the system comprehensively evaluates the performance of the refrigeration and incubator controller in various aspects. By introducing the weight coefficient, the module can flexibly adjust the importance of each functional test item to ensure that the performance evaluation is more in line with the actual application needs. This performance evaluation method not only comprehensively considers the performance of various aspects, but also provides a flexible balance of different functional test items, making the evaluation more objective and targeted, and quantitatively expressing the importance of each deviation value and functional test item, so that the evaluation results are more in line with the actual situation, rather than blindly averaging the results, improving the accuracy of the evaluation results.

[0153] In a possible implementation, the weight coefficient of each functional test item is calculated by improving the hierarchical analysis method, specifically:

[0154] Combined with the nine-level scaling method, the weight coefficients of each functional test item are compared pairwise to establish a discriminant matrix A :

[0155]

[0156] in, a ij Indicates i The weight coefficient of the first functional test item is relative to the j The importance of the weight coefficient of each functional test item, , ;

[0157] Perform logarithmic operation on the discriminant matrix to obtain an antisymmetric matrix B :

[0158]

[0159] The symbol "lg" indicates a logarithmic operation with base 10;

[0160] Computing the Optimal Transfer Matrix Based on the Antisymmetric Matrix C :

[0161]

[0162]

[0163] in, represents the optimal transfer matrix C No. i Line j The elements of the column, k Indicates the tag parameter, In the antisymmetric matrix j Line k The elements of the column, In the antisymmetric matrix i Line k The elements of the column, , , , ;

[0164] Calculate the fitting matrix based on the optimal transfer matrix D :

[0165]

[0166] in, Indicates the first i Line j Elements of a column;

[0167] Calculate the weight coefficient of each functional test item:

[0168]

[0169] in, Indicates i The weight value of each functional test item, Indicates the first i Line k The elements of the column, Indicates i The weighted average of the functional test items, , , .

[0170] Specifically, the nine-level scaling method is used to compare every two functional test items, and a discriminant matrix is ​​obtained. Each element represents the relative importance of the functional test item. The nine-level scaling method provides more levels of comparison, so that the difference can be captured more finely in the evaluation of relative weights, and the accuracy of the evaluation is increased. The discriminant matrix is ​​logarithmically operated to obtain an antisymmetric matrix. The logarithmic operation ensures the symmetry of the matrix. The introduction of the antisymmetric matrix helps to reduce subjective bias, ensure the consistency of comparison, and improve the objectivity of the calculation. The optimal transfer matrix is ​​calculated based on the antisymmetric matrix. The specific calculation involves marking parameters and matrix elements. The introduction of the optimal transfer matrix makes the weight calculation more robust, helps to deal with potential uncertainties and noise, and improves the reliability of the calculation results. The fitting matrix is ​​calculated based on the optimal transfer matrix. This step aims to obtain a smoother and more realistic matrix. The introduction of the fitting matrix further optimizes the calculation of the weight coefficient, making the result more realistic and improving the accuracy of the calculation. By setting the size of the fitting matrix to exponential growth, more information storage space can be provided, allowing more detailed and precise weight adjustment, which helps to better capture the relative importance between different functional test items. The traditional hierarchical analysis method requires a consistency check. If it fails, it needs to return to modify the matrix, which increases the number of data returns and greatly increases the evaluation complexity and efficiency. The improved hierarchical analysis method avoids the data return caused by the consistency check, making the evaluation method simpler, more accurate and objective in multi-level and multi-factor comparisons, and has better robustness and feasibility for real-world uncertainties.

[0171] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0172] In the present invention, a backup power supply and a calibration module are introduced near the end of the controller to be tested, and a double-layer control is performed on the simulation instructions to ensure the effectiveness of the test, compensate for the distortion of the simulation instructions caused by third-party factors, avoid the problem of inaccurate simulation instructions caused by line transmission, improve the fault tolerance of the simulation instructions, and then improve the accuracy of the test. During the test, the test data is generated into a mapping table according to the functional test items and connected to be used as the basic instructions of the automatic test for automatic instruction input. For each simulation instruction, multiple repeated tests are performed, and the actual value master data of the response state is extracted to exclude uncontrollable environmental variable factors to ensure the accuracy of the test results. Each item is checked and reported one by one according to the mapping table, reducing manual participation, automatically and accurately locating the cause and location of the fault, and improving the product testing efficiency and maintenance efficiency.

[0173] 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 refrigeration and incubation box controller function parameter automatic testing system, characterized in that: The automatic test system for functional parameters of the refrigeration and incubation box controller includes a backup power supply and a calibration module, wherein the backup power supply is connected to the controller to be tested through the calibration module; the automatic test system for functional parameters of the refrigeration and incubation box controller also includes: An acquisition module, used for acquiring functional parameters of various functional test items of the refrigeration and heat preservation box, and taking the functional parameters of various functional modes of the refrigeration and heat preservation box as response state standard values, and determining the input instruction standard value and the response instruction standard value of the controller to be tested corresponding to the response state standard value; A creation module, used to create a mapping table according to the input instruction standard value, the response instruction standard value and the response status standard value; A calibration module, used for obtaining an input instruction value of a target functional test item, and calibrating the input instruction value according to the mapping table through the calibration module; An input module, used for intermittently inputting the corrected input command value to the controller to be tested, simulating the function parameter input; The acquisition module is used to acquire the actual value of the response instruction and the actual value of the response status of each test; The first judgment module is used to judge whether the actual value of the response instruction is equal to the standard value of the response instruction each time, if so, the output target function test item is normal, otherwise, the output target function test item is abnormal; The second judgment module is used to extract the master data of the actual value of the response state obtained in each test, and judge whether the master data of the actual value of the response state extracted each time is within the variable threshold range of the standard value of the response state. If so, it is issued that the structure of the refrigeration and thermal insulation box is normal, otherwise, it is issued that the structure of the refrigeration and thermal insulation box is faulty; The second judgment module is specifically used for: S1071: Establishing a state value sequence based on the actual value of the response state obtained in each test; S1072: Perform wavelet transform on the state value sequence to extract the actual value master data of the response state; S1073: Determine whether the response status actual value master data is within the corresponding variable threshold range, if so, issue a signal that the refrigeration and thermal insulation box structure is normal, otherwise, issue a signal that the refrigeration and thermal insulation box structure is faulty; The S1072 specifically includes: S1072A: Perform signal decomposition on the state value sequence: in, represents the wavelet coefficients, Indicates different moments t The corresponding original signal is the state value sequence, represents the wavelet function, a represents the scale parameter, b represents the translation parameter, represents the basic wavelet function, represents the Haar wavelet function, N represents the multi-odd wavelet order, k represents the order index variable, represents the coefficients of the Haar wavelet function; S1072B: Determine the main wavelet coefficient based on a preset signal-to-noise ratio threshold: in, represents the preset signal-to-noise ratio threshold, represents the current noise standard deviation, represents the main wavelet coefficient; S1072C: Reconstruct the state value sequence according to the main wavelet coefficients to extract the main data of the actual value of the response state: in, The master data representing the actual value of the response status, Indicated in scale a and pan position b The summation is performed under the condition of ; A performance evaluation module, used to evaluate the performance value of the controller of the refrigeration and incubation box according to the deviation between the input instruction value and the input instruction standard value, the deviation between the response instruction actual value and the response instruction standard value, and the deviation between the response state actual value and the response state standard value in each functional test item. When the performance value of the controller of the refrigeration and incubation box is greater than a preset performance value, the test is qualified, otherwise, the test is unqualified; The performance evaluation module is specifically used for: Calculate the deviation between the input command value and the input command standard value, the deviation between the response command actual value and the response command standard value, and the deviation between the response status actual value and the response status standard value in each functional test item: in, ε fi Indicates i The deviation between the input instruction value and the input instruction standard value in each functional test item is f i Indicates i The input instruction value in each functional test item, Indicates i The standard value of input instructions in each functional test item; in, ε gi Indicates i The deviation between the actual value of the response instruction and the standard value of the response instruction in each functional test item is g i Indicates i The actual value of the response instruction in the functional test project, Indicates i The standard value of the response instruction in each functional test item; in, ε xi Indicates i The deviation between the actual value of the response status and the standard value of the response status in each functional test item is x i Indicates i The actual value of the response status in the functional test project, Indicates i The standard value of the response status in each functional test item; The performance values ​​of the controller of the refrigeration and incubation box in each functional test item are calculated according to the following formula: in, δ i Indicates that the controller of the refrigeration and thermal insulation box is i Performance value of each functional test item, e represents a natural constant, λ f represents the weight coefficient of the input instruction deviation term, λ g represents the weight coefficient of the response instruction deviation term, λ x Represents the weight coefficient of the response state deviation term; According to the following formula, the performance value of the controller of the refrigeration and insulated box is evaluated: in, σ Indicates the performance value of the controller of the refrigeration and incubation box. β i Indicates i The weight coefficient of each functional test item, , n Indicates the total number of functional test items; The weight coefficients of each functional test item are calculated by improving the hierarchical analysis method, which are as follows: Combined with the nine-level scaling method, the weight coefficients of each functional test item are compared pairwise to establish a discriminant matrix A : in, a ij Indicates i The weight coefficient of the first functional test item is relative to the j The importance of the weight coefficient of each functional test item, , ; Perform logarithmic operation on the discriminant matrix to obtain an antisymmetric matrix B : The symbol lg represents the logarithm operation with base 10; Based on the antisymmetric matrix B Compute the optimal transfer matrix C : in, Denotes the optimal transfer matrix C No. i Line j The elements of the column, k Indicates the tag parameter, Indicates the antisymmetric matrix j Line k The elements of the column, Denotes the antisymmetric matrix C Middle i Line k The elements of the column, , , , ; Calculate the fitting matrix based on the optimal transfer matrix D : in, Indicates the first i Line j Elements of a column; Calculate the weight coefficient of each functional test item: in, Indicates i The weight value of each functional test item, Indicates the first i Line k The elements of the column, Indicates i The weighted average of the functional test items, , , .

2. The automatic test system for function parameters of a refrigeration and incubation box controller according to claim 1 is characterized in that: The functional test items include: refrigeration function test items, heat preservation function test items, defrost function test items, timing function test items, high temperature alarm function test items and low temperature alarm function test items, and the functional parameters include temperature control lower limit value, temperature control upper limit value and control accuracy.

3. The automatic test system for function parameters of a refrigeration and incubation box controller according to claim 1 is characterized in that: The creation module is specifically used for: S1021: Create a database, wherein the database includes the function test items, the input instruction standard value, the response instruction standard value and the response status standard value; S1022: Create row data for each functional test item, and fill the corresponding functional test item, the input instruction standard value, the response instruction standard value and the response status standard value into the column data under the row data; S1023: Creating parallel column data for the row data, wherein the parallel column data is used to store variable threshold ranges of the input instruction standard value, the response instruction standard value, and the response status standard value; S1024: Associating the row data corresponding to each functional test item with the corresponding parallel column data to obtain a sub-mapping table; S1025: Fill the parameters of each functional test item in the factory parameters into different sub-mapping tables in sequence; S1026: Connect the sub-mapping tables in sequence to obtain the mapping table, and save the mapping table.

4. The automatic test system for function parameters of a refrigeration and incubation box controller according to claim 3 is characterized in that: The variable threshold range is set based on the factory parameters.

5. The automatic test system for function parameters of a refrigeration and incubation box controller according to claim 1 is characterized in that: The calibration module is specifically used for: S1031: When the input instruction value is not equal to the input instruction standard value, calling the backup power supply to calibrate the input instruction value so that the input instruction value is equal to the input instruction standard value.