error in the fuzzy logic controller's Evaluate Rule Consequents Block

6 Ansichten (letzte 30 Tage)
Abhishek
Abhishek am 10 Sep. 2022
Kommentiert: Sam Chak am 11 Sep. 2022
I tried to design a PD controller with a fuzzy logic controller as a modification to it.
I also implemented Particle swarm Optimization algorithim to tune my controller's static variables.
But when I run my PSO.m file in order to tune my controller , I got a error---------------------------------------------------------------------------------------------
"Error occurred while attempting to call the error callback function 'Stateflow.Translate.translate' of subsystem
'SMG/Subsystem/Subsystem1/Fuzzy Logic Controller/Evaluate Rule Consequents'. The callback function should take a
block handle and error ID as input arguments, and return a character vector that replaces the error produced
within the subsystem. The following error was produced when the error callback function was called: Not enough
input arguments."
  1 Kommentar
Sam Chak
Sam Chak am 11 Sep. 2022
What is the system that you want to regulate with the PSO-tuned fuzzy PD?
Are you able to stabilize the system with a non-fuzzy PD compensator?
If so, does the error occur when attempting to tune only the PD gains?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by