Assesing the Use of Continous-Time and Timed-Triggered Models for Developing Cyber-Physical Systems
1. Assessing the Use of Continuous-Time and
Timed-Triggered Models for Designing
Cyber-Physical Systems
F. S. Goncalves, L. B. Becker
Department of Automation and Systems - DAS
Federal University of Santa Catarina - Brazil
IV Brazilian Symposium on Computing
Systems Engineering - SBESC
November 6, 2014
2. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
1 of 16
3. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
1 of 16
4. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Cyber Physical System - CPS
2 of 16
5. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Cyber Physical System - CPS
2 of 16
6. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
ProVANT Project
Research testbed for Cyber-
physical systems:
) Modeling embedded critical sys-
tems;
) Wireless communication;
) Control systems;
3 of 16
7. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Paper Goals
Present two MoCs, CT and the TT, for designing the stability control
system of an UAV, which is an example of a typical CPS;
4 of 16
8. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Paper Goals
Present two MoCs, CT and the TT, for designing the stability control
system of an UAV, which is an example of a typical CPS;
Address the facilities and diculties on mapping the high-level mod-
els representing these two MoCs to a typical execution platform.
4 of 16
9. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
4 of 16
10. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
UAV Characteristics
Vertical Take-O and Landing
(VTOL) con
12. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
UAV Characteristics
Vertical Take-O and Landing
(VTOL) con
13. guration;
Physical System:
) Rotors can tilt longitudinally;
) Fixed tilt angle laterally;
5 of 16
14. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
UAV Characteristics
Vertical Take-O and Landing
(VTOL) con
15. guration;
Physical System:
) Rotors can tilt longitudinally;
) Fixed tilt angle laterally;
System's characteristics:
) Underactuated mechanical
system;
) Highly nonlinear and time
varing behavior;
5 of 16
16. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Mathematical Representation
Control equations in relation to the control inputs:
fL =
1
2
r
h
+
l
2
+
Fzb
l
2
;
fR =
1
2
r
h
l
2
+
Fzb +
l
2
:
(1)
L = arctan
h +
l
Fzb
l
!
;
R = arctan
h
l
Fzb +
l
!
:
(2)
6 of 16
17. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Hardware Structure
7 of 16
18. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
7 of 16
19. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Time-Triggerred Model Characteristics
Composed by:
) RT Entity (control);
) Two Transducers (estimation and actuation);
) Communication System (communication);
) Three Interfaces (intEstimation, intActuation and intControl);
8 of 16
20. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Time-Triggered Model
9 of 16
21. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
9 of 16
22. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Simulink Model
10 of 16
23. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Continuous-Time Model Characteristcs
Composed by a set of threads:
) Control thread;
) Communication thread;
) Main thread;
11 of 16
24. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Continuous-Time Model
12 of 16
25. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
12 of 16
26. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Maintainability: describe the easiness to make modi
28. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Maintainability: describe the easiness to make modi
29. cations in the
model;
Modularity / Hierarchy: analyze the capability of split the system
into independent modules;
13 of 16
30. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Maintainability: describe the easiness to make modi
31. cations in the
model;
Modularity / Hierarchy: analyze the capability of split the system
into independent modules;
Expressiveness: that use of modeling language primitives to de-
scribe the speci
33. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Simulation: verify if the speci
34. cation can be used to validate the
implementation;
13 of 16
35. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Simulation: verify if the speci
36. cation can be used to validate the
implementation;
Veri
37. cation: capability of demonstrating formally that the system
meets the requirements;
13 of 16
38. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Evaluation Criteria
Simulation: verify if the speci
39. cation can be used to validate the
implementation;
Veri
40. cation: capability of demonstrating formally that the system
meets the requirements;
Implementability: evaluating how the speci
43. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Comparison Results
Evaluation Criteria TT Model CT Model
1 - Maintainability
2 - Modularity / Hierarchy
3 - Expressiveness 1250 1184
4 - Simulation
5 - Veri
45. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Comparison Results
Evaluation Criteria TT Model CT Model
1 - Maintainability
2 - Modularity / Hierarchy
3 - Expressiveness 1250 1184
4 - Simulation
5 - Veri
47. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Comparison Results
Evaluation Criteria TT Model CT Model
1 - Maintainability
2 - Modularity / Hierarchy
3 - Expressiveness 1250 1184
4 - Simulation
5 - Veri
49. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Summary
Motivation
UAV Characteristics
Time-Triggered Model
Continuous-Time Model
Comparative Analyzes
Conclusion
14 of 16
50. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Conclusions
Both models meet the requirements and support the UAV system;
15 of 16
51. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Conclusions
Both models meet the requirements and support the UAV system;
Implementing the models in the embedded platform is not a trivial
task;
15 of 16
52. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Conclusions
Both models meet the requirements and support the UAV system;
Implementing the models in the embedded platform is not a trivial
task;
) Implementation of the TT Model is more straightforward;
15 of 16
53. Motivation UAV TT Model CT Model Analyze Conclusion Assessing the Use of CT and TT Models for Designing CPS
Conclusions
Both models meet the requirements and support the UAV system;
Implementing the models in the embedded platform is not a trivial
task;
) Implementation of the TT Model is more straightforward;
) Implementation of the CT Model needs more expertise of the
engineers.
15 of 16
54. Assessing the Use of Continuous-Time and
Timed-Triggered Models for Designing
Cyber-Physical Systems
F. S. Goncalves, L. B. Becker
Department of Automation and Systems - DAS
Federal University of Santa Catarina - Brazil
IV Brazilian Symposium on Computing
Systems Engineering - SBESC
November 6, 2014