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

6 visualizaciones (últimos 30 días)
Abhishek
Abhishek el 10 de Sept. de 2022
Comentada: Sam Chak el 11 de Sept. de 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 comentario
Sam Chak
Sam Chak el 11 de Sept. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Fuzzy Logic in Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by