Method and system for verifying robustness of an ATE test program based on hierarchical exception injection

By constructing a virtual ATE test environment and a layered anomaly injection method, the problem of difficulty in verifying the propagation of anomalies in the test chain in existing technologies is solved. This enables repeated verification and quantification of robustness in a virtual environment, identifies and supplements verification blind spots, and improves the comprehensiveness and accuracy of test coverage.

CN123156112APending Publication Date: 2026-11-24SHANGHAI WEINUO INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611431232.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to reproducibly verify anomalies at different points in the test chain and their continuous propagation without damaging the actual chip and ATE equipment, and also make it difficult to comprehensively evaluate the robustness of the test program.

Method used

By constructing a virtual ATE test environment and using a layered anomaly injection method, we can simulate abnormal scenarios and generate fault chains, calculate indicators such as anomaly detection rate and missed detection rate, establish coverage units and calculate coverage rate according to risk weights, identify uncovered areas and generate supplementary abnormal scenarios.

Benefits of technology

It enables repeated verification of anomalies in a virtual environment, reveals the anomaly propagation process, quantifies the robustness of the test program, identifies and supplements verification blind spots, and improves the comprehensiveness and accuracy of test coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123156112A_ABST
    Figure CN123156112A_ABST
Patent Text Reader

Abstract

This invention provides a robustness verification method and system for ATE test programs based on hierarchical anomaly injection. The method includes: orchestrating anomaly scenarios by a simulator agent; and completing injection, propagation, and evaluation by a deterministic rule module; constructing a virtual test environment including a virtual ATE machine and a virtual chip; converting the ATE test program into standard test actions; and obtaining the virtual chip response based on a parameterized behavior model; establishing an anomaly scenario library; mapping anomalies to the L0 machine output, L1 chip pin, L2 chip internal parameter layer, or L3 measurement feedback channel to form initial anomaly states; generating fault chain nodes and state snapshots step by step according to causal propagation rules; executing the ATE test program under the action of anomalies and fault chains; and obtaining anomaly detection rate, missed detection rate, false alarm rate, report completeness, processing accuracy, and comprehensive robustness score based on expected and actual results; and establishing coverage units based on the scenario-by-scenario verification results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of semiconductor testing technology, and in particular to a method and system for robustness verification of ATE test procedures based on hierarchical anomaly injection. Background Technology

[0002] Automatic Test Equipment (ATE) is widely used for testing the electrical parameters, timing characteristics, and functional status of semiconductor devices. ATE test programs typically control power supply, parameter measurements, timing, digital vector, and temperature test resources according to chip specifications, and determine pass / fail based on measurement results and test limits. To ensure the reliability of mass production testing, in addition to executing correctly under normal conditions, test programs must maintain stable anomaly identification and handling capabilities under conditions such as voltage deviation, pin connection abnormalities, internal chip parameter drift, and measurement feedback anomalies.

[0003] Existing ATE test procedures typically rely on real chips or a limited number of anomalous samples for verification. However, the sources of defective chips are limited, and destructive anomalies such as overvoltage, overcurrent, and thermal runaway can damage chips or test equipment, making it difficult to systematically and repeatedly construct anomalous scenarios. Although verification can be achieved by changing some input parameters through software simulation, different anomalies actually occur at different points in the test chain, such as the machine output, chip pins, internal chip parameters, and measurement feedback channels, and may propagate step by step through the physical relationships between current, power consumption, temperature, and output parameters. Changing only a single parameter or directly presetting the anomalous result makes it difficult to accurately reflect the location and propagation process of the anomaly.

[0004] Furthermore, the combination of anomaly type, location, magnitude, and fault propagation depth will form a large number of test scenarios. Fixed scenario verification is prone to missing high-risk areas, and simply counting the number of executed scenarios is also difficult to reflect the actual coverage.

[0005] Therefore, existing technologies have the problem of making it difficult to repeatedly verify anomalies at different locations in the test chain and their continuous propagation process without damaging the actual chip and ATE equipment, and to identify and supplement the anomaly coverage blind spots based on the actual verification results. Summary of the Invention

[0006] The purpose of this invention is to address the shortcomings of existing technologies by providing a robustness verification method and system for ATE test programs based on layered anomaly injection, thereby resolving the technical problems mentioned in the background section.

[0007] To achieve the above objectives, the present invention provides the following technical solution: The robustness verification method for ATE test programs based on hierarchical anomaly injection includes the following steps: S1. Obtain the ATE test program to be verified, chip specification data and model configuration data, construct a virtual ATE machine and virtual chip, convert the original machine instructions into standard test actions, calculate the virtual chip response and establish a resettable baseline initial state. S2. Establish an abnormal scenario library according to a unified abnormal injection data structure, and map the selected abnormal scenario to the parameter changes of L0 machine output, L1 chip pin, L2 chip internal parameter layer or L3 measurement feedback channel to obtain the initial abnormal state that is deeply bound to the test item and fault chain. S3. Taking the initial abnormal state as the first node of the fault chain, calculate the subsequent parameter states level by level according to the causal propagation rules, generate fault chain nodes and state snapshots, and end the propagation when the fault chain depth is reached or there are no subsequent rules that meet the triggering conditions. S4. Run the ATE test program to be verified under the initial abnormal state and fault chain, compare the expected results of the abnormal scenario with the actual test results, calculate the abnormal detection rate, missed detection rate, false alarm rate, report completeness and processing accuracy, and obtain the comprehensive robustness score and scenario-by-scenario verification details based on the preset evaluation weights. S5. Based on the scenario-by-scenario verification details, establish the coverage units corresponding to the anomaly injection layer and failure category. Calculate the risk-weighted coverage rate according to the coverage status and risk weight. Identify the uncovered units. Generate supplementary anomaly scenarios based on their injection layer, failure category, test items and test boundaries. Add them to the anomaly scenario library and re-execute S2 to S4.

[0008] The robustness verification system for ATE test programs based on hierarchical exception injection includes: a virtual test environment construction module, a hierarchical exception injection module, a fault chain generation module, a robustness evaluation module, and a coverage feedback module.

[0009] The beneficial effects of this invention are as follows: This invention constructs a test environment that includes a virtual ATE (Automatic Test Equipment) machine and a virtual chip, and uses a parameterized response model to execute ATE test programs. This allows for repeated anomaly verification without occupying real machines and chips, thereby solving the problems of difficulty in obtaining real anomaly samples and high cost of destructive testing.

[0010] This invention maps anomalies to the L0 instrument output, L1 chip pins, L2 chip internal parameter layer, and L3 measurement feedback channel, respectively. This allows for layered anomaly injection at different locations in the test chain, thus solving the problem that single parameter disturbances cannot accurately reflect the location of the anomaly and the differences in test chain failures. By using causal propagation rules to progressively form a multi-level fault chain from the initial anomaly and simultaneously recording snapshots of each node's state, the propagation process of the anomaly from the initial defect to the change in measurement results can be reconstructed. This solves the problem that existing verification methods struggle to reveal the continuous failure evolution relationship and root cause path.

