Signal-oriented test system and synchronization and triggering method based on ATML standard

By introducing synchronization and trigger information description components, system integration and path search components, test execution and state machine components, and instrument driver synchronization trigger components into the automatic test platform, the synchronization and triggering problems of signal-oriented testing under the ATML standard are solved, and the The clear description and execution of test requirements improves the engineering level of the automatic test platform.

CN114510413BActive Publication Date: 2024-09-24BEIJING AEROSPACE MEASUREMENT & CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111672714.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-24
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Domestic automatic test platforms based on ATML standards are not mature enough in the description and implementation of triggering and synchronization technologies, and are difficult to meet the strict timing test requirements of complex equipment systems.

Method used

Provide a signal-oriented test system based on ATML standards, including synchronization and trigger information description components, system integration and path finding components, test execution and state machine components, and instrument driver synchronization trigger components. By clearly describing test requirements, trigger synchronization is automatically found Path to implement test execution and instrument actions, using synchronization and triggering technology to analyze and convert actions.

Benefits of technology

It has realized the synchronization and triggering functions of the signal-oriented test system based on the ATML standard, can clearly describe and realize the test requirements, complete the test tasks, solve domestic technical problems, and improve the engineering level of the automatic test platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114510413B
    Figure CN114510413B
Patent Text Reader

Abstract

The invention relates to a signal-oriented test system and a synchronization and triggering method based on ATML standard. The system comprises: a synchronization and triggering information description component, a system integration and path search component, a test execution and state machine component and an instrument drive synchronization triggering component. The synchronization and triggering information description component provides a clear description for the test requirements of synchronization and triggering; the system integration and path search component provides a test system integration connection description and an automatic search method for triggering synchronization paths for the test requirements of synchronization and triggering; the test execution and state machine component automatically controls the direction of a flow according to the execution logic specified by the test flow of synchronization and triggering to complete the test execution part; the instrument drive synchronization triggering component constructs a signal drive to complete the instrument action of the test system, and utilizes the synchronization and triggering implementation technology to realize the parsing and action conversion of the information described in the synchronization and triggering in the signal model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal-oriented general automatic test systems and software, and in particular to a signal-oriented test system and a synchronization and triggering method based on the ATML standard. Background Art

[0002] As a standard for information storage and transmission between and within test systems, the ATML standard provides an application environment framework for object-oriented design. With the continuous development of ATML technology and the gradual deepening of engineering applications, specific issues of triggering and synchronization need to be further resolved. Triggering and synchronization are common functions in the engineering application of automatic test platforms, which are used to realize the synchronization and triggering of instruments, signals, events and other contents. In the automatic testing process of complex equipment systems, some specific test requirements of the tested objects often have strict timing requirements, which requires the automatic test platform based on the ATML system to be able to describe and implement such test requirements.

[0003] At present, there are few research and engineering implementations on trigger and synchronization technology based on the ATML system in China. The description and implementation of trigger synchronization technology in the automatic test platform based on the ATML standard currently used in China is not mature, which has become a technical difficulty in the actual engineering of ATML. The synchronization and trigger technology of the automatic test software platform based on the ATML system needs to realize two functions: first, the automatic test software platform needs to clearly describe the test requirements, test process, and hardware representation of trigger and synchronization in the relevant ATML files; second, the automatic test software platform can parse and implement the clearly described requirements, and finally form test execution and test actions to complete the test task. Only when the platform has these two functions can it be said that the synchronization and trigger technology is truly realized.

[0004] The present invention provides a signal-oriented test system and a synchronization and triggering method based on the ATML standard. Aiming at the test requirements for synchronization and triggering on a system platform or software in a signal-oriented test process based on the ATML standard, a method for describing information such as the test requirements for triggering and synchronization of an automatic test software platform, a test process, and hardware representation is provided; an automatic test software platform is provided to parse and implement clearly described requirements, and finally form test execution and test actions based on synchronization and triggering scenarios, complete synchronization and triggering test tasks, and obtain test result files, thereby solving the technical difficulties of synchronization and triggering of signal-oriented tests based on the ATML standard in China. Summary of the invention

