A fuel control system is a critical component of an engine. Ensuring the engine operates reliably requires a controller that is tolerant to sensor failures. Designing such a controller involves keeping track of multiple sensor states and determining the fuel mode based on which or how many sensors have failed.
See example model from this video: Modeling a Fault-Tolerant Fuel Control System: https://bit.ly/3HV8AfW
Stateflow® has graphical programming features that will help you model interconnected and complex logic in a clear and concise manner. Its visual tools provide a powerful way to break down sequences of decisions and explore the behavior of your system in detail.
The Symbols pane shows which variables are present in the chart and their value at the current execution stage. Clicking a state or transition will highlight the relevant symbols for the object. Clicking on an individual symbol will in turn show where it is used in the chart. This can help you identify connections that are otherwise not explicit. The value shown in the Symbols pane flashes when its value changes from one time step to the next, making it easy to keep track of these changes—even in a system with many symbols. Breakpoints can be added to the states and transitions to debug unexpected chart execution. Once a breakpoint is hit, you can use the Step Forward and Step Over buttons to advance the simulation manually and inspect the logic of the system in detail.
Learn more about Stateflow: https://bit.ly/3VjrFvB
Free Stateflow Onramp: https://bit.ly/3HQLLdv
Learn more about controlling chart execution: https://bit.ly/3G8YvuL
Chapters:
00:00 Introduction
00:16 Fault Tolerant Control System Overview
00:59 How to Analyze Stateflow
02:54 How to Debug Stateflow
03:48 Conclusion
--------------------------------------------------------------------------------------------------------
Get a free product trial: https://goo.gl/ZHFb5u
Learn more about MATLAB: https://goo.gl/8QV7ZZ
Learn more about Simulink: https://goo.gl/nqnbLe
See what's new in MATLAB and Simulink: https://goo.gl/pgGtod
© 2023 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
In questa pagina del sito puoi guardare il video online Analyzing and Debugging Logic with Stateflow della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MATLAB 11 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,086 volte e gli è piaciuto 26 spettatori. Buona visione!