A method and system for automatic simulation verification of circuit schematics under all operating conditions
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-02
- Publication Date
- 2026-08-14
AI Technical Summary
该方法不仅费时费力,还经常无法找出原理图的全部问题,导致将问题带入生产环节,使得纠错成本指数级增加
[0050] (1) The method of the present invention reduces the amount of circuit simulation calculation and improves the simulation speed. It checks low-level problems such as wiring errors and network labeling errors by performing functional verification on the circuit, rather than testing the performance of the circuit. Therefore, the accuracy requirements of the model are not high, and the accuracy of the component model can meet the requirements of functional verification.
Smart Images

Figure CN116401980B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aerospace power supply technology, specifically to a method and system for automatic simulation verification of circuit schematics under all operating conditions. Background Technology
[0002] The traditional process for designing aerospace power controller circuits is as follows: first, the correctness of the circuit is verified by simulation in dedicated circuit simulation software (such as Saber); then, the schematic diagram is drawn in schematic / PCB design software; and finally, PCB design and subsequent production are carried out.
[0003] When schematics are complex, oversights often lead to low-level issues such as incorrect wiring and net labels. Current schematic error correction methods rely on manual visual inspection, requiring designers to repeatedly check the schematics. This method is not only time-consuming and labor-intensive, but it also frequently fails to identify all problems, causing these issues to carry over into production and exponentially increasing error correction costs. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: the present invention provides an automatic simulation verification method and system for circuit schematic diagrams under all operating conditions, which eliminates the need to manually search for low-level problems such as wiring errors and network labeling errors in the schematic diagram. By simulating and testing the circuit under all operating conditions, the present invention checks whether the various functions of the circuit are normal, and automatically locates the problems existing in the schematic diagram, making problem finding more convenient and comprehensive.
[0005] The technical solution adopted in this invention is: an automatic simulation verification method for circuit schematics under all operating conditions, comprising:
[0006] S1, Add the simulation model to the component symbol;
[0007] S2, use components with simulation models to draw the circuit schematic to obtain the circuit under test;
[0008] S3, find all input / output ports facing the outside of the circuit schematic, and connect the input / output ports to the operating condition control circuit module using network labels;
[0009] S4. Write a test case set in EXCEL that covers all operating conditions of the circuit under test;
[0010] S5, run the simulation process management program to interpret test cases;
[0011] S6. Locate the sections in the Excel spreadsheet where "Judgment Result" is False and "Test Case Execution Status" is Abnormal. Analyze whether this is due to an error in the circuit schematic drawing. If so, modify the circuit schematic and re-simulate the corresponding test conditions. If not, infer that this is due to an error in the simulation process management program. Modify the simulation process management program and re-simulate the corresponding test conditions.
[0012] Furthermore, in step S1, the simulation model with the lowest computational complexity is selected and added to the component symbol.
[0013] Furthermore, the operating condition control circuit module includes three types of circuits:
[0014] A purely resistive circuit is used to control whether the circuit port is short-circuited or open-circuited. A resistance of 0 indicates a short circuit, and an infinite resistance indicates an open circuit.
[0015] A current source is used to simulate the output of a solar array;
[0016] RLC circuits are used to simulate the load characteristics of circuit ports.
[0017] Furthermore, each test case in the Excel spreadsheet includes:
[0018] Test condition name;
[0019] State prediction section: Specify the expected values for some key components or electrical parameters before setting the test conditions to the target conditions. This section reserves the space to fill in the actual values of the parameters.
[0020] The test condition setting method is described in the form of "component tag number + parameter value", which means that setting the component with the target tag number to a certain parameter value will obtain the test condition; the component tag numbers here all come from the test condition control circuit module.
[0021] Parameter interpretation section: Specify the electrical parameters and their expected values that can be used to determine whether the circuit is working properly under the target test conditions; reserve the positions for filling in the actual values of the parameters and the positions for filling in the interpretation results;
[0022] Test case execution feedback section: Reserved space for recording whether the test case was executed normally.
[0023] Furthermore, the flow of the simulation process management program includes:
[0024] S51, start simulation;
[0025] S52, i = 1; i is the test case number;
[0026] S53, call the exposed API interface of EXCEL to read the i-th test case;
[0027] S54, read the actual values of the parameters involved in the "state prediction part" of the i-th test case from the circuit schematic or simulation results, and write them into the corresponding position in EXCEL;
[0028] S55, determine whether the actual value of the "state prediction part" meets the expected value requirement. If it does, proceed to S56; otherwise, proceed to S516.
[0029] S56, according to the i-th test case "Test Condition Setting Section", set the component parameter values, construct the test condition, and proceed to S57;
[0030] S516, according to the expected value requirements of the "state prediction part", set the parameter values of the components in the working condition control circuit module, and go to S517.
[0031] After S517 and S516 are executed, it is checked again whether the actual value of the "state prediction part" meets the expected value requirement; if it does, proceed to S56; if it does not, proceed to S518.
[0032] In S518, enter "Exception, parameter value not set successfully" in the execution status of the i-th test case, and proceed to S515;
[0033] S515, end simulation;
[0034] S57, Read the parameter values of the components written in the "Test Condition Setting Section" of the i-th test case from the circuit schematic diagram, and compare them with the expected parameter values;
[0035] S58, determine whether the component parameter value was successfully set in S57; if yes, proceed to S59; if no, proceed to S518.
[0036] S59, wait t seconds;
[0037] S510 reads the actual values of the parameters in the "Electrical Parameter Judgment Section" from the circuit schematic and writes them to the corresponding positions in the EXCEL table;
[0038] S511, determine whether the actual value of the "electrical parameter interpretation section" meets the expected value requirement. If yes, proceed to S512; otherwise, proceed to S519.
[0039] S512, write True in the "Judgment Result" field of the i-th test case to indicate that the test passed, and proceed to S513;
[0040] In S519, write False in the "Judgment Result" field of the i-th test case and add a red background to indicate that the test failed, then proceed to S513;
[0041] S513, i = i + 1;
[0042] S514, determine if i is greater than imax, where imax represents the total number of test cases; if yes, proceed to S515; otherwise, proceed to S53.
[0043] Furthermore, in S54, when reading the actual value of the parameter, the built-in reading command in the schematic design or simulation software is used; when writing content to the corresponding position in EXCEL, the API interface exposed by EXCEL is called.
[0044] Furthermore, in S59, t is set according to the time it takes for the circuit to reach a steady state, and t is set to be greater than 1.
[0045] An automated simulation and verification system for circuit schematics under all operating conditions based on the above method includes:
[0046] The first module is used to add simulation models to component symbols, draw circuit schematics using components with simulation models, and obtain the circuit under test; identify all input / output ports facing the outside of the schematic in the circuit schematic, and connect the input / output ports to the operating condition control circuit module using net labels;
[0047] The second module is used to write test case sets in Excel that cover all operating conditions of the circuit under test;
[0048] The third module is used to run the simulation process management program and interpret test cases. It locates the parts in the Excel spreadsheet where "Interpretation Result" is False and "Test Case Execution Status" is Abnormal, and analyzes whether this is caused by an error in the circuit schematic drawing. If so, the circuit schematic is modified and the corresponding test conditions are re-simulated. If not, it is inferred that the error is caused by an error in the simulation process management program, and the simulation process management program is modified and the corresponding test conditions are re-simulated.
[0049] The advantages of this invention compared to the prior art are:
[0050] (1) The method of the present invention reduces the amount of circuit simulation calculation and improves the simulation speed. It checks low-level problems such as wiring errors and network labeling errors by performing functional verification on the circuit, rather than testing the performance of the circuit. Therefore, the accuracy requirements of the model are not high, and the accuracy of the component model can meet the requirements of functional verification.
[0051] (2) The method of the present invention can perform simulation based on the circuit schematic after the circuit schematic is drawn; it can switch the test conditions without making any changes to the schematic under test, thus avoiding errors caused by modifying the schematic under test; it can simulate the actual operating conditions of the circuit by changing the component parameters in the operating condition control circuit module; it uses resistors to control the short circuit or open circuit of the circuit port, with the port short-circuited when the resistance value is 0 and open-circuited when the resistance value is infinite; it uses RLC series circuit and RLC parallel circuit in parallel to equivalently simulate various load characteristics;
[0052] (3) Compared to editing test cases in program scripts, editing test cases in Excel is more convenient and faster, and facilitates communication. A test case set covering all operating conditions ensures the sufficiency of schematic testing, thereby guaranteeing comprehensive error finding. Predicting the current operating condition avoids direct switching that could cause abnormal circuit operation. For example, before applying 5A to the bus, it's necessary to predict whether the current source in the circuit can provide 5A. Failure to do so and directly applying 5A to the bus will result in abnormal circuit operation. Describing the test condition settings in the form of "component reference number + parameter value" facilitates understanding and execution by the programming language and allows for comparison of the actual and expected values of parameters of interest.
[0053] (4) The method of this invention establishes a communication interface between the schematic design software and Excel, enabling bidirectional information transfer; it reads data from the schematic file without interrupting the simulation testing process, saving total simulation time; it first predicts the current circuit state, and only changes the current state to the desired state if the current state does not meet the requirements, rather than directly changing the current state to the desired state. This approach minimizes changes to circuit parameters and avoids slowing down the simulation speed due to the computer recalculating the circuit model; if the circuit cannot be changed to the desired state, it proves that the simulation program is faulty, the simulation results are no longer of reference value, and the simulation should be stopped immediately.
[0054] (5) This invention can switch the circuit to the desired operating condition by automatically changing the component parameters in the operating condition control circuit module without interrupting the simulation process; this invention checks whether the circuit operating condition has been successfully changed and promptly detects cases where the operating condition has not been successfully changed. Attached Figure Description
[0055] Figure 1 This is a schematic diagram of the circuit schematic full-condition automatic simulation verification method of the present invention;
[0056] Figure 2 This is a schematic diagram of the signal transmission method between the circuit schematic and the "operating condition control circuit module";
[0057] Figure 3This is a flowchart of the simulation process management program. Detailed Implementation
[0058] The present invention will be described in conjunction with the accompanying drawings.
[0059] like Figure 1 As shown, a method for automatic simulation verification of circuit schematics under all operating conditions includes the following steps:
[0060] S1. Add the simulation model to the component symbol. To achieve higher simulation speed, select the model with the lowest computational complexity from all available simulation models.
[0061] S2, use components with simulation models to draw the circuit schematic to obtain the circuit under test;
[0062] S3. Identify all input / output ports facing outwards in the schematic, and then, based on the characteristics of the port signals, associate them with nets. Figure 2 The operating condition control circuit module connection is shown.
[0063] The operating condition control circuit module includes three types of circuits:
[0064] 1. Pure resistive circuit. Function: To control whether the circuit port is short-circuited or open-circuited (0 resistance indicates a short circuit, and infinite resistance indicates an open circuit);
[0065] 2. Current source. Function: To simulate the output of a solar array;
[0066] 3. RLC circuit. Function: To simulate the load characteristics of circuit ports.
[0067] S4. In Excel, create a set of test cases covering all operating conditions of the circuit under test. Each test case consists of five parts, as shown in Table 1:
[0068] 1. Test condition name;
[0069] 2. Condition Prediction Section. Specify the expected values for some key components / electrical parameters before setting the test condition to the target condition. This section reserves space for filling in the actual parameter values;
[0070] 3. Test Condition Setting Method. This is described in the form of "component tag number + parameter value," meaning that setting the component with the target tag number to a certain parameter value will obtain the test condition. The component tag numbers here all come from the aforementioned "Test Condition Control Circuit Module."
[0071] 4. Parameter Interpretation Section. Specify the electrical parameters and their expected values that can be used to determine whether the circuit is operating normally under the target test conditions. Reserve spaces for filling in actual parameter values and interpretation results.
[0072] 5. Test Case Execution Feedback Section. Reserved space for recording whether the test case executed correctly.
[0073] S5 is used to write a simulation process management program based on the scripting development environment included with schematic / PCB design software. The program flow of the simulation process management program is as follows: Figure 3 As shown, the steps are as follows:
[0074] S51, start simulation;
[0075] S52, i = 1, i represents the test case number;
[0076] S53, call the exposed API interface of EXCEL to read the i-th test case;
[0077] S54 reads the actual values of the parameters involved in the "state prediction part" of the i-th test case from the schematic diagram or simulation results and writes them to the corresponding location in Excel. When reading the actual parameter values, the built-in read command in the schematic design / simulation software is used; when writing content to the corresponding location in Excel, the exposed API interface of Excel is called.
[0078] S55, determine whether the actual value of the "state prediction part" meets the expected value requirement. If it does, proceed to S56; otherwise, proceed to S516.
[0079] S56, according to the i-th test case "Test Condition Setting Section", set the component parameter values, construct the test condition, and proceed to S57;
[0080] S516, according to the expected value requirements of the "state prediction part", set the parameter values of the components in the working condition control circuit module, and go to S517.
[0081] After S517 and S516 are executed, it is checked again whether the actual value of the "state prediction part" meets the expected value requirement; if it does, proceed to S56; if it does not, proceed to S518.
[0082] In S518, enter "Exception, parameter value not set successfully" in the execution status of the i-th test case, and proceed to S515;
[0083] S515, end simulation;
[0084] S57, Read the parameter values of the components written in the "Test Condition Setting Section" of the i-th test case from the schematic diagram, and compare them with the expected parameter values;
[0085] S58, determine whether the component parameter value was successfully set in S57; if yes, proceed to S59; if no, proceed to S518.
[0086] S59, wait for t seconds, where t is set according to the time it takes for the circuit to reach steady state, and is generally set to be greater than 1;
[0087] S510 reads the actual values of the parameters in the "Electrical Parameter Judgment Section" from the schematic diagram and writes them to the corresponding location in EXCEL;
[0088] S511, determine whether the actual value of the "electrical parameter interpretation section" meets the expected value requirement. If yes, proceed to S512; otherwise, proceed to S519.
[0089] S512, write True in the "Judgment Result" field of the i-th test case to indicate that the test passed, and proceed to S513;
[0090] In S519, write False in the "Result" field of the i-th test case and add a red background. This indicates that the test failed, and proceed to S513.
[0091] S513, i = i + 1, proceed to the next test case;
[0092] S514, determine if i is greater than imax, where imax represents the total number of test cases; if yes, proceed to S515; otherwise, proceed to S53.
[0093] S6. Locate the parts in Excel where "Judgment Result" is False and "Test Case Execution Status" is Abnormal, and analyze whether it is caused by an error in the schematic drawing. If so, modify the schematic and re-simulate the corresponding test conditions. If not, it can be inferred that it is caused by an error in the simulation driver. Modify the program and re-simulate the corresponding test conditions.
[0094] An automatic simulation verification system for circuit schematics under all operating conditions, based on the above simulation verification method, includes:
[0095] The first module is used to add simulation models to component symbols, draw circuit schematics using components with simulation models, and obtain the circuit under test; identify all input / output ports facing the outside of the schematic in the circuit schematic, and connect the input / output ports to the operating condition control circuit module using net labels;
[0096] The second module is used to write test case sets in Excel that cover all operating conditions of the circuit under test;
[0097] The third module is used to run the simulation process management program and interpret test cases. It locates the parts in the Excel spreadsheet where "Interpretation Result" is False and "Test Case Execution Status" is Abnormal, and analyzes whether this is caused by an error in the circuit schematic drawing. If so, the circuit schematic is modified and the corresponding test conditions are re-simulated. If not, it is inferred that the error is caused by an error in the simulation process management program, and the simulation process management program is modified and the corresponding test conditions are re-simulated.
[0098] Example:
[0099] The signal transmission method between the circuit schematic under test and the operating condition control circuit module is as follows: Figure 2 As shown, connections are made via network labels. Terminals j1 and j2 of the relay together form an external input port for the relay. If this port is short-circuited, current flows through the relay coil, and the relay operates; if the port remains open, no current flows through the relay coil, and the relay does not operate. Connecting this port to a purely resistive circuit port, relay j operates when Rj is set to 0 ohms, and does not operate when Rj is set to infinity. The solar array input terminals m+ and m- together form the m-th solar array input port. Connecting this port to a current source circuit port, the current output of the current source is the current input to the m-th solar array port in the schematic diagram. The load output terminals k+ and k- together form the k-th load output port. Connecting this port to an RLC circuit allows simulation of different loads at this port by changing the parameters of the RLC circuit.
[0100] The test case description is shown in Table 1. This test case is used to test whether the circuit works normally after power distribution 1 switches from the unconnected state to the connected state. The state prediction section requires the expected value of the Current1 parameter to be greater than 4A and less than 5A to ensure that the input current of the circuit under test is approximately equal to the output current of the actual solar array. The power distribution 1 switch status indication signal is required to be 0~0.5V to ensure that power distribution 1 is currently not connected. The test condition setting method section requires R1 to be set to 0 ohms to short-circuit the port controlling the connection of power distribution 1, so that power distribution 1 is connected (e.g., ...). Figure 2 (As shown). The electrical parameter interpretation section requires the expected value of the switch status indication of power distribution 1 to be 3V~3.2V. This is to determine whether the output voltage of power distribution 1 meets the requirements through the switch status indication, and thus determine whether the circuit is working properly.
[0101] Table 1 Test Case Table
[0102]
[0103] The parts of this invention not described in detail are well-known to those skilled in the art.
Claims
1. A method for automatic simulation verification of circuit schematics under all operating conditions, characterized in that, include: S1, Add the simulation model to the component symbol; S2, use components with simulation models to draw the circuit schematic to obtain the circuit under test; S3, find all input / output ports facing the outside of the circuit schematic, and connect the input / output ports to the operating condition control circuit module using network labels; S4. Write a test case set in EXCEL that covers all operating conditions of the circuit under test; S5, run the simulation process management program to interpret test cases; S6. Locate the sections in the Excel spreadsheet where "Judgment Result" is False and "Test Case Execution Status" is Abnormal, and analyze whether this is due to an error in the circuit schematic drawing. If so, modify the circuit schematic and re-simulate the corresponding test conditions; If not, it is inferred that the error is caused by a problem with the simulation process management program. Modify the simulation process management program and re-simulate the corresponding test conditions. Each test case in the Excel spreadsheet includes: Test condition name; State prediction section: Specify the expected values for some key components or electrical parameters before setting the test conditions to the target conditions. This section reserves the space to fill in the actual values of the parameters. The test condition setting method is described in the form of "component tag number + parameter value", which means that setting the component with the target tag number to a certain parameter value will obtain the test condition; the component tag numbers here all come from the test condition control circuit module. Parameter interpretation section: Specify the electrical parameters and their expected values that can be used to determine whether the circuit is working properly under the target test conditions; reserve the positions for filling in the actual values of the parameters and the positions for filling in the interpretation results; Test case execution feedback section: Reserved space for recording whether the test case was executed normally.
2. The automatic simulation verification method for circuit schematics under all operating conditions according to claim 1, characterized in that, In step S1, the simulation model with the lowest computational complexity is selected and added to the component symbol.
3. The automatic simulation verification method for circuit schematics under all operating conditions according to claim 1, characterized in that, The operating condition control circuit module includes three types of circuits: A purely resistive circuit is used to control whether the circuit port is short-circuited or open-circuited. A resistance of 0 indicates a short circuit, and an infinite resistance indicates an open circuit. A current source is used to simulate the output of a solar array; RLC circuits are used to simulate the load characteristics of circuit ports.
4. The automatic simulation verification method for circuit schematics under all operating conditions according to claim 1, characterized in that, The simulation process management program includes the following flow: S51, start simulation; S52, i=1; i is the test case number; S53, call the exposed API interface of EXCEL to read the i-th test case; S54, read the actual values of the parameters involved in the "state prediction part" of the i-th test case from the circuit schematic or simulation results, and write them into the corresponding position in EXCEL; S55, determine whether the actual value of the "state prediction part" meets the expected value requirement. If it does, proceed to S56; otherwise, proceed to S516. S56, according to the i-th test case "Test Condition Setting Section", set the component parameter values, construct the test condition, and proceed to S57; S516, according to the expected value requirements of the "state prediction part", set the parameter values of the components in the working condition control circuit module, and go to S517. After S517 and S516 are executed, it is checked again whether the actual value of the "state prediction part" meets the expected value requirement; if it does, proceed to S56; if it does not, proceed to S518. In S518, enter "Exception, parameter value not set successfully" in the execution status of the i-th test case, and proceed to S515; S515, end simulation; S57, Read the parameter values of the components written in the "Test Condition Setting Section" of the i-th test case from the circuit schematic diagram, and compare them with the expected parameter values; S58, determine whether the component parameter value was successfully set in S57; if yes, proceed to S59; if no, proceed to S518; S59, wait t seconds; S510 reads the actual values of the parameters in the "Electrical Parameter Judgment Section" from the circuit schematic and writes them to the corresponding positions in an Excel spreadsheet; S511, determine whether the actual value of the "electrical parameter interpretation section" meets the expected value requirement. If yes, proceed to S512; otherwise, proceed to S519. In S512, write True at the "Result" field of the i-th test case to indicate that the test passed, and proceed to S513; In S519, write False in the "Result" field of the i-th test case and add a red background to indicate that the test failed, then proceed to S513; S513, i = i + 1; S514, determine if i is greater than imax, where imax represents the total number of test cases; if yes, proceed to S515; otherwise, proceed to S53.
5. The automatic simulation verification method for circuit schematics under all operating conditions according to claim 4, characterized in that, In S54, when reading the actual value of the parameter, the built-in reading command in the schematic design or simulation software is used; when writing content to the corresponding position in EXCEL, the API interface exposed by EXCEL is called.
6. The automatic simulation verification method for circuit schematics under all operating conditions according to claim 4, characterized in that, In S59, t is set according to the time it takes for the circuit to reach a steady state, and t is set to be greater than 1.
7. A fully automated simulation and verification system for circuit schematics under all operating conditions, characterized in that, include: The first module is used to add the simulation model to the component symbol, and draw the circuit schematic using the component with the simulation model to obtain the circuit under test; Identify all input / output ports facing outwards in the circuit schematic and connect them to the operating condition control circuit module using network labels. The second module is used to write test case sets in Excel that cover all operating conditions of the circuit under test; The third module is used to run the simulation process management program and interpret test cases; locate the parts in the EXCEL table where "interpretation result" is False and "test case execution status" is abnormal, and analyze whether it is caused by errors in the circuit schematic drawing; If so, modify the circuit schematic and re-simulate the corresponding test conditions; If not, it is inferred that the error is caused by a problem with the simulation process management program. Modify the simulation process management program and re-simulate the corresponding test conditions. The operating condition control circuit module includes three types of circuits: A purely resistive circuit is used to control whether the circuit port is short-circuited or open-circuited. A resistance of 0 indicates a short circuit, and an infinite resistance indicates an open circuit. A current source is used to simulate the output of a solar array; RLC circuits are used to simulate the load characteristics of circuit ports; Each test case in the Excel spreadsheet includes: Test condition name; State prediction section: Specify the expected values for some key components or electrical parameters before setting the test conditions to the target conditions. This section reserves the space to fill in the actual values of the parameters. The test condition setting method is described in the form of "component tag number + parameter value", which means that setting the component with the target tag number to a certain parameter value will obtain the test condition; the component tag numbers here all come from the test condition control circuit module. Parameter interpretation section: Specify the electrical parameters and their expected values that can be used to determine whether the circuit is working properly under the target test conditions; reserve the positions for filling in the actual values of the parameters and the positions for filling in the interpretation results; Test case execution feedback section: Reserved space for recording whether the test case was executed normally.
8. The circuit schematic diagram full-condition automatic simulation verification system according to claim 7, characterized in that, The simulation process management program includes the following flow: S51, start simulation; S52, i=1; i is the test case number; S53, call the exposed API interface of EXCEL to read the i-th test case; S54, read the actual values of the parameters involved in the "state prediction part" of the i-th test case from the circuit schematic or simulation results, and write them into the corresponding position in EXCEL; S55, determine whether the actual value of the "state prediction part" meets the expected value requirement. If it does, proceed to S56; otherwise, proceed to S516. S56, according to the i-th test case "Test Condition Setting Section", set the component parameter values, construct the test condition, and proceed to S57; S516, according to the expected value requirements of the "state prediction part", set the parameter values of the components in the working condition control circuit module, and go to S517. After S517 and S516 are executed, it is checked again whether the actual value of the "state prediction part" meets the expected value requirement; if it does, proceed to S56; if it does not, proceed to S518. In S518, enter "Exception, parameter value not set successfully" in the execution status of the i-th test case, and proceed to S515; S515, end simulation; S57, Read the parameter values of the components written in the "Test Condition Setting Section" of the i-th test case from the circuit schematic diagram, and compare them with the expected parameter values; S58, determine whether the component parameter value was successfully set in S57; if yes, proceed to S59; if no, proceed to S518; S59, wait t seconds; S510 reads the actual values of the parameters in the "Electrical Parameter Judgment Section" from the circuit schematic and writes them to the corresponding positions in an Excel spreadsheet; S511, determine whether the actual value of the "electrical parameter interpretation section" meets the expected value requirement. If yes, proceed to S512; otherwise, proceed to S519. In S512, write True at the "Result" field of the i-th test case to indicate that the test passed, and proceed to S513; In S519, write False in the "Result" field of the i-th test case and add a red background to indicate that the test failed, then proceed to S513; S513, i = i + 1; S514, determine if i is greater than imax, where imax represents the total number of test cases; if yes, proceed to S515; otherwise, proceed to S53.