Full text
Introduction
Along with rapid development of technology, engineering vehicle electronic equipment s
develop toward the direction of digitalization ,
integration ,
automation and int elligent
[1] . PC104 is the industrial control bus which is designed specifically
for embedded control .
I t inherits the advantage of open bus structure of IBM - PC, so it is fully compat ible with IBM - PC .
Meanwhile,
it can meet the special requirements of embe dded control such as small size, low power consumption, high reliability, convenient programming and so on. It adopts a modular structure that is easy to be expanded and installed in the fastening stack manner
[2]. Because
engineering vehicle electronic eq uipment s
become more and more integrated , the difficulty of test continue to increase.
T herefore, we adopt PC104 bus to design test system.
(2013) 238 -
© The American Computational Science Society. All rights reserved.
2.
S ystem components
T est system is mainly used to test and locate
rapid ly problems of Engineering vehicle electroni c equipment s
such as main box, GPS positioning and orientation system, PLC control box and power distribution box and so on.
Problems can be located
to replaceable unit, so
it can help equipment maintenance person repair them rapid ly . Figure shows
test sy stem structure which is composed of PC104 module, a djustment module, test interface, test cable.
Fig. 1 Test system structure
3.
D esign of h ardware
3.1 Overall plan
The hardware circuit of
test system is controlled and managed by PC104 computer integrated circuit ,
which is composed of a AC/ DC power supply circuit, keyboard display circuit, simulation switch quantity instruction I/O circuit, simulation
quantity
instruction I/O circuit, simulat ion engineering vehicle high/low di rection angle circuit , simulation engineering vehicle tilt angle circuit and communication circuit .
A s
show n in Figure .
Fig . Test system circuit
1) PC104 computer integrated circuit
PC104 computer integrated circuit us ing embedded low power consumption CPU module is
in charge of coordinat ion of the test system and analysis and processing of signal, at the same time
there are many peripherals such as serial port , I/O
port , A/D port, D/A port and so on .
2)
Keybo a rd displ ay circuit
Keyboard display circuit is used to input
user test command and display data, of which the design adopt s a wide temperature screen and a thin film switch.
3)
AC/ DC power supply circuit
In order to ensure the test system being used convenien tly in the open , the power supply system
of test system uses AC/ DC power supply circuit [3], which can s uppl y either 220V AC power, or 28V DC power, it provide s 28V, 15V or 5V DC voltage
t hrough the internal conversion module in AC/ DC power supply circuit ,
therefore ensure the test system work normal ly .
As shown in Figure
below .
(2013) 238 -
© The American Computational Science Society. All rights reserved.
Fig .
3 AC/DC conversion
4) S witch quantity instruction output circuit
Because there are so many
kinds of switch
quantity input instruction to
measur ed box , we use mult technique and there is a total of 38 simulation s
switch quantity output instruction. Because the high est voltage of them
is 28V but
the maximum output voltage of I/O port of PC104
computer is 5V ,
h ere we use MC1413 integrated circuit [4 ] as voltage conversion circuit to ensure that it can match with the highest one . About
the process of the measured box switch quantity input instruction, we solve it through the computer software programming .
5) S witch quantity instruction input circuit
F acing the simulation switch quantity output instruction of t he measured body,
we also used mult technique and there is a total of 24 switch quantity input instruction. Because the high est
voltage of them
is 28V but maximum in put voltage of PC104 compute r I/O port
is 5V , here we use the resistor divider form as voltage conversion circuit
to ensure that it can match with the high voltage of
measured body. For the process of measured box switch quantity
out put instruction, we also solve it through the compu ter software programming .
6) Simulation quantity output circuit
The simulation quantity output circuit is designed to test engineering vehicle distribution box servo drive circuit .It simulate the measured servo drive circuit work through using 5V simulati on signal which is supplied by computer D/A as the simulation quantity input instrument of servo drive circuit .
7) Simulation quantity input circuit
Simulation quantity input circuit is also designed for engineering vehicle servo drive circuit, it send
simulation quantity instrument coming from the simulation quantity output circuit to the detected servo drive circuit, in order to generate servo drive circuit high/low direction output signals .
T hese signals access simulation
quantity input circuit
and is
sent to the computer A/D channel through the resistor divider to judge whether the high/low
direction servo drive circuit is normal .
8) S imulation engineering vehicle high/low
direction angle circuit
S imulation engineering vehicle height direction angle circuit
is used to test the change of high/low
direction angle of vehicle when it is working.
It adopts 4 DRDC module which convert the data into analog signals of resolver ,
in order to simulate the vehicle high/low direction angle.
9) S imulation engineer ing vehicle tilt circuit
S imulation engineering vehicle tilt circuit also adopts DRDC module, which convert the data into the analog signal of inclinometer which measure engineering vehicle longitudinal and transverse slope angle for simulat ion the analog signal of
inclinometer,
in order to ensure that main box can be operated in the allowed range of tilt angles when it is working . In addition, it also can detect the main
box angle conversion circuit.
(2013) 238 -
© The American Computational Science Society. All rights reserved.
10) C ommunication circuit
Communication circuit [5] comm unicate s with the GPS through the computer 's RS232 port. During the working time , test system may be seen as the one which test communication between the GPS and the main box.
.
S election of h ardware equipment
According to hardware
and the actual demand of
A/D, D/A, serial port module and DIO module, we select the CDM1261 computer and peripheral circuit plug board which contains all resources
needed . In addition, the CDM1261 computer also supports EL640.400 - C3 wide temperature screen .
3.3
D esign of test sys tem interface
I n order to protect system security and prevent cable from inserting wrong , test system interface panel adopts different interface design . T here are kind of interface s in test system which are designed respectively for the main box, distri bution bo x, PLC box, GPS ,
power supply input and printer output.
3.4 D esign of test system connection
B ecause there are many interface s in t est system
and
it can only be connected with only one interface when working , therefore, the cable bifurcation meth od achieve the connection between
the detection system and the measured box. Among them,No.1 and No .2 cable connect the host machine box; No. and No. cable connect
PLC box ; No.5 cable connect an electrical distribution box; No. and No. cable connec t
GPS box ; No.
cable is 220V AC input
cable; No. cable is 28V DC input
cable; No. cable is connected with the printer.
4.
D esign of software
T he software programming
of t h is system bas ed
on BC++ 3.1 integrated development environment use hierarchi cal and modular system which combine the functional modules of test , board hardware driving modules and maintenance database . T he software is clear ,
portable and open and it is easy to upgrade. At the same time t he software has many function s,
such as the man machine interaction, equipment testing, fault analysis and record keeping and print. The Software
structure is as shown in Figure
below.
Fig .
4 Software structure
.1
B asic database
Basic database is mainly used to save bas ic standard data coming from test .they are designed to notepads in order to save switch quantity instruction conveniently which is need in logical test and the simulation instruction of input and output signal .
Each module call s a corresponding data f ile during testing time
in order to judge whether the results are right.
(2013) 238 -
© The American Computational Science Society. All rights reserved.
4.2
Main box function test module
The test module works through
simulation quantity
I/O interface circuit and communication circuit .
It tests to find whether the working conditions are n ormal a ccord ing to the logic process of
main box .
4.3
D istribution box function test modul e
The test module works through analog I/O
interface circuit . It tests to find whether the working conditions are normal a ccord ing to the logic process of the distribut ion box .
4.4
PLC function test module
The test module works through
simulation
I/O
interface circuit . It tests to find whether the working conditions are normal a ccord ing to the logic process of the PLC .
4.5
GPS function test module
The test module works t hrough the influence of
the communication circuit on GPS
[6].
It tests to find whether the working conditions are normal
a ccord ing to analy sis of the testing data .
4.6
D ata query module
System save the test result of each batch of data in order to it can b e visited and printed .
4.7
D ata acquisition card control module
The test module is used to achieve input and
output of switch quantity and simulation quantity and communication interface code, which can be called by other test module s .
5.
E xperiment and resul t s
In order to verify the system performance and
maneuverability,
we take experiment on a particular engineering vehicle .Test procedure
as follows in Figure
.
Fig .
5 Test
procedure
The experimental results are as shown in Tab le
.
T ab le
The experimental results
Program
Technical parameters and requirements
results
Function
W hether it c an be used to test electronic equipment and problem can be located to independent unit.
Y es
P reparation time : ≤ 5 min
3’22”
F unction conversion time : ≤ 10 min
8’16”
T est time : ≤ 3 min
2’48”
Withdraw time : ≤10 min
5’01”
Continuous working time : ≥ 3h 6h
Performance
W hether it is stable, complete, friendly, simple
Y es
(2013) 238 -
© The American Computational Science Society. All rights reserved.
6.
Conclusion
This paper introduce d
the
test system design of electronic equipment o f engineering vehicle based on PC104 bus. Hardware design ma de full use of PC104 bus technology, digital simulation technology and signal processing technology,
and
software design use d hierarchical and modular
s ystem which combined the functional modules of test , board hardware driving modules and maintenance database . Proved by experiments, the system was stable, complete, friendly, simpl y and
the main technical indicators and performance reached the application requirements .
It could successfully help the engineering vehicle repair units and individuals solve
test problem.