Go to Post Why do FIRSTers think we're better? ...because we hold values like honesty, integrity, and intelligence dear... - Redneck [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #19   Spotlight this post!  
Unread 14-12-2010, 23:42
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: HELP with TANK DRIVE PROGRAMMING

Ether is correct, PID-based speed control is your best option. Know that you must test and tune this until you can trust it to work how you want.


Now, about how Jaguars control motors: This is my understanding; please correct me if I'm wrong.
Say you have a DC brushed motor that draws 6A at 12V DC under normal load. That's 72W.
Now say you're driving it at 50% duty cycle, at 15khz. (I think that's the chop rate of a Jaguar). That motor coils have enough impedance that the motor effectively gets the RMS voltage - the average voltage. At 50% duty cycle, that would be 6v. Using ohm's law, we say that the motor would draw 3A. That makes 18W; a quarter of full power.

Now let's compare that to a 2 ohm resistor, with no significant impedance. The 50% duty cycle is still 12v, but only half the time. That means we take 60W / 2 = 30W. In this case, the Jaguar is better described as controlling current, as opposed to the voltage control in the previous example.

Victor 884's have a chop rate of 150hz, if I remember correctly. I know it's very poor control, and very audible at low speeds. It's clear that the motor impedance is not enough to make up for the low chop rate, and so the Victor effectively controls current. (I've looked at the waveform of a Victor 884 controlling a Globe motor. At 50% duty cycle, the inductive ring almost fades completely before the MOSFETs switch.)
Could this be why the control resembles a square root function? The Victor has a square root function internally because P=R*I^2, when (because of the low chop rate) the equation is actually P=V*I? (The only manipulated variable here is I; V and R are constants.)
__________________
-- Marshal Horn
Reply With Quote
 


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
Need help with tank drive nickcvet89 NI LabVIEW 16 02-02-2010 16:35
Problem with tank drive Mr. E NI LabVIEW 6 27-01-2009 16:59
Help with programing Tank Drive in Lab View zackcool123 NI LabVIEW 3 18-01-2009 19:49
EASY C PRO help tank drive issues!!! can any 1 solve this programming issue? mayazk Programming 2 16-02-2008 02:17
Tank Drive help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Idaman323 Programming 3 18-02-2005 15:17


All times are GMT -5. The time now is 01:37.

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