[0011] This invention quantifies the anomaly identification and handling capabilities of an ATE test program by running it under abnormal and fault chain conditions and calculating anomaly detection rate, missed detection rate, false alarm rate, report completeness, and processing accuracy. This addresses the problem that robustness cannot be comprehensively evaluated based solely on a single Pass / Fail result. By establishing coverage units and calculating coverage according to risk weights, supplementary anomaly scenarios are generated after identifying uncovered areas. This allows the anomaly scenario library to continuously expand around verification blind spots, thus solving the problem of high-risk anomaly areas being easily missed and insufficient test coverage in fixed scenario verification. Attached Figure Description

[0012] Figure 1 This is a flowchart of the robustness verification method for ATE test programs based on hierarchical anomaly injection according to the present invention. Figure 2 This is a system framework diagram for robustness verification of the ATE test program based on hierarchical anomaly injection according to the present invention; Figure 3 This is a schematic diagram of the hierarchical anomaly injection closed loop of the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] Example 1: As Figure 1 As shown, this embodiment provides a robustness verification method for ATE test programs based on layered exception injection, including the following steps: S1. Obtain the ATE test program to be verified, chip specification data and model configuration data, construct a virtual ATE machine and virtual chip, convert the original machine instructions into standard test actions, calculate the virtual chip response and establish a resettable baseline initial state. S2. Establish an abnormal scenario library according to a unified abnormal injection data structure, and map the selected abnormal scenario to the parameter changes of L0 machine output, L1 chip pin, L2 chip internal parameter layer or L3 measurement feedback channel to obtain the initial abnormal state that is deeply bound to the test item and fault chain. S3. Taking the initial abnormal state as the first node of the fault chain, calculate the subsequent parameter states level by level according to the causal propagation rules, generate fault chain nodes and state snapshots, and end the propagation when the fault chain depth is reached or there are no subsequent rules that meet the triggering conditions. S4. Run the ATE test program to be verified under the initial abnormal state and fault chain, compare the expected results of the abnormal scenario with the actual test results, calculate the abnormal detection rate, missed detection rate, false alarm rate, report completeness and processing accuracy, and obtain the comprehensive robustness score and scenario-by-scenario verification details based on the preset evaluation weights. S5. Based on the scenario-by-scenario verification details, establish the coverage units corresponding to the anomaly injection layer and failure category. Calculate the risk-weighted coverage rate according to the coverage status and risk weight. Identify the uncovered units. Generate supplementary anomaly scenarios based on their injection layer, failure category, test items and test boundaries. Add them to the anomaly scenario library and re-execute S2 to S4.

[0015] S1 specifically includes the following sub-steps: S110. Construct a virtual ATE test environment and convert the ATE test program to be verified into standard test actions that the virtual ATE machine can execute.

[0016] The system acquires the ATE test program to be verified, the specification data of the chip under test, and the configuration data of the virtual chip model, and constructs a virtual test environment consisting of a virtual ATE machine and a virtual chip.

[0017] The ATE test program to be verified is an ATE test program that requires robustness verification, which includes one or more of the following data: test function corresponding to the chip under test, test item identifier, target pin, applied voltage, applied current or current limit value, test cycle, timing edge, digital vector, comparison mask and result judgment upper and lower limits.

[0018] The specifications of the chip under test include the normal operating range, upper test limit, lower test limit, protection threshold, and chip operating temperature range associated with the corresponding test items. The virtual chip model configuration data includes model parameters used to describe the response state of the chip under test under different electrical conditions, timing conditions, temperature conditions, and defect conditions.

[0019] A virtual ATE machine includes at least a power supply module (PMU), a parameter measurement module (DMM), a timing generation module (Timing), a digital vector module (Pattern), a temperature control module (Temp), and a result determination module (Bin).

[0020] The power supply module (PMU) generates a power application action based on the pin identifier, target voltage value, and current limit value, and receives the measured voltage and current returned by the virtual chip; the parameter measurement module (DMM) performs DC parameter measurements based on the measurement channel, range, and integration time, and outputs the corresponding measured values; the timing generation module (Timing) generates a test timing sequence based on the test cycle, edge position, and timing format.

[0021] The digital vector module Pattern applies digital stimulation to the virtual chip based on the digital vector and comparison mask, and obtains the response vector and failure bit; the temperature control module Temp controls the temperature state of the virtual chip based on the set temperature and temperature change conditions, and obtains the corresponding temperature response; the result judgment module Bin compares the measurement results with the corresponding test upper and lower limits to form a Pass or Fail test result and the corresponding grade result.

[0022] Read the original machine instructions from the ATE test program to be verified, parse the original machine instructions, identify the operation type, target object and operation parameters, and convert the original machine instructions of different formats into standard test actions with a unified data structure.

[0023] For example, voltage setting instructions can be converted into power setting actions that include target pin, target voltage, and current limits; DC parameter measurement instructions can be converted into measurement actions that include measurement channels, range, and integration time; and digital vector instructions can be converted into digital test actions that include digital vectors, comparison masks, and timing references.

[0024] After the standard test action is generated, the module scheduler selects the target functional module in the virtual ATE machine according to the operation type corresponding to the standard test action, and sends the standard test action to the target functional module; the target functional module sends the current test conditions to the virtual chip through the virtual chip interface, and obtains the response data calculated by the virtual chip according to the current test conditions.

[0025] This forms a continuous test chain from the original machine instructions, standard test actions, virtual ATE function modules, virtual chip responses to result determination, so that subsequent anomalies can act on the corresponding data or physical parameter positions in the test chain, rather than directly changing the final Pass or Fail result.

[0026] In this embodiment, the simulator agent first reads the test items, chip specifications, and current coverage status, and then generates the scenarios to be executed and injection layer suggestions. The agent's output is only used as input for scenario scheduling; the actual injection value validity, unit conversion, fault chain propagation, and pass / fail determination are executed by the rules module.

[0027] For the five general test items in the DEMO, the system first completes the device adaptation for DeviceA-FOVI and DeviceB-OVI, and then calls the virtual ATE resources and virtual chip model respectively. When DeviceB's RDSON_H requires 50V and exceeds the resource capacity, the system retains the range alarm and does not convert the alarm into a test pass.

[0028] S120: Calculate the virtual chip response based on the standard test action, current chip status, and defect parameters.

[0029] A parameterized behavior model of the virtual chip is established, and the virtual chip response is calculated based on the current electrical conditions, digital input status, timing parameters, chip temperature, historical power consumption, and defect parameters.

[0030] The inputs to the parameterized behavior model include at least the current voltage and current of each chip pin, the logic state sequence of the digital input pins, setup time, hold time and propagation delay, the current junction temperature of the chip, the historical power consumption generated during the current test process, and the injected defect parameters; the outputs include at least the static current IDD, dynamic current, output logic state or output voltage, propagation delay, chip junction temperature, and chip operating state, which includes normal state, warning state, and failure state.

