Go to Post But sometimes you just wanna build something that's MFD. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2006, 00:48
zachriggle zachriggle is offline
Registered User
FRC #1940
 
Join Date: Jan 2006
Location: Michigan
Posts: 37
zachriggle is infamous around these parts
Exclamation Camera \ EMF problems...

I have a very peculiar situation, involving the camera servo's dancing when the Fisher-Price motor turns on.

We are using a Fisher-price motor for a ball launcher mechanism, mounted on a turret-style (pan only, no tilting mechanism) plate. The camera is also mounted on this plate.

With the servo's set to center (to rule out programming as a potential source of the problem), and the camera unplugged, the servo's go absolutely NUTS as soon as the Fisher-Price motor turns on. I mean disco dancing on steroids. The FP motor is connected to a Victor, as required, and is controlled via a PWM cable, as required.

However, when the FP motor is given direct voltage from a second battery... there is no such effect. Something in the electrical system is allowing voltage to creep and spike on some portion of the PWM cables, bet it the signal or +7.2V wire, I don't know.

None of the other PWM-controlled devices seem to be effected. The power wires for the FP motor run near the camera... but I doubt that *that* has anything to do with it. The wires from the camera also run between the battery leads, between BOTH drive (CIM) motors (3 cm proximity) under a window motor (2 cm proximity), and is equally centered between the victor for the FP motor and the victor for the Van Door motor... and with ALL of the other motors on, this phenomena is not replicated. We are using 12ga (10ga?) wire for all motors.

Additionally, the camera's terminal interface seems to work just fine, because Kevin's code can lock onto targets for short periods of time with the FP motors on, until the servo's craziness causes the camera to lose track of its target... until it's reaquired.

Also, can anyone else pick up voltage between any parts of their chassis and the common ground? We're getting between 0 and 3.2v readings. We physically removed the camera from the chassis to remove that as a reason for the servo weirdness, but it's still something we don't like. There is conductance between the casing of the FP motor and the plate that the entire firing mechanism rests on. Does the FP motor create a magnetic field so large that it would treat a 0.75cm rubber spacer more like a resistor than a block to conductance (the motor is not physically touching the chassis, but it conducts to the top, rotary plate. The top, rotary plate does not show conductance when tested against other parts of the chassis, pecularly).

Can anyone explain this phenomena? All that we can think of is that the FP motor is either generating a HUGE EMF, or there is some kind of back-feed down the PWM signal cable attached to the Victor controller.

Last edited by zachriggle : 18-02-2006 at 00:53.
  #2   Spotlight this post!  
Unread 18-02-2006, 00:59
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera \ EMF problems...

I can't help you on your servo problems, but when you're checking for a conducting path between your frame and electrical system, it's probably better to use the "continuity" setting on your multimeter, or at least measure resistance instead of voltage difference. If your frame is isolated, as it should be, the potential difference between that and the electrical system could be almost anything (correct me if I'm wrong there) but the resistance should be effectively infinite (usually displays as a 1 in the leftmost column on the multimeter).
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #3   Spotlight this post!  
Unread 18-02-2006, 01:05
zachriggle zachriggle is offline
Registered User
FRC #1940
 
Join Date: Jan 2006
Location: Michigan
Posts: 37
zachriggle is infamous around these parts
Re: Camera \ EMF problems...

We also measured continuity, and measured 46 ohms resistance between the FP motor and the rotary chassis. We measured no continuity between the negative lead and the chassis.
  #4   Spotlight this post!  
Unread 18-02-2006, 01:10
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Camera \ EMF problems...

If that's the case, better start checking for touching wires... :/
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #5   Spotlight this post!  
Unread 18-02-2006, 08:42
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: Camera \ EMF problems...

Are you, by any chance, using PWMs 13-16?

If that's the case, you just have to change them to some other output. A great rule of thumb is to never use those fast outputs because if you're using other interrupts, they can interfere with the output, causing this kind of spastic operation you are seeing.

A better discussion can be found here

If that's not your problem, I'd suggest removing power wires and stuff like that away from the camera.

God luck and let us know how it works out!
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
  #6   Spotlight this post!  
Unread 18-02-2006, 20:27
zachriggle zachriggle is offline
Registered User
FRC #1940
 
Join Date: Jan 2006
Location: Michigan
Posts: 37
zachriggle is infamous around these parts
Re: Camera \ EMF problems...

Nope, I'm not using those PWM's for anything, actually. I assumed that might be an issue from the get-go, and decided against using them for anything.

We're thinking the EMI is coming from the Victor controller itself, rather than the motor. We found out why the chassis conducts with the motor, is through the metal shaft, that goes through a metal bearing, to a metal mounting bracket, to a metal chassis.

