Go to Post I see you've one-upped me in the stripped gear game. I commend you. - frcguy [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,795
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,717
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,795
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.
  #12   Spotlight this post!  
Unread 06-04-2006, 19:20
chrisinmd's Avatar
chrisinmd chrisinmd is offline
Registered User
AKA: Chris Pickett
FRC #0888 (Robotiators)
Team Role: College Student
 
Join Date: Jan 2006
Location: Mt. Airy, MD
Posts: 83
chrisinmd is a jewel in the roughchrisinmd is a jewel in the roughchrisinmd is a jewel in the rough
Send a message via AIM to chrisinmd
Re: Camera \ EMF problems...

You brought up a good point when you mentioned the resistance between your electrical system and the frame. On the inspection checklist it specifically mentions that the resistance should be greater than 100k ohms. This is a good guideline to be sure that you have no possible shorts across the frame.

<R55>
No exposed electrical conductors and no electrical contact with robot metal chassis. No chassis parts used to carry electrical currents. Using an ohmmeter, confirm that the resistance between the chassis and each battery terminal is “large” (greater than 100k Ohms).

Good luck in fixing this problem.
-Chris
__________________
Virginia Tech 2010!

Chesapeake Regional
Pittsburgh Regional
  #13   Spotlight this post!  
Unread 02-05-2006, 19:29
Schmitty!'s Avatar
Schmitty! Schmitty! is offline
Ever issue is an opportunity to...
AKA: Mike Schmitt
FRC #0093 (N.E.W. Apple Corps)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Appleton WI
Posts: 7
Schmitty! is a splendid one to beholdSchmitty! is a splendid one to beholdSchmitty! is a splendid one to beholdSchmitty! is a splendid one to beholdSchmitty! is a splendid one to beholdSchmitty! is a splendid one to behold
Re: Camera \ EMF problems...

We had a similar issue, not with the FP motors, but with the Mabuchi motor. We purchased a Banebots gearbox for a gear reduction and use this to pull balls from our lower vertical feed up to the shooter wheels. This put the Mabuchi motor in fairly close proximity (within two feet) of the camera servo. Every time the Mabuchi motor was energized the servo for the camera would go nuts. We took the following steps to narrow down the problem and I actually captured video of part of the debugging. I’m including it with this post.
The steps we took were:
1) We initially saw the issue when we operated the camera servo normally and energized the Mabuchi motor with a speed controller.
2) We took the motor leads from the Mabuchi motor and ran them to a completely different battery. As soon as I connected the motor leads to the battery the servo went nuts again. This is what I got video of.
3) We checked for a low impedance (resistance) between the motor case and either of the motor leads and verified it was an open (greater then 10 Meg Ohms).
4) We removed the Mabuchi motor entirely from the robot and operated it from an external 12V battery in the air near the camera servo. Again we saw problems with the servo.

This led us to believe that the problem is caused by electromagnetic interference (EMI). When the motor is operated the brushes internal to the motor cause a great deal of arcing, which is similar to a bunch of small lightning strikes. There isn't a great deal of energy in these arc’s but it's very high frequency and can capacitively and inductively couple onto other parts of the motor (like the case and back down the motor leads). Once the energy is outside the case it can radiate out very easily and interfere with the operation of neighboring sensitive electronics (like the feedback loop in servos).

The goal was to give the energy on the motor case and leads a path back to the source. A very effective way to do this is to attach small (< 1uF) ceramic or polyester capacitors from the motor case to the positive and negative leads of the motor. Aluminum electrolytic or tantalum capacitors should not be used because they have a fairly high series resistance and inductance and can be damaged if the motor voltage was reversed.

We connecting a 0.1uF 50V ceramic capacitor (available at any Radio Shack) from the positive motor lead to the case and a second capacitor from the negative motor lead to the case. The problem instantly went away and we've never seen it since.

From my interpretation of <R55> they are trying to protect against DC current through the frame like typically done in an automobile. This practice can be very damaging if it’s not handled properly. I believe connecting a small capacitor between the motor leads and the motor case (which may be connected to the frame) should not cause problems and shouldn’t be covered by this rule. Is this correct?
Attached Files
File Type: zip Servo_Mabuchi.zip (2.64 MB, 30 views)
  #14   Spotlight this post!  
Unread 02-05-2006, 20:10
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Camera \ EMF problems...

Quote:
Originally Posted by Schmitty!
We connecting a 0.1uF 50V ceramic capacitor (available at any Radio Shack) from the positive motor lead to the case and a second capacitor from the negative motor lead to the case. The problem instantly went away and we've never seen it since.

From my interpretation of <R55> they are trying to protect against DC current through the frame like typically done in an automobile. This practice can be very damaging if it’s not handled properly. I believe connecting a small capacitor between the motor leads and the motor case (which may be connected to the frame) should not cause problems and shouldn’t be covered by this rule. Is this correct?
In fact, a team in the Galileo division (was it 177?) mentioned a similar issue, with respect to the Globe motors interfering with the camera (due to brush arcing, especially on worn-out motors with large spark gaps at the commutator). They pointed out that a capacitor would attenuate the problem, but they also noted (correctly) that they were not permitted to install one as per <R59> since the capacitor is a custom circuit, and can't be connected in a way that "alter[s] the power pathways between...[the] speed controller/relay, and motor". Also, as you noted, <R55> remains in force and provides for no exceptions. For this past season, it wouldn't have been legal.

That team felt that it was an item worthy of FIRST's consideration for next year, because the effect ought to be minimal. Note, however, that I believe that their proposed solution involved a non-polarized capacitor across the leads, instead of to the frame or case of the motor.
  #15   Spotlight this post!  
Unread 02-05-2006, 20:12
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Camera \ EMF problems...

Caps on RC can motors is standard practice in the RC hobbies.
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 04:32.

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