[0031] In one embodiment, the virtual chip operating current is determined by a combination of leakage current, dynamic current, and temperature-dependent components: ; in, Indicates the current operating current; This represents the leakage current component determined by the operating voltage V, the current temperature T, and the defect parameter d. Indicates the switching frequency and load capacitor Determined dynamic current components; This represents the temperature influence coefficient in the corresponding virtual chip model; This indicates the change in the current junction temperature relative to the reference temperature.

[0032] When there is a correlation between the on-resistance, on-loss, and junction temperature of the virtual chip, the corresponding power consumption is determined based on the current load current and on-resistance, and the junction temperature is updated according to the power consumption change. The change in junction temperature corresponding to the power consumption change is expressed as: ; in, This represents the change in junction temperature caused by the current abnormal state relative to the baseline state. This indicates the change in power consumption. This represents the equivalent thermal resistance from the junction to the environment in the virtual chip model.

[0033] For model parameters that are temperature-dependent, the model parameters are recalculated based on the updated junction temperature and the corresponding temperature coefficient, so that the virtual chip can reflect the interaction between parameter changes, power consumption changes and temperature changes.

[0034] For digital logic responses, the output logic state is determined based on the digital input state, test timing, setup time, hold time, and propagation delay parameters. If the current setup time or hold time does not meet the timing conditions specified by the corresponding model parameters, the corresponding output logic state is updated to an abnormal response state. For protection-type responses, the current voltage, current, or chip junction temperature is compared with the corresponding protection threshold. When the corresponding protection trigger condition is reached, the chip operating state and protection flag are updated.

[0035] Chip specification boundaries, ATE test upper and lower limits, and protection thresholds are provided by the chip specification data under test and the ATE test program to be verified; contact resistance, on-resistance, parasitic leakage current, thermal parameters, Kelvin connection parameters, and TMU timing parameters are provided by the model configuration corresponding to the virtual chip.

[0036] When the virtual ATE machine performs standard test actions, it inputs the current applied conditions into the parameterized behavior model. The parameterized behavior model calculates the response based on the current virtual chip state and then sends the response to the corresponding measurement module and result judgment module to obtain the measurement results under the current normal or abnormal conditions.

[0037] S130. Establish a virtual chip state snapshot and state reset mechanism.

[0038] Before executing abnormal scenarios, a baseline initial state corresponding to the chip under test is established. The baseline initial state includes at least the register state, internal node voltage, chip junction temperature, defect flag, and historical state parameters that can affect the subsequent response.

[0039] During abnormal scenario execution, the model parameters are continuously updated based on the changes in the internal state of the virtual chip, and a state snapshot is generated at abnormal nodes or test judgment nodes.

[0040] A status snapshot is a data set that synchronously saves the abnormal state, chip internal state, and ATE measurement state at the same test moment. It includes at least the abnormal scenario identifier, the current test item, the injection layer where the abnormality is located, the abnormal parameters, key chip parameters, the current measurement value, the chip junction temperature, the protection flag, and the Pass or Fail result.

[0041] State snapshots formed at different times are bound to the current abnormal scenario in the order of abnormal execution time to record state changes before the abnormal is applied, during the abnormal action, and after the abnormal propagation.

[0042] After the current abnormal scenario is completed, the execution state is reset, the registers are restored to the initial state, the internal node voltages are restored to the model initialization conditions, the chip junction temperature is restored to the initial state specified by the current test, and the temporary defect flags generated by the previous abnormal scenario and the abnormal parameters that only apply to the previous scenario are cleared.

[0043] The next abnormal scenario will be executed after the state is reset.

[0044] When the same abnormal scenario needs to be executed repeatedly, keep the test program version, virtual chip model configuration, initialization state and exception injection parameters consistent, so that repeated tests start from the same basic state, reducing the impact of heat accumulation, internal node state or exception flags of the previous test on the subsequent test.

[0045] Through S110-S130, a virtual ATE test environment with a unified test command interface, parameterized response capability, and state reset capability is obtained.

[0046] S2 specifically includes the following sub-steps: S210. Establish an exception scenario library using a unified exception injection data structure.

[0047] For anomalies that need to be applied to the virtual ATE test environment, a unified anomaly injection item is established. An anomaly injection item is a set of data that fully describes the location, target, intensity, timing, and propagation requirements of an anomaly.

[0048] The i-th abnormal injection item can be represented as: ; in, Indicates an exception injection layer; Represents an exception object; Indicates the exception type; Indicates the abnormal start time relative to the current test start time; Indicates the duration of the anomaly; Indicates abnormal amplitude; Indicates the rate of change of abnormal parameters; Indicates abnormal randomness configuration; Indicates abnormal recovery conditions; Indicates the abnormal association test item; Indicates the depth of the fault chain that is allowed to propagate.

[0049] The anomaly randomness configuration is used to distinguish between deterministic anomalies, uniformly distributed anomalies, and Gaussian distributed anomalies; for anomalies that do not require random changes, fixed anomaly parameters are used according to the deterministic configuration.

[0050] Abnormal objects include virtual ATE output channels, chip pins, chip internal model parameters, or measurement feedback parameters.

[0051] Abnormal amplitudes are expressed in units consistent with the corresponding physical parameters. Voltage abnormalities are expressed in voltage units, current abnormalities in current units, contact resistance and conduction resistance abnormalities in resistance units, and timing abnormalities in time units. Parameter drift is expressed as a relative change or percentage.

[0052] Multiple anomaly injection items are classified according to anomaly type, injection location, anomaly magnitude, duration, testing phase, and fault chain depth to form an anomaly scenario library.

[0053] Among them, the anomaly types include electrical anomalies, thermal anomalies, chip defect anomalies, and fault chain anomalies; the injection location corresponds to one or more injection layers in L0-L3; the duration corresponds to transient, steady-state, or periodic anomalies; and the fault chain depth is used to distinguish between single-point anomalies and multi-level propagation anomalies.

[0054] Configure a scenario identifier, risk level, scenario weight, and expected label for each abnormal scenario, so that the expected state can be matched with the actual test results based on the scenario identifier after the abnormal scenario is executed.

[0055] S220. Map the anomaly injection item to the parameter changes at different test chain positions from L0 to L3.

[0056] Based on the signal transmission path from the ATE test action, from the machine output, chip pins, chip internal response to measurement feedback, the anomaly injection location is divided into L0 machine output, L1 chip pin, L2 chip internal parameter layer and L3 measurement feedback channel.

[0057] L0-L3 indicate the position of the exception in the ATE test chain, not the severity of the exception.

[0058] When the exception injection layer is L0, an exception is applied to the output of the virtual ATE machine. The target instructions recorded in the ATE test program to be verified remain unchanged, but the actual output parameters are changed before the standard test actions are sent to the virtual chip.

[0059] If the target voltage corresponding to the standard test action is The voltage offset is configured for abnormal scenarios. Then the actual output voltage of the machine after the malfunction is: ; When the anomaly type is output noise, the noise change amount determined according to the anomaly scenario is superimposed on the corresponding target output value to simulate the output offset and output noise that occur in the ATE output source itself.

