09-01-2011 12:07 PM
Hi all, this is my first post so please forgive me if its in the wrong place. i have basic knowledge of labview and i do not have the PID &fuzzy logic control module. so i was wondering is it possible to create a virtual inverted pendulum on the screen using labview and being controlled by a custum made PID control algorithm? if it is possible could you explain how or where i can start. any help on this would be great because this is part of my FYP for college. thanks very much.
09-02-2011 05:55 AM - edited 09-02-2011 06:01 AM
Hi ladysman217f,
Welcome to the National Instruments forums! Don't worry, your question is in the right place. You're in luck; due to the modularity of LabVIEW, you can certainly implement this functionality.
There are three kinds of interface implementation that I believe you could follow:
It's important for me to note that each of these different implementations all rely on the underlying control algorithms functioning appropriately. As soon as you develop the correct algorithms for controlling the VIP, then you can focus on just how you're going to display the output. So, your biggest priority should be first get the pendulum calculation Virtual Instruments created. I'd suggest researching all of the relevant information for inverted pendulum control and implement these through the Control and Simulation Toolkit since this is where you say you're most experienced.
You'll find this forum thread very useful for developing your application.
You've already made the right start by coming to the forums. Armed with the Example Finder and the forum thread I posted, you'll definitely be on the right path to developing this application; which is also something I'd really like to see when you're done!
09-02-2011 06:47 AM - edited 09-02-2011 06:47 AM
Hi again,
I need to correct for some errors in my last post. I mentioned the Control Design and Simulation Toolkit, and I meant the PID and Fuzzy Logic toolkit. Luckily you'll be able to implement the functionality with both!
09-02-2011 06:48 AM
Hi Alex.T
Thanks very much for the in depth response. I will certainely research all you have said and take a look at the examples. The 2D picture display sounds most appealing. sorry if i caused confusion with my original post but the problem is i dont have the control toolkit module i only have the basic development system, not to say it's basic or anything cause its not. i was wondering if it's possible to implement this without the use of the control toolkit? i think it would be possible to develope control algorithms but im not quite sure how i would be able to model the IP system using the IP system differential equations. maybe im missing something you have already said in your reply, if so i appologise. if im able to get this done trust me i will be showing everyone.ha
regards
Fran
09-02-2011 07:18 AM - edited 09-02-2011 07:25 AM
Hey again, sorry that I misread your post.
I believe that to properly implement this project, the use of the Control Design Toolkit is a necessity; you are right in saying that you would be able to develop a similar system in LabVIEW without the toolkit, however it will be a hugely in depth and arduous project to implement before you could start with the VIP. Development of your own algorithms would require very rigourous testing and validation of the code to ensure the integrity of your project. The Control Design Toolkit provides you with all of the tools you require out of the box, without the lengthy development and testing time. This would reduce the overall amount workload of your project massively; which will be much more effective solution in the long run.
I'd really recommend that you call the your local branch, the number is 01635 523 545 if you're in the UK; and talking to one of our Sales Representatives. They'll be able to speak to you in more detail about the project and guide you to an appropriate solution.
I hope this helps.