Hi all,
This is my first post here.
I am into Robotics (hobby) and I've my own sci-fi world. I want to learn and try everything out as much as I can.
I am currently seeking help in a so called project "Magnetic Levitation" both attractive and repulsive. I thought its Anti-Gravity. Some of my friends told me that Gravity can never repel. This line has increased my eagerness ( ? ? ) to achieve something like that .
I have gone through many web-sites, blogs etc. By which I could make my own PID and could tune it for attractive arrangement. The output was good enough. I was satisfied. Then I started on repulsive one. Seemed tougher than that of the attractive one. PID and its tune gains were not working. Even after same tuning processes ( explained in wiki ) which has worked for attractive arrangement. Then I came across Arduino PIDLibrary and PID AutoTuner Library. I was jumping seeing the pages. Please note that for attractive model I used one coil, one hall sensor and one PID, where as for repulsive I am trying it with four coils, four halls and four separate independent PIDs using Arduino Mega 2560 .
I tried it in several arrangement ( ways ) to auto tune the PID. I only tried an example of the auto tune Library. None worked. I tried it with the earlier attractive arrangement. There also it didn't work. I thought there is something I am missing. Which I need to ask everyone. Which is why I am writing my question explaining everything.
I tried the following arrangements for attractive model as:
- I tried keeping magnet far from the coil and hall sensor system.
- I tried keeping magnet below the system.
- I tried keeping magnet at the set point. Which gives very near gain values which I already have tested. But after tuning finishes that magnet was not able to levitate putting the gains in a simple Arduino PID library example. I have tried several times to tune it by this way only. But not avail.
I hope I'll get a lot of suggestions from here. Because ppl have interests in their respective works. Which drives everything.
To many everythings.