Go to Post Y'know... I think I'd much rather have big balls than hang myself... - FotoPlasma [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 07-12-2010, 20:56
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,766
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: Grey Jaguar No Power Out

Daniel,
The resistor is read the other way indicating it is a 470K (yellow, violet, yellow) while the gold band indicates 5%. In the schematic it is the bias resistor for the current sense amp, R43. This resistor centers the opamp operating voltage so that it varies around a quiescent 3.3v/2. When you try to use your Jag what is the color of the LED telling you?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #17   Spotlight this post!  
Unread 07-12-2010, 22:12
dbeckwith's Avatar
dbeckwith dbeckwith is offline
Lead Programmer
AKA: Daniel Beckwith
FRC #3205 (The Patriots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: USA
Posts: 84
dbeckwith is an unknown quantity at this point
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by Al Skierkiewicz View Post
When you try to use your Jag what is the color of the LED telling you?
The lights read as if the Jag were operating normally: medium flashing green when forward, solid orange when stopped, and medium flashing red when backward.
Actually, while typing that I thought of something! The Jags are supposed to show solid green when fully forward and solid red when fully backward, but even when I push the joystick all the way, it never goes solid. When we tested the voltage coming out of the Jag, we just got negligible voltage and assumed it was nothing, but maybe for some reason the speeds are getting scaled down by 50 or something. I'll try to look into why that would be.
That seems the most likely reason for our trouble now, since I couldn't find anything else wrong with the Jag. The manual said: "To accommodate variation in the timing of the supplied signal, the MDL-BDC has a calibrate feature that sets new values for full-forward, full-reverse, and points in between. Calibration is typically only required in applications where the PWM source has uncertainties due to analog radio links or other variables. Direct digital sources are unlikely to require calibration." This might be one of those "unlikely" times.
So that might be it. Al least it's now the primary suspect, and secondary would be the code.
__________________
q = (2*b) | ~(2*b);

if (life.getLemons() != null) this.lemonade = new Drink(life.getLemons());
else throw new NoLemonsException("What now?");


Reply With Quote
  #18   Spotlight this post!  
Unread 08-12-2010, 00:55
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by dbeckwith View Post
That seems the most likely reason for our trouble now, since I couldn't find anything else wrong with the Jag. The manual said: "To accommodate variation in the timing of the supplied signal, the MDL-BDC has a calibrate feature that sets new values for full-forward, full-reverse, and points in between. Calibration is typically only required in applications where the PWM source has uncertainties due to analog radio links or other variables. Direct digital sources are unlikely to require calibration." This might be one of those "unlikely" times.
So that might be it. Al least it's now the primary suspect, and secondary would be the code.
If you are using a cRIO with WPILib to control your Jag over PWM, you should not need to calibrate it. They were designed to operate together out of the box. Do make sure that you haven't told WPILib that you are using a Victor instead of a Jaguar, though.
Reply With Quote
  #19   Spotlight this post!  
Unread 08-12-2010, 07:31
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,766
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: Grey Jaguar No Power Out

Daniel,
The lights indicate that you are not going to full throttle in each direction but that is usually the case. If the control fault is not software related, Jag calibration will match your controller to the full output of your joysticks.
If you are only testing the output of the Jag with a voltmeter, remember that the Jag output switching frequency is 15kHz which is way above the frequency limits for many voltmeters. They are also not intended to read PWM, square wave signals. The Victors are 150 Hz which is in the range for most meters but are still not accurate due to the square wave output of motor controllers.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #20   Spotlight this post!  
Unread 08-12-2010, 11:25
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Grey Jaguar No Power Out

I would think an analog voltmeter on the "DC" setting would do a reasonable job of measuring the effective DC-equivalent voltage of the Jag's PWM output.

Haven't actually tried it though. Anybody got data ?


Reply With Quote
  #21   Spotlight this post!  
Unread 08-12-2010, 12:05
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,766
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: Grey Jaguar No Power Out

Quote:
Originally Posted by Ether View Post
I would think an analog voltmeter on the "DC" setting would do a reasonable job of measuring the effective DC-equivalent voltage of the Jag's PWM output.

Haven't actually tried it though. Anybody got data ?

You mean a Simpson 360 type meter? At best it might give you average readings for most of the higher throttle values. AT 50% or less, I don't think you could depend on it to give you any meaningful info other than the polarity and presence. The meter movement varies so much from manufacturer to manufacturer that I don't think you can make a blanket statement.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #22   Spotlight this post!  
Unread 08-12-2010, 13:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by Al Skierkiewicz View Post
You mean a Simpson 360 type meter?
I mean an analog voltmeter, with coil movement and a needle pointer.

Any cheap $10 one would do, set to read DC.

By "effective DC-equivalent voltage" in this context I mean the following:

- When the Jag is being commanded to output 100% voltage, the meter would read 12V at the Jag's output.

- When the Jag is being commanded to output 50% voltage, the meter would read 6V at the Jag's output.

- When the Jag is being commanded to output 0% voltage, the meter would read 0V at the Jag's output.

- When the Jag is being commanded to output -50% voltage, the meter would read -6V at the Jag's output.

- When the Jag is being commanded to output -100% voltage, the meter would read -12V at the Jag's output.

etc


Haven't actually tried it though. Anybody got data ?




Last edited by Ether : 08-12-2010 at 14:29.
Reply With Quote
  #23   Spotlight this post!  
Unread 08-12-2010, 21:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Grey Jaguar No Power Out

I tested both an analog and a digital multimeter set to DC and got identical responses in the range of 0-5.5v for zero to full throttle on a jag output.

P.S.
I'm a little slow, but I awoke in the middle of the night to the realization that my measurement mistake was because the battery had been drawn low by the motor load probably coupled with a low battery.
The battery I used was drawn down to 7.5v, so apparently ~2v might get dropped by measuring with these type of multimeters.
I'll check again with a fully charged battery and without a motor load when the real morning comes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-12-2010 at 03:54.
Reply With Quote
  #24   Spotlight this post!  
Unread 08-12-2010, 21:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by Mark McLeod View Post
I tested both an analog and a digital multimeter set to DC and got identical responses in the range of 0-5.5v for zero to full throttle on a jag output.

Most interesting. Did you have a motor connected or no ?


Also, at full throttle isn't the Jag's output waveform supposed to be essentially a flat-line 100% 12V ?




Last edited by Ether : 08-12-2010 at 21:46.
Reply With Quote
  #25   Spotlight this post!  
Unread 10-12-2010, 14:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Grey Jaguar No Power Out

I tested with a stronger battery and it had the same 2v drop through the jag showing on both analog and digital meters.
Jag goes solid green for forward.
I'll put a scope on it later to see what's happening to both the power output and to confirm the PWM input signal is at full.
I took the load off for this second test, so the Jag had nothing connected this time.

The original test was done on a competition robot. I moved the second test to a stand-alone cRIO/Jag (quieter that way...).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-12-2010 at 14:11.
Reply With Quote
  #26   Spotlight this post!  
Unread 10-12-2010, 14:22
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,766
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: Grey Jaguar No Power Out

Mark,
I know I am asking a lot, but when you set the test up with motors, can you evaluate with a CIM connected and window motor connected?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #27   Spotlight this post!  
Unread 10-12-2010, 17:04
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Grey Jaguar No Power Out

I can add tests with both CIM & window motors.

My scope has a problem so I have to use the one in the robotics lab. I think the one in our lab is a 20MHz model.
I got lazy and brought stuff home where I thought I had a better scope...

Both types (analog/digital) of multimeters do measure Victor full power correctly. I even tested by alternately telling the software it was a Victor/Jaguar just for fun.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-12-2010 at 17:07.
Reply With Quote
  #28   Spotlight this post!  
Unread 10-12-2010, 17:17
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by Mark McLeod View Post
Both types (analog/digital) of multimeters do measure Victor full power correctly. I even tested by alternately telling the software it was a Victor/Jaguar just for fun.
Are you saying you don't see the 2V drop with the Victor, but you do still see it with the Jag? If so, could you put the scope on the Jag's PWM input and see what pulse width is being commanded at full throttle ?




Last edited by Ether : 10-12-2010 at 17:21.
Reply With Quote
  #29   Spotlight this post!  
Unread 10-12-2010, 18:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Grey Jaguar No Power Out

Fixed my scope - broken ground reference wire.

Looks like the PWM signal is correct on both the Victor (smaller range) and Jaguar (larger range) settings.
The solid green/red light on the Jag does indicate full power is being ordered via PWM.

The Jag just reads 2v under at max while the victor reading equals max voltage.

This is all without any load. I created button controls to order full power, in addition to a throttle test.

I'll pick up motors tomorrow for further testing.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 10-12-2010 at 18:36.
Reply With Quote
  #30   Spotlight this post!  
Unread 10-12-2010, 18:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Grey Jaguar No Power Out

Quote:
Originally Posted by Mark McLeod View Post
Fixed my scope - broken ground wire.

Looks like the PWM signal is correct on both the Victor (smaller range) and Jaguar (larger range) settings.
May I echo back to you what I think I hear you saying, so you can correct any misunderstandings?

- you fixed your scope (yea!)

- you scoped the Jag's input PWM and it had a 2.33ms pulse width at full throttle?

- you scoped the PWM output from the Jag while commanding full throttle and you saw a 100% duty cycle on the output and yet the voltage measured by your meters was 2V lower than the supply???



Reply With Quote
Reply


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
axis camera power cable falling out.. dani190 Electrical 7 19-02-2009 13:55
Power out puts ErinColleen Technical Discussion 2 21-01-2005 14:19
Grey Foam-Rubber Wheels RBrandy Technical Discussion 3 31-10-2003 01:11
Grey Daze Raven_Writer Chit-Chat 0 24-08-2003 18:45
Grey Hindge spring loaded archiver 2000 0 23-06-2002 23:10


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

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