CN204188189U - A kind of flexible embedded equipment under test simulator - Google Patents

A kind of flexible embedded equipment under test simulator Download PDF

Info

Publication number
CN204188189U
CN204188189U CN201420250558.0U CN201420250558U CN204188189U CN 204188189 U CN204188189 U CN 204188189U CN 201420250558 U CN201420250558 U CN 201420250558U CN 204188189 U CN204188189 U CN 204188189U
Authority
CN
China
Prior art keywords
under test
equipment under
embedded
simulator
vdcp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201420250558.0U
Other languages
Chinese (zh)
Inventor
张朔
余正伟
范建新
吴冰
肖瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XI'AN NEW SPACE COMPUTERS Co Ltd
Original Assignee
XI'AN NEW SPACE COMPUTERS Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XI'AN NEW SPACE COMPUTERS Co Ltd filed Critical XI'AN NEW SPACE COMPUTERS Co Ltd
Priority to CN201420250558.0U priority Critical patent/CN204188189U/en
Application granted granted Critical
Publication of CN204188189U publication Critical patent/CN204188189U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The utility model discloses a kind of flexible embedded equipment under test simulator.The embedded tested simulator that this utility model relates to is made up of embedded main control unit, analog quantity and number connect test unit, measurement and control bus unit, display unit; By the excitation receiver module of each input block simulation equipment under test of embedded equipment under test simulator, by the response output module of each output unit simulation equipment under test, adopt the VDCP consensus standard that the utility model proposes between measurement and control host computer and embedded subset based on the communication modes of TCP/IP network, thus solve measurement and control area is too dependent on electronics equipment under test problem when developing TT&C system, substantially reduce lead time and the development cost of measuring and controlling equipment, also add extensibility and the reusability of TT&C system.

Description

