Go to Post I can neither confirm nor deny that I've worked on alot of pretty cool stuff. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-06-2010, 18:22
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Current Control

Quote:
Originally Posted by EricVanWyk View Post
Marshall -

Something in my head just jostled loose regarding this statement.

The PID loop uses the current sensor as an input and gives duty cycle as an output. Therefore, the style of analysis you were attempting does not work in this situation. Your example becomes:

% on time = scaling_factor * 1 * (40-2.5)

instead of

Amps = 1 * (40A-2.5A)
Did I mis-state something?.
The output I was recording was the voltage across the motor's leads, as reported by the Jaguar. (I have a Fluke 175 I could use instead if the Jaguars just report a calculated value for voltage)

What do you suppose the scaling factor could be? There is no configuration that relates to this, except perhaps "number of brushes".
__________________
-- Marshal Horn
Reply With Quote
  #2   Spotlight this post!  
Unread 21-06-2010, 12:08
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Current Control

Something to note:

If using a Black Jaguar, the current measurement accuracy below 8A is typically +/-2A. When trying to drive at lower currents, you might be reading 0A when it is actually 2A. Above 8A the current accuracy improves to +/- 1A. (This info is in the Black Jaguar Datasheet)

The current sense circuit in Black Jaguar is quite accurate in the higher current range. Unfortunately you get the +/- 1A and +/- 2A thing going on in the lower ranges. This is on our list of things that need improvement.

Gray Jaguar is rated at +/- 1A typically. Like Black Jag, it should improve at higher currents.

-David
Reply With Quote
  #3   Spotlight this post!  
Unread 21-06-2010, 12:37
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Current Control

Quote:
Originally Posted by dyanoshak View Post
Something to note:

If using a Black Jaguar, the current measurement accuracy below 8A is typically +/-2A. When trying to drive at lower currents, you might be reading 0A when it is actually 2A. Above 8A the current accuracy improves to +/- 1A. (This info is in the Black Jaguar Datasheet)

The current sense circuit in Black Jaguar is quite accurate in the higher current range. Unfortunately you get the +/- 1A and +/- 2A thing going on in the lower ranges. This is on our list of things that need improvement.

Gray Jaguar is rated at +/- 1A typically. Like Black Jag, it should improve at higher currents.

-David
Thank you!
For some reason I hadn't seen it there before.
I see it also says "measurement resolution: 10 bits". Does this refer to the ADC on the ARM? Is the +/- 1A resolution the accuracy of the sensor itself?
__________________
-- Marshal Horn
Reply With Quote
  #4   Spotlight this post!  
Unread 22-06-2010, 16:06
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Current Control

Quote:
Originally Posted by kamocat View Post
Thank you!
For some reason I hadn't seen it there before.
I see it also says "measurement resolution: 10 bits". Does this refer to the ADC on the ARM? Is the +/- 1A resolution the accuracy of the sensor itself?
Yes, 10 bit ADC.

The +/- 1A is a combination of the sensor's accuracy and what we measured on multiple Jaguars in the lab.

-David
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
closed-loop torque (current) wheel control for mecanum Ether Programming 3 07-02-2010 00:54
Current Sensors maclaren Electrical 15 04-12-2007 15:21
Current Events? Pavan Dave CD Forum Support 1 18-04-2007 07:49
Current Sensor Joshua May Programming 6 12-02-2004 10:48
Amperage or Current Rob Colatutto Electrical 19 24-01-2003 21:16


All times are GMT -5. The time now is 00:05.

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