|
Embedded Applications Simulation
Testing System
Embedded Applications Simulation Testing System (simplified
as EASTsys) is an integrated facility of testing all kinds
of embedded softwares in one project according to the different
configurations, which is aiming at the requirements of software
testing need to proceed the software real-time on-line testing
by Holland ABW Company,
Primary purposes
1) EASTsys is used in a relevant computer
electronic controlling system proceeding effective system
testing, detecting and monitoring in many kinds of weapon
equipments, especially in the applications of system-level
software verification testing and validation testing. EASTsys
includes embedded software testing and controlling tool, simulation
models developing tool, testing results analysis tool, real-time
simulation machine, I/O device and so on.
2) EASTsys proceeds software real-time verification testing
under the conditions of real environments, thereby proceeding
exact testing of real-time performance and robustness requested
by softwares.
3) Through the simulations of real cases, EASTsys not only
can reduce the risks and costs, meanwhile record every operation
of softwares for testing at large, but also confirm whether
softwares for testing are eligible or not by testing their
responses and disposals in various cases are correct, reasonable
or not. According to the scenes provided by testing scripts
and simulation models, EASTsys can find the potential defects
so as to improve the reliability of softwares.
4) The current software testing tools are taken into sufficient
consideration by the design of EASTsys which combines with
the general means of embedded software testing, as well as
starts from the requirements of actual testing work. As improving
the generalization and expansibility of the whole system,
EASTsys guarantees the reliability of software testing platform
and meets the needs of customers for embedded software testing.
1. The system functions of EASTsys
1.1 keywords
Embedded software testing
Simulation environment
Real-time scheduling
1553B Bus and so on
1.2 system functions
1.2.1 Functions of embedded software simulation testing
system as follows:
1) According to the requirements of softwares under testing,
the datum of simulation fieldbus system can provide softwares
under testing with all the stimulation from the bus beyond
themselves.
2) According to the different testing objects, the embedded
software simulation testing system can provide all kinds of
electric signal power origins beyond the bus.
3) Real-time monitoring and analysis for running state of
fieldbus.
4) Provide nice man-machine alternation interface, control
all the facilities of real-time online testing and evaluating
platform, complete software testing and evaluation, provide
needed cases of all the software testings.
5) Complete every real-time scheduling of testing and evaluating
cases and tasks, guarantee real-time feature needed by software
testing and evaluation.
2. Detailed design
Embedded software simulation testing system is a system of
concentrating data management and distributing data disposal
based on lacal area network, which is composed of real-time
simulation computer, I/O system, software evaluating and controlling
modules, testing results analysis tool, bus simulation and
bus monitoring and controlling modules as well as real-time
scheduling modules.
2.1 embedded software simulation testing system design
The embedded software simulation testing system takes a sever
with high-reliability and high-stability as the testing data
exchange center of real-time online testing and evaluation,
where all the testing datum are memorized.
As the embedded software simulation testing is proceeding,
the testing and evaluating process is controlled by software
testing and evaluating terminal. Each front end facility can
be set by software testing and evaluation terminal. Meanwhile,
the datum and analysis results collected by all the front
end facilities can be displayed on software testing and evaluating
terminal. Testing and evaluating cases generated by each front
end are sent out by testing and evaluating terminal.
2.1.1 facility framework
Generalization and high-reliability technologies have been
possibly adopted into models selection of facilities and designs
of embedded software simulation testing systems, also designed
combining with standard interface, which can improve generalization
and displacement of embedded software simulation testing systems,
moreover ensuring the expansibility of the platform. Figure
1 is the facility framework of embedded software simulation
testing system.
Figure 1. the facility framework of embedded software simulation
testing system.
2.1.2 external interface design
1) There are two main types of interfaces in embedded software
simulation testing system, one is fieldbus interface and the
other is the interfece providing all kinds of electrical signals
to the board of the embedded software under testing.
2) The designs of this embedded software simulation testing
systems adopt the buses of the fieldbuses1553B. So the bus
interfaces of the systems are the fieldbus interfaces. The
hardware designs of these interfaces must keep in step with
the interfaces of facilities under testing.
3)Since there are a large number of embedded softwares in
the facilities under testing and the differences of electrical
signal interfaces in each embedded software boards, so different
softwares in external interfaces design must be fully considered.
The generations of external sensor stimulation signals during
software testings is have close connections with their dynamics
modelling softwares. The descriptions of electrical signal
interfaces of software boards are not included in this scheme.
During the real-time online evaluation of this software, necessarily
with the cooperation with the relevant facilities.
According to the practical situations of each embedded software
board, the external interface of embedded software simulation
testing system is as table 1.
Table 1
Types of
External Interface |
Quantity |
Remarks |
Digital Amount I/O Card |
3 |
PXI Interface Card,24 I/24 O |
Simulated Amount I/O Card |
3 |
PXI Interface face , 24 simulated output |
Serial Capture |
1 |
4 Serial Card?Cable |
ARINC 429 Bus Signal |
1 |
Interface; PXI interface,plug and play
Channel:2 sending 4 recieving;high, low speed and changeable
speed; FIFO(first-in last-out)and the ways of team transmission,
receive the data smoothing, programmable time mark resolution |
1553B Bus |
1 |
1553 special wires, Connectors, Couplers,
termination resistors |
RS-422 Bus |
1 |
PXI 4 Port Interface Card; the address of I/O is distributed
by PCI plug and play automatically; improve the interrupt
state register of system performance. |
Ethernet Bus(I/O) |
1 |
1GB |
2.1.3 hardware design
Embedded software simulation testing system is composed of
seven parts, which are real-time scheduling module, software
evaluating and controlling terminal, bus simulation front
end, bus monitoring analysis front end, external signal interface
facility, fieldbus cables, and network supporting facility.
2.1.3.1 real-time scheduling
Real-time Scheduling software is the centre of real-time online
evaluation platform, which gathers the datum from terminal
and front end as well as the datum from other facilities,
then distributes to relevant facilities.
2.1.3.2 software evaluating and controlling
Software evaluating and controlling terminal adopts with PC.
As for the software evaluating and controlling terminal in
this platform is the only facility, to which evaluators have
to face in a long term, so the terminal adopts with a better
configuration.
2.1.3.3 bus simulation
Bus simulation front end uses a IPC with high reliability
based on PXI bus, which is PXI chassis. This chassis provides
PXI peripheral slot in a system. And all the PXI slots provide
internal 10MHz reference clocks regulated in PXI standards,
as well as star triggers, PXI trigger buses and PXI part buses.
All the PXI chassises are equipped with the technical grade
ATX electric power for providing the system with economic
and reliable power. The alarm-reporting module of chassises
can watch over the state of power supply, temperature and
cooling fan. Once a mistake is found, the LED and buzzer will
start working. The malfunctioned fan can be taken out of the
front end panel and support hot-plugging, which can reduce
the average restoring time.
2.1.3.4 bus monitoring analysis front
end
The hardware design of both bus monitoring analysis front
end and bus simulation front end is same.
2.1.3.5 external signal interface
facilities
The platform of external signal interface facility is the
same as the bus simulation front end, which is also the PXI
chassises equipped with PXI system controller. According to
the current software evaluating objects, the types of cards
equipped with external signal interface facilities are digital
amount I/O card and simulation amount I/O card.
2.1.3.6 1553B fieldbus cables
Processing according to bus interface style for actual use,
then it is used for software evaluating bus and through cables.
2.1.3.7 network supporting facilities
The LAN of embedded software simulation testing system uses
Fast Ethernet and TCP/IP in industrial standard, which provides
standard interconnection hardware and software interface for
the whole system, simplifies the interface of each evaluating
facilities and also provides topology flexibility to the maximum,
guarantee biggish expandability of the system.
The network facilities include fast Ethernet routing exchange
computer and network writing.
2.1.4 software design
The embedded software simulation testing system is composed
of four parts, which are real-time testing software, software
evaluating and controlling software, bus simulation software,
bus monitoring and analysis software, external signal interface
facilities controlling software. All above softwares have
adopted the uniform requirements of software network interface
for the convenience of functions expansion and the development
and debug of softwares.
2.1.4.1 real-time scheduling software
Through the fast Ethernet, the real-time scheduling software
recieve the datum from front end and external interface facilities,
then save into the database, and in the mean time convey to
software evaluating and controlling terminal. The main functions
are as following:
1) Under real-time working state, receive all kinds of data
packets formed by front end and external interfaces, save
into the background database after dealing with, and then
convey the above database to software evaluating and controlling
teminal.
2) Under real-time working state, receive and record controlling
instructions such as front end or external signal interface
facility configuration parameter, evaluating and controlling
enabled instruction, evaluating and controlling case instruction
as well as simulation evaluating datum sent by the evaluators
from software evaluating and controlling terminal, save into
the background database after dealing with, and then convey
the above contents to relevant front end and external signal
interface facilities.
3) Analyze the playback state at last, search evaluating datum
from database according to the requirements of software evaluating
terminal, then convey to evaluating terminal, for the convenience
of evaluators to have data analysis and testing report writing.
4) Communicate with other computers by using standard TCP/IP
Agreement.
2.1.4.2 software evaluating and controlling
software
Software evaluating and controlling software is running on
software evaluating and controlling terminal. The operating
system is Windows 2000/xp. The main functions are as following:
1) Realize the basic operations of software evaluators’
login, certification of identification and quit.
2 ) Real-time receive all types of front end and external
interface facilities datum from real-time scheduling platform.
3) According to the testing system parameter manipulation
fomular from all the sensors, depose the software process
part of real-time true code datum into relevant testing system
fomular from all types of sensors.
4) Receive the bus datum from bus monitoring analysis front
end, then deal with in the classification and display.
5) Be able to playback datum in some time quantum as well
as deal with and display according to software evaluators’
requests.
6) Software evaluators can send out remoted instructions and
inject datum through the interface.
7) Display remoted fomular sent out or the name, code number
and time of the injection datum .
8) Provid friendly controlling interface, and complete the
control of each front end and external interface facility.
9) Print a certain web page according to the request of users.
2.1.4.3 bus simulation and bus monitoring
analysis software
Bus simulation and bus monitoring analysis software is running
on the bus simulation front end. The operating system is Windows
2000. The main functions are as following.
1) Install and initialize the 1553B card.
2) Realize simulation of each intelligent terminal on bus
together with the self-measurement ability, according to the
request of 1553B application layer agreement.
3) Install the activated state of each simulation unit on
bus. The activated facilities can be assembled freely.
4) If the software under testing is the management software,
bus simulation software neednot simulate output frame testing.
When other softwares are evaluating, bus simulation software
needs to realize frame-combination function of testing system
datum from each sensor, then making the testing system datum
from each sensor as the testing datum sent to real-time scheduling
platform.
5) If the software under testing is the management software,
bus simulation software neednot receive injection database
sent by software evaluating terminal, and simulate the injection
datum from bus. When other software are evaluating, bus simulation
software need to got this functions.
6) Have the functions of local control and long-range control.
The long-range control is realized through the software evaluating
and controlling terminal. In the stage of local control, the
datum should be recorded completely.
7) Provide friendly controlled interface.
2.1.4.4 external signal interface
facilities controlling software
External signal interface facilities controlling software
is running on external signal interface facilities. The operating
system is Windows 2000/xp. The main functions are as following.
1) According to the different evaluating objects, this software
complete the function of simulation software under testing
external interface with various settings for external signal
interface facilities.
2) Initialization according to all types of cards.
3) According to the diferent evaluating objects, this software
is proceeding the simulation external encouragement needed
by on the object under testing, and proving I/O with enough
channel quantities.
4) During management software testing, external signal interface
facilities should have the ability of sending the testing
system datum from each sensor to the server.
5) During management software testing, external signal interface
facilities provide serial data interface and inject datum
to management unit simulated by data-injection channel.
6) Have the function of local control and long-range control.
The long-range control is realized through the software evaluating
and controlling terminal. In the stage of local control, the
datum should be recorded completely.
7) Provide friendly controlled interface.
2.1.5network conmunication protocol
2.1.5.1Network
It is composed of gigabit network switches, server and terminal.
2.1.5.2 conmunication protocol
network protocol:TPC/IP
3. The configuration table of embedded simulation testing
system
No. |
Item |
Quantity |
1 |
External Signal Interface Facilities Controlling Software |
1 |
2 |
PXI Industrial Personal Computer |
1 |
3 |
PXI Controller |
1 |
4 |
Digital Amount I/O Card |
3 |
5 |
Simulated Amount I/O Card. |
3 |
6 |
Exchage |
1 |
7 |
Chassis |
1 |
8 |
1553B bus |
1 |
9 |
RS-422 Bus |
1 |
10 |
ARINC429 Bus Signal |
1 |
11 |
Ethernet Bus(I/O) |
1 |
12 |
Serial Capture |
1 |
13 |
Counter Card |
2 |
14 |
1553 Bus Facilities |
1 |
15 |
1553 Bus Monitoring Facilities |
1 |
16 |
Software Evaluating and Controlling Software |
1 |
17 |
Bus Simulation and Bus Monitoring Analysis Software |
1 |
18 |
Real-time Scheduling Software |
1 |
19 |
Testing Results Analysis Software |
1 |
20 |
system integration |
1 |
|