[0005] In order to solve the problem that the existing signal-oriented general automatic test system and software are difficult to achieve synchronization and triggering, one of the purposes of the present invention is to provide a signal-oriented test system based on the ATML standard, the system comprising: a synchronization and trigger information description component, a system integration and path search component, a test execution and state machine component and an instrument driver synchronization trigger component, the synchronization and trigger information description component provides a clear description for the test requirements of synchronization and triggering; the system integration and path search component provides a test system integration connection description and an automatic search method for trigger synchronization paths for the test requirements of synchronization and triggering; the test execution and state machine component automatically controls the direction of the process according to the execution logic specified by the synchronization and trigger test process to complete the test execution part; the instrument driver synchronization trigger component constructs a signal drive to complete the instrument action of the test system, and uses the synchronization and trigger implementation technology to realize the parsing of the information described in the synchronization and triggering in the signal model and the action conversion.

[0006] Optionally, provide a clear description of the test requirements for synchronization and triggering, including signal-based models, time-based models, event-based models, and extended models.

[0007] Optionally, the ATML files involved in the test system integration connection description include a UUT file describing an object under test, a TA file describing a test adapter, a TS file describing a test workstation, and a TI file describing a test instrument.

[0008] One of the purposes of the present invention is to provide a signal-oriented test synchronization and triggering method based on the ATML standard, the method comprising:

[0009] Step 1) Describe the synchronization and trigger information for the TD model and the UUT model in the ATML model;

[0010] Step 2) for the WL model, TA model, TS model and TI model in the ATML model, provide test system integrated wiring description and automatic search for synchronization and trigger paths for synchronization and trigger test requirements;

[0011] Step 3) Automatically control the direction of the process according to the execution logic specified in the synchronization and trigger test process to complete the test execution part;

[0012] Step 4) Build a signal driver to complete the test system instrument action and realize synchronization and triggering operations.

[0013] Optionally, the step 3) further includes: processing and analyzing the use of monitoring signals for each test action, and implementing each action of the monitor signal flow in the test execution.

[0014] Optionally, the step 4) also includes: utilizing synchronization and trigger implementation technology to implement parsing and action conversion of information described in synchronization and triggering in the signal model, and converting synchronization and triggering requirements into synchronization and triggering operations of software and hardware.

[0015] The present invention provides a clear description of synchronization and triggering for the test requirements of synchronization and triggering on a system platform or software in a signal-oriented test process based on the ATML standard, including a signal-based model, a time-based model, an event-based model, and an extended model, provides a test system integrated connection description and an automatic search method for a trigger synchronization path for the test requirements of triggering and synchronization, automatically controls the direction of the process according to the execution logic specified in the synchronization trigger test process, completes the test execution part, processes and analyzes the use of monitoring signals for each test action, realizes each action of the monitoring signal process in the test execution, constructs a signal driver to complete the test system instrument action, and uses the synchronization and trigger implementation technology to realize the parsing and action conversion of the information described in the synchronization and triggering description in the ATML model, thereby realizing the whole process of synchronization and triggering for signal-oriented testing based on the ATML standard. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of a signal-oriented test system based on the ATML standard of the present invention;

[0017] Figure 2 It is a flow chart of the signal-oriented test synchronization and triggering method based on ATML standard of the present invention;

[0018] Figure 3 It is a schematic diagram of the Monitor signal operation state machine based on the ATML standard of the present invention. DETAILED DESCRIPTION

[0019] The following is a further detailed description of a signal-oriented test system and synchronization and triggering method based on the ATML standard proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description and claims. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0020] The present invention provides a signal-oriented test system based on the ATML standard, which comprises the following components: Figure 1 As shown, including:

