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..
Displaying simulation results (external mode)
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
See Also
Categories
Find more on Fuzzy Logic in Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!