juani_c 66 Posted June 13, 2011 Share Posted June 13, 2011 My project is an inverted pendulum. The pendulum is a kind of excuse; I wanted to make something to show a library I bluehash and jsolarski 2 Quote Link to post Share on other sites
none 7 Posted June 15, 2011 Share Posted June 15, 2011 Hi Juan, I'm not familiar with fuzzy control, nor have I examined your code - so forgive me, but it looks like the pot has quite some friction and is able to hold the pendulum? Also, it seems to oscillate when you push it. But it is an interesting experiment to get to know fuzzy control, thanks for sharing! I'll hope to find the time to set this up myself. Quote Link to post Share on other sites
nobody 47 Posted June 15, 2011 Share Posted June 15, 2011 Hi Juan,I'm not familiar with fuzzy control, ... Fuzzy Logic is not anything complicated. It's just another Buzzword - in the fact it is the "analog processing" of data. Instead of digital "OFF" and "ON" is used analogue expression (scale: full "OFF" - a little "ON" - more "ON" - a lot of "ON" - full "ON"). Binary math is replaced with the counting numbers with floating decimal point. (Can also be used version, which counts with integer numbers - full "OFF" = 0x0000, full "ON" = 0xFFFF). ...and this is all. No magic. Quote Link to post Share on other sites
gordon 229 Posted June 15, 2011 Share Posted June 15, 2011 For about 30 seconds of reading and 2 minutes of pondering time of your life, this Wikipedia article section alone with the nice image sums the concept up pretty well. Quote Link to post Share on other sites
juani_c 66 Posted June 15, 2011 Author Share Posted June 15, 2011 it looks like the pot has quite some friction and is able to hold the pendulum? yes, that's due to a crappy potentiometer and a lightweight pendulum, in this kind of setups the device used to mesure the angle is usually some sort of optical encoder or something like that in order to avoid any kind of friction. Unfortunately I don't have such a device and I thought about making one but the potentiometer was a faster option. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.