Embedded Target for Motorola MPC555 | ![]() ![]() |
The Demo Model
We have provided a demo model for your use. The Fault-Tolerant Fuel Control System model, shown in Figure 2-1, consists of a plant model with a controller subsystem, the fuel rate controller
subsystem.
Figure 2-1: Fault-Tolerant Fuel Control System Model
In the following sections, you will use the demo model and the PIL target to generate the following:
fuel rate controller
subsystem block for use in simulation.
fuel rate controller
subsystem for use in software-in-the-loop (SIL) simulation.
fuel rate controller
subsystem on the host side during cosimulation. This subsystem communicates with generated PIL code running on the target board.
This figure shows a library generated by the PIL target.
Once you start the build process, there is almost no manual intervention required to build all these components.
After building the components, you will use them in normal simulation, SIL simulation, and PIL cosimulation. You will monitor the results of each simulation via the Scope blocks in the model.
![]() | Tutorial 1: Building and Running a PIL Cosimulation | Setting Up the Model | ![]() |