Design of A Missile Launcher Test System Based On Virtual Instrument I
Design of A Missile Launcher Test System Based On Virtual Instrument I
field test, a missile launcher test system is designed based on II. OPERATION MECHANISM OF
virtual instrument and PCI bus. The composition, working
principle, hardware and software structure of the system are SYSTEM
introduced. Some key techniques, such as multithreading
technology, signal processing and data storage under
A. System Structure and Working Mechanism
LabwindowslCVI environment are expatiated. It has been used
in development and experiment of a new missile launcher. According to the performance characteristics of a
Application proves that the system has the advantages of easy
new launcher and the requirement of design task, the
implementation, high reliability and good operability.
Keywords - virtual Instrument; PCI Bus; test system;
test equipment must be small and light. It can simulate
multithreading both aircraft and missile work environment to conduct
a comprehensive test of the launch device. The
I. INTRODUCTION principle of the system is shown in figure 1. Test
equipment and missile launcher are connected to form
Launcher is an important part of a missile weapon a closed loop system. It tests aircraft, missiles and bus
system; its role is to carry the missile on the aircraft, communication interface and provides diagnostic
ensure interface connection with other system and information of launch device.
i
control the whole launch process of missile[ l. As an
important part of rail type launcher, electrical
components inside the launcher undertakes power
supply, launch preparation, and identifYing missile
23
through commutating with aircraft avionics system[ - 1.
Launch control box is the core of electric control
equipment, including bus interface with the computer
system and control function circuit, the ignition circuit,
Missile
launch timing control, etc., are used to implement the Interface L':::::===::::J
communication between the aircraft and missile,
Fig. 1: Schematic diagram ofthe test system
complete missiles preparation and launch.
In the development and production stage as well as Major functions of the system can be summarized
in the field environment, it has become an urgent need
as follows:
to achieve convenient testing and maintenance, keeps
in good technical condition and play the greatest ( 1) Simulate control sequence of launch device;
effectiveness in the missile weapon system. It is (2) Simulate signal and timing of the aircraft
necessary to develop launcher test system.
weapon bus;
We applied Virtual Instrument (VI) technology to
develop missile launcher test system. VI makes most (3) Check the correctness of launcher interface with
of the available resources to realize the total functions aircraft electrical interface and missile electrical
of the common instrument and some functions that can
interface;
not be performed by common instruments. The system
can test electrical properties and electrical components (4) Test technique state of launch device circuit box
(circuit box, power box) quickly and conveniently. It and power box;
can simulate various fault state of missile launcher
(5) Detect launcher bus communication function
device and test fault reporting capabilities. It makes
the technical staff to carry out protection and and serial communication function;
maintenance of the launcher device conveniently. (6) Simulate all kinds of fault state of missile and
1410
2015 IEEE 12th International Conference on Electronic Measurement & Instruments ICEMT'2015
Based on the analysis of principle, functions and discrete control signals, which doesn't include bus
signals.
signals, combined with major working environment
1553B bus module can simulate airplane fire
(Mainly used for functional testing and performance control system to receive and send Bus signal and
testing inside and outside the field before launch judge whether the signals transmitted through 1553B
bus between airplane and missile launcher are accord
device manufactured) of the launch device and test
with the data transmission standard.
equipment, fully take into account the cost of the ARINC429 bus module is used to simulate missile
equipment control requirements and ensure to communicate with airplane through launcher device,
and also receive signals from other systems, such as
expansibility, we design the virtual instrument test
INS. It can judge whether the signals transmitted
system based on PCI bus architecture. Main signals of through ARINC429 bus between missile and launcher
the launcher include digital quantity, analog quantity, are correct.
With the modules above, the hardware integration
switch quantity and bus signal. The structure of the
not only meets the needs of the system software, and
system is shown in figure 2. has certain extensibility and openness for farther
development.
Missile Launcher Test System
The system crate is water-repellent, crashworthy
-
"d
r:/l
and dustproof, which is suitable for harsh
0
::I c
"d 0 � environments, can be widely used in field test and
0 §" �
"0
t§:
"0
� CJ> V1 0 experiment.
.....
:l. V1
.j:>.
� ..... (p �
� w
tv
0 � 0
(p � co
\0
s·
n co co -
0
CJ> (Jq B. Software Structure Analysis
n co 0 0
� -
P" 0
3
0 �
.., � co 0"
(1)
CJ>
�
CJ> "0
� p.. p.. 0 CJ>
.....
According to the functions, software system can be
i:!J.
�
p.. � n n
V>
(1)
p.. 0
"0 � divided into different software modules. It includes
.., (1)
V>
(p system initialization, system self-test, system
calibration, default setting, system help, return and
AC,DC Power Supply
close modules. Each calls the corresponding function,
and test system executes a test item according to the
user's operation. The structure of the software system
is shown in figure 3.
s:::
� ��
-0
C/O
=-:> '-; <3
'"0
� ??
� �
�
Missile Launcher ....
<=> � CD
!f
g
.....
1
� �
'" = <il
..... ...,
J. �
=-:> <=>
Fig. 2: Block diagram ofthe system s a CD [ CD
"'"
.....
g.
"'"
g" �
;=+.
til �
phase alternating current test module, digital I/O ...... So
� 0
'"
� � =-
�
f!- '" 5i
a- g
�
;.s·
=-
module, I553B-bus
=-
;.s·
module and ARINC429-bus =
...,
� 0
,..,
g-
�
� �=r g" CD
4 g- ,.., "'" CD
module[ l. S CD "'"
= "'" CD =<
"'- aq
§
�
l-
�
..... 0- 0
� 0..
.g" �
=-:> en c
=-:> �
g.
�
Signal generation module provides the missile <=> = 6'
'"
"'- "'-
�.
= 0...
control signals, fire signal and power supply signals. Fig. 3: The structure diagram of the software system
1411
2015 IEEE 12th International Conference on Electronic Measurement & Instruments ICEMT'2015
....
(I)
only required to simulate airplane to provide power :l'" CO �
rJl
�
(I)
CO 0 0 � 0
supply box with three-phase AC power supply and 0 ;< 0.. 0 :l
control signal, DC power signal detection power
supply box should be given.
.... .... .... .... ..,
-l
(I)
rJl
;<
-l
(I)
rJl
-l
(I)
rJl
(I)
-l
(I)
rJl
:l
�.
0 ....
�.
0
5'
5' (Jq
The launcher equipment detection includes launcher (Jq
1412
2015 IEEE 12th International Conference on Electronic Measurement & Instruments ICEMT'2015
I�C��'Jjl
First, create a new word document with file name
testdata.doc. Fill the test item in the word document
according to the experimental requirements and report
Fig. 5 : Block diagram of self-test and calibration
format. Secondly, according to the reporting
Using the rich signal resource, the system can requirements, add bookmarks into a good template,
realize self-test each module of the system and mark out appropriate place at corresponding
location for test data and conclusion, record
C. Multithreading Technology
bookmarks names. Finally, save the report template,
9 ll
Launcher testing process need a large amount of store in root directory of the project[ - l.
data collection and analysis of these data include Tn order to avoid the template be modified illegally,
analog signals, multi-channel digital signal, high-speed the attribute is set to "read only".
bus signal, while guarantee the real time and reliability (2) Report generation and program design
of system data, the system requires a high degree of Put the corresponding instrument driver files and
maintainability and testability. Tn order to ensure the header files into the project. Load the driver files in
real-time performance of the system, make full use of ProjectTree window. WordReport and Microsoft Word
the operating system resources, this article adopts 9.0 ObjectLibrary will appear in the instruments of
multi-thread technology to realize the data acquisition, LibraryTree window. And then, we can choose the
processing and transmission system, to ensure the function to generate reports.
accuracy of work timing system, realize the launchers IIDefine handles of word routine, document, and
each performance monitoring, fault diagnosis and cursor.
comprehensive test. static CAObjHandle appHandle=O;
Software in the main thread used to run the user static CAObjHandle docHandle=O;
interface, the time demand of the operation run on the static CAObjHandle currSelHandle = 0;
thread is higher, such as data acquisition and IICall MicrosoftWord application and word report
8
processing, and analysis[ 1. In the user interface for template document
operation, the operating system will be thread switches, WordRpt_ApplicationNew (VTRUE,&appHandle);
provide the time needed to complete the task for other char fileName[300];
threads. Of all the concurrent threads, the thread GetProjectDir (fileName);
responsible for data acquisition thread priority is strcat(fiIeName, " \testdata. doc");
second only to the user interface thread. Adopt WordRpt_DocumentOpen(appHandle, fileName,
multithreading between the key problem is the thread &doc-handle);
of data protection, that is, the operation to prevent IILocate the cursor position to "bookmark", and fill
multiple threads at the same time the same variable, in the blanks with corresponding data by the automatic
lead to logic errors. This system adopts the thread safe measurement and control program.
queue, setting up multi-threading mutex object For example, "dhtime" is the name of the bookmark
mechanism to protect the shared data, thread in word template, set in advance. Now fill the test
synchronization and communication, realize the variable dhcount in dhtime. The code is written as
security of data transmission between threads. In follows:
establishing a thread-safe queue at the same time set Fmt(reportstr,"%s<%d", dhcount);
the callback function, when there is a thread to add WordRpt_ GoToBookmark (docHandle, "dhtime"»;
data to the thread safe queue or read data, immediately II move cursor to bookmark "dhtime"
trigger event callback function, these functions in data
1413
2015 IEEE 12th International Conference on Electronic Measurement & Instruments ICEMT'2015
template and adding bookmarks automatically, we [3] SUN X H, MA Q, HUANG Y, et al. Design of a missile
test system based on 1553B bus[J]. Aeronautical
improve the real-time performance of the system.
Computing Technique,2011,41(4): 82-84.
Tn order to record test data scientifically, and [4] XIE H Y, XIAO M Q, WU W CH. Research on universal
facilitate monitoring and analysis, quality management test system of a missile launcher in line and
and process, bus signal must be stored real-time. Txt shop[C]IIICEMT'09. 9th International Conference on
format files are used to storage bus data in real time to Electronic Measurement & Instruments, IEEE, 2009(3):
160-163.
facilitate analysis afterwards.
[5] WANG J X, SUI M L. The LabWindows/CVI virtual
£. Data Processing and Bus Message Parsing instrument technology and its application in
engineering[M]. Chemical Industry Press,2011.
The data processing module realizes the [6] ZHANG Y, GU J H, MIAO K J, et al. The design and
pretreatment and analysis of sample signals. With the implementation of a launch control box power supply
signal processing function of advanced analysis library component automatic test system[J]. Electronic Design
Engineering,2014,22(9): 69-73.
in LabWindows/CVI, we can analysis the collected
[7] WANG L, XU P, LTU B. Design and Implementation of
data such as AC voltage, DC voltage, AC phase in
1553B BUS Fault Injection Device in BIT Experiment[J].
time-domain. Computer Measurement & Control, 2011, 19(12): 2942-
A universal message analysis function of software 2945.
12 13
is designed[ - 1. Based on the detailed description of [8] HAN H L, WANG H. Study on Test Launch Control
message definition, message storage and message System Based on Virtual Instrument Technology[J].
parsing, the software module can parse the message on Computer Measurement & Control,2011,19(3): 621-624.
1553B bus and 429 bus real-time, which is significant [9] ITA H J, DONG X L, FU Y L. Approaches of Template
for designer and tester to analysis the function of each Reports Generating Based on LabWindows/CVI[J].
Measurement & Control Technology,2008,27(8): 89-91.
unit.
[10] National Instruments Corporation, LabW indows/CVI
Help[DB/OL]. http://sine. ni. com /psP/apP/doc/P/id/psp-
IV. CONCLUSION 272,2009.
[11] YANG H H, WANG CH. Report technology based on
Launcher is an important part of a missile weapon LabW indows/CVI[J]. Science Technology and
1414