[0021] 1) Synchronization and trigger information description component: It provides a clear description of the test requirements for synchronization and triggering, including signal-based model, time-based model, event-based model and extended model. The Monitor role is a signal role defined by the IEEE1671.1 standard specifically for building synchronization or triggering. It is the carrier of the basic signal and synchronization logic relationship of the synchronization trigger technology. Based on the Monitor role, four signal types are described in detail: Signal-based model (Signal-based), used to monitor the referenced IEEE1641 model signal, describes the generation and output of events when a certain attribute of the monitored signal changes, and generates an event every time the condition is met. Time-based model (Time-Based), used to generate and output events when specific time conditions are met. This model includes the periodic interval and the number of times of generating time events, so as to generate a specific number of events in a certain time period. Event-based model (Event-based), used to implement responses based on existing event-based signals to complete more complex events. This type of event model consists of "From" events and "To" events. In addition to the above three established models, the other extended models (Other) can be extended as needed to realize event generation based on customized situations. Monitor signals can be referenced by the test actions in this test action, including OperationSetup (set signal), OperationChange (signal modification), OperationConnect (establish connection), OperationEnable (enable signal), OperationDisable (disable signal), OperationDisconnect (disconnect), and OperationReset (signal reset). There are two synchronization modes for synchronization elements, one is "SyncTo" and the other is "Gated". Selecting the SyncTo attribute requires pointing to a monitor signal, indicating that the signal action is synchronized with the event generated by the monitor signal. It should be noted that the monitor signal should have at least completed the "set signal" and "enable signal" operations before performing this test action. Selecting the Gated attribute means that the signal operation is controlled by the event, and the form of the control needs to be selected as "With" or "FromTo". Using "With" and pointing to a monitor signal means that the operation is controlled by this monitor signal alone. If "FromTo" is used, the operation requires two signal event controls, and the monitor signals of "From" and "To" need to be clearly defined respectively.

[0022] 2) System integration and path search component: Provides test system integration connection description and automatic search method for trigger synchronization path for synchronization and trigger test requirements; provides description of the relationship between test resources and test system hardware based on ATML system, and realizes automatic allocation of test resources. To realize the execution of synchronization and trigger process, it is necessary to complete the description of system integration first. The ATML files involved include UUT (object description) file, TA (test adapter description) file, TS (test workstation description) file and TI (test instrument description) file. After the description is completed, the automatic search for synchronization and trigger resource path is realized according to the file description. In the process of establishing UUT model, the corresponding Connector connector and Port port are created under the Interface element. The TA model needs to create the corresponding Connector connector and Port port under the Interface element respectively and contain two positive and negative Pin pins respectively, and create the internal network connection description of the two ports, and set the attribute of the connector to "backend" to connect to the TS model. The TS model describes the internal test resources and hardware trigger and synchronization connection information of the test system by describing the interface inside the test station, such as the backplane trigger of PXI and VXI controllers. Taking the PXI bus controller as an example, the multiple buses on its backplane are used to realize the transmission of trigger signals. In order to realize the transmission of trigger signals and the path matching of trigger resources, it is necessary to build an internal Connector connector in the Interface description of the TS file and establish a NetworkList network connection description between ports between the test resources that need synchronization and triggering. The trigger resource (Resource) description of the TI model model instrument includes the trigger element (Trigger) in the instrument resource to describe the trigger and synchronization capabilities of the instrument, establish a trigger port (TriggerPort), and the port types include digital trigger, analog trigger, soft trigger, etc., clarify the specific properties of this type of trigger. Taking analog trigger as an example, it is necessary to determine the level value of the trigger signal in the "Level" attribute. Finally, the constructed file realizes the automatic search of the synchronization and trigger resource path and the automatic allocation of test resources, and the automatic matching algorithm is called separately and the resource search and allocation results are saved, thereby completing the path search and matching.

[0023] 3) Test execution and state machine components: According to the execution logic specified by the synchronization and triggering test process, the direction of the process is automatically controlled to complete the test execution part. The use of monitoring signals in each test action Operation is processed and analyzed to realize each action of the Monitor signal process in the test execution. The OperationSetup (set signal) action realizes the creation of the instantiation signal of the Monitor signal model, and the Monitor signal enters the usable stop state. The OperationConnect (establish connection) action opens the path between the signal and the test resource, realizes the establishment of the signal link and the setting of the test resource. If it is the trigger setting of the test instrument, the test instrument obtains the corresponding parameter setting information at this time. The OperationEnable (enable signal) action realizes the enable operation of the Monitor signal, indicating that the signal starts to be enabled and can generate events. If the signal control is a test instrument, the corresponding channel of the test instrument is enabled or starts to enter the trigger waiting model. The OperationChange (signal modification) action realizes the attribute modification operation of the Monitor signal. After the action is executed, the modification of a certain attribute value of the signal is completed and takes effect immediately. The OperationDisable (disable signal) action realizes the deactivation operation of the Monitor signal. After execution, the signal enters the state of being stopped and no longer generates events. The OperationDisconnect action implements the disconnection operation of the previously established path of the Monitor signal. After execution, the signal loses the assigned test resources and becomes a usable stop state signal. The OperationReset action implements the reset operation of the Monitor signal. No matter what state the signal is currently in, the reset signal will become a usable stop state signal.