A kind of flexible embedded equipment under test simulator
Technical field
The utility model relates to electronic equipment observation and control technology field, proposes a kind of flexible embedded equipment under test simulator, particularly proposes virtual unit communications protocol (VDCP) thereon.
Background technology
In the R&D process of TT&C system, need inject the pumping signal of various ways to measurand and read the exciter response of measurand, whether can accurately generate and send pumping signal with verifying test system, whether can receive and analyzing responding signal.Existing method is, makes a real equipment under test, injects pumping signal wherein, collect its feedback signal, thus whether pass judgment on TT&C system function correct.A shortcoming of this method is that Innovation Input is comparatively large, and the lead time is extended, and equipment under test extendability and reusability are not strong, and often developing a project just needs making equipment under test adapted to it, causes unnecessary waste.In addition, pumping signal has multiple pattern, as digital quantity, analog quantity or various measurement and control bus (CAN, RS232/RS422,1553B, AFDX, RapidIO etc.) data, but in existing test macro performance history, usually the pumping signal of certain simple form can only be used, test corresponding function item by item, this mode means are single, and efficiency and accuracy are not high.Along with the complicacy of test macro is more and more higher, require increasingly to increase to system flexibility (extensibility), real-time, reliability and reusability.
Utility model content
For above-mentioned defect of the prior art, the utility model provides a kind of embedded equipment under test simulator, received the manipulation order of measurement and control host computer by VDCP protocol interface based on TCP/IP network, complete the various functions of Reality simulation equipment under test, solve the problem being too dependent on the equipment under test with specific hardware in general TT&C system development process, improve extensibility and the reusability of equipment.Described embedded equipment under test simulator comprises:
Embedded main control unit plate, number connect test cell board, analog input and output cell board, measurement and control bus cell board and display unit;
Described embedded main control unit plate has pci interface slot, and described number connect test cell board, analog input and output cell board and measurement and control bus cell board are arranged on described embedded main control unit plate by described pci interface slot:
LCD display module, is installed on the panel of embedded equipment under test simulator, connects described embedded main control unit plate by data line;
Described embedded main control unit plate is also provided with TCP/IP interface, is connected with outer testing system main frame.
Compared with prior art, the beneficial effects of the utility model are: embedded equipment under test simulator can according to the design of user, the pumping signal of Real-time Collection TT&C system input, and can be as required, to the real-time output response signal of TT&C system equipment, to emulate the function of equipment under test; VDCP agreement by abstract for concrete hardware device be virtual unit, corresponding hardware device is visited by device number and function number, obtain corresponding function, TT&C system equipment room can be made to realize seamless link, simplify the complex logic of cooperative communication, thus make TT&C system just can verify the accuracy of design itself in advance without the need to depending on true measurand, in addition, the use of VDCP agreement substantially increases the extensibility of system and the reusability of each equipment.
Accompanying drawing explanation
Fig. 1 is the flexibility embedded equipment under test simulator president functional block diagram that the utility model proposes
Fig. 2 is the VDCP protocol data unit format figure that the utility model proposes
Fig. 3 is the VDCP protocols work schematic diagram that the utility model proposes
Fig. 4 is the flexibility embedded equipment under test operational order process flow diagram that the utility model proposes
Fig. 5 is the flexibility embedded equipment under test simulator schematic diagram that the utility model proposes
Embodiment
First the abbreviation notation implication used in scheme is explained as follows:
VDCP represents virtual unit communication protocol
VDCP-S representative is based on the server (main control equipment) of virtual unit communication protocol
VDCP-C representative is based on the client (from equipment) of virtual unit communication protocol
The technical scheme that the utility model adopts comprises two aspects: one is embedded equipment under test simulator itself, and two is equipment room communication protocol frameworks, i.e. virtual unit communications protocol VDCP.At hardware view, electronics measurand in various measurement and control area can be simulated as much as possible to make equipment under test, adopt the VxWorks embedded system of Based PC I or cpci bus, use pci bus can realize most of TT&C system and equipment under test function, use VxWorks system can meet the requirement of real-time of most of TT&C system; For without loss of generality, suggested reserved digital quantity, analog quantity and measurement and control bus process board unit.In communication protocol aspect, the standardization communications protocol of equipment room, can simplify the complex logic of TT&C system cotasking; Achieve the standard C source code of VDCP agreement simultaneously, can meet cross-platform user demand, such as main control computer runs Windows system and equipment under test simulator runs VxWorks embedded system.
Below in conjunction with accompanying drawing, the technical solution of the utility model is described in detail.
(1) hardware design:
See accompanying drawing 5, the hardware of the embedded equipment under test simulator that the utility model proposes is made up of embedded main control unit plate, digital signal input-output unit plate, simulating signal input-output unit plate and measurement and control bus cell board.Position annexation between them is the support plate of embedded main control unit plate as whole system, externally provide multiple pci interface slot, digital quantity, simulating signal input-output unit, measurement and control bus unit are installed in embedded master control board by pci interface slot.In addition also having a set of LCD display module, being installed on the panel of embedded equipment under test simulator, for showing the information of input/output signal on each board.
Below above-mentioned modules is described in detail:
Embedded main control unit plate
As the carrier of each functional unit of system, run VxWorks real time operating system, by pci interface, each functional unit is controlled.
Simulating signal input-output unit
Multichannel simulating signal is received and sent.
Digital signal input-output unit
Realize the input and output of hyperchannel Transistor-Transistor Logic level.
Measurement and control bus unit
Realizing full-duplex switched-type measurement and control bus data receiver to send, can be RS232/422,1553B and AFDX Communication Card that TT&C system field is commonly used.
Display unit
Use 4.3 inches of true colour display screen display screen to reduce the overall dimensions of equipment under test simulator, improve its portability, the real time critical data message of equipment under test simulator output is received: as the status information showing numeral, analog input exports, display measurement and control bus communicating status information, display device self-detection result etc. by USB or RS232 bus.
(2) VDCP Protocol Design:
In order to shorten the lead time further and reduce development cost, need the equipment room communications protocol of design safety degree, to increase extensibility and the reusability of system, the network communication mode based on TCP/IP of equipment room in specification TT&C system field.Virtual unit communications protocol VDCP core content is its data packet format in transmission over networks, see Fig. 2.Below its protocol packet data form is described in detail: (unless otherwise noted, the data of this agreement all distribute in the mode of Big-Endian)
Order prefix 1:
Synchronization character label definition is 0x3AA, take 10 bits, represent the initial head of a VDCP bag, in order to prevent the synchronization character label erroneous judgement because network failure causes, introduce initial false proof design, defining initial head prefix is 0x000001, take three bytes, security code is 0xOF, namely except real packet header prefix can use 0x000001, if there are the data of 0x000001 or 0x00000F in packet, need before 0x01 or 0x0F, insert 0x0F security code, namely be 0x00000F01 and 0x00000F0F accordingly, be VDCP coding (see Fig. 3) by this procedure definition, implemented by data sending terminal.At data receiver, if read the data of 0x00000F01 or 0x00000F0F, need 0x0F security code to remove, to recover the True Data that it represents.
Command prioritization, takies 4 bits, namely has 16 kinds of priority, and wherein 15 is limit priority, and 0 is lowest priority.The command word process frequency of suppose priorities 15 is 1, then the command word treatment cycle of corresponding priority 14 is 2, and the command word treatment cycle of priority 13 is 4, the like be 2 N power side, N=(15-priority).Because priority is more, in actual applications, in order to not lose the real-time of system, not advising using too much priority design, and advising use 2 ~ 3 priority.
Asynchronous command mark and asynchronous command response mark, take 1 bit respectively, whether whether expression be asynchronous command and be asynchronous command response, for the asynchronous operation to embedded subset, TT&C system main frame can continue other operation without the need to waiting for the response of embedded subset, is unblock order also known as this type of asynchronous command.
Extended command identifier position, takies 1 bit, and representative of consumer can define the privately owned extension protocol beyond this agreement.Virtual unit function number, takies 12 bits, can the function code name of defining virtual equipment, if open the storage space etc. of equipment, fetch equipment and write device.
Parity check bit, carries out parity checking to whole VDCP bag.
Order prefix 2:
Command word joint number, takies 16 bits, represents the length of VDCP bag, and therefore, the maximum length of a VDCP bag is 65536, and the formula calculating physical length is physical length=command word joint number+1.If a VDCP bag is greater than 65536, above-mentioned expansion flag can be used to wrap to VDCP process of unpacking.
Hedge label (Fence ID), take 16 bits, this is the core realizing asynchronous command, when measurement and control host computer produces a VDCP order, can be added up from 1 by an overall counter, each counting can be used as a Fence ID and uses, Fence ID is with VDCP command transfer extremely embedded subset, after subset completes order, Fence ID is returned to measurement and control host computer, make measurement and control host computer can distinguish this system responses according to Fence ID and belong to which asynchronous command, thus achieve the operation of unblock command response, see Fig. 4.
Order prefix 3:
Virtual device number, takies 8 bits, therefore the maximum support of VDCP agreement of the present utility model 256 subsets, see Fig. 2.
Virtual unit board number, takies 4 bits, and therefore each subset can maximum support 8 PCI boards, when exceeding 8 PCI boards, equipment can be divided into two or more subsets, see Fig. 2.
Virtual unit functional parameter count, represent a VDCP order with number of parameters.
Virtual unit response return code, represents embedded subset and executes VDCP and order the state after word, thus the state making measurement and control host computer obtain order to perform.
User's explosion command function number, representative of consumer custom feature number, thus ensure that agreement of the present utility model itself also possesses extensibility and compatibility.
Data word
Data word forms primarily of VDCP order data, when there is the counting of the virtual unit functional parameter in order prefix 3 M, byte 1 and byte 2 represent the data type of each parameter in order, from byte 3, be followed successively by M parameter value, each parameter takies 4 bytes, and remaining is VDCP data word; When M does not exist, this segment data is data word.
(3) Software for Design:
According to the functional characteristics of equipment under test simulator in whole test macro, when design software, need to consider following program characteristic: real-time, configurability and interactivity, make equipment simulator under limited hardware configuration, play more simulator function.This testing apparatus simulator can come across in whole test macro with the form of single simulation device, can also the form collaborative work of multiple simulator in this test macro, as Fig. 1.
Real-time Design
Equipment simulator is as a kind of high configurable, high flexibility signal source, determine the requirement that equipment simulator software must meet Real-time Design, in a large amount of scientific researches and engineer applied, VxWorks is widely adopted and can meets the requirement of embedded device to real-time, therefore this simulator device adopts brand-new VxWorks 6.6 operating system (VxWorks 6.6 can support more mainstream computer hardware, make test macro performance more superior), exploitation VxWorks real-time testing function program, hardware drive program and network task dispatch deal program (VDCP storehouse).
Configurability designs
Embedded equipment under test simulator must possess configurable function, to complete the accurate output of every simulator, therefore must design configurability interface when design software.These configurability Interface design are embodied in: Software for Design considers parameter configuration and the security value (s) scope thereof of every simulator; Equipment simulator function modoularization, according to the test environment of reality, is placed in kernel or non-core environment runs by functional module, run with the real-time and low power consuming that meet system most possibly.
Interaction designs
The display unit related in the utility model and VDCP agreement make this embedded measurand simulator can as single dummy source work, critical data can be shown in and embed on formula display screen, can also be worked by the mode in TCP/IP real-time performance analog source, be completed the interactive operation of whole system by measurement and control host computer.
(4) structural design
System adopts compact case structure, and embedded main control board and each functional cards are all assemblied in casing, and each external interface is connected on corresponding aviation plug by patchcord, and aviation plug is assemblied on cabinet panel.Equipment set size is about 25 (W) × 30 (D) × 20 (H) cm.Shown in casing panel arrangement schematic diagram 4.
The technical scheme that the utility model provides is further described below with an actual test process.
The process that definition TT&C system main frame performs an operation to virtual unit (embedded measurand simulator or the embedded subelement of TT&C system) is a VDCP operation, according to general TT&C system feature, be two types by VDCP Operation Definition: namely block (or claiming synchronous) operation and unblock (or claiming asynchronous) operation.Just this operation can be returned after an obstructive type VDCP action need obtains the response of virtual unit, a nonobstructive VDCP operates and then directly returns this operation without the need to waiting for virtual unit response, respond by Dynamic System the response that thread realizes monitoring virtual unit, thus reach the object of unblock.Such as, when measurement and control host computer needs the register reading some virtual units, an obstructive type VDCP can be performed operate, particularly, main frame generates VDCP operational command data bag according to the protocol format of accompanying drawing 1, and the asynchronous command flag wherein in command header 1 is set to 0, and then main frame performs security code coding to this packet, and the data stream after coding is submitted to TCP/IP transmission unit, main frame hangs up this operation to wait for the response of virtual unit; After virtual unit termination receives the above-mentioned packet of main frame, first perform security code and remove scanning, then resolution data bag is to identify concrete operation, as read register, after virtual unit obtains corresponding registers value, start to generate VDCP according to the protocol format of accompanying drawing 1 and operate response data packet, and the Fence ID in the VDCP this received bag is written back in VDCP operation response data packet, perform security code coding subsequently, and data stream is submitted to TCP/IP transmission unit; Now, the VDCP that measurement and control host computer network response thread obtains this operation operates respond packet, resolves and obtain register value after performing security code removal scanning, an obstructive type operation end.Correspondingly, if perform a non-blocking operation, then directly return after above-mentioned main frame completes data flow and operate and start to perform other operation, when virtual unit complete operation and after returning to main frame, main frame wakes (the Dynamic System response thread see in accompanying drawing 4) up according to Fence ID, and former VDCP corresponding with this Fence ID operate, thus complete a unblock VDCP and operate.
Special instruction: the utility model also can have other various embodiments; when not deviating from the utility model spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the utility model, but these change accordingly and are out of shape the protection domain that all should belong to claim of the present utility model.

