Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   camera/code question (http://www.chiefdelphi.com/forums/showthread.php?t=75855)

coolperson987 15-03-2009 20:34

camera/code question
 
We have been having difficulty with the camera servos having a "jittery" movement with or without code and even when disabled.

We have tried different code, checked all wiring, replaced servos, flashed the cRIO and have switched out digital I/O modules.

Nothing has worked!!Please help!!:) :confused:

Any information will be useful! Thanks in advance.

byteit101 15-03-2009 20:35

Re: camera/code question
 
are you using the 2color demo code or code based off this?
I know that code needs some modifying to be non-jittery

coolperson987 15-03-2009 20:39

Re: camera/code question
 
Yes, we are using that code. But we are programming in lab view. Our watchdog seems to be very finicky...

coolperson987 15-03-2009 20:55

Re: camera/code question
 
It seems that our problem is, our camera servos hang up even when the Driver Station has the Robot Disabled. The camera servos will flip out and jitter extremely...

What would allow this to happen?
The robot is disabled, and somehow the servo's still are receiving signal.

Any help is appreciated.

Alan Anderson 15-03-2009 21:04

Re: camera/code question
 
Quote:

Originally Posted by coolperson987 (Post 836375)
We have been having difficulty with the camera servos having a "jittery" movement with or without code and even when disabled.

Jittery servos when the robot is disabled implies noise on the servo signal line. I'd look for places where the wiring to the servos could be picking up an induced signal, such as running parallel to the camera's ethernet cable for an extended length.

coolperson987 15-03-2009 21:07

Re: camera/code question
 
Thanks!!!

Our electrical engineer agrees! We have redone the code several times...

So Twisting Cables to reduce noise would be the solution?

coolperson987 15-03-2009 21:23

Re: camera/code question
 
We have twisted our wires and used the toroid shield our electronic engineer has provided. It is extremely jittery with/without code.

Noise is not the problem... it seems. Do you have any other suggestions????

Alan Anderson 16-03-2009 01:55

Re: camera/code question
 
Quote:

Originally Posted by coolperson987 (Post 836401)
So Twisting Cables to reduce noise would be the solution?

Employing twisted pairs only works when the signal is carried by the differential voltage on the two wires. That's not really the case for a servo PWM signal. Besides running the wires so they aren't near a source of EMI, your only real solution would be to shield the wiring.

To verify whether or not it's interference from the Ethernet cable, try unplugging the cable at the cRIO end and see whether the servo twitching when disabled goes away.

Greg McKaskle 16-03-2009 07:58

Re: camera/code question
 
I've also seen jittery servos because the leads were busted up where they entered the servo. Do both motors twitch, or just one? If you swap the connectors does it follow the motor or the port?

To determine if it is a SW issue, you can add a chart to the servo position control. There used to be one there to watch the control response anyway, and that is why there is a deadband and smoothing, because the image processing does give noisy input to the system. If it is a tiny twitch, you can expand the deadband, it is currently 2 degrees I think.

Greg McKaskle

Steve Compton 16-03-2009 08:09

Re: camera/code question
 
This may seem like a strange question - what kind of ball manipulator do you have? We ran into twitchy camera servos during our first regional, like you described, with camera off, even no power (having disconnected the wires to camera. Ends up that our ball collecting belt system created enough static electricity that it fed directly to the camera servos through PWMs. We added a bleed rod from the belt to the frame, sprayed the belt each time we used it with static-guard, and made sure to tape the junctures where we had joined PWM cables for proper length. End of twitching (for the most part - we still get a little from time to time but not enough to impact camera function.)

Hope this helps!

coolperson987 16-03-2009 20:59

Re: camera/code question
 
Thank you for your help!


All times are GMT -5. The time now is 16:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi