System and method for generating commands, test system and computer program
The system optimizes command generation for functional tests by mapping test stimuli and measurements onto test resources, addressing inefficiencies in existing systems and enabling efficient, adaptable testing.
Patent Information
- Application Number
- PCT/IB2026/054516
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-08
- Filing Date
- 2026-05-07
- Publication Date
- 2026-11-12
AI Technical Summary
Existing test systems face inefficiencies in transferring design information from devices to automatic test systems, leading to high human resource costs, ambiguity, and prolonged implementation times due to the use of non-formalized human language in functional test specifications, and lack of adaptability to changes in test system configurations.
A system and method for generating commands that utilize electronic processing means to map test stimuli and measurements onto specific test resources, optimizing command execution through a mapping function that considers both device and system data, enabling efficient and adaptable functional testing.
The solution provides optimized command execution, reducing human resource costs and time, and enabling automatic adaptation to test system changes, while supporting 'data driven' test methods and enhancing resource utilization.
Smart Images

Figure IB2026054516_12112026_PF_FP_ABST
Abstract
Description
[0001] System and method for generating commands, test system and computer program
[0002] Technical sector
[0003] The present invention belongs, in general, to the field of systems for executing automated tests. In particular, the invention relates to a system for generating commands, a method for generating commands, a test system for executing a test function on at least one device under test, and a computer program.
[0004] Background art
[0005] Whenever a device is designed, it is also necessary to define a test procedure to verify its correct operation at the end of production or in previous steps, such as prototype validation during design. Indeed, any defects must be identified as early as possible to prevent them from reaching the market. The procedure, named “functional testing”, may also be used to determine the characteristic parameters of the physically manufactured device and allow a classification into batches of different quality.
[0006] The physical system used to apply a test procedure to a physical device is known as a “test system”. Test systems are systems not necessarily dedicated to the functional testing of a single type of device, but may be adapted as needed by means of hardware configuration (addition / removal of physical modules) and software configuration (programming of the sequence of operations which must be executed). In the background art, there is a considerable gap in the transfer of information from the design of a device to the automatic test systems by means of which the functional tests are applied to the designed device. Typically, in the prior art, this transfer occurs by means of documentation written in human language, the so-called “functional test specification”. It is commonly known that the responsibility for defining this information is not clearly assigned. In particular, for verifying the performance of a device, the “functional test specification” defines:
[0007] - the operations to be performed;
[0008] - the sequence in which the operations must be performed.The use of a “functional test specification”, written in human language to process fundamental information for the step of testing of a device, results in a considerable cost in terms of human resources and time for adapting it to a corresponding test system. Indeed, the “functional test specification” expressed in human language must be interpreted to configure and program a dedicated test system. What renders particularly onerous the aforesaid steps, which are also possible sources of errors, is that the use of non-formalized human language introduces ambiguity in the interpretation. Furthermore, the operator tasked with the conversion must know in detail both the device on which to perform the test and the test system which will be used, therefore must have advanced engineering expertise. All of this ultimately results in a waste of human resources and in an extension of the time needed to achieve the implementation of a correct functional test. An improvement of the approach described so far consists in the preparation, by the test system manufacturer, of algorithms sufficiently generic to be applicable to entire families of devices under test (e.g., diodes, IGBT, half-bridge modules), and the implementation of a user interface by means of which it is possible to select the desired algorithm and enter the characteristic parameters thereof (e.g., voltage or current values, pass / fail criteria, test times). The advantage of this solution is that the ’’programming”, meaning software writing, is done once and for all by the manufacturer of the test system, while the manufacturer of the device to which to apply the functional test will be able to create the desired sequence without having any knowledge of the test system and without having knowledge of software writing. This solution reduces the implementation time of test programs, but has the disadvantage of not allowing the stimu-lus / measurement to be autonomously modified by the user. An alternative approach, inspired by the same considerations, is based on the use of a formal language for the definition of the test sequence. This sequence will further be converted into a sequence of elementary operations, variable as a function of the test system which will be used to execute the functional test. The manufacturer of the device under test must create the test sequence in formal language, while the manufacturer of the test system must implement the conversion program from formal language into elementary instructions of the test system. In any case, all the current solutions are strictly dependent on the test configuration whereby the test sequence has been optimized, and each change to the test system configuration, or to the parallelism with which the test must be performed, necessarily requires the entire method to be repeated, which is a burdensome operation in terms of the human resources employed and thenecessary time. Finally, none of the suggested solutions can automatically react to events such as failures of sub-parts of the test system, nor can they take advantage of a possible oversizing of the test system to automatically minimize the total time necessary for executing the functional test. A first solution which aims to solve the aforementioned problems is, for example, described in CN101896908 B. However, this solution has the limitation of basing its implementation logic only on information contained in a test document. Therefore, the fact of basing the solution only on the information relating to the test to be performed does not make it possible to optimize the use of the available test resources provided by a possible test machine available for performing the test. Therefore, even in light of CN101896908 B, the aforementioned problems remain unresolved.
[0009] Furthermore, the existing test systems managed by a single software which implements stimuli and measurements as a function of the test resources for which it was designed, are not capable of implementing generic stimuli and optimizing the execution of the stimuli for executing the tests. A “data driven” test method has recently been developed, capable of overcoming the drawbacks of the known methods described above. In particular, in a “data driven” test method, an operator does not need to define a temporal sequence of operations which constitute the functional test (unless the operator explicitly desires to do so). The operator does not even need to be limited to a possible finite number of instruments for stimuli and measurements existing in a real test system. The “data driven” method provides for optimizing the use of the physical resources present in the test system by defining the sequence by which the functional test will be performed. However, the known existing test systems do not provide command mapping functionalities capable of adapting or being used with such a “data driven” test method.
[0010] Summary of the invention
[0011] It is an object of the present invention to provide a system / method for generating commands configured to perform a command mapping function optimized for executing functional tests.
[0012] It is a further object to provide solutions which can be used to execute “data driven” testmethods.
[0013] The aforesaid and other objects and advantages are achieved:
[0014] - according to a first aspect of the invention, by a system for generating commands having the features defined in claim 1;
[0015] - according to a second aspect of the invention, by a test system having the features defined in claim 16;
[0016] - according to a third aspect of the invention, by a method for generating commands having the features defined in claim 20;
[0017] - according to a fourth aspect of the invention, by a computer program having the features defined in claim 21.
[0018] Preferred embodiments of the invention are defined in the dependent claims, the contents of which are intended to form an integral part of this description.
[0019] Brief description of the drawings
[0020] The functional and structural features of some preferred embodiments of a system for generating commands, a method for generating commands, a test system and a computer program according to the invention will now be described. Reference is made to the accompanying drawing, in which:
[0021] - figure 1 shows a first embodiment of a system for generating commands according to the present invention.
[0022] Detailed description
[0023] Before explaining a plurality of embodiments of the invention in detail, it is worth noting that the application of the invention is not limited to the constructive details and to the configuration of the components presented in the following description or shown in the drawings. The invention can assume other embodiments and may be implemented or made in practice in different manners. It must also be understood that the phraseology and the terminology are only descriptive and must not be understood as limitative. The use of "include"and "comprise" and variations thereof are intended to comprise the elements enunciated below and their equivalents, as well as additional elements and equivalents thereof.
[0024] With initial reference to figure 1, an embodiment of a system for generating commands, the commands being configured to be supplied to a test system for executing a test function on at least one device under test (DUT) is described below.
[0025] The device under test DUT may be any device, e.g., an electronic device, a semiconductor device, a mechanical device, a pneumatic device, etc. For example, in the field of semiconductor devices, the following test functions may be performed, among others: DC test, AC test, time-domain test, etc. In general, a test function may be defined by means of test stimuli and test measurements which must be applied to the device under test.
[0026] The system for generating commands comprises electronic processing means 100 configured to receive a first document 102 comprising data relating to at least one test stimulus and / or at least one test measurement to be applied to said at least one device under test DUT and provided for by said test function.
[0027] Preferably, the first document 102 may further comprise at least one of the following:
[0028] - data relating to test conditions (parent steps);
[0029] - data relating to the test stimuli to be executed in a continuous time (real time) in one step (in the step);
[0030] - data relating to sequence constraints and / or singularity constraints and / or duration constraints (only if) required by the device under test DUT.
[0031] For example, the test document may contain sequence constraints and duration constraints relating only to the device under test.
[0032] Furthermore, the electronic processing means 100 are configured to receive a second document 104 comprising data relating to the test system.
[0033] Preferably, the data relative to the test system comprised in the second document 104 maycomprise at least one of the following:
[0034] - data indicative of a plurality of test resources of the test system, wherein each test resource is configured for generating a test stimulus or for performing a test measurement;
[0035] - data indicative of a plurality of test system switches;
[0036] - data indicative of a plurality of test system signal connections;
[0037] - data indicative of a plurality of test system communication connections;
[0038] - data indicative of a number of test system stations;
[0039] - data indicative of a number of sockets for housing the devices under test DUT.
[0040] In other words, the test resources of the test system may be or comprise stimulators or acquirers.
[0041] By way of non-limiting example, for the definition of the test resources, reference may be made to libraries of modules (generators, measurers, passive components), used to define the type of test that is desired to be performed. These test resources may be configured to be related / connected to the device under test DUT.
[0042] Furthermore, the electronic processing means 100 are configured to execute a mapping function configured to determine the commands to be executed by the test system. These commands are determined by the mapping function as a function of the data relative to at least one test stimulus and / or at least one test measurement comprised in the first document 102 and data relative to the test system comprised in the second document 104.
[0043] Therefore, the mapping function may perform a function known as “mapping” in the testing sector.
[0044] Preferably, the mapping function may be configured to create a command document 106, in which the determined commands are listed in a sequence.
[0045] In this case, for example, the mapping function may be executed once before being executed by a test system.In an alternative embodiment, the mapping function may be configured for:
[0046] a) determining a command;
[0047] b) after having determined the command in step a), transmitting said command to the test system for executing it;
[0048] c) repeating steps a) and b) until all commands necessary for the complete execution of the test function on the device under test have been determined and executed.
[0049] In other words, the mapping function may be performed during the execution of the commands by the mapping system, i.e., each command may be executed by the system immediately after having been determined, without having to wait for all the commands to have been determined and listed in a command document.
[0050] Preferably, the mapping function may be configured to determine the commands to be executed by the test system also as a function of at least one predetermined optimization objective. The at least one predetermined optimization objective may comprise at least one of the following:
[0051] - Shorter test time;
[0052] - Maximization of the test system test resource utilization percentage;
[0053] - Minimization of the number of test system test resources used;
[0054] - Maximization of the test measurement accuracy.
[0055] In other words, the mapping function may make it possible to apply different types of optimization in the implementation of the sequence of commands.
[0056] By way of example, the first document 102 may be named “test document”. This document may be considered, in general, as a collection of steps. For example, each step may comprise a series of stimuli applied to some points of the device under test, DUT, and / or some measurements executed on the device under test, DUT.
[0057] For example, the test document may contain a complete description of the stimuli and the measurements to be made on at least one device under test DUT, independently of the hardware (i.e. test system) which will execute them.Therefore, in general, the test document may be a formatted document adapted to unambiguously describe the stimuli, such as shapes of physical quantities (within the scope of electronic voltage or current testing) to be applied to the inputs of the device under test and the measurements, such as processing of the waveforms of the physical quantities acquired from the outputs of the device by using mathematical functions, without limitations of families of components or devices under test (e.g., digital or analog or power analog).
[0058] Again by way of example, the second document 104 may be named “test system descriptor document”. This document may generally be considered as a collection of descriptive information of the test system.
[0059] For example, the second document 104 may describe the test system, tester and handling topology.
[0060] For example, each time it is desired to execute a test, the test system descriptor document may be provided to the electronic processing means which execute the mapping function, to fully describe the architecture of the test system to the electronic processing means. As described above, this description may, for example, comprise one or more of the following data:
[0061] - a list of the physical test resources (e.g., stimulation and acquisition modules, connection matrix) with their features. A physical resource in an independent module controlled by a specific driver;
[0062] - a tree which represents the “communication” connectivity graph of the test resources (i.e. of the modules) of the test system (e.g. test machine):
[0063] - a tree representing the connectivity graph of the “signals” of the test resources (i.e. of the modules) included in the test system (e.g. test machine).
[0064] As described above with reference to the embodiment in which a command document is produced, the electronic processing means 100 which execute the mapping function may receive in input the test document (i.e. the first document 102) and the descriptor document of the test system (i.e. the second document 104). Starting from these documents, theelectronic processing means which execute the mapping function may produce a third document, named command document 106, for example. For example, the command document 106 may be regarded as a kind of “executable”; i.e., the document may comprise a list of commands (also named instructions) configured to implement the test document on the specific test system (i.e. on the specific test resources of the system) which were described in the test system descriptor document.
[0065] For example, the command document 106 outputted by the electronic processing means 100 which execute the mapping function may be considered to be the test program, i.e. the result of the compilation process of the test document and of the test system descriptor. In general, the test program may be considered to be the actual implementation of the test document on a specific test apparatus. The test program may subsequently be provided in input to an executor of the test system.
[0066] By way of non-limiting example, the structure of the test program (i.e. of the command document 106) may be as follows:
[0067] - JOB: This represents the root of the document and encapsulates the list of task to be executed;
[0068] - TASK: In a job there may be one or more tasks. A task represents an activity to be executed, and is identified by an arbitrary and unique number within the job. This task may be subdivided into one or more threads. The tasks may be executed in sequence, in the order in which they are listed;
[0069] - THREAD: In a task, one or more threads may be present. Each thread may be identified by an arbitrary number, unique within the task. The threads may be executed in parallel asynchronously: generally, but not necessarily, they may start at the same time and then continue independently, until completion;
[0070] - RESOURCE: Group the list of operations which may be executed by a determined resource within a thread. It is identified by the name, unique for the system, with which the resource is exposed on the network by the controller. A resource may not be present in more than one thread for a determined task;
[0071] - STEP: This represents a single atomic instruction that a resource must complete within a thread. The steps are identified by an arbitrary number, unique for the resource.If a thread involves multiple resources, all may share the same steps, in terms of number, identifiers, and order; however, nothing precludes that a step may describe different operations for different resources. Empty steps may be provided to be used as fillers where necessary. The steps distributed across multiple resources in a thread are executed in synchronous parallel; they start at the same time and the performance may be considered complete when all the resources have executed their part. There is no relation between the steps of different threads.
[0072] Preferably, in the first document 102, the data relating to each respective test stimulus and / or each respective test measurement may define a formula comprising at least one test parameter.
[0073] Preferably, when the second document 104 comprises data indicative of a plurality of test resources of the test system, the data relating to each respective test resource may define a formula comprising at least one operational parameter.
[0074] Preferably, each formula may be a formula relating to at least one physical quantity. Or, each formula may be a formula related to at least one waveform. Or, each formula may be a formula related to at least one waveform operator.
[0075] By way of example, preferably, the operator may be at least one of the following operators:
[0076] - logical operator;
[0077] - bitwise operator;
[0078] - comparison operator;
[0079] - flow control operator;
[0080] - mathematical operator;
[0081] - statistical operator;
[0082] - DSP operator;
[0083] - utility functions (tracking, debugging, logging, etc.);
[0084] - constant values;
[0085] - global variables.For example, the logical operator may be one of the following:
[0086] - bool AND(bool VI, bool V2 ) : logical AND;
[0087] - bool NAND(bool VI, bool V2 ) : logical NAND;
[0088] - bool OR(bool VI, bool V2 ) : logical OR;
[0089] - bool NOR(bool VI, bool V2 ) : logical NOR;
[0090] - bool XOR(bool VI, bool V2 ) : logical XOR;
[0091] - bool XNOR(bool VI, bool V2 ) : logical XNOR;
[0092] - bool NOT(bool VI ) : logical NOT.
[0093] For example, the bitwise operator may be one of the following:
[0094] - int BITAND(int VI, int V2 ) : bitwise AND;
[0095] - int BITNAND(int VI, int V2 ) : bitwise NAND;
[0096] - int BITOR(int VI, int V2 ) : bitwise OR;
[0097] - int BITNOR(int VI, int V2 ) : bitwise NOR;
[0098] - int BITXOR(int VI, int V2 ) : bitwise XOR;
[0099] - int BITXNOR(int VI, int V2 ) : bitwise XNOR;
[0100] - int BITNOT(int VI ) : bitwise NOT.
[0101] For example, the comparison operator may be one of the following:
[0102] - bool GT (float VI, float V2) : greater than;
[0103] - bool GTE(float VI, float V2) : greater than-equal to;
[0104] - bool LT(float VI, float V2) : less than;
[0105] - bool LTE(float VI, float V2) : less than-equal to;
[0106] - bool EQ(float VI, float V2) : equal to;
[0107] - bool NEQ(float VI, float V2) : not equal to.
[0108] For example, the flow control operator may be:
[0109] - float IF( bool Condition, float Then, float Else) : If-Then-Else.
[0110] For example, the mathematical operator may be one of the following:
[0111] - float ADD(float VI, float V2), float SUB(float VI, float V2), float MUL(float VI,float V2), float DIV(float VI, float V2) : basic mathematical operations (writing +, *, / , directly is allowed);
[0112] - float ABS(float V) : absolute value;
[0113] - float ACOS(float V), float ASIN(float V), float ATAN(float V), float ATAN2(float V, float n), float COS(float V), float COSH(float V), float SIN(float V), float SINH(float V), float TAN(float V), float TANH(float V) : trigonometric functions;
[0114] - float CEIL(float V), float FLOOR(float V) , float ROUND(float V, int n) : rounding functions;
[0115] - float EXP(float V) : exponential function;
[0116] - float LOG(float V), float LN(float V) : log functions;
[0117] - float POW(float V, float n) : power function;
[0118] - float SQRT (float V) : square root function.
[0119] For example, the statistical operator may be one of the following:
[0120] - MEAN( ... ), MEDIAN( ... ), MODE( ...) : mean, median, mode;
[0121] - STDEV( ... ) : standard deviation.
[0122] For example, the DSP operator may be one of the following:
[0123] - INT( ... ) : integral function;
[0124] - DIFF( ... ) : derivative function;
[0125] - MAX( ... ), MIN( ... ) : max / min function;
[0126] - LPF( ... ) : low pass filter;
[0127] - PID( ... ) : PID controller;
[0128] - FILTER( ... ) : generic filter;
[0129] - ETC, ETC, ETC : TBD;
[0130] For example, the utility function may be one of the following:
[0131] - DEBUG( ... ) : debug;
[0132] - TRACE( ... ) : tracing;
[0133] - LOG( ... ) : logging;
[0134] - BREAKPOINT( ... ) : set a breakpoint;
[0135] - LOAD( ... ) : load from file. It may be used to load arbitrary waveforms or digitalpatterns in the event of digital tests (see, for example, the IEEE STIL standard);
[0136] - NOP( ) : no operation, empty placeholder, returns “completed” immediately after the call;
[0137] - DELAY( ... ) : forces a delay.
[0138] For example, the following constants may also be defined:
[0139] - e: Napier's constant 2.71828182845904523536;.
[0140] - pi: pi constant 3.14159265358979323846;.
[0141] - xxx: physical constants, mu, epsilon, etc.
[0142] For example, the following environment variables may be defined:
[0143] - 1: effective step time; restarts from zero at each new step. Read-only variable, may be used with the mathematical operator to create time-dependent signals, e.g., sin(3*t).
[0144] Preferably, for determining the commands to be executed by the test system, the mapping function may be configured for:
[0145] - if the test parameter of the formula relating to a test stimulus or a test measurement is comprised in the operational parameter or matches the operational parameter of the formula relating to a respective test resource, creating a test command in which the test resource is assigned / mapped to the execution of the test stimulus or the test measurement.
[0146] By way of example, to perform this task, the electronic processing means which execute the mapping function may “compile” the test document, by making a mapping (mapping, fitting and routing) between the test resources (e.g. logical and physical resources) comprised in the test system descriptor document.
[0147] Since each stimulus may be described as a formula, it is also possible to describe the capacity of a test resource (e.g., a physical generator) in terms of formulas.
[0148] By way of example, independently of the syntax, a physical generator may be described as:
[0149] - a set of formulas which is capable of implementing, both physical quantities and forms (since the operator formulas are only pure mathematics, it may be assumed that eachphysical generator is capable of implementing all operator formulas);
[0150] - For each parameter of each formula, a range of accepted values; this range may be given as numerical thresholds, e.g. [ 10;20], but may also be a list of formulas, to allow nested formulas.
[0151] A possible description of a GEN1 generator may be the following.
[0152] VOLTAGE])
[0153] - Output :
[0154] * WCONSTQ : [0 ; 500]
[0155] * WSINQ :
[0156] ■ Voffset : [0 ; 10]
[0157] ■ Vamp : [0 ; 30]
[0158] ■ freq : [10 ; 1000]
[0159] ■ Td: [0 ; 0.10]
[0160] ■ Theta : [0 ; n]
[0161] * Phi : [0 ; n]
[0162] ■ Ncycles : [0 ; 10]
[0163] - SeriesResistance : [0 ; 75]
[0164] - CurrentLimit : [0 ; 200]
[0165] . CURRENT])
[0166] - Output : WCONSTQ :[0 ; 1000]
[0167] - ParallelResistance : [0 ; 50]
[0168] - VoltageLimit : [0 ; 100]
[0169] Numeric ranges may, for example, conform to the following syntax:
[0170] - the square brackets indicate that the endpoints are included, e.g. [0;4] means 0 < x <4.
[0171] - the round brackets indicate that the endpoints are not included, e.g. (0;4] means 0 < x < 4;
[0172] +inf, -inf indicate that there is no limit and may be used ONLY with round brackets, e.g. [0 ; +inf) means x > 0.By way of example, when verifying whether a generator is adapted to implement a determined stimulus, the electronic processing means which execute the mapping function may analyze the formula of the stimulus and verify that each function used can be identified / im-plemented on the generator (i.e., on the test resource) and that each parameter falls within the accepted range; if these conditions are satisfied, the generator may be a candidate for implementing the stimulus.
[0173] By way of example, an alternative approach, still based on formulas, is presented below.
[0174] The alternative approach may be an approach using qualification parameters. In this case, a formula may be checked based on the principal figures of merit: first the main quantity and then the significant parameters, to search for, e.g., a good generator (i.e. a good test resource) as a candidate to implement it. Therefore, the control may be executed on one or more of:
[0175] - minimum and maximum values (Min, Max);
[0176] - negative and positive variation rates (SRfall, SRrise);
[0177] - frequency band (fmin, fmax);
[0178] - active time (Ton);
[0179] - settling time (Tset, to estimate
[0180] only the execution time).
[0181] In general an arbitrary waveform may be expected, if the above-mentioned parameters are not yet defined they must be extracted from a sampled waveform matrix. Here, two cases are possible:
[0182] - the matrix specifies absolute values with timing values and quantities, allowing the calculation of the parameters;
[0183] - the array provides a normalized form that may be scaled in amplitude and time, leaving the parameters free to vary also during execution.
[0184] For example, if a generator (i.e. a test resource) can be used at different scales (possibly with different resolutions), each configuration may be described as a different “view”:
[0185] - a type of logical generator with a given scale - with its specific set of relevant parameters.Each “view” of the same physical generator may be mutually exclusive: since they all use the same output pins, only one may be active at a given time. With regard to acquisition, it is possible to define a similar set of parameters to describe the acquisition capabilities (resolutions, accuracies, etc.) maintaining the “view” concept for all possible input ranges.
[0186] Therefore, for example, it may be assumed that the relevant parameters are available in both cases, since the information may be retrieved from the structure.
[0187] Independently of the selected approach, the formula may be analyzed and analyzed to understand what to do. For this task, it is possible to use, for example, ANTLR (ANother Tool for Language Recognition), a tool capable of analyzing the formula, creating the corresponding tree structure and all the related classes, and implementing the tree traversal logic. The grammar file which describes the grammar of formulas (this grammar may be inspired by the official Java language ANTLR grammar) is shown below.
[0188] In other words, according to the present invention, the electronic processing means which execute the mapping function may, for example, select which physical generator will implement each single stimulus / measurement, step by step.
[0189] In an embodiment, a physical generator must satisfy two conditions to be eligible to implement a stimulus:
[0190] - the output of the generator may be routed to the pins of the DUT where the stimulus is applied;
[0191] - the generator must be capable of implementing the stimulus in terms of physical quantity and form, i.e. must be capable of understanding and achieving what is described in the output formula.
[0192] Consider, for example, the following stimulus, which requires generating a voltage signal with sinusoidal form (Voffset = OV, Vamp = 5V, f = 50Hz, Rs = 50Q, Ilimit = 1mA):
[0193] FtOutput = VOLTAGE(WSIN(0, 5, 50, 0, 0, 0, 1), 50, 0.001)During compilation, the electronic processing means which execute the mapping function may select a generator adapted to achieve this stimulus.
[0194] In an embodiment, the mapping function may be software executable by said electronic processing means of the system for generating commands. This software, for each elementary test, may map the modules of which the test system is constituted so as to achieve an independent test sequence. Subsequently the electronic processing means which execute the mapping function may order the independent test sequences of the “test documents” so as to optimize the total execution time of the functional test, simultaneously satisfying any constraints contained in the “test document”. It is apparent that any change to the physical configuration of the test system, either intentional or accidental, may require re-executing the mapping function exclusively. It is also possible that, in the event of hardware module redundancy in the test system, the electronic processing means which execute the mapping function may autonomously decide to parallelize independent tests, again with the aim of minimizing the total time required for the execution of the functional test, possibly allowing the simultaneous testing of multiple devices.
[0195] Preferably, the mapping function may be configured to determine the commands for the test system to execute, so that:
[0196] - it prevents two voltages from being connected / short-circuited together when two different voltages are to be switched to an input of a device under test DUT; and / or
[0197] - it prevents other test system generators from being energized while one or more inputs of the device under test DUT are disconnected when switching a plurality of test system generators to a plurality of inputs of the device under test DUT; and / or
[0198] - it prevents signal interruptions when switching two voltages on a device under test DUT; and / or
[0199] - it creates a safe output by reversing the test conditions in the event of asynchronous requests to interrupt the test execution.
[0200] In other words, the electronic processing means which execute the mapping function may take charge of the safe management of the resources and of the device under test DUT, by handling:- Break-Before-Make (BBM), i.e., if two different voltages must be switched on an input of the DUT, it may be undesirable for the two voltages to be connected / short-circuited together, therefore the circuit must break / open before the subsequent circuit can close / close; 0-voltage switching between two resources and instrument connections to the DUT;
[0201] - Zero-Before-Make, i.e. if generators must be switched on some inputs of the DUT, it is not desired that other generators be at voltage while some inputs are disconnected;
[0202] - Make-Before-Break (MBB), i.e. if two voltages must be switched on a DUT and it is not desired that there be moments of signal interruption;
[0203] - do a safe output by reversing the test conditions in the event of asynchronous requests to interrupt the test execution (from user interface, handler, etc.).
[0204] Preferably, the first document 102 may be a digital document. Preferably, the second document 104 may also be a digital document. Preferably, the command document 106 may be a digital document.
[0205] Digital document means a “file” in any format capable of showing the information to be conveyed. Preferably, it is possible to use a standard format, so as to be able to use readily available serializers and deserializers, without having to implement them ad-hoc. Possible formats are, for example, XML, and JSON, widely used in the information technology field. The first may be preferable, because in the standard it is also provided that there exists a way to define the syntactic and semantic validity of an XML file. This is achieved by means of the DTD or XML-Schema languages. With them, it is possible to define precisely the types, the values, and the metadata, for each item present in the XML file.
[0206] According to a further aspect, the present invention further relates to a test system for executing a test function on at least one device under test.
[0207] The test system comprises a system for generating commands according to any of the embodiments described above.
[0208] Preferably, the test system may be configured to:
[0209] - immediately execute each individual command received from time to time from thesystem for generating commands.
[0210] In an alternative embodiment, the test system may be configured to:
[0211] - executing the sequence of commands contained in the command document received from the system for generating commands.
[0212] Preferably, the test system may be configured to repeat the execution of the sequence of commands contained in the command document for a plurality of test executions.
[0213] In other words, the processing means of the system for generating commands may execute the mapping function a first time only, and furthermore the produced sequence of commands may be sent for execution to the test system a plurality n of times.
[0214] According to a further aspect, the present invention relates to a method for generating commands, the commands being configured to be supplied to a test system for executing a test function on at least one device under test. The method is executed by means of electronic processing means and comprises the step of:
[0215] - executing a mapping function configured to determine the commands to be executed by a test system as a function of data relating to the at least one test stimulus and / or the at least one test measurement comprised in a first document 102 and data relating to the test system comprised in a second document 104.
[0216] All the embodiments described above for the system for generating commands and not repeated here, may nonetheless apply by analogy also to the method just described.
[0217] According to a yet further aspect, the present invention relates to a computer program comprising instructions which, when executed by electronic processing means, cause the execution, by the electronic processing means, of a method for generating commands according to any one of the embodiments described above.
[0218] For example, the electronic processing means may comprise or be at least one of: a processor, a microprocessor, a controller, a microcontroller, an FPGA, a PLC, or the like.The advantage achieved is thus that of having provided solutions having mapping functionalities optimized for the execution of functional tests and usable for the execution of “data driven” test methods.
[0219] Several aspects and embodiments of a system for generating commands, a method for generating commands, a test system, and a computer program, in accordance with the invention, have been described. It is understood that each embodiment can be combined with any other embodiment. Furthermore, the invention is not limited to the described embodiments but can be varied within the scope defined by the accompanying claims.
Claims
CLAIMS1. A system for generating commands configured to be supplied to a test system for executing a test function on at least one device under test, comprising electronic processing means (100) configured for:- receiving a first document (102) comprising data relating to at least one test stimulus and / or at least one test measurement to be applied to said at least one device under test and provided for by said test function;- receiving a second document (104) comprising data relating to a test system; - executing a mapping function configured to determine the commands to be executed by said test system as a function of the data relating to the at least one test stimulus and / or the at least one test measurement comprised in the first document (102) and the data relating to the test system comprised in the second document (104).
2. A system for generating commands according to claim 1 , wherein said mapping function is configured to create a command document (106) in which the determined commands are listed in sequence.
3. A system for generating commands according to claim 1 , wherein said mapping function is configured for:a) determining a command;b) after having determined the command in step a), transmitting said command to the test system for executing it;c) repeating steps a) and b) until all commands necessary for the complete execution of the test function on the device under test have been determined and executed.
4. A system for generating commands according to any one of the preceding claims, wherein said first document (102) further comprises at least one of the following:- data relating to test conditions;- data relating to test stimuli to be executed in a continuous time in one step;- data relating to sequence constraints and / or singularity constraints and / or duration constraints required by the device under test.
5. A system for generating commands according to any of the preceding claims, wherein the data relating to the test system comprised in the second document (104) comprise at least one of the following:- data indicative of a plurality of test resources of the test system, wherein each test resource is configured for generating a test stimulus or for performing a test measurement;- data indicative of a plurality of test system switches;- data indicative of a plurality of test system signal connections;- data indicative of a plurality of test system communication connections;- data indicative of a number of test system stations;- data indicative of a number of sockets for housing the devices under test.
6. A system for generating commands according to any of the preceding claims, wherein said mapping function is configured to determine the commands to be executed by the test system also as a function of at least one predetermined optimization objective; wherein said at least one predetermined optimization objective comprises at least one of the following items:- Shorter test time;- Maximization of the test system test resource utilization percentage;- Minimization of the number of test system test resources used;- Maximization of the test measurement accuracy.
7. A system for generating commands according to any of the preceding claims, wherein, in the first document (102), the data relating to each respective test stimulus and / or each respective test measurement define a formula comprising at least one test parameter.
8. A system for generating commands according to any of claims 5 to 7, wherein, when said second document (104) comprises data indicative of a plurality of test system test resources,the data relating to each respective test resource define a formula comprising at least one operational parameter.
9. A system for generating commands according to claims 7 and 8, wherein, to determine the commands, the mapping function is configured for:- if the test parameter of the formula relating to a test stimulus or to a test measurement is comprised in the operational parameter or matches the operational parameter of the formula relating to a respective test resource, creating a test command in which the test resource is assigned to execute the test stimulus or the test measurement.
10. A system for generating commands according to any of claims 7 to 9, wherein each formula is a formula relating to at least one physical quantity.
11. A system for generating commands according to any of claims 7 to 9, wherein each formula is a formula relating to at least one waveform.
12. A system for generating commands according to any of claims 7 to 9, wherein each formula is a formula relating to at least one operator.
13. A system for generating commands according to claim 12, wherein said operator is at least one of the following operators:- logical operator;- bitwise operator;- comparison operator;- flow control operator;- mathematical operator;- statistical operator;- DSP operator;- utility functions;- constant values;- global variables.
14. A system for generating commands according to any of the preceding claims, wherein said mapping function is configured to determine the commands to be executed by the test system so that:- it prevents two voltages from being connected / short-circuited together when two different voltages are to be switched to an input of a device under test; and / or- it prevents other test system generators from being energized while one or more inputs of the device under test are disconnected when switching a plurality of test system generators to a plurality of inputs of the device under test; and / or- it prevents signal interruptions when switching two voltages on a device under test; and / or- it creates a safe output by reversing the test conditions in the event of asynchronous requests to interrupt the test execution.
15. A system for generating commands according to any of the preceding claims, whereinsaid first document (102) is a digital document; and / orsaid second document (104) is a digital document; and / orsaid command document (106) is a digital document.
16. A test system for executing a test function on at least one device under test, comprising a system for generating commands according to any of the preceding claims.
17. A test system according to claim 16, wherein the test system is configured to:- immediately execute each individual command received from time to time from the system for generating commands.
18. A test system according to claim 16, wherein the test system is configured to:- executing the sequence of commands contained in the command document received from the system for generating commands.
19. A test system according to claim 18, wherein the test system is configured to repeat the execution of the sequence of commands contained in the command document for a plurality of test executions.
20. A method for generating commands configured to be supplied to a test system forexecuting a test function on at least one device under test, executed by electronic processing means, comprising the step of:- executing a mapping function configured to determine the commands to be executed by a test system as a function of data relating to the at least one test stimulus and / or the at least one test measurement comprised in a first document (102) and data relating to the test system comprised in a second document (104).
21. A computer program comprising instructions which, when executed by electronic processing means, cause the electronic processing means to execute a method for generating commands according to claim 20.