[0024] 4) Instrument driver synchronization trigger component: Build a signal driver to complete the instrument action of the test system, and use synchronization and trigger implementation technology to implement the parsing and action conversion of the information described in the synchronization and triggering description in the signal model. For the static model of the signal, the signal driver implements the parsing and operation of the static model description supported by itself. Taking the PULSED_DC_SIGNAL signal in the TSF signal model as an example, the signal is combined into a complete signal by the time event provided by the "PDC_Pulse" component and other BSC components. The pulse generator can support this signal model and can realize the synchronous combination of DC signals and time signals. The signal driver developed for the pulse generator implements the parsing of the attribute values ​​and other information of each element in the PULSED_DC_SIGNAL signal model, and converts it into operations for instrument output. After the resources are successfully allocated during the execution of the test system, the instrument operation action of the signal is completed. For complex signal combinations, the combination mode of the signal is analyzed. The signal driver for the development of the combination model first confirms the various signal combinations and synchronous trigger forms that the instrument can support. After the determination is completed, based on the driving mode of the signal combination, a signal synchronization combination matrix is ​​established, and all matrix relationships with the ability to trigger synchronous signal combinations are constructed. After the signal combination of the test process is passed to the signal driver, the instrument drive matrix capability is judged. If the synchronous trigger capability is met, the operation path is built. The process of establishing the synchronous and triggered operation path is consistent with the process in the static model.

[0025] Based on the above-mentioned signal-oriented test system based on the ATML standard, the present invention also provides a signal-oriented test synchronization and triggering method based on the ATML standard, which describes the UUT model, TD model, WL model, TA model, TS model, and TI model in the ATML model file, and finally obtains the execution results of synchronization and triggering, specifically including:

[0026] Step 1) Describe the synchronization and trigger information for the TD model and UUT model in the ATML model, and provide a clear description of the trigger and synchronization test requirements, including signal-based models, time-based models, event-based models, and extended models;

[0027] Step 2) for the WL model, TA model, TS model and TI model in the ATML model, provide test system integrated wiring description and automatic search for synchronization and trigger paths for synchronization and trigger test requirements;

[0028] Step 3) According to the execution logic specified in the synchronization and trigger test process, the direction of the process is automatically controlled to complete the test execution part. Process and analyze the use of monitoring signals for each test action Operation to implement each action of the Monitor signal process in the test execution;

[0029] Step 4) Build a signal driver to complete the test system instrument action, use synchronization and trigger implementation technology to implement the information analysis and action conversion of synchronization and trigger description in the signal model, convert synchronization and trigger requirements into synchronization and trigger operations of software and hardware, and realize synchronization trigger operations.

