12.07.2015 Views

A Real-Time Computer Control Platform for an Experimental ... - CTR

A Real-Time Computer Control Platform for an Experimental ... - CTR

A Real-Time Computer Control Platform for an Experimental ... - CTR

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modelling phase!PIM!PSM!Functionalview"Interfaceview"Deploymentview"Model tr<strong>an</strong>s<strong>for</strong>mation!Concurrencyview"Feasibility <strong>an</strong>alysis!Code generation!Sourcecode"Figure 4: Software development process.details. The system is implemented by automatically generating code from thePSM. Figure 4 shows the main elements of the development process.An import<strong>an</strong>t aspect of such a process is the emphasis on separation ofconcerns. The functional aspects of a system are modelled first, as a set ofcomponents connected by functional interfaces. Non-functional aspects, such astiming properties, are specified as <strong>an</strong>notations of the corresponding operations.Concurrency <strong>an</strong>d real-time behaviour is added at the PSM level, which implementsthe PIM by embedding functional behaviour in containers that exhibitpre-determined properties. Examples are periodic <strong>an</strong>d sporadic tasks, <strong>an</strong>d protected<strong>an</strong>d unprotected passive data objects. A key aspect of the PSM is thatAda source c<strong>an</strong> be generated <strong>for</strong> all kinds of containers (see e.g. Pulido et al.,2007; P<strong>an</strong>unzio <strong>an</strong>d Vard<strong>an</strong>ega, 2011). Another import<strong>an</strong>t point is the availabilityof <strong>an</strong> execution environment that c<strong>an</strong> guar<strong>an</strong>tee that the behaviour exhibitedby the PIM model is really implemented at the plat<strong>for</strong>m level. GNAT/ORK+is <strong>an</strong> example of such <strong>an</strong> execution environment (de la Puente et al., 2008).5 Functional model of the UPMSat2 ADCSThe above ideas have been applied to the development of the attitude determination<strong>an</strong>d control subsystem of the satellite. In order to keep up with thegeneral practice of control engineers, the attitude dynamics <strong>an</strong>d the controls systemhave been modelled using Simulink, 6 as part of the plat<strong>for</strong>m-independentmodel. This high-level model has been used to develop the ADCS code bycarrying out the following steps:6 www.mathworks.com/products/simulink.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!