Regardless, that doesn't explain the spazz-ness of the camera :'(.
  #7   Spotlight this post!  
Unread 19-02-2006, 23:28
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Camera \ EMF problems...

Zach,
What you are describing is likely caused by mounting screws that are too long for the FP motor. One of the screws may be touching the wiring inside the motor hence the 46 ohms you read to chassis. If you were to measure the resistance on an FP motor, you will likely find the same value. (turning the shaft will produce different resitance readings but one will be close.) You might have a solderless connector pushed onto the motor contacts that is "leaning" far enough to allow the connector to contact the frame of the motor. This is an illegal condition and is likely the source of interference with the other systems. The higher the main battery voltage, the worse it becomes is due to higher voltage available in the charged battery. ( i.e. more current into the frame) Remove the FP from it's mount and/or remove the wiring to the motor and see if your resistance reading goes away.
al
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 20-02-2006 at 08:18.
  #8   Spotlight this post!  
Unread 20-02-2006, 10:36
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,672
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Camera \ EMF problems...

Also, the servo spazzing could be caused by running the servo PWM near the FP power leads if you run them together for any significant distance, you could have a problem. You wouldn't notice anything running the motor off another battery because it's getting a constant DC voltage. Unless the Victor is running at 100%, the voltage will be jumping between 0V and 12V. If your PWM is running alongside the power leads for long enough, it could be slightly coupled with the leads, and will pick up some of those 0V to 12V jumps. Especially because the FPs can draw large currents.

Try running a temporary PWM completely detached from your chassis and away from all other wiring and see if that fixes the problem.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #9   Spotlight this post!  
Unread 20-02-2006, 12:27
btgdaniel's Avatar
btgdaniel btgdaniel is offline
Registered User
FRC #1731 (Fresta Valley Robotics)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Warrenton, VA
Posts: 20
btgdaniel is an unknown quantity at this point
Question Re: Camera \ EMF problems...

Quote:
Originally Posted by Kevin Sevcik
Also, the servo spazzing could be caused by running the servo PWM near the FP power leads if you run them together for any significant distance, you could have a problem. You wouldn't notice anything running the motor off another battery because it's getting a constant DC voltage. Unless the Victor is running at 100%, the voltage will be jumping between 0V and 12V. If your PWM is running alongside the power leads for long enough, it could be slightly coupled with the leads, and will pick up some of those 0V to 12V jumps. Especially because the FPs can draw large currents.

Try running a temporary PWM completely detached from your chassis and away from all other wiring and see if that fixes the problem.
1. Our camera TILT servo motor *always* gets the jitters when we have the RC disabled (with the dongle).

2. It *almost always* get the jitters while we are downloading code to the RC.

It has always behaved this way, even before it was mounted on the robot.

Anyone else seen this behavior?
  #10   Spotlight this post!  
Unread 20-02-2006, 13:30
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Camera \ EMF problems...

Quote:
Originally Posted by btgdaniel
1. Our camera TILT servo motor *always* gets the jitters when we have the RC disabled (with the dongle).

2. It *almost always* get the jitters while we are downloading code to the RC.

It has always behaved this way, even before it was mounted on the robot.

Anyone else seen this behavior?
I think that the problem is that the RC when disabled has an open circuit output with no loading. This leaves the servo to pick up crosstalk from any wiring around it and interpret that noise as a valid PWM command.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 06-04-2006, 14:15
ahanktcd's Avatar
ahanktcd ahanktcd is offline
2005 Manipulator/Electronics Tech.
AKA: Paul
#0386 (Voltage)
Team Role: Electrical
 
Join Date: Apr 2004
Rookie Year: 2003
Location: Palm Bay, Florida
Posts: 6
ahanktcd is on a distinguished road
Send a message via ICQ to ahanktcd Send a message via Yahoo to ahanktcd
Re: Camera \ EMF problems... Perhaps caused by induced voltages from the serial data?

Quote:
Originally Posted by Al Skierkiewicz
I think that the problem is that the RC when disabled has an open circuit output with no loading. This leaves the servo to pick up crosstalk from any wiring around it and interpret that noise as a valid PWM command.
Our cam servos did this same thing. Our's did it's antics only when disabled and not when motors were running. We had the camera data and servo signals running in the same SHIELDED wire (no outside interference). The serial data is +-15V and the servo ports are open (high impedance) during disable. The +-15V was 'jumping' from the serial data to the open servo wire and the servo had no idea what it should do this this random data. Electrical engineers, please excuse my terminology!

We solved the problem by running separate individually shielded wires up to the camera. Problem solved.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
battery voltage compensation Rickertsen2 Programming 5 17-10-2005 22:12
DC Voltage indicator Don Wright General Forum 5 09-09-2005 07:52
Voltage on Frame Greg Electrical 31 02-03-2004 13:49
RC Circuits Melissa Nute Math and Science 3 25-01-2004 05:02
Output voltage in PBASIC diego25 Programming 7 31-01-2002 22:50


All times are GMT -5. The time now is 10:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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