Go to Post just remember, with power comes responsibility. - Mike Ciance [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

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 6 votes, 3.67 average. Display Modes
  #1   Spotlight this post!  
Unread 22-12-2004, 13:05
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Victors Non-linear!!!

I have confirmed a suspicion i have had for a while. Apparently the victor 884's do not have a linear PWM input vs. voltage input.

A DVM was attached to a victor and the values recorded while incrementing the PWM input by a set number every 6 seconds. The reason for the initial values being a bit sketchy is that i was using a cheap digital meter that fluctuated a bit. As time went on, i got a little better at figuring what number it was hovering around.


Here i attached an unloaded motor to a victor and measured its speed vs. victor PWM input. The speeds were determined using a 1024 count optical encoder encoder. The motor was a fisher-price motor w/gearbox.
The test was automated and did the following:
1.set victor output
2.wait 2 secs for speed to stabilize
3.count encoder ticks for x secs. (I think the test was set to wait 3 seconds at the time this data was taken).
4.output data
5.increment pwm output and goto step 2 unless finished

Note that since the motor is unloaded, motor models dictate that speed should be directly porportional to the input voltage of the motor.


I should mention that these tests were done on a single victor 884 and i cannot guarentee that all victors behave similarly although i believe that they do. I also believe that this curve is a feature of their design.

There will be higher resolution data as well as code examples of how to compensate for this to come. It will probably be a while as i am busy with other things and will be out of town all this week.

I hope my imagehost holds up
__________________
1139 Alumni
  #2   Spotlight this post!  
Unread 22-12-2004, 14:02
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Victors Non-linear!!!

Jim,


Very interesting data. Thank you for sharing. I'm not sure why IFI would make its device non-linear.

I would be tempted to redo the test and monitor the controller output PWM with a scope.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 22-12-2004, 14:10
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Victors Non-linear!!!

Quote:
Originally Posted by Mike Betts
Jim,


Very interesting data. Thank you for sharing. I'm not sure why IFI would make its device non-linear.

I would be tempted to redo the test and monitor the controller output PWM with a scope.

Mike
You are suggesting that perhaps this is an issue with the controller PWM output being nonlinear? I didn't think of that. This is something else i will test.
__________________
1139 Alumni
  #4   Spotlight this post!  
Unread 22-12-2004, 15:30
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Victors Non-linear!!!

Quote:
Originally Posted by Rickertsen2
You are suggesting that perhaps this is an issue with the controller PWM output being nonlinear? I didn't think of that. This is something else i will test.
Jim,

I rather doubt that the controller is non-linear and, the more I think on it, it does not matter. This non-linearity does shed some light on some phenomena I saw working with autonomous mode last year. I'm thinking a lookup table to linearize the output may be in order this year.

Once again, Thanks for sharing the data.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #5   Spotlight this post!  
Unread 22-12-2004, 14:07
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,484
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Victors Non-linear!!!

Very interesting information--definitely throws an extra idea or two in for the software crew this year.

And I'm sure we'd all love you to run this test on a few more Victors to see if the numbers hold up.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #6   Spotlight this post!  
Unread 22-12-2004, 14:19
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Victors Non-linear!!!

I think this is actually good news for most FIRST applications. Power is, of course, proportional to voltage squared and this curve looks to be approximately 1/x^2 so that way, PWM values are close to proportional to power.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #7   Spotlight this post!  
Unread 22-12-2004, 17:41
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,597
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: Victors Non-linear!!!

Quote:
Originally Posted by Rickertsen2
I have confirmed a suspicion i have had for a while. Apparently the victor 884's do not have a linear PWM input vs. voltage input.

A DVM was attached to a victor and the values recorded while incrementing the PWM input by a set number every 6 seconds. The reason for the initial values being a bit sketchy is that i was using a cheap digital meter that fluctuated a bit. As time went on, i got a little better at figuring what number it was hovering around.
Erm, so I'm confused. I was under the impression that the Vics have a PWM output instead of a variable voltage output. As such, you can't really measure the output with a standard multimeter. This would be why Mike Betts was talking about checking it with a scope.

This has not bearing on if the RPM output is linear, however. I think I'll do a Simulink model tonight and see how RPM varies with duty cycle, if I can get enough data on motors and the PWM output.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #8   Spotlight this post!  
Unread 22-12-2004, 18:22
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Victors Non-linear!!!

Quote:
Originally Posted by Kevin Sevcik
Erm, so I'm confused. I was under the impression that the Vics have a PWM output instead of a variable voltage output. As such, you can't really measure the output with a standard multimeter. This would be why Mike Betts was talking about checking it with a scope.
Exactly,
It's general knowledge that the Victors pulse 12V to the motors to control their speed. Except at the extremes when the FET's give the full 12V. It would be very difficult to measure this on a general purpose multimeter.

I am extremely skeptical of the voltages you are getting. A better test would be to see if the frequency is linear. I plan on checking that when I get back to the lab after the holidays.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers

Last edited by MikeDubreuil : 22-12-2004 at 18:26.
  #9   Spotlight this post!  
Unread 22-12-2004, 18:35
Dan Richardson's Avatar
Dan Richardson Dan Richardson is offline
iR3 Creative
AKA: Dan Richardson
no team
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Ft. Lauderdale FL
Posts: 1,116
Dan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond reputeDan Richardson has a reputation beyond repute
Re: Victors Non-linear!!!

Quote:
Exactly,
It's general knowledge that the Victors pulse 12V to the motors to control their speed. Except at the extremes when the FET's give the full 12V. It would be very difficult to measure this on a general purpose multimeter.

I am extremely skeptical of the voltages you are getting. A better test would be to see if the frequency is linear. I plan on checking that when I get back to the lab after the holidays.
Wouldn't these numbers make perfect sense in these instances? how at around 0 it went flat.. and untill that point it was near the bottom, and when it was near full 12v it was at the top? It would be taking the pulse average?

And with it fluctuating, it would confuse the meter?

Am I way off here?
__________________
CO-Founder of Robot in 3 Days and the Robot in 3 Day Challenge.


  #10   Spotlight this post!  
Unread 22-12-2004, 18:42
Yan Wang's Avatar
Yan Wang Yan Wang is offline
Ithaca is Gorges
AKA: John Wayne
FRC #0639 (Code Red Robotics)
Team Role: Alumni
 
Join Date: Sep 2002
Rookie Year: 2001
Location: Cambridge, MA
Posts: 1,910
Yan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud of
Send a message via ICQ to Yan Wang Send a message via AIM to Yan Wang Send a message via MSN to Yan Wang Send a message via Yahoo to Yan Wang
Re: Victors Non-linear!!!

That looks very much like a graph from how Tiddlywinks ratings are calculated.


http://www.cheng.cam.ac.uk/~pjb10/wi...gs/method.html
__________________
Code Red Robotics Team 639 Alumnus | www.team639.org
<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
  #11   Spotlight this post!  
Unread 22-12-2004, 18:49
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Victors Non-linear!!!

Quote:
Originally Posted by Stud Man Dan
Wouldn't these numbers make perfect sense in these instances? how at around 0 it went flat.. and untill that point it was near the bottom, and when it was near full 12v it was at the top? It would be taking the pulse average?

And with it fluctuating, it would confuse the meter?
At the extremes? Yes. The duty cycle would be 100% or closer and the meter would easilly be able to read the value. His data does indeed show that motor will get full voltage at the extremes.
However, the change from 0 volts to 12 volts is definitely not linear and more exponential. I think most of us have operated under the assumption that the change was linear.

EDIT: If anyone has taken an electronics course, Jim's graph looks very similar to an RC circuit charging and discharging.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers

Last edited by MikeDubreuil : 22-12-2004 at 18:54.
  #12   Spotlight this post!  
Unread 22-12-2004, 18:39
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Victors Non-linear!!!

Quote:
Originally Posted by MikeDubreuil
Exactly,
It's general knowledge that the Victors pulse 12V to the motors to control their speed. Except at the extremes when the FET's give the full 12V. It would be very difficult to measure this on a general purpose multimeter.
You can with a true RMS meter.

Quote:
Originally Posted by MikeDubreuil
I am extremely skeptical of the voltages you are getting. A better test would be to see if the frequency is linear. I plan on checking that when I get back to the lab after the holidays.
Actually, the frequency is fixed. The duty cycle is what changes. This too can be measured directly with some higher-end meters, like the Fluke 189.

Edit: I wrote some code that shows how to generate the PWM signals using the PIC's CCP hardware. It's here: http://kevin.org/frc/edu_led_pwm.zip

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org

Last edited by Kevin Watson : 22-12-2004 at 18:42.
  #13   Spotlight this post!  
Unread 22-12-2004, 18:44
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Victors Non-linear!!!

Quote:
Originally Posted by Kevin Watson
Actually, the frequency is fixed. The duty cycle is what changes.
Ah, I didn't think of that. That makes much more sense that the frequency chaging.
Either way, we have an HP scope in the lab that will tell us duty cycle. Thanks for the heads up.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #14   Spotlight this post!  
Unread 22-12-2004, 19:19
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Victors Non-linear!!!

Quote:
Originally Posted by MikeDubreuil
Ah, I didn't think of that. That makes much more sense that the frequency chaging.
Either way, we have an HP scope in the lab that will tell us duty cycle. Thanks for the heads up.
Actually, if the Victors will work down to five volts, you could feed the waveform back into a robot controller running suitable software to give you the information you want. This is pretty much what last years IR receiver software did.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #15   Spotlight this post!  
Unread 04-01-2005, 18:06
Caleb Fulton's Avatar
Caleb Fulton Caleb Fulton is offline
Z = Z^2 + C ......WHEEEE!
AKA: aXvXiA
#0461 (West Side Boiler Invasion)
Team Role: College Student
 
Join Date: Dec 2002
Location: West Lafayette, Indiana
Posts: 205
Caleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura about
Send a message via AIM to Caleb Fulton
Re: Victors Non-linear!!!

Quote:
Originally Posted by MikeDubreuil
Exactly,
It's general knowledge that the Victors pulse 12V to the motors to control their speed. Except at the extremes when the FET's give the full 12V. It would be very difficult to measure this on a general purpose multimeter.

I am extremely skeptical of the voltages you are getting. A better test would be to see if the frequency is linear. I plan on checking that when I get back to the lab after the holidays.
I'll do the same, and try to remember to post my results as well.

In response to Andy's post:

I can't tell how familiar you are with circuit analysis in the time domain, but it seems like you have a pretty good grasp of it qualitatively.

Here's a "formal" way of going about the series inductor-resistor's response to an impulse.

The impulse can be modeled by the use of the unit step function:

Vin = Vm(u(t) - u(t-Tw)),

where Vm is the voltage magnitude of the pulse and Tw is the length of the pulse. The unit step function u(tau) is simply 1 for tau >= 0 and 0 otherwise.

The "physics" description of how the inductor responds to voltages and currents is good for qualitative analysis, but I often get confused with the signs corresponding to the use of the term EMF instead of voltage drops. Here's the way I visualize it (this should be fun in ascii):

Code:
 Current, i(t)
   |   |
   |   |
   |  \|/
   |   v
+  |
    ) <-this "comes out at you"
  (   <-this "goes into the background"
    )
  (
    )