Claims (1)

1. an embedded equipment under test simulator, is characterized in that, comprising:
Embedded main control unit plate, number connect test cell board, analog input and output cell board, measurement and control bus cell board and display unit;
Described embedded main control unit plate has pci interface slot, and described number connect test cell board, analog input and output cell board and measurement and control bus cell board are arranged on described embedded main control unit plate by described pci interface slot:
LCD display module, is installed on the panel of embedded equipment under test simulator, connects described embedded main control unit plate by data line;
Described embedded main control unit plate is also provided with TCP/IP interface, is connected with outer testing system main frame.
CN201420250558.0U 2014-05-16 2014-05-16 A kind of flexible embedded equipment under test simulator Expired - Fee Related CN204188189U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420250558.0U CN204188189U (en) 2014-05-16 2014-05-16 A kind of flexible embedded equipment under test simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420250558.0U CN204188189U (en) 2014-05-16 2014-05-16 A kind of flexible embedded equipment under test simulator

Publications (1)

Publication Number Publication Date
CN204188189U true CN204188189U (en) 2015-03-04

Family

ID=52620174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420250558.0U Expired - Fee Related CN204188189U (en) 2014-05-16 2014-05-16 A kind of flexible embedded equipment under test simulator

Country Status (1)

Country Link
CN (1) CN204188189U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105974907A (en) * 2016-05-12 2016-09-28 上海微小卫星工程中心 Satellite attitude control ground simulation testing system
CN108333958A (en) * 2017-12-29 2018-07-27 北京航天测控技术有限公司 A kind of multiplexing shape General Aviation Simulator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105974907A (en) * 2016-05-12 2016-09-28 上海微小卫星工程中心 Satellite attitude control ground simulation testing system
CN108333958A (en) * 2017-12-29 2018-07-27 北京航天测控技术有限公司 A kind of multiplexing shape General Aviation Simulator

