Azzera filtri
Azzera filtri

Displaying simulation results (external mode)

2 visualizzazioni (ultimi 30 giorni)
Lukasz Wajdzik
Lukasz Wajdzik il 9 Nov 2011
I use external mode simulation to control balancing robot (RT-DAC/PCI-Real-Time Data Acquisition Board). While using LQR controller I could observe (each) results in scope (control signal, angle etc.) in real time. When I applied fuzzy controller with 25 roles robot operates very gut but I can not observe performance of control signal however deflection of robot is displayed good.. Even if I want to save the results (block 'To Workspace') I get only '0' or sometimes some of values are very small and seem to be random. What should I do to observe also control signal? I've heard that it can be problem with to high computing precision and board/Simulink doesn't follow up to display all (with fuzzy controler) results properly. How can I decrease the computing precision? Than you for any advice.

Risposte (2)

Lukasz Wajdzik
Lukasz Wajdzik il 9 Nov 2011
Thanks, but it didn't help.. I did set everything properly but it still works badly. What is interesting now even deflection of the pendulum is displayed wrongly, and fuzzy control signal is continuously zero. However robot is balancing very well.. If I delete fuzzy controler block from the simulation everything is displayed well, so the problem seems to be with this..

Uday M
Uday M il 9 Nov 2011
Hi Lukasz,
For the issue of observing/logging signals, please refer to: Logging Signals To the Base Workspace
-U

Categorie

Scopri di più su Fuzzy Logic in Simulink 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!

Translated by