|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
KOP Gyro seems to run-on after turn stops
Hi
I'm trying to implement a closed loop controller with the KOP Gyro, and it seems to have a major flaw !!! The initial symptoms were that if you locked the current heading when the operator stoped turning the bot (joystic returns to detent), the controller would steer the robot BACK about 30 degrees. I initially suspected my code, but finally I had to start looking at the actual Gyro input. By just wiring the Gyro to a stand-alone RC unit on analog channel 1, I could display the gyro angle whenever it changed. If I spin the gyro, the heading starts changing immediatly, but when I stop it, the heading changes continue on for almost another SECOND. Once again I suspected my software (maybe overflowing the serial port), so I changed the input to a pot so I could simulate gyro input. With the POT, the heading stopped as soon as I returned the put to neutral. So, it really looks like the Gyro output doesn't go to zero (bias) quickly when the turning stops. I even tried widenning the deadband, but that didn't help either. Can anyone verify/disprove this from recent experience? So, it seems to me that with such a long run-on, the gyro is next to useless for any sort of high speed control. The best I can expect is a drunken meander across the field. Any suggestions would be greatly appreciated. Phil. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Just stops!!! | Robostang 548 | Programming | 17 | 05-02-2007 21:50 |
| How to end an auto mode after gyro gets out of deadband | kiettyyyy | Programming | 17 | 20-04-2006 07:59 |
| KOP Gyro | John Gutmann | Programming | 12 | 12-12-2005 21:59 |
| Robot motion after the time has run out. | Randy Ai | Rules/Strategy | 1 | 06-01-2003 17:17 |
| #9 seed seems to be the spot to be.... | archiver | 2001 | 1 | 24-06-2002 03:00 |