Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems
35 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Aditya
il 18 Mag 2023
Risposto: Darshan Pandit
il 31 Mag 2023
I am using the MTPA Reference block from the 'Motor Control Blockset'. When I connect the 'MTPA Reference block' to my current controller, I get this error: "Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems"
I have attached my model and pictures here, I have been going at it for the past few days but I am not able to solve this error. Any and all help on this is very very much appreciated.
Thanks in advance!
0 Commenti
Risposta accettata
Darshan Pandit
il 31 Mag 2023
Hi aditya,
You're trying to simulate continuous time plant with discrete time control system. The sensor models should do the conversion.
Anyway, for the issue at hand, pl add rate transition or delay blocks in your feedback loop (bottom red line) as well as the first output of MechSensor subsystem. Also check 'use local solver' box in the solver configuration.
Hopet his helps.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Motor Parameter Estimation and Plant Modeling 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!