Similar Documents

Publication Publication Date Title
CN105335548B (en) A kind of MCU emulation mode for ICE
CN103984240A (en) Distributed real-time simulation method based on reflective memory network
CN103631688A (en) Method and system for testing interface signal
CN101677277B (en) MODBUS-RTU protocol conformance test method
CN102480467A (en) SOC (System on a Chip) software and hardware collaborative simulation verification method based on network communication protocol
CN109032860A (en) A kind of ARINC429 bus general purpose simulation system and emulation mode
CN110502464A (en) A kind of hot-swappable processing method, device, equipment, system and readable storage medium storing program for executing
CN204188189U (en) A kind of flexible embedded equipment under test simulator
US20070104219A1 (en) System and method to facilitate testing of rapidio components
CN205004841U (en) Intelligence substation equipment and data transmission system thereof
CN103995475B (en) A kind of flexible embedded equipment under test simulator
CN101110019B (en) Method for implementing remote Shell based on VxWorks operating system
CN211509076U (en) FPGA remote loading and debugging system
CN106777755B (en) Verification device and system for spacer layer locking logic
US20090216517A1 (en) Dedicated simulator for testing a usb host solution
CN114745257B (en) Data frame debugging method, device, equipment and storage medium
Chao et al. Design of instrument control system based on LabVIEW
CN105183954A (en) PXI based serial bus health monitoring platform
CN109814816A (en) Increase the system and method for print log in CAN bus
CN201114167Y (en) Dynamically reconfigurable multipath serial interface connector
CN114428702A (en) Information physical test system containing general interface module
CN105376117A (en) FC switch chip data monitoring test method
CN112966335A (en) Interface simulation device and automatic driving simulation test platform
CN207319128U (en) A kind of mainboard and computer equipment
Wang et al. Intelligent library information service terminal based on BDS and wireless communication

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150304