Simulation of biycycle with automatic gear shifting with Simulink - If else subsystem in an iterator subsystem
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I created a simulink model of a bicycle with automated shifting by adding a fuzzy controller in order to control all gears.
Now the next step should be adding a separate fuzzy controller for each of the 13 gears of the cassette. Therefore I tried to implement a subsystem which includes an if else block, action blocks, fuzzy controller and subsubsystems for choosing the next gear based on the current one (screenshot 1 is the total bicycle model, screenshot 2 is the total subsystem and screenshot 3 one example for a subsubsystem for gear selection after the fuzzy controller output).
The subsystem ("Zähne Ritzel" means teeth of the rear gear) is a loop and does not work with the if else combination including merge block according to the error message shown in Screenshot 4. Does anyone has an idea how this multiple fuzzy controller can be included without ending in an error?
In addition to the screenshots I am also adding all the relevant model data in a zip file so the model can be checked and simulated as well.
Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Fuzzy Logic Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!