-  |
   |
emf = -L * di(t)/dt

An increasing i(t) over some period of t will cause the magnetic flux cutting the coils to increase in the downward direction. This causes an emf to be generated in the opposite direction, which is in the upward direction for the orientation of the coils above. Here's where my memory gets fuzzy, but I *think* it's right: The emf going upward, having the same units as Voltage, causes a voltage to develop across the terminals as marked on the figure. THe reason for this orientation, as I think of it, is that the emf is the result of a circular electric field that causes positive charges to go up in the figure. Thus, if a "load" existed in parallel with the inductor, it would act like a "battery" with a "voltage" that caused the current to go in the direction of the emf.

Thus, we can write a nice voltage/current relationship for the inductor and eliminate the negative sign and the emf term:

v(t) = L * di(t)/dt,

where the voltage and current orientation are as in the figure above. This corresponds to the passive sign convention, commonly used in linear circuit analysis, and the sign convention it follows is also used for resistors and capacitors: the current enters the positive node of any two-terminal element.

So let's say that we have a voltage source, given by Vin = Vm(u(t) - u(t-Tw)), in series with our inductor, L, and reisistor, R.

Code:
current
 -->
 ______
|      |
|      R
+      |
Vin    L
-      |
|______|
Kirchoff's voltage law gives the following equation:

