Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
Architecture Modeling - SPES 2020
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Architecture</strong> <strong>Modeling</strong><br />
The constraint consists of a constant phrase (denoted by the bold text) and a left and right<br />
side. On the left side a conjunction of elements from the logical perspective are named (here:<br />
LSI1 and LSI2). Their mapping is constraint with respect to the element(s) from the technical<br />
perspective on the right side of the pattern (here: ECU-Instance).<br />
Based on these constraints other constraints for the connected sensors of each system can<br />
be derived. To ensure independence of the duplicated systems, each of their sensors must not<br />
be shared between them. In our example sensors are assumed to be a exclusive resources, so<br />
sharing is not allowed and no additional independence constraints are needed.<br />
Technical Perspective On the technical perspective the airbag systems needs to be allocated<br />
to ECUs and sensors. In our example we have four ECUs available, which are all of the same<br />
type “ECU Type”. Each ECU instance has a series of ports with an incoming direction modeling<br />
the possibility to connect equipment to them.<br />
In the same way acceleration and pressure sensors are modeled. They have a base type (one<br />
for acceleration and one for pressure sensing) and ports with an outgoing direction.<br />
All ports are typed by a PortSpecification. Together with the direction information it is therefore<br />
known which components can be connected. Such a connection between an ECU and a<br />
sensor represents a cable in the airbag example. It is also possible to model the cable explicitly<br />
with a separate component, which allows to specify additional properties, but in our example<br />
the representation by connections is sufficient.<br />
The mapping between elements of the logical and technical perspective can be done by<br />
adding links to the model. This allocation can be used to formulate a mapping<br />
problem or a solution. By allocating a logical sensor element on a technical sensor type<br />
(e.g. “Acceleration Sensor Left Type”) the mapping problem to find a suitable sensor instance<br />
of this type is specified. Alternatively the allocation target can already be a instance in which<br />
case the allocation models a concrete mapping, i.e. a mapping solution.<br />
In our airbag system the sensor systems are mapped to the corresponding sensor type in the<br />
technical perspective. This way a problem space is created. Since two pressure and acceleration<br />
sensors are available on each side the optimal one depends on the allocation of the systems to<br />
the ECUs. Also the computational parts can be executed on any of the available ECUs. Thus<br />
the allocation of the LSI, RSI and FI systems to ECUs is an open mapping problem. A solution<br />
to such a problem must fulfill all needed sensor inputs of the subsystem and the independence<br />
constraints associated with the system. By connecting ports of sensors with ports of an ECU a<br />
cable is added to the system. To be able to calculate the resulting cable length the geometrical<br />
perspective is used.<br />
Geometrical Perspective The geometrical perspective is used to organize the information<br />
regarding the position of the ECUs, the positions of the Sensors and the distance between these<br />
elements. The distance is determined by the actual cabling in the car, i.e. that the distance is<br />
influenced by the physical environment of the vehicle. Some cable can be put through the roof<br />
of the vehicle directly while other cables have to be put through the vehicle chassis. This can<br />
lead to a very different cable length from two nearby sensors to an ECU a fact which underline<br />
the importance of the automation of the optimization process, since the obvious solutions are<br />
most probably not the optimal ones.<br />
Model Processing As stated above the allocation links between the logical and the technical<br />
perspective are capable of creating an allocation space. The geometrical perspective provides<br />
the information to evaluate the different possibilities to solve the allocation. Furthermore the<br />
31/ 156