Connecting a Boeing 777-300ER to Matlab/Simulink

05/09/2013 17:27

Here, we are going to connect a Boeing 777-300ER from the (flight gear simulator) to Matlab / Simulink trough the aerospace block set. 

Our target is getting the signals: flaps position (label 137), throtte (label 267) and elevator position (label 314) from the Boeing and codify them in arinc 429, to create a real bus. To reach this, we will connect the computer to the CIE 520A card.

To meet our target, we create a module in Simulink. This module is shown in the picture below.

The module Recibe net_control packet, connect the simulator to Matlab. The following module Unpack net_control packet let us to treat each signal that we´ve selected before (in the set up procces). In this point, we have the signal we need but they are applied a mathematic operation to follow the ARINC 429 standard. The encode / decode modules, codify or decode the signal to ARINC 429. The module send, let us to send the information to the CEI 520A card which create the electrical signal to be sent in a real bus.  

We have already got the signal from the flight by wire system, codify, decode and send them in real ARINC 429 Bus. Now, we are going to see the way the whole module runs.

If we move the flaps control to the 16% position, we can see the effect on the cabin´s crew panel as well as in the EICAS screen.

 

If we move the throtte to ta maximun position we can see the effect on the EICAS display.

Finally, we move up the pilot´s stick to the maximun position in order to elevate the plane.