[0030] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A signal-oriented test system based on the ATML standard, characterized in that: include: Synchronization and trigger information description component, system integration and path finding component, test execution and state machine component and instrument driver synchronization trigger component; The synchronization and trigger information description component provides a description for the synchronization and trigger test requirements; the system integration and path search component provides a test system integration connection description and an automatic search method for trigger synchronization paths for the synchronization and trigger test requirements; The test execution and state machine component automatically controls the direction of the process according to the execution logic specified by the synchronization and trigger test process to complete the test execution part; the instrument driver synchronization trigger component builds a signal driver to complete the test system instrument action, and uses the synchronization and trigger implementation technology to implement the information analysis and action conversion of the synchronization and trigger description in the signal model; the system integration and path finding component: the ATML files involved include UUT test object description file, TA test adapter description file, TS test workstation description file and TI test instrument description file; During the process of establishing the UUT model, the corresponding Connector and Port are created under the Interface element. The TA model needs to create the corresponding Connector and Port under the Interface element and include two positive and negative Pin pins respectively, and create the internal network connection description of the two ports, and set the connector attribute to "backend" to connect the TS model; the TS model describes the internal test resources and hardware trigger and synchronization connection information of the test system by describing the interface inside the test station; the trigger resource Resource description of the TI model instrument, including the trigger element Trigger in the instrument resource, describes the trigger and synchronization capabilities of the instrument, establishes the trigger port TriggerPort, and the port types include digital trigger, analog trigger, and soft trigger, and clarifies the specific attributes of the trigger; finally, the automatic search of the synchronization and trigger resource path and the automatic allocation of test resources are realized through the constructed file, and the automatic matching algorithm is called separately and the resource search and allocation results are saved, thereby completing the path search and matching; The synchronization and trigger information description component describes four signal types in detail based on the Monitor role, including a signal-based model, a time-based model, an event-based model and an extended model; the signal-based model is used to monitor the referenced IEEE1641 model signal, and describes the generation and output of an event when a certain attribute of the monitored signal undergoes a specified change, and an event is generated each time the condition is met; the time-based model is used to generate and output an event when a specific time condition is met. The model includes the periodic interval and the number of times the time event is generated, so as to generate a specific number of events in a certain time period; the event-based model is used to implement a response based on an existing event-type signal to complete a more complex event. The event model is composed of a "From" event and a "To" event; the extended model is additionally extended as needed to realize the generation of events based on custom situations; the Monitor signal can be referenced by the test actions in this test action, including the OperationSetup setting signal, the OperationChange signal modification, and the OperationChange signal modification. OperationConnect establishes a connection, OperationEnable enables the signal, OperationDisable disables the signal, OperationDisconnect disconnects the connection, and OperationReset resets the signal; there are two synchronization modes for synchronization elements, one is "SyncTo" and the other is "Gated"; selecting the SyncTo attribute requires pointing to a monitor signal, indicating that the signal action is synchronized with the event generated by the monitor signal. Before performing the test action, the monitor signal should have at least completed the "Set Signal" and "Enable Signal" operations; selecting the Gated attribute means that the signal operation is controlled by the event, and you need to select the form of the control as "With" or "FromTo". Using "With" and pointing to a monitor signal means that the operation is controlled by this monitor signal alone. If "FromTo" is used, the operation needs to be controlled by two signal events, and the monitor signals of "From" and "To" need to be specified respectively; The test execution and state machine components: process and analyze the use of monitoring signals for each test action Operation, and implement each action of the Monitor signal process in the test execution; OperationSetup sets the signal action to implement the creation of an instantiation signal of the Monitor signal model, and the Monitor signal enters a usable stop state; OperationConnect establishes the connection action to open the path between the signal and the test resource, and implements the establishment of the signal link and the setting of the test resource; OperationEnable enables the signal action to implement the enable operation of the Monitor signal, indicating that the signal is enabled and can generate events. If the signal control is a test instrument, the corresponding channel of the test instrument is enabled or starts to enter the trigger waiting mode. Type; OperationChange signal modification action implements the attribute modification operation of the Monitor signal. After the action is executed, the modification of a certain attribute value of the signal is completed and takes effect immediately; OperationDisable disable signal action implements the deactivation operation of the Monitor signal. After execution, the signal enters the state of discontinuation and no longer generates events; OperationDisconnect disconnection action implements the disconnection operation of the previously established path of the Monitor signal. After execution, the signal loses the allocated test resources and becomes a usable stop state signal; OperationReset signal reset action implements the reset operation of the Monitor signal. No matter what state the signal is currently in, the reset signal will become a usable stop state signal.

2. The signal-oriented test system based on the ATML standard as claimed in claim 1, characterized in that: The ATML files involved in the test system integration connection description include the UUT file for the object under test description, the TA file for the test adapter description, the TS file for the test workstation description, and the TI file for the test instrument description.

3. A signal-oriented test synchronization and triggering method based on the ATML standard, based on any test system according to claim 1 or 2, characterized in that: include: Step 1) Describe the synchronization and trigger information for the TD model and the UUT model in the ATML model; Step 2) for the WL model, TA model, TS model and TI model in the ATML model, provide test system integrated wiring description and automatic search for synchronization and trigger paths for synchronization and trigger test requirements; Step 3) Automatically control the direction of the process according to the execution logic specified in the synchronization and trigger test process to complete the test execution part; Step 4) Build a signal driver to complete the test system instrument action and realize synchronization and triggering operations.

4. The signal-oriented test synchronization and triggering method based on the ATML standard as claimed in claim 3, characterized in that: The step 3) also includes: processing and analyzing the use of monitoring signals for each test action, and implementing each action of the monitor signal flow in the test execution.

5. The signal-oriented test synchronization and triggering method based on the ATML standard as claimed in claim 3 or 4, characterized in that: The step 4) also includes: utilizing synchronization and triggering implementation technology to implement parsing and action conversion of the information described in the synchronization and triggering in the signal model, and converting the synchronization and triggering requirements into synchronization and triggering operations of software and hardware.