[0060] When the exception injection layer is L1, a connection exception is applied between the virtual ATE output terminal and the virtual chip pin, keeping the virtual ATE target output value unchanged, and changing the actual electrical conditions received by the virtual chip by changing the pin connection path.

[0061] For abnormal increases in contact resistance, increase the contact resistance in the corresponding connection path. This causes the actual voltage at the chip pin to form an additional voltage drop based on the current pin current; for open-circuit anomalies, the connection status of the corresponding pin is set to open; for short-circuit anomalies, the connection status between the target pin and the specified node is set according to the anomaly scenario.

[0062] When the exception injection layer is L2, the internal parameters of the virtual chip model are changed while keeping the virtual ATE output and chip pin connection status unchanged.

[0063] For relative drift parameters, the parameters after anomalies are represented as follows: ; Where x represents the model parameters before the anomaly occurred. The relative drift amount specified for the current abnormal scenario. These are the model parameters after the anomaly.

[0064] For example, RDSON drift affects subsequent conduction losses and output voltage drop by changing the on-resistance; UVLO threshold offset affects protection action by modifying the undervoltage lockout threshold; parasitic leakage current anomaly affects quiescent current by changing leakage current parameters; and thermal parameter anomaly affects chip junction temperature by changing the corresponding thermal model parameters.

[0065] When the exception injection layer is L3, after the actual response has been calculated inside the virtual chip, the feedback data returned from the virtual chip to the virtual ATE measurement module is processed for exceptions.

[0066] For measurement offset anomalies, the corresponding deviation is superimposed on the original measurement value; for noise amplification anomalies, the measurement noise is adjusted according to the anomaly scenario configuration; for stale value anomalies, the measurement value at the specified historical time is returned; for Kelvin failure, the measurement value is modified according to the corresponding feedback path resistance parameter; for TMU delay, the corresponding timing measurement event is delayed according to the time specified in the scenario.

[0067] Therefore, the same abnormal scenario is first converted into parameter changes in the corresponding test chain position, and then the corresponding test results are generated through virtual ATE and virtual chip model. The selection of the scenario to be executed takes into account PGS limits, protection thresholds, and covered units. Taking this offline DEMO as an example, 70 PGS numerical limits and 5 sets of resource mappings are obtained through parsing. The scenario selection module checks the over-limit situation of TPLH=98ns relative to the 50-93 ns limit, as well as the situation of the protection gate being triggered when candidate VCC=35 V.

[0068] S230. Select the abnormal scenario to be executed according to the boundary value, risk level and existing coverage status.

[0069] When the abnormal scenario library is large enough to be executed directly, the abnormal scenarios are run in batches according to a predetermined order.

[0070] When the number of candidate scenarios generated by the combination of exception type, injection layer, exception amplitude, duration, and fault chain depth exceeds the predetermined test scale, one or more of the following methods are used to select the actual execution scenario: boundary value priority, risk priority, orthogonal combination, and coverage guidance.

[0071] Boundary value priority refers to prioritizing abnormal parameters that are close to the boundary between normal and abnormal conditions, based on the normal operation boundary, ATE test upper and lower limits, and protection threshold in the chip specification data.

[0072] Risk prioritization refers to assigning risk weights to abnormal scenarios based on the risk of abnormal failure. In one implementation, high risk, medium risk, and low risk correspond to weights of 3, 2, and 1, respectively.

[0073] Orthogonal combinations are used to select a representative combination from multiple parameter combinations when multiple abnormal parameters need to be changed together, in order to reduce test scenarios where the interaction relationship is repeated.

[0074] Coverage guidance is used to read the coverage status of already executed exception scenarios and prioritize the generation of the next batch of exception scenarios to be executed from the exception regions that have not yet been covered. When there are no historical coverage results in the first round, an initial set of exception scenarios is formed based on boundary values ​​and risk weights.

[0075] After selecting the scenario to be executed, read the injection layer, exception object, exception type, exception parameters, associated test items and fault chain depth from the corresponding exception injection item, form the initial exception state according to the layered injection rules of S220, and send the initial exception state to S3.

[0076] S3 specifically includes the following sub-steps: S310. Establish fault chain nodes and causal propagation rules, and set the initial exception as the head node of the fault chain.

[0077] A fault chain refers to an ordered sequence of an initial anomaly that continues to cause one or more subsequent state changes in the virtual chip and ATE test chain based on the physical causal relationship between parameters.

[0078] A fault chain node refers to a state change that can be recorded independently in a fault chain. Each fault chain node includes at least the node level, the level where the anomaly is located, the changed parameters, the parameter values ​​before the change, the parameter values ​​after the change, the identifier of the previous node, the rule triggering status, and the corresponding state snapshot.

[0079] Set the initial exception output by S2 as the first-level fault chain node.

[0080] Establish a set of causal propagation rules. The causal propagation rules are pre-established based on the specifications of the chip under test, the computational dependencies between the parameters of each model in the virtual chip model, and the signal transmission relationships in the ATE test chain, and a rule index is established according to the parameters that have changed in the preceding stage.

[0081] Causal propagation rules are deterministic rules used to determine whether a preceding anomaly can cause a change in the state of a subsequent stage and how the state of the subsequent stage is obtained. Each causal propagation rule includes at least the preceding parameters, triggering conditions, calculation relationships, subsequent parameters, and the location of the subsequent parameters.

[0082] Based on the changed parameters in the current fault chain node, search for the rule corresponding to the changed parameters in the causal propagation rule set; when the triggering condition corresponding to the rule is met, calculate the corresponding subsequent parameters according to the rule, and use the subsequent parameters to establish the next fault chain node.

[0083] For example, when the initial node RDSON increases, the conduction loss is calculated based on the current load current and RDSON; after the conduction loss increases, the junction temperature change is calculated based on the power consumption change and thermal parameters; after the junction temperature changes, RDSON is further corrected according to the temperature coefficient; the updated RDSON further affects the output voltage drop; the change in output voltage drop is then reflected in the virtual ATE measurement results.

[0084] Fault propagation is driven by actual parameter changes in the preceding node, and the final Pass or Fail state is not directly set as the next fault node.

[0085] S320. Calculate the fault state step by step according to the causal propagation rule and generate the corresponding state snapshot.

[0086] Starting from the first node of the fault chain, calculate the state of the next node based on the current node parameters and the corresponding causal propagation rules.

[0087] When the current anomaly is RDSON drift, calculate the conduction loss based on the current load current and the on-resistance after the anomaly: ; in, I represents the conduction loss, and I represents the current load current.

[0088] The conduction loss under abnormal conditions is compared with the conduction loss under reference conditions to obtain the change in power consumption. Furthermore, based on: ; Calculate the corresponding junction temperature change. For RDSON with a temperature coefficient, follow: ; The on-resistance is corrected based on the new junction temperature. Among them, This represents the on-resistance at the reference temperature. This indicates the corresponding temperature coefficient. Indicates the current junction temperature. Indicates the reference temperature.

