A FCT test method, system and medium based on intelligent measurement switch
Through the FCT test method of intelligent measurement switches, randomly generated simulation parameters and preset algorithms are used to process data and build a data prediction model, which solves the problem of inaccurate testing of intelligent measurement switches and achieves more accurate test results.
Patent Information
- Application Number
- CN202410629809.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-21
AI Technical Summary
Existing smart measurement switch function test (FCT) devices are prone to fixed test circuit problems after long-term operation, resulting in inaccurate testing.
Adopt the FCT test method based on intelligent measurement switches, configure the simulation test circuit by randomly generating simulation parameters, test multiple intelligent measurement switches in parallel, use the preset FCT evaluation algorithm to process the measured signal data, build a data prediction model, and optimize the model parameters , predict and compare performance data, and calculate the overall weight bad value to judge the test results.
It effectively avoids the test inaccuracy caused by the problems of the cured test circuit itself, improves the test accuracy of the intelligent measurement switch, and reduces the reliance on fixed standard values.
Smart Images

Figure CN118244183B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent measuring switch testing, and in particular to an FCT testing method, system and medium based on an intelligent measuring switch. Background Art
[0002] The intelligent measuring switch has current protection functions (overload long delay protection, short circuit short delay protection, short circuit instantaneous protection), voltage protection (over-voltage protection, under-voltage protection, phase failure protection, frequency protection) and temperature protection. It can protect the line and power supply equipment. At the same time, the intelligent measuring switch also has the function of measuring node voltage, current, power and frequency, and can provide basic station area data for power grid intelligent equipment through power line carrier communication.
[0003] At present, the technology of functional testing (FCT, Functional Circuit Test) is very mature and reliable, but it is mainly carried out for products such as electric energy meters. Intelligent measuring switches are newly emerging products on the market, and the matching FCT test devices have just begun to be developed. For example, some manufacturers' FCT test devices all generate fixed test circuits under fixed analog parameters for testing, that is, the test process is relatively rigid. When evaluating the test results, the test data is directly compared with the known standard values to determine whether the intelligent measuring switch is qualified. However, usually FCT test equipment will test a lot of intelligent measuring switches every day. Running the FCT test equipment under a fixed test circuit for testing many times can easily cause problems with the fixed test circuit itself, which in turn can easily lead to inaccurate testing of the intelligent measuring switch. Summary of the invention
[0004] In order to solve at least one of the above technical problems, the present invention proposes an FCT testing method, system and medium based on intelligent measurement switches, so that multiple intelligent measurement switches are tested on an analog circuit formed by analog parameters, and the tester or test equipment does not need to know the fixed standard value. Based on the FCT signal data of multiple intelligent measurement switches and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measurement switch can be obtained. The present invention can effectively avoid the problem of inaccurate FCT testing of intelligent measurement switches caused by problems in the traditional solidified test circuit itself.
[0005] A first aspect of the present invention provides a FCT testing method based on an intelligent measurement switch, the method comprising:
[0006] The simulation parameters used for this FCT test are randomly generated by the parameter random generation unit;
[0007] Configure the corresponding analog test circuit according to the generated analog parameters of this FCT test;
[0008] Connecting a plurality of intelligent measuring switches to be tested in parallel into the analog test circuit respectively, and performing a power-on test;
[0009] The data acquisition unit is used to respectively acquire the measured FCT signal data of a plurality of intelligent measuring switches to be tested;
[0010] Based on the measured FCT signal data of multiple intelligent measuring switches to be tested, and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measuring switch to be tested is obtained.
[0011] In this solution, the FCT evaluation results of each intelligent measuring switch to be tested are obtained through processing by the preset FCT evaluation algorithm, including:
[0012] Construct an FCT data prediction model and train the FCT data prediction model with sample data to optimize model parameters;
[0013] Preset that the properties of multiple intelligent measuring switches to be tested are the same, and obtain the property data of the intelligent measuring switches to be tested;
[0014] Based on the simulation parameters of this FCT test and the property data of the intelligent measuring switch to be tested, the predicted FCT signal data of the intelligent measuring switch to be tested is obtained;
[0015] The measured FCT signal data of each intelligent measurement switch to be tested are compared and analyzed with the predicted FCT signal data of the intelligent measurement switch to be tested, and the FCT evaluation result of each intelligent measurement switch to be tested is calculated by a preset processing algorithm.
[0016] In this solution, the FCT evaluation results of each intelligent measurement switch to be tested are calculated by a preset processing algorithm, including:
[0017] The preset measured FCT signal data includes a plurality of measured performance data, and the predicted FCT signal data includes a plurality of predicted performance data, and the plurality of measured performance data corresponds one to one with the plurality of predicted performance data;
[0018] Difference calculation is performed between each item of measured performance data of each intelligent measurement switch to be tested and the corresponding predicted performance data in the predicted FCT signal data, to obtain a deviation amount of each item of performance data based on each intelligent measurement switch to be tested;
[0019] Compare the deviation of each performance data of each intelligent measurement switch to be tested with the deviation of the corresponding performance data of other intelligent measurement switches to be tested one by one. If the former is greater than the latter, mark the corresponding performance data of the former intelligent measurement switch to be tested as poor performance;
[0020] After the deviation of each performance data item of each intelligent measurement switch to be tested is compared one by one with the deviation of the corresponding performance data items of other intelligent measurement switches to be tested, the total number of times each performance data item of each intelligent measurement switch to be tested is marked as poor performance is counted;
[0021] Preset that the influence weight of each performance data on the overall performance of the intelligent measuring switch to be measured is different, and obtain the influence weight of each performance data;
[0022] Based on each intelligent measurement switch to be tested, the total number of times each performance data is marked as poor performance is multiplied by the corresponding impact weight to obtain a weighted poor value;
[0023] Based on each intelligent measurement switch to be tested, the weighted bad values of each performance data are accumulated to obtain the overall weighted bad value;
[0024] It is determined whether the overall weighted bad value of each intelligent measurement switch to be tested is greater than a first preset threshold value. If yes, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be unqualified. If no, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be qualified.
[0025] In this solution, after the predicted FCT signal data of the intelligent measurement switch to be tested is predicted based on the simulation parameters of this FCT test and the attribute data of the intelligent measurement switch to be tested, the method further includes:
[0026] Acquire multiple historical test data, each of which includes multiple historical attribute data of the historical intelligent measurement switch, historical simulation parameters, and historical measured FCT signal data;
[0027] Performing feature calculation on multiple historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature;
[0028] Performing feature calculation based on multiple attribute data of the intelligent measuring switch to be measured to obtain a second attribute feature;
[0029] Calculate the difference between the second attribute feature of the intelligent measurement switch to be measured and the first attribute feature of each historical intelligent measurement switch, and calculate the difference value between the two;
[0030] Determine whether the difference value is less than a second preset threshold value, if yes, add the corresponding historical test data to the correction data pool, otherwise, directly discard it;
[0031] Until the second attribute characteristics of the intelligent measuring switch to be measured are compared with the first attribute characteristics of all historical intelligent measuring switches;
[0032] Based on multiple historical attribute data and historical simulation parameters of each historical intelligent measuring switch in the correction data pool, historical predicted FCT signal data of each historical intelligent measuring switch is obtained by prediction through the FCT data prediction model;
[0033] Based on each historical test data in the correction data pool, the historical measured FCT signal data of each historical intelligent measurement switch is subtracted from the corresponding historical predicted FCT signal data to obtain the difference value of each historical intelligent measurement switch;
[0034] Perform average calculation on the difference of all historical test data in the correction data pool to obtain the average difference;
[0035] On the basis of the predicted FCT signal data of the intelligent measuring switch to be tested, the average difference is added to obtain the corrected predicted FCT signal data.
[0036] In this solution, feature calculation is performed on multiple historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature, which specifically includes:
[0037] Based on each historical attribute data, obtain a first upper limit value and a first lower limit value that the corresponding attribute can reach, and determine a value range of the attribute based on the first upper limit value and the first lower limit value;
[0038] Mark the position point of each historical attribute data within the value range of the corresponding attribute, and calculate the first normalized ratio of each historical attribute data, the calculation formula of the first normalized ratio is: first normalized ratio = (historical attribute data - first lower limit) / (first upper limit - first lower limit);
[0039] The first normalized ratio of the plurality of historical attribute data is calculated according to the first calculation formula to obtain the first attribute feature. The first calculation formula of the first attribute feature is: in Represents the first normalized ratio of the nth historical attribute data.
[0040] In this solution, feature calculation is performed based on multiple attribute data of the intelligent measuring switch to be measured to obtain the second attribute feature, which specifically includes:
[0041] Based on each attribute data of the intelligent measuring switch to be tested, obtaining a second upper limit value and a second lower limit value that the corresponding attribute can reach, and determining a value range of the attribute based on the second upper limit value and the second lower limit value;
[0042] Mark the position point of each attribute data of the intelligent measurement switch to be tested within the value range of the corresponding attribute, and calculate the second normalized ratio of each attribute data of the intelligent measurement switch to be tested, wherein the calculation formula of the second normalized ratio is: second normalized ratio=(attribute data of the intelligent measurement switch to be tested-second lower limit value) / (second upper limit value-second lower limit value);
[0043] The second normalized ratio of the plurality of attribute data of the intelligent measuring switch to be tested is used to calculate the second attribute feature according to the second calculation formula. The second calculation formula of the second attribute feature is: in Represents the second normalized ratio of the nth attribute data.
[0044] The second aspect of the present invention further provides an FCT test system based on an intelligent measurement switch, comprising a memory and a processor, wherein the memory comprises an FCT test method program based on the intelligent measurement switch, and when the FCT test method program based on the intelligent measurement switch is executed by the processor, the following steps are implemented:
[0045] The simulation parameters used for this FCT test are randomly generated by the parameter random generation unit;
[0046] Configure the corresponding analog test circuit according to the generated analog parameters of this FCT test;
[0047] Connecting a plurality of intelligent measuring switches to be tested in parallel into the analog test circuit respectively, and performing a power-on test;
[0048] The data acquisition unit is used to respectively acquire the measured FCT signal data of a plurality of intelligent measuring switches to be tested;
[0049] Based on the measured FCT signal data of multiple intelligent measuring switches to be tested, and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measuring switch to be tested is obtained.
[0050] In this solution, the FCT evaluation results of each intelligent measuring switch to be tested are obtained through processing by the preset FCT evaluation algorithm, including:
[0051] Construct an FCT data prediction model and train the FCT data prediction model with sample data to optimize model parameters;
[0052] Preset that the properties of multiple intelligent measuring switches to be tested are the same, and obtain the property data of the intelligent measuring switches to be tested;
[0053] Based on the simulation parameters of this FCT test and the property data of the intelligent measuring switch to be tested, the predicted FCT signal data of the intelligent measuring switch to be tested is obtained;
[0054] The measured FCT signal data of each intelligent measurement switch to be tested are compared and analyzed with the predicted FCT signal data of the intelligent measurement switch to be tested, and the FCT evaluation result of each intelligent measurement switch to be tested is calculated by a preset processing algorithm.
[0055] In this solution, the FCT evaluation results of each intelligent measurement switch to be tested are calculated by a preset processing algorithm, including:
[0056] The preset measured FCT signal data includes a plurality of measured performance data, and the predicted FCT signal data includes a plurality of predicted performance data, and the plurality of measured performance data corresponds one to one with the plurality of predicted performance data;
[0057] Difference calculation is performed between each item of measured performance data of each intelligent measurement switch to be tested and the corresponding predicted performance data in the predicted FCT signal data, to obtain a deviation amount of each item of performance data based on each intelligent measurement switch to be tested;
[0058] Compare the deviation of each performance data of each intelligent measurement switch to be tested with the deviation of the corresponding performance data of other intelligent measurement switches to be tested one by one. If the former is greater than the latter, mark the corresponding performance data of the former intelligent measurement switch to be tested as poor performance;
[0059] After the deviation of each performance data item of each intelligent measurement switch to be tested is compared one by one with the deviation of the corresponding performance data items of other intelligent measurement switches to be tested, the total number of times each performance data item of each intelligent measurement switch to be tested is marked as poor performance is counted;
[0060] Preset that the influence weight of each performance data on the overall performance of the intelligent measuring switch to be measured is different, and obtain the influence weight of each performance data;
[0061] Based on each intelligent measurement switch to be tested, the total number of times each performance data is marked as poor performance is multiplied by the corresponding impact weight to obtain a weighted poor value;
[0062] Based on each intelligent measurement switch to be tested, the weighted bad values of each performance data are accumulated to obtain the overall weighted bad value;
[0063] It is determined whether the overall weighted bad value of each intelligent measurement switch to be tested is greater than a first preset threshold value. If yes, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be unqualified. If no, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be qualified.
[0064] The third aspect of the present invention further proposes a computer-readable storage medium, which includes a FCT test method program based on an intelligent measurement switch. When the FCT test method program based on an intelligent measurement switch is executed by a processor, the steps of the FCT test method based on an intelligent measurement switch as described above are implemented.
[0065] The present invention proposes an FCT test method, system and medium based on intelligent measurement switches, which randomly generates simulation parameters and allows multiple intelligent measurement switches to be tested on an analog circuit formed by the simulation parameters. The tester or test equipment does not need to know the fixed standard value. The FCT signal data of multiple intelligent measurement switches are processed by a preset FCT evaluation algorithm to obtain the FCT evaluation result of each intelligent measurement switch. The present invention can effectively avoid the problem of inaccurate FCT testing caused by problems in the traditional solidified test circuit itself.
[0066] Additional aspects and advantages of the present invention will be given in part in the following description, and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A flow chart of a FCT testing method based on an intelligent measuring switch of the present invention is shown;
[0068] Figure 2 The flowchart of the FCT evaluation algorithm of the embodiment of the present invention is shown;
[0069] Figure 3 A block diagram of an FCT test system based on an intelligent measurement switch of the present invention is shown. DETAILED DESCRIPTION
[0070] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0071] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0072] Figure 1 A flow chart of a FCT testing method based on an intelligent measuring switch of the present invention is shown.
[0073] like Figure 1As shown, the first aspect of the present invention provides a FCT testing method based on an intelligent measurement switch, the method comprising:
[0074] S102, a parameter random generation unit randomly generates simulation parameters for this FCT test;
[0075] S104, configuring a corresponding analog test circuit according to the generated analog parameters of this FCT test;
[0076] S106, placing a plurality of intelligent measuring switches to be tested in parallel into the analog test circuit respectively, and performing a power-on test;
[0077] S108, respectively acquiring measured FCT signal data of a plurality of intelligent measuring switches to be tested through a data acquisition unit;
[0078] S110, based on the measured FCT signal data of the multiple intelligent measurement switches to be tested, and processed by a preset FCT evaluation algorithm, an FCT evaluation result of each intelligent measurement switch to be tested is obtained.
[0079] It should be noted that the traditional FCT test generates a fixed test circuit under fixed analog parameters for testing, that is, the test process is relatively solidified, and the test data is compared with the known standard value to determine whether the intelligent measurement switch is qualified. However, usually the FCT test equipment will test a lot of intelligent measurement switches every day, and test them on a fixed test circuit many times, which is easy to cause problems with the fixed test circuit itself, and easily lead to inaccurate testing. The present invention randomly generates analog parameters, and makes multiple intelligent measurement switches test on the analog circuit formed by the analog parameters, and the test personnel or test equipment do not need to know the fixed standard value. Based on the FCT signal data of multiple intelligent measurement switches, and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measurement switch can be obtained. The present invention can effectively avoid the problem of inaccurate FCT testing caused by problems in the solidified test circuit itself.
[0080] It should be noted that FCT (Functional Test) refers to a test method that provides a simulated operating environment (stimulus and load) to the test target board (UUT: Unit Under Test) to make it work in various design states, thereby obtaining the parameters of each state to verify the function of the UUT. Simply put, it is to load the UUT with appropriate stimulus and measure whether the output response meets the requirements. FCT (Functional Test) mainly includes voltage, current, power, power factor, frequency, duty cycle, brightness and color, character recognition, sound recognition, temperature measurement, pressure measurement, motion control, FLASH and EEPROM burning and other test items.
[0081] like Figure 2 As shown, the FCT evaluation results of each intelligent measuring switch to be tested are obtained by processing through the preset FCT evaluation algorithm, including:
[0082] S202, constructing an FCT data prediction model, and training the FCT data prediction model through sample data to optimize model parameters;
[0083] S204, presetting the properties of the plurality of intelligent measuring switches to be tested to be the same, and obtaining property data of the intelligent measuring switches to be tested;
[0084] S206, predicting the predicted FCT signal data of the intelligent measurement switch to be tested based on the simulation parameters of the current FCT test and the attribute data of the intelligent measurement switch to be tested;
[0085] S208, comparing and analyzing the measured FCT signal data of each intelligent measurement switch to be tested with the predicted FCT signal data of the intelligent measurement switch to be tested, and calculating the FCT evaluation result of each intelligent measurement switch to be tested through a preset processing algorithm.
[0086] According to an embodiment of the present invention, the FCT evaluation result of each intelligent measurement switch to be tested is calculated by a preset processing algorithm, specifically including:
[0087] The preset measured FCT signal data includes a plurality of measured performance data, and the predicted FCT signal data includes a plurality of predicted performance data, and the plurality of measured performance data corresponds one to one with the plurality of predicted performance data;
[0088] Difference calculation is performed between each item of measured performance data of each intelligent measurement switch to be tested and the corresponding predicted performance data in the predicted FCT signal data, to obtain a deviation amount of each item of performance data based on each intelligent measurement switch to be tested;
[0089] Compare the deviation of each performance data of each intelligent measurement switch to be tested with the deviation of the corresponding performance data of other intelligent measurement switches to be tested one by one. If the former is greater than the latter, mark the corresponding performance data of the former intelligent measurement switch to be tested as poor performance;
[0090] After the deviation of each performance data item of each intelligent measurement switch to be tested is compared one by one with the deviation of the corresponding performance data items of other intelligent measurement switches to be tested, the total number of times each performance data item of each intelligent measurement switch to be tested is marked as poor performance is counted;
[0091] Preset that the influence weight of each performance data on the overall performance of the intelligent measuring switch to be measured is different, and obtain the influence weight of each performance data;
[0092] Based on each intelligent measurement switch to be tested, the total number of times each performance data is marked as poor performance is multiplied by the corresponding impact weight to obtain a weighted poor value;
[0093] Based on each intelligent measurement switch to be tested, the weighted bad values of each performance data are accumulated to obtain the overall weighted bad value;
[0094] It is determined whether the overall weighted bad value of each intelligent measurement switch to be tested is greater than a first preset threshold value. If yes, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be unqualified. If no, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be qualified.
[0095] It should be noted that in the entire evaluation process of the present invention, the tester or test equipment does not need to know the fixed standard value. The FCT evaluation result of each intelligent measurement switch to be tested can be obtained by performing one-to-one comparison inside multiple intelligent measurement switches to be tested through the predicted FCT evaluation algorithm. In addition, considering that multiple intelligent measurement switches to be tested have overall inaccuracy, the present invention further involves the predicted FCT signal data of the model for reference. Therefore, the present invention can effectively avoid the problem of inaccurate FCT testing caused by problems in the traditional solidified test circuit itself.
[0096] It should be noted that the multiple performance data may include voltage, current, power, power factor, frequency, duty cycle, etc., but are not limited thereto.
[0097] According to an embodiment of the present invention, after predicting the predicted FCT signal data of the intelligent measurement switch to be tested based on the simulation parameters of the current FCT test and the attribute data of the intelligent measurement switch to be tested, the method further includes:
[0098] Acquire multiple historical test data, each of which includes multiple historical attribute data of the historical intelligent measurement switch, historical simulation parameters, and historical measured FCT signal data;
[0099] Performing feature calculation on multiple historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature;
[0100] Performing feature calculation based on multiple attribute data of the intelligent measuring switch to be measured to obtain a second attribute feature;
[0101] Calculate the difference between the second attribute feature of the intelligent measurement switch to be measured and the first attribute feature of each historical intelligent measurement switch, and calculate the difference value between the two;
[0102] Determine whether the difference value is less than a second preset threshold value, if yes, add the corresponding historical test data to the correction data pool, otherwise, directly discard it;
[0103] Until the second attribute characteristics of the intelligent measuring switch to be measured are compared with the first attribute characteristics of all historical intelligent measuring switches;
[0104] Based on multiple historical attribute data and historical simulation parameters of each historical intelligent measuring switch in the correction data pool, historical predicted FCT signal data of each historical intelligent measuring switch is obtained by prediction through the FCT data prediction model;
[0105] Based on each historical test data in the correction data pool, the historical measured FCT signal data of each historical intelligent measurement switch is subtracted from the corresponding historical predicted FCT signal data to obtain the difference value of each historical intelligent measurement switch;
[0106] Perform average calculation on the difference of all historical test data in the correction data pool to obtain the average difference;
[0107] On the basis of the predicted FCT signal data of the intelligent measuring switch to be tested, the average difference is added to obtain the corrected predicted FCT signal data.
[0108] According to a specific embodiment of the present invention, the difference between the historical measured FCT signal data of each historical intelligent measurement switch and the corresponding historical predicted FCT signal data is calculated to obtain the difference value of each historical intelligent measurement switch, which specifically includes:
[0109] Performing a difference calculation on each item of measured performance data in the historical measured FCT signal data of each historical intelligent measuring switch and the corresponding predicted performance data in the historical predicted FCT signal data, respectively, to obtain a difference component of each item of performance data;
[0110] The difference components of all performance data are combined to form a matrix to obtain the difference value of each historical intelligent measurement switch.
[0111] According to a specific embodiment of the present invention, based on the predicted FCT signal data of the intelligent measuring switch to be tested, the average difference is added to obtain the corrected predicted FCT signal data, which specifically includes:
[0112] Multiple prediction performance data and difference values in the predicted FCT signal data are matrix-added to obtain the corrected predicted FCT signal data.
[0113] It should be noted that the present invention corrects the predicted FCT signal data in combination with historical test data, which effectively improves the accuracy of the predicted FCT signal data and further improves the accuracy of the FCT test of this intelligent measurement switch.
[0114] According to an embodiment of the present invention, feature calculation is performed on a plurality of historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature, which specifically includes:
[0115] Based on each historical attribute data, obtain a first upper limit value and a first lower limit value that the corresponding attribute can reach, and determine a value range of the attribute based on the first upper limit value and the first lower limit value;
[0116] Mark the position point of each historical attribute data within the value range of the corresponding attribute, and calculate the first normalized ratio of each historical attribute data, the calculation formula of the first normalized ratio is: first normalized ratio = (historical attribute data - first lower limit) / (first upper limit - first lower limit);
[0117] The first normalized ratio of the plurality of historical attribute data is calculated according to the first calculation formula to obtain the first attribute feature. The first calculation formula of the first attribute feature is: in Represents the first normalized ratio of the nth historical attribute data.
[0118] It can be understood that the properties of the intelligent measuring switch may include multiple types, such as withstand voltage property data, that is, the maximum voltage that the intelligent measuring switch can withstand between the conductor and the ground, power line clutter anti-interference ability, radio anti-interference ability, etc. However, the units of these property data are not exactly the same, so they need to be normalized and converted before the proportion calculation can be performed to obtain the property characteristics.
[0119] According to an embodiment of the present invention, feature calculation is performed based on multiple attribute data of the intelligent measuring switch to be tested to obtain a second attribute feature, which specifically includes:
[0120] Based on each attribute data of the intelligent measuring switch to be tested, obtaining a second upper limit value and a second lower limit value that the corresponding attribute can reach, and determining a value range of the attribute based on the second upper limit value and the second lower limit value;
[0121] Mark the position point of each attribute data of the intelligent measurement switch to be tested within the value range of the corresponding attribute, and calculate the second normalized ratio of each attribute data of the intelligent measurement switch to be tested, wherein the calculation formula of the second normalized ratio is: second normalized ratio=(attribute data of the intelligent measurement switch to be tested-second lower limit value) / (second upper limit value-second lower limit value);
[0122] The second normalized ratio of the plurality of attribute data of the intelligent measuring switch to be tested is used to calculate the second attribute feature according to the second calculation formula. The second calculation formula of the second attribute feature is: in Represents the second normalized ratio of the nth attribute data.
[0123] According to a specific embodiment of the present invention, the simulation parameters for this FCT test are randomly generated by the parameter random generation unit, specifically including:
[0124] The first step is to randomly generate a test data set and assign initial values to each parameter and speed;
[0125] The second step is to convert the test data set Set to current position, Set to the best position in the test dataset;
[0126] Step 3: For each test data in the test data set : From the test data The speed update rule is: And location update rules To update the speed of the current test data and location ; If the position If the parameter level constraints are not met, fly back to the previous position in, Indicates the speed of the test data, Indicates the location of the test data, is the inertia weight; There are two learning factors respectively; Two uniformly distributed A random number between According to the disturbance mechanism, the current position Perturb, generate new feasible solutions, and determine the optimal solution in its neighborhood Compare and ,if Better than , then let the test data Current location is Otherwise, let its position be
[0127] Step 4: Calculate the objective function fitness value of the updated test data, and update the current test data according to the objective function fitness value The best location Update the optimal position of the test dataset Step 5: Repeat the previous step 3 until the global optimal solution is found or the maximum number of iterations is reached;
[0128] Step 6: Output a piece of test data corresponding to the optimal solution as a simulation parameter for the FCT test.
[0129] It should be noted that the present invention uses the position of the test data to represent the solution of the problem to be optimized. The quality of the performance of each test data depends on the fitness value determined by the objective function of the problem to be optimized. The flight direction and speed of each test data are determined by a speed. In the target search space of dimension, there are The test data form a group, among which, in the Test data at iteration The position is represented by The corresponding flight speed is expressed as In each iteration, the test data updates its speed and position by tracking two extreme values: one extreme value is the optimal solution searched so far by the test data itself is called an individual extreme value, and the other extreme value is the optimal solution found so far in the entire test data set is called the global extremum.
[0130] It should be noted that the new location of the test data is generated Each dimension of Perturbations are performed to increase the component randomness of the test data.
[0131] Figure 3 A block diagram of an FCT test system based on an intelligent measurement switch of the present invention is shown.
[0132] like Figure 3 As shown, the second aspect of the present invention further proposes an FCT test system 3 based on an intelligent measurement switch, comprising a memory 31 and a processor 32, wherein the memory comprises an FCT test method program based on an intelligent measurement switch, and when the FCT test method program based on an intelligent measurement switch is executed by the processor, the following steps are implemented:
[0133] The simulation parameters used for this FCT test are randomly generated by the parameter random generation unit;
[0134] Configure the corresponding analog test circuit according to the generated analog parameters of this FCT test;
[0135] Connecting a plurality of intelligent measuring switches to be tested in parallel into the analog test circuit respectively, and performing a power-on test;
[0136] The data acquisition unit is used to respectively acquire the measured FCT signal data of a plurality of intelligent measuring switches to be tested;
[0137] Based on the measured FCT signal data of multiple intelligent measuring switches to be tested, and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measuring switch to be tested is obtained.
[0138] According to an embodiment of the present invention, the FCT evaluation result of each intelligent measuring switch to be tested is obtained by processing through a preset FCT evaluation algorithm, which specifically includes:
[0139] Construct an FCT data prediction model and train the FCT data prediction model with sample data to optimize model parameters;
[0140] Preset that the properties of multiple intelligent measuring switches to be tested are the same, and obtain the property data of the intelligent measuring switches to be tested;
[0141] Based on the simulation parameters of this FCT test and the property data of the intelligent measuring switch to be tested, the predicted FCT signal data of the intelligent measuring switch to be tested is obtained;
[0142] The measured FCT signal data of each intelligent measurement switch to be tested are compared and analyzed with the predicted FCT signal data of the intelligent measurement switch to be tested, and the FCT evaluation result of each intelligent measurement switch to be tested is calculated by a preset processing algorithm.
[0143] According to an embodiment of the present invention, the FCT evaluation result of each intelligent measurement switch to be tested is calculated by a preset processing algorithm, specifically including:
[0144] The preset measured FCT signal data includes a plurality of measured performance data, and the predicted FCT signal data includes a plurality of predicted performance data, and the plurality of measured performance data corresponds one to one with the plurality of predicted performance data;
[0145] Difference calculation is performed between each item of measured performance data of each intelligent measurement switch to be tested and the corresponding predicted performance data in the predicted FCT signal data, to obtain a deviation amount of each item of performance data based on each intelligent measurement switch to be tested;
[0146] Compare the deviation of each performance data of each intelligent measurement switch to be tested with the deviation of the corresponding performance data of other intelligent measurement switches to be tested one by one. If the former is greater than the latter, mark the corresponding performance data of the former intelligent measurement switch to be tested as poor performance;
[0147] After the deviation of each performance data item of each intelligent measurement switch to be tested is compared one by one with the deviation of the corresponding performance data items of other intelligent measurement switches to be tested, the total number of times each performance data item of each intelligent measurement switch to be tested is marked as poor performance is counted;
[0148] Preset that the influence weight of each performance data on the overall performance of the intelligent measuring switch to be measured is different, and obtain the influence weight of each performance data;
[0149] Based on each intelligent measurement switch to be tested, the total number of times each performance data is marked as poor performance is multiplied by the corresponding impact weight to obtain a weighted poor value;
[0150] Based on each intelligent measurement switch to be tested, the weighted bad values of each performance data are accumulated to obtain the overall weighted bad value;
[0151] It is determined whether the overall weighted bad value of each intelligent measurement switch to be tested is greater than a first preset threshold value. If yes, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be unqualified. If no, the FCT evaluation result of the intelligent measurement switch to be tested is determined to be qualified.
[0152] The third aspect of the present invention further proposes a computer-readable storage medium, which includes a FCT test method program based on an intelligent measurement switch. When the FCT test method program based on an intelligent measurement switch is executed by a processor, the steps of the FCT test method based on an intelligent measurement switch as described above are implemented.
[0153] The FCT test method, system and medium based on the intelligent measurement switch proposed in the present invention randomly generate simulation parameters and test multiple intelligent measurement switches on the simulation circuit formed by the simulation parameters. The tester or the test equipment does not need to know the fixed standard value. The FCT signal data of the multiple intelligent measurement switches are processed by a preset FCT evaluation algorithm to obtain the FCT evaluation result of each intelligent measurement switch. The present invention can effectively avoid the problem of inaccurate FCT testing caused by problems in the traditional solidified test circuit itself.
[0154] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0155] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0156] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0157] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0158] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0159] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A FCT testing method based on an intelligent measuring switch, characterized in that: The method comprises: The simulation parameters used for this FCT test are randomly generated by the parameter random generation unit; Configure the corresponding analog test circuit according to the generated analog parameters of this FCT test; Connecting a plurality of intelligent measuring switches to be tested in parallel into the analog test circuit respectively, and performing a power-on test; The data acquisition unit is used to respectively acquire the measured FCT signal data of a plurality of intelligent measuring switches to be tested; Based on the measured FCT signal data of multiple intelligent measuring switches to be tested, and processed by a preset FCT evaluation algorithm, the FCT evaluation result of each intelligent measuring switch to be tested is obtained; The FCT evaluation results of each intelligent measuring switch to be tested are obtained through the preset FCT evaluation algorithm, including: Construct an FCT data prediction model and train the FCT data prediction model with sample data to optimize model parameters; Preset that the properties of multiple intelligent measuring switches to be tested are the same, and obtain the property data of the intelligent measuring switches to be tested; Based on the simulation parameters of this FCT test and the property data of the intelligent measuring switch to be tested, the predicted FCT signal data of the intelligent measuring switch to be tested is obtained; Compare and analyze the measured FCT signal data of each intelligent measurement switch to be tested with the predicted FCT signal data of the intelligent measurement switch to be tested, and calculate the FCT evaluation result of each intelligent measurement switch to be tested through a preset processing algorithm; The FCT evaluation results of each intelligent measurement switch to be tested are calculated through the preset processing algorithm, including: The preset measured FCT signal data includes a plurality of measured performance data, and the predicted FCT signal data includes a plurality of predicted performance data, and the plurality of measured performance data corresponds one to one with the plurality of predicted performance data; Difference calculation is performed between each item of measured performance data of each intelligent measurement switch to be tested and the corresponding predicted performance data in the predicted FCT signal data, to obtain a deviation amount of each item of performance data based on each intelligent measurement switch to be tested; Compare the deviation of each performance data of each intelligent measurement switch to be tested with the deviation of the corresponding performance data of other intelligent measurement switches to be tested one by one. If the former is greater than the latter, mark the corresponding performance data of the former intelligent measurement switch to be tested as poor performance; After the deviation of each performance data item of each intelligent measurement switch to be tested is compared one by one with the deviation of the corresponding performance data items of other intelligent measurement switches to be tested, the total number of times each performance data item of each intelligent measurement switch to be tested is marked as poor performance is counted; Preset that the influence weight of each performance data on the overall performance of the intelligent measuring switch to be measured is different, and obtain the influence weight of each performance data; Based on each intelligent measurement switch to be tested, the total number of times each performance data is marked as poor performance is multiplied by the corresponding impact weight to obtain a weighted poor value; Based on each intelligent measurement switch to be tested, the weighted bad values of each performance data are accumulated to obtain the overall weighted bad value; Determine whether the overall weighted bad value of each intelligent measurement switch to be tested is greater than a first preset threshold value, if yes, determine that the FCT evaluation result of the intelligent measurement switch to be tested is unqualified, if no, determine that the FCT evaluation result of the intelligent measurement switch to be tested is qualified; After obtaining predicted FCT signal data of the intelligent measurement switch to be tested based on the simulation parameters of the current FCT test and the attribute data of the intelligent measurement switch to be tested, the method further includes: Acquire multiple historical test data, each of which includes multiple historical attribute data of the historical intelligent measurement switch, historical simulation parameters, and historical measured FCT signal data; Performing feature calculation on multiple historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature; Performing feature calculation based on multiple attribute data of the intelligent measuring switch to be measured to obtain a second attribute feature; Calculate the difference between the second attribute feature of the intelligent measurement switch to be measured and the first attribute feature of each historical intelligent measurement switch, and calculate the difference value between the two; Determine whether the difference value is less than a second preset threshold value, if yes, add the corresponding historical test data to the correction data pool, otherwise, directly discard it; Until the second attribute characteristics of the intelligent measuring switch to be measured are compared with the first attribute characteristics of all historical intelligent measuring switches; Based on multiple historical attribute data and historical simulation parameters of each historical intelligent measuring switch in the correction data pool, historical predicted FCT signal data of each historical intelligent measuring switch is obtained by prediction through the FCT data prediction model; Based on each historical test data in the correction data pool, the historical measured FCT signal data of each historical intelligent measurement switch is subtracted from the corresponding historical predicted FCT signal data to obtain the difference value of each historical intelligent measurement switch; Perform average calculation on the difference of all historical test data in the correction data pool to obtain the average difference; On the basis of the predicted FCT signal data of the intelligent measuring switch to be tested, the average difference is added to obtain the corrected predicted FCT signal data.
2. The FCT testing method based on the intelligent measuring switch according to claim 1 is characterized in that: Perform feature calculation on multiple historical attribute data of the historical intelligent measuring switch in each historical test data to obtain a first attribute feature, which specifically includes: Based on each historical attribute data, obtain a first upper limit value and a first lower limit value that the corresponding attribute can reach, and determine a value range of the attribute based on the first upper limit value and the first lower limit value; Mark the position point of each historical attribute data within the value range of the corresponding attribute, and calculate the first normalized ratio of each historical attribute data, the calculation formula of the first normalized ratio is: first normalized ratio = (historical attribute data - first lower limit) / (first upper limit - first lower limit); The first normalized ratio of the plurality of historical attribute data is calculated according to the first calculation formula to obtain the first attribute feature. The first calculation formula of the first attribute feature is: ;in Represents the first normalized ratio of the nth historical attribute data.
3. The FCT testing method based on the intelligent measuring switch according to claim 1 is characterized in that: Based on the multiple attribute data of the intelligent measuring switch to be measured, feature calculation is performed to obtain a second attribute feature, which specifically includes: Based on each attribute data of the intelligent measuring switch to be tested, obtaining a second upper limit value and a second lower limit value that the corresponding attribute can reach, and determining a value range of the attribute based on the second upper limit value and the second lower limit value; Mark the position point of each attribute data of the intelligent measurement switch to be tested within the value range of the corresponding attribute, and calculate the second normalized ratio of each attribute data of the intelligent measurement switch to be tested, wherein the calculation formula of the second normalized ratio is: second normalized ratio=(attribute data of the intelligent measurement switch to be tested-second lower limit value) / (second upper limit value-second lower limit value); The second normalized ratio of the plurality of attribute data of the intelligent measuring switch to be tested is used to calculate the second attribute feature according to the second calculation formula. The second calculation formula of the second attribute feature is: ;in Represents the second normalized ratio of the nth attribute data.
4. An FCT test system based on an intelligent measurement switch, characterized in that: It comprises a memory and a processor, wherein the memory comprises a FCT test method program based on an intelligent measuring switch, and when the FCT test method program based on an intelligent measuring switch is executed by the processor, the steps of the FCT test method based on an intelligent measuring switch as described in any one of claims 1 to 3 are implemented.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a FCT test method program based on an intelligent measurement switch. When the FCT test method program based on an intelligent measurement switch is executed by a processor, the steps of the FCT test method based on an intelligent measurement switch as described in any one of claims 1 to 3 are implemented.
Citation Information
Cited By
Electric energy error test method based on intelligent measurement switch
CN122043340A