Vin(t) = R * i(t) + L * di(t)/dt

or:

di(t)/dt + R / L * i(t) = Vin(t) / L

Using the integrating factor method (you can look this up if you haven't seen it before):

Let the integrating factor be exp(R / L * t) (where exp(x) = e^x)

then:

exp(R / L * t) * (di(t)/dt + R / L * i(t)) = d/dt((exp(R / L * t) * i(t)) = exp(R / L * t) * Vin(t) / L

Changing the variable of integration to tau and integrating both sides from 0 to t (Vin is 0 for tau < 0):

int(d/dt(exp(R / L * tau) * i(tau)), tau, 0, t) = int(exp(R / L * tau) * Vin(tau) / L, tau, 0, t)

For 0 <= t < Tw, Vin(t) = Vm, so evaluating the integrals gives:

exp(R / L * t) * i(t) - i(0) = Vm / L * ( L / R) * exp(R / L * t) - Vm / L * ( L / R) = Vm / R * exp(R / L * t) - Vm / R

We can say, for this case, that i(0), the initial current through the inductor, is 0, so:

exp(R / L * t) * i(t) = Vm / R * exp(R / L * t) - Vm / R

i1(t) = Vm / R (1 - exp(-R / L * t))

I call this i1(t) because it is only valid for the first part of the Vin excitation to the system.

From here, one can define t' = t - Tw such that t' = 0 corresponds to t = Tw

We can now solve for i2(t'), which is valid for all t' > 0 (or t > Tw) using the same method. It will come down to this equation again:

di(t')/dt' + R / L * i(t') = Vin(t') / L = 0 for t' > 0

Separating variables:

di(t')/i(t') = -R / L * dt'
or
di(tau')/i(tau') = -R / L * dtau'

Integrating from 0 to t', since we have taken into account tau' < 0 in the previous section of the problem:

ln(|i(t')|) - ln(|i(0)|) = -R / L * t'

exp(ln(|i(t')|) - ln(|i(0)|)) = exp(-R / L * t')

i2(t') = i2(0) exp(-R / L * t') where i2(0) = i1(Tw), a constant

In terms of t, i(t) for t > Tw is:

i1(Tw) exp(-R / L * (t - Tw))

Thus, the current over all time is:
Code:
i(t) = {0, t < 0 
       {Vm / R (1 - exp(-R / L * t)), 0 <= t < Tw
       {i1(Tw) exp(-R / L * (t - Tw)), t >= Tw
So this is what the waveform for the current looks like when there is a resistor in series with an inductor as a response to a pulse.
__________________
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
24Vs and victors greencactus3 Control System 13 05-02-2005 14:22
Calibrating Victors SpaceOsc Control System 27 19-11-2004 07:59
Flakey Victors archiver 1999 4 23-06-2002 21:58
DON'T Recalibrate Victors! Joe Johnson Off-Season Events 0 12-11-2001 22:58


All times are GMT -5. The time now is 18:31.

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