[0089] The output voltage or output voltage drop is further calculated using the corrected on-resistance and current load conditions, allowing the anomaly to propagate from changes in internal chip parameters to the output response.

[0090] In one specific implementation, the RDSON is adjusted from 0.451Ω to approximately 0.541Ω with a relative drift of 20%, and the chip junction temperature is updated based on changes in conduction loss. These temperature changes then affect the RDSON; consequently, the output measurement value shifts accordingly. Measurements obtained during the verification process... The junction temperature changes by approximately 0.24°C as the Ω changes from 0.4510Ω to 0.5415Ω, resulting in a corresponding change in power consumption.

[0091] Fault chains can propagate either within the same fault injection layer or across different test chain locations. For example, an internal parameter anomaly in the L2 layer first changes the internal state of the virtual chip, then affects the output parameters and generates a corresponding anomaly at the measurement end; a contact anomaly in the L1 layer first changes the pin electrical conditions, and then affects power consumption, temperature, or output response through a parameterized behavior model.

[0092] For each first-level fault chain node generated, a corresponding state snapshot is created, recording the current node level, the level where the anomaly occurs, the changed parameters, the values ​​before and after the change, power consumption, junction temperature, measured values, and protection flags.

[0093] The state snapshots of each node are sequentially associated according to the fault chain level, which is used to reconstruct the propagation process from the initial anomaly to the final ATE measurement result.

[0094] S330. Terminate the fault chain based on the fault chain depth and the current propagation status.

[0095] Read the maximum fault chain depth specified for the current abnormal scenario. In the current fault chain, the number of nodes is less than... If there is a subsequent causal propagation rule that meets the triggering conditions, the next fault chain node will continue to be executed.

[0096] The current fault chain node level has reached When the time is reached, stop expanding and record the current node as the truncated node that has reached the configuration depth.

[0097] The failure chain ends at the current node if the maximum failure chain depth has not been reached, but there are no subsequent causal propagation rules that can be triggered at the current node.

[0098] When the recovery conditions specified by the exception injection item are met, the current exception is stopped from continuing to act, and the corresponding termination status is recorded.

[0099] In one implementation, the fault chain depth can be configured to 1-5 levels, enabling the same initial anomaly to be used for single-point anomaly verification and cascading fault verification of different complexities.

[0100] The execution result of the fault chain is formed, which includes at least the fault chain identifier, the abnormal scenario identifier, the initial abnormality, the actual propagation level, each fault chain node, the state snapshot of each node, the end state of the fault chain, and the final chip response.

[0101] The execution result of the fault chain is bound to the corresponding abnormal scenario and associated test item and then sent to S4.

[0102] S4 specifically includes the following sub-steps: S410. Execute the ATE test program to be verified under abnormal conditions and fault chain conditions.

[0103] The virtual ATE machine is invoked to execute the ATE test program to be verified. The test actions are executed sequentially according to the order of the test program, including power application, parameter measurement, digital vector test, timing test, temperature control, and test result determination.

[0104] When the test time reaches the anomaly start time of the current anomaly injection item, an anomaly is applied at the corresponding position of L0, L1, L2, or L3. When setting the fault chain depth in the current anomaly scenario, the virtual chip and ATE test chain status are updated level by level according to the fault chain nodes generated by S3, so that subsequent ATE test actions receive the measurement response formed by the actual propagation of the current anomaly.

[0105] During testing, record the current test item, standard test actions, actual applied parameters, chip response, measurement results, Pass or Fail results, protection flags, anomaly report fields, and handling actions performed for anomalies. Pre-set expected labels or results for each anomaly scenario and associate the actual test results with the expected results according to the anomaly scenario identifier.

[0106] Simultaneously, a normal control scenario is set up. The normal control scenario uses the same basic virtual chip model and ATE test program, but does not apply the corresponding exceptions. It is used to determine whether the ATE test program to be verified has generated an exception incorrectly under normal test conditions. After the current abnormal scenario ends, its execution record and fault chain state are saved, and then the virtual chip initial state is restored through S130, and the next abnormal scenario is entered.

[0107] S420. Calculate the anomaly detection rate, missed detection rate, false alarm rate, report completeness, and processing accuracy based on the actual test results.

[0108] Let the number of exception injection scenarios actually executed in the current batch be . The number of abnormal scenarios correctly detected by the ATE test program was The number of abnormal scenarios that were not correctly detected was The abnormal detection rate D is then expressed as: ; The false negative rate M is expressed as: ; Whether an anomaly is correctly detected is determined according to the expected label of the anomaly scenario, the actual judgment result of ATE, the protection flag, and the corresponding anomaly report result, based on preset judgment rules.

[0109] Let the number of normal control scenes be . The number of normal scenarios that were incorrectly identified as abnormal was [number missing]. The false alarm rate F is then expressed as: ; Establish a standard field set for anomaly reporting. The standard fields should include at least the anomaly test item, measured value, test limit, environmental parameters, associated anomalies, root cause hints, and suggested actions.

[0110] Suppose the standard requires a total number of valid fields in the output. The actual number of valid fields in the correct output is Then the report completeness C is represented as: ; Suppose the number of exception scenarios that require exception handling is . The number of scenarios in which the ATE test program correctly completed processing according to the corresponding expected processing rules was [number missing]. Then the processing accuracy H is expressed as: ; For abnormal scenarios with multi-level fault chains, the first detection node is recorded in addition to the scenario-level detection results. That is, the fault chain node corresponding to the first valid abnormal result that matches the current abnormal scenario is generated by the ATE test program.

[0111] This allows us to distinguish whether the test program detects anomalies in the early stages of anomaly propagation or only produces abnormal results after the fault chain has propagated to the final parameter exceeding the limit. When the simulator agent finds that a certain injection layer or failure category has not yet formed effective coverage, it only generates supplementary scenario candidates and their causes; the candidate scenarios still need to be verified by injection layer, parameter unit, test boundary, and expected label before they can enter the next round of verification.

[0112] S430. Calculate the overall robustness score and generate a scenario-by-scenario verification detail. Convert the false negative rate and false positive rate into positive evaluation metrics, where higher values ​​indicate better performance. ; The overall robustness score is calculated based on the preset evaluation weights: ; Where R represents the overall robustness score; to These represent the weights for anomaly detection, missed detection control, false alarm control, report completeness, and processing correctness, respectively, and satisfy the following conditions: ; Each evaluation weight is pre-stored in the robustness evaluation rules and remains unchanged during the same batch of verification.

[0113] Generate scenario-by-scenario verification details, including at least scenario identifier, anomaly injection layer, anomaly type, anomaly magnitude, fault chain depth, expected result, actual result, whether it was detected, the first detection node, the complete status of the anomaly report, the anomaly handling result, and the scenario risk weight.

[0114] In one implementation, the abnormal scenario library contains 18 scenarios, including 16 abnormal injection scenarios and 2 normal control scenarios. All 16 abnormal injection scenarios were correctly detected, achieving a 100% detection rate and a 0% false negative rate. The 2 normal control scenarios produced no false alarms, resulting in a 0% false alarm rate. The report completeness was 98.6%, the processing accuracy was 100%, and the overall robustness score was 99.7. The overall robustness evaluation results and scenario-by-scenario verification details were sent to S5.

[0115] S5 specifically includes the following sub-steps: S510. Establish coverage units and calculate risk-weighted coverage rates based on the execution status of abnormal scenarios.

[0116] An anomaly coverage mesh is established based on the anomaly injection layer and failure categories in the anomaly scenario library.

[0117] A coverage cell is a basic statistical object in the anomaly coverage mesh used to characterize whether a predetermined combination of anomalies has been effectively verified. At least one coverage cell should be determined by the anomaly injection layer and the failure category; for scenarios requiring further subdivision, the anomaly amplitude range, testing phase, or fault chain depth can be used as additional coverage dimensions.

[0118] For example, an L1 chip pin terminal and a connection anomaly form one coverage cell; an L2 chip internal parameter layer and conduction parameter drift form another coverage cell; and an L3 measurement feedback channel and measurement offset form a corresponding coverage cell. The coverage grid is configured only with anomaly combinations relevant to the current chip under test and the ATE test item.

[0119] Set the coverage state for the i-th coverage unit. When at least one abnormal scenario corresponding to the coverage unit has been fully executed and a valid verification result has been obtained through S4, Set to 1; when there is no corresponding scenario that has completed effective execution, Set to 0.

[0120] At the same time, risk weights are set for the coverage units. In one implementation, high risk, medium risk, and low risk correspond to weights of 3, 2, and 1, respectively. The risk-weighted coverage of the current anomaly scenario library is expressed as: ; Here, Coverage represents the current risk-weighted coverage rate. According to this method, high-risk uncovered units have a greater impact on the overall coverage rate than low-risk uncovered units, ensuring that the coverage results simultaneously reflect both scenario execution status and abnormal risks. All units that meet the following criteria will be covered. The covered units are identified as uncovered units, and the exception injection layer, failure category, risk level, and associated test items corresponding to each uncovered unit are read.

[0121] In one implementation, the abnormal coverage grid is configured with 25 coverage cells, of which 19 coverage cells have been effectively covered, resulting in a risk-weighted coverage rate of 76.0%.

[0122] S520: Generate supplementary abnormal scenarios based on uncovered units and form a coverage feedback closed loop.

[0123] Coverage feedback loop refers to the cyclical process of updating the coverage status based on the abnormal scenarios that have been executed, generating new abnormal scenarios from the uncovered units, and then returning the new abnormal scenarios to the abnormal scenario library for re-execution.

[0124] For each uncovered unit, read its corresponding exception injection layer, failure category, risk level and associated test items, and then read the corresponding chip specification boundary, ATE test upper and lower limits, protection threshold and available exception injector according to the associated test items.

[0125] Based on the above information, identify the abnormal parameters that can transform currently uncovered cells into covered cells. For continuous abnormal parameters, candidate abnormal amplitudes are preferentially selected near the test upper and lower limits, protection thresholds, and the boundary between normal and abnormal conditions.

[0126] For scenarios requiring joint adjustment of multiple abnormal parameters, an orthogonal combination approach is used to select representative parameter combinations, reducing test scenarios with overlapping effects. For cases with multiple uncovered units, the priority for supplementing abnormal scenarios is determined based on risk weights from highest to lowest.

[0127] When the uncovered cell is located at L0 layer, the candidate injection method is selected from voltage source offset, output noise, or machine output anomaly associated with the corresponding test item; when it is located at L1 layer, the candidate injection method is selected from increased contact resistance, open pin, and short pin; when it is located at L2 layer, the candidate injection method is selected from RDSON drift, UVLO threshold offset, parasitic leakage current, or thermal parameter anomaly; when it is located at L3 layer, the candidate injection method is selected from measurement offset, noise amplification, obsolescence, Kelvin failure, or TMU delay.

[0128] Candidate anomalies are formed into new anomaly injection items according to the data structure specified in S210, and risk level, scenario weight, expected label, associated test items, and fault chain depth are configured. The resulting supplementary anomaly scenarios are added to the anomaly scenario library, and S2-S4 are executed again; after the supplementary scenario execution is completed, the current coverage status and weighted coverage are recalculated.

[0129] In one implementation, when the weighted coverage rate is 76.0%, supplementary abnormal scenario suggestions are made based on the occurrence of surge current injection, drive attenuation, and TON boundary values ​​in the uncovered areas.

[0130] This forms a closed loop of abnormal scenario execution, verification result generation, coverage status update, uncovered area identification, supplementary abnormal scenario generation, and re-execution, enabling the abnormal scenario library to continuously supplement the coverage blind spots actually discovered during the verification process.

[0131] S530: Utilize abnormal scenarios and fault chains to construct tiered training tasks, and match subsequent tasks according to the engineer's capabilities.

[0132] The exception injection items, fault chains, node state snapshots, ATE test results, and corresponding root cause results from the exception scenario library are converted into engineer training tasks. These training tasks are divided into basic, intermediate, and expert phases. The basic phase uses a single exception scenario, requiring engineers to determine the exception type and associated test items based on the virtual ATE test results.

[0133] The advanced stage employs combined scenarios consisting of multiple anomalies or scenarios involving different anomaly injection layers, requiring engineers to determine the source of the anomalies based on multiple test parameters and anomaly phenomena. The expert stage employs anomaly scenarios with multi-level fault chains, requiring engineers to combine test results and fault chain state snapshots to trace back from the final anomaly phenomenon along the fault propagation nodes to the initial anomaly cause.

[0134] During the training task execution process, the engineer's accuracy rate, task completion time, number of prompts, number of troubleshooting steps, root cause location accuracy rate, and number of repeated errors are recorded.

[0135] Among them, the accuracy rate is determined by the proportion of correct judgments in the completed tasks; the completion time is determined by the actual time between the start of the task and the submission of the final result by the engineer; the number of prompts is determined by the number of times the current task calls the system prompts; the number of troubleshooting steps is determined by the actual troubleshooting steps performed by the engineer; the root cause location accuracy rate is determined by the correspondence between the final root cause judgment and the preset root cause of the current abnormal scenario; and the number of repeated errors is determined by the number of times the same error type has occurred repeatedly in historical training tasks.

[0136] Set the difficulty level, skills involved, failure chain length, and estimated completion time for each training task.

[0137] A capability vector is generated based on the training tasks that engineers have already completed: ; in, This represents the engineer's ability value in the j-th skill dimension.

[0138] A task requirement vector is generated based on the skill requirements of the training task to be matched: ; in, This indicates the required value for the training task in the corresponding skill dimension.

[0139] For indicators such as completion time, number of prompts, number of troubleshooting steps, and number of repeated errors, smaller values ​​indicate better performance. Before forming the capability vector, these values ​​are converted into normalized evaluation quantities that are in the same direction as the capability strength.

[0140] Each normalized evaluation metric is aggregated according to the skill dimensions pre-associated with the corresponding training task. When multiple evaluation metrics correspond to the same skill dimension, their arithmetic mean is taken as the ability value for that skill dimension, and these are combined into an ability vector according to the preset skill dimension order. The cosine similarity between the ability vector and the task requirement vector is calculated. ; Among the candidate tasks that match the current engineer's capabilities, select the training task with the highest degree of matching as the subsequent task, so that the difficulty of the task can be adjusted as the engineer's capabilities change.

[0141] In one implementation, an Agent is configured to orchestrate the execution process of abnormal scenarios. The Agent reads target scenarios from the abnormal scenario library, calls the corresponding abnormal injectors according to the L0-L3 injection layers, runs abnormal scenarios in batches, obtains the robustness evaluation results formed in S4 and the coverage results formed in S510, and forms supplementary scenario candidates based on the uncovered units.

[0142] LLM can also be configured as an auxiliary module. LLM reads chip specification data, ATE test program structure, abnormal scenario execution records, current coverage status, and engineer training status to form candidate abnormal scenario descriptions, summarize multiple failure modes, generate natural language verification reports, and provide step-by-step troubleshooting prompts.

[0143] Before entering the exception scenario library, the candidate exception scenarios output by LLM are converted into exception injection items as specified in S210, and satisfy the corresponding injection layer, exception object, exception parameters and test boundary constraints.

[0144] Whether an anomaly is detected, the pass or fail result, the false alarm rate, the report completeness, the processing accuracy, the comprehensive robustness score, the risk-weighted coverage, and the objective execution results of the training task are determined by the corresponding rules and calculation modules. LLM is used to assist in scenario recommendation, result interpretation, and training prompts, but does not replace the above deterministic calculations and judgments.

[0145] Through S110-S530, the virtual ATE test environment first converts the actual ATE test program into standard test actions and drives the parameterized virtual chip; abnormal scenarios are further converted into specific parameter changes that affect the L0 machine output, L1 chip pins, L2 chip internal parameters, and L3 measurement feedback channel; the initial abnormality then forms a traceable multi-level fault chain based on the physical causal relationship between the parameters; the ATE test program is executed under the actual action of the abnormality and fault chain to obtain robust evaluation results such as abnormality detection, missed detection, false alarm, report completeness, and correctness of handling.

[0146] Then, a risk-weighted coverage status is constructed based on the executed scenarios, supplementary abnormal scenarios are generated in reverse for the uncovered areas, and the existing abnormal scenarios and fault chains are reused for tiered training, thereby forming a continuous data closed loop between anomaly injection, fault propagation, program verification, coverage supplementation and training application.

[0147] Example 2: Figure 2 As shown, this embodiment provides a robustness verification system for ATE test programs based on layered exception injection, including: The module includes a virtual testing environment construction module, a layered exception injection module, a fault chain generation module, a robustness evaluation module, and a coverage feedback module. The virtual test environment construction module is used to acquire the ATE test program to be verified, the specification data of the chip under test, and the configuration data of the virtual chip model. It constructs a virtual test environment including a virtual ATE machine and a virtual chip, converts the original machine instructions in the ATE test program to be verified into standard test actions, and uses the virtual ATE machine to call the parameterized behavior model to calculate the virtual chip response. It also establishes the baseline initial state before the execution of abnormal scenarios and the state snapshot during the execution process. The layered anomaly injection module is used to build an anomaly scenario library according to an anomaly injection data structure that includes injection layer, anomaly object, anomaly type, anomaly parameters, associated test items and fault chain depth. It maps the selected anomaly scenario to the output parameter change of the L0 machine output terminal, the connection parameter change of the L1 chip pin terminal, the model parameter change of the L2 chip internal parameter layer, or the feedback parameter change of the L3 measurement feedback channel, and generates an initial anomaly state bound to the associated test items and fault chain depth. The fault chain generation module is used to take the initial abnormal state as the first node of the fault chain, and update the virtual chip state or measurement state level by level according to the causal propagation rules that include the previous level parameters, triggering conditions, calculation relationships, subsequent level parameters and the location of the subsequent level parameters. After each level of propagation, a fault chain node and corresponding state snapshot are generated, and the propagation ends when the fault chain depth is reached or there is no subsequent causal propagation rule that meets the triggering conditions, thus forming the fault chain execution result. The robustness evaluation module is used to run the ATE test program to be verified under initial abnormal state and fault chain action state, compare the expected results of abnormal scenarios with the actual test results, determine the anomaly detection rate, false alarm rate and false alarm rate based on the execution results of the anomaly injection scenario and the normal control scenario, and determine the report completeness and processing accuracy based on the anomaly report field and anomaly handling results, and form a comprehensive robustness score and scenario-by-scenario verification details according to the preset evaluation weights. The coverage feedback module is used to establish coverage units according to the anomaly injection layer and failure category based on the scenario-by-scenario verification details. It determines the coverage status based on whether the corresponding anomaly scenario of each coverage unit has obtained effective verification results. It calculates the risk-weighted coverage rate by combining risk weights and identifies uncovered units. It generates supplementary anomaly scenarios based on the anomaly injection layer, failure category, associated test items and test boundaries of the uncovered units. The supplementary anomaly scenarios are added to the anomaly scenario library for further layered anomaly injection, fault chain generation and robustness evaluation.

[0148] The above evaluation formulas are calculated using dimensionless numerical values; physical quantities involving voltage, current, resistance, power consumption, temperature, and time series are calculated according to their respective units. The model parameters, test boundaries, and thresholds involved are determined based on the specifications of the chip under test, the ATE test program configuration data, and the virtual chip model configuration data.

[0149] Example 3: Layered Anomaly Verification Based on Device A Program Analysis and Offline Simulation This embodiment uses the ATE test program parser and chip behavior simulator from the project, taking into account the PGS limits, resource configurations, and test source code from the test program. It parses 70 PGS numerical limits and 5 sets of resource mappings, and generates unified test items for IFLH_ON, VF_10mA, RDSON_H, UVLO_R, and TPLH. These unified test items are adapted to both DeviceA-FOVI and DeviceB-OVI target devices, resulting in 20 standard operations for each device type, and a total of 10 normal simulation results.

[0150] The execution sequence of the simulator agent is as follows: first, it reads the test items and specification boundaries; then, it selects the scenario to be executed based on risk and existing coverage status; next, it sets the injection parameters for the scenario at the L0 equipment output, L1 chip pin, L2 chip internal parameter layer, or L3 measurement feedback channel; finally, it collects the return values ​​from the virtual ATE and virtual chip and submits them to the deterministic evaluation module for result calculation. If the coverage unit is found to be empty, the agent only generates candidate supplementary scenarios, which still need to be verified by the injection layer, parameter units, test boundaries, and expected labels.

[0151] Table 1. Test chain and verification results of this embodiment.

[0152] This embodiment also generates 13 progressive rule replay use cases, of which 10 are normal baselines, 1 is a range alarm, 1 is a TPLH over-limit, and 1 is a candidate power supply value triggering a protection gate. This result proves that parsing, scene entry, over-limit identification, and safety gate judgment can be repeatedly executed; it does not prove that all combinations of L0-L3 have been covered, nor does it write offline replay as real ATE hardware operation.

[0153] When the system is used for training, the above TPLH over-limit or range alarm scenarios can be used to generate troubleshooting tasks, allowing engineers to return from the test results to the injection layer and fault chain nodes; the task score is still determined by the rules module based on whether the location is correct and whether the correct processing action is performed.

[0154] Implementation Boundaries of this Implementation Example This embodiment is a local offline behavior simulation and rule replay. It is not equivalent to real ATE stimulation and does not prove real chip damage, temperature rise monitoring, hardware cutoff latency, mass production yield, or long-term reliability.

[0155] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0156] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0157] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A robustness verification method for ATE test programs based on hierarchical anomaly injection, characterized in that, Includes the following steps: S1. Obtain the ATE test program to be verified, chip specification data and model configuration data, construct a virtual ATE machine and virtual chip, convert the original machine instructions into standard test actions, calculate the virtual chip response and establish a resettable baseline initial state. S2. Establish an abnormal scenario library according to a unified abnormal injection data structure, and map the selected abnormal scenario to the parameter changes of L0 machine output, L1 chip pin, L2 chip internal parameter layer or L3 measurement feedback channel to obtain the initial abnormal state that is deeply bound to the test item and fault chain. S3. Taking the initial abnormal state as the first node of the fault chain, calculate the subsequent parameter states level by level according to the causal propagation rules, generate fault chain nodes and state snapshots, and end the propagation when the fault chain depth is reached or there are no subsequent rules that meet the triggering conditions. S4. Run the ATE test program to be verified under the initial abnormal state and fault chain. Compare the expected results of the abnormal scenario with the actual test results, calculate the anomaly detection rate, missed detection rate, false alarm rate, report completeness and processing accuracy, and obtain the comprehensive robustness score and scenario-by-scenario verification details based on the preset evaluation weights.

2. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 1, characterized in that, Also includes: S5. Based on the scenario-by-scenario verification details, establish the coverage units corresponding to the anomaly injection layer and failure category. Calculate the risk-weighted coverage rate according to the coverage status and risk weight. Identify the uncovered units. Generate supplementary anomaly scenarios based on their injection layer, failure category, test items and test boundaries. Add them to the anomaly scenario library and re-execute S2 to S4.

3. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 1, characterized in that, S1 specifically includes: Acquire the ATE test program to be verified, the specification data of the chip under test, and the configuration data of the virtual chip model; parse the operation type, target object, and operation parameters of the original machine instructions; convert them into standard test actions; and schedule the corresponding virtual ATE function modules. Input the electrical conditions, timing parameters, chip temperature, historical power consumption and defect parameters corresponding to the standard test actions into the parameterized behavior model to calculate static current, dynamic current, output state, propagation delay, junction temperature and chip operating state; Before executing an abnormal scenario, a baseline initial state is established, including register states, internal node voltages, junction temperatures, and defect flags. A state snapshot is generated at the abnormal node, and the baseline initial state is restored after the scenario ends.

4. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 1, characterized in that, S2 specifically includes: Anomaly injection items are established based on injection layer, anomaly object, anomaly type, start time, duration, anomaly amplitude, recovery conditions, associated test items, and fault chain depth, forming an anomaly scenario library with configured risk level, scenario weight, and expected label; According to the anomaly injection layer, the anomaly injection item is mapped to L0 machine output parameter change, L1 chip pin connection parameter change, L2 chip internal model parameter change or L3 measurement feedback parameter change. When the number of candidate scenarios exceeds the predetermined test scale, the abnormal scenarios to be executed are determined based on the test upper and lower limits, protection thresholds, scenario risk weights, orthogonal combinations and existing coverage status, and an initial abnormal state that is deeply bound to the test project and fault chain is generated.

5. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 1, characterized in that, S3 specifically includes: Set the initial abnormal state as the head node of the fault chain, establish a causal propagation rule that includes the preceding parameters, triggering conditions, calculation relationships, subsequent parameters and their location, and generate the next fault chain node when the triggering conditions are met. The chip's internal parameters, power consumption, junction temperature, output response, or measurement status are updated level by level according to the causal propagation rule, and a state snapshot is generated after each propagation, recording the node level, the layer where the anomaly occurred, the changed parameters, the values ​​before and after the change, and the measured values.

6. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 5, characterized in that, Also includes: When the fault chain level reaches the fault chain depth, propagation is truncated, or propagation ends when there is no subsequent causal propagation rule that meets the triggering condition. The output is the fault chain execution result, which consists of the fault chain node, state snapshot, actual propagation level, and final chip response.

7. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 1, characterized in that, S4 specifically includes: Run the ATE test program to be verified under abnormal scenarios and fault chain conditions, record the applied parameters, chip response, measurement results and abnormal handling actions, and correlate the actual test results with the expected results of abnormal scenarios. The anomaly detection rate and the false negative rate are calculated based on the number of detected and missed detections in the abnormal injection scenario. The false positive rate is calculated based on the number of false positives in the normal control scenario. The report completeness and processing accuracy are calculated based on the number of valid reporting fields and the number of correctly processed scenarios.

8. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 7, characterized in that, Also includes: The false negative rate and false positive rate are converted into positive evaluation values. A comprehensive robustness score is obtained by using the preset evaluation weights that remain unchanged for the same batch. A scenario-by-scenario verification detail is generated, which includes scenario identifiers, expected results, actual results and the first detection node.

9. The robustness verification method for ATE test programs based on hierarchical anomaly injection according to claim 2, characterized in that, S5 specifically includes: Based on the anomaly injection layer and failure category, establish coverage units, determine the coverage status according to whether the corresponding anomaly scenario has obtained effective verification results, calculate the risk-weighted coverage rate by combining risk weights, and determine the uncovered units. Read the injection layer, failure category and associated test items of the uncovered unit, determine the candidate abnormal parameters according to the test boundary and abnormal injector, form a supplementary abnormal scenario and add it to the abnormal scenario library to re-execute S2 to S4; The abnormal injection items, fault chains, state snapshots, and ATE test results are converted into hierarchical training tasks. A capability vector is formed based on the engineer's task results, and a task requirement vector is formed based on the task skill requirements. The cosine similarity between the two is calculated and matched with subsequent training tasks.

10. A robustness verification system for ATE test programs based on hierarchical anomaly injection, employing the robustness verification method for ATE test programs based on hierarchical anomaly injection as described in any one of claims 1 to 9, characterized in that, include: The system includes a virtual testing environment construction module, a layered exception injection module, a fault chain generation module, a robustness evaluation module, and a coverage feedback module.