Go to Post FIRST provides evidence that many of us are optimists. - mrnoble [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 05-07-2007, 20:02
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
PWM translates to movement?

How does the PWM signal translate to turning on and off the MOSFETS in the H bridge on those victors? Can someone explain how that works? I know that 127 is neutral in PWM signals, but anything less translates to reverse or moving back. Do thoses pulses go directly to the FETs on the H bridge, or is there some kind of translation involved to determine direction first, then a seperate pulse driver is used to pulse the FETS? Im trying to experiment with PWM signaling as apposed to using digital signals. =D Making my own H-Bridge.
  #2   Spotlight this post!  
Unread 05-07-2007, 20:22
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: PWM translates to movement?

The PWM signal used for R/C cars (and in FIRST) is a coded signal, where a pule of 1.0 mSec width is considered "zero", 1.5 mSec is considered "127" and 2.0 mSec is considered "255". These pulses are sent every 20 mSec or so, but this timing can and does vary by application, and can be anything from about 4 mSec to 100 mSec, as reasonable values.

A piece of hardware (think "IC Chip") is then used to translate the 0 - 255 signal to a motor drive signal. Using a Victor as an example, a 0 is full reverse, and 255 is full forward. Between those two extremes is where it gets interesting.

In the case of 3/4 forward, what the victor actually feeds the motor is 75% of the time a full forward signal, and 25% of the time a full reverse signal - flipping back and forth very fast, one or 2 thousand times per second (but this can be from dozens to tens of thousands per second). Because of the mass and inertia of the motor, it reacts as if you just sent 75% of the regular voltage, instead of actually reversing.

This means, the victor has only two output states: Full forward and full reverse. By switching between them very fast, the motor sees the 'average' and reacts accordingly.

This drive signal is also a kind of PWM, but really we call it is "Square wave" with a certain "Duty cycle", which varies between 0% and 100%. You can have 2 kinds of drive: full reverse to full forward, or 0 to full but with a separate signal for direction.

An H Bridge circuit simply takes the duty cycle signal and amplifies it greatly, using the available supply voltage (such as 12 volts for a FIRST robot). You can make it go from 0% (stop) to 100% (Full) with just 2 transistors or FETs (one for + and one for -), but to reverse the current (like a Victor) you need four. If you don't need variable speed, you can use 4 relays to make an H bridge, but variable speed is where the fun is (transistrs and FETs can switch on and off far faster than relays, so that's what we use for variable speed).

Hope this gets you started, there's a ton of info out there on H bridges and R/C PWM signals.

Don.
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 05-07-2007, 22:42
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: PWM translates to movement?

<<<In the case of 3/4 forward, what the victor actually feeds the motor is 75% of the time a full forward signal, and 25% of the time a full reverse signal - flipping back and forth very fast, one or 2 thousand times per second (but this can be from dozens to tens of thousands per second). Because of the mass and inertia of the motor, it reacts as if you just sent 75% of the regular voltage, instead of actually reversing.

This means, the victor has only two output states: Full forward and full reverse. By switching between them very fast, the motor sees the 'average' and reacts accordingly.>>>

I would hope that the output of the victor has four states,
full forward, full reverse, motor terminals open (coast) and
motor terminals connected to each other (brake).

Switching between full forward (or full reverse) and terminals
open would be a good thing, modulating the average torque of
the motor. Switching between full forward and full reverse
would be a bad thing...

Eugene
  #4   Spotlight this post!  
Unread 06-07-2007, 00:15
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: PWM translates to movement?

Don's explanation is a good overview of the concept, but please don't pay too much attention to the details of what he said. He's essentially correct for some H-switch circuits, but the Victors don't work the way he described. Eugene is correct in that there are four states, corresponding to various combinations of plus voltage, minus voltage, or open circuit on each of the two output terminals.

The Victor circuitry is very fancy. It doesn't use the PWM signal to drive its output directly. Instead, it actually measures the PWM input, turns the pulse width into a number, and uses that number to control the outputs with an internally generated pulse width and direction control signal.

Here's more than you needed to know:

The IFI control system assigns a value from 0-254 (not 255) to the range of pulse widths from 1.0 to 2.0 milliseconds, with 127 corresponding to 1.5 ms. The Victor nominally turns a measured 1.5-2.0 ms into a 0-100 forward value, but the output actually stays at zero for at least the theoretical 0-6 range, and it reaches 100 with an incoming pulse width that is somewhat less than 2.0 ms. It turns 1.0-1.5 milliseconds into a 100-0 reverse value, with the same holding at zero until it reaches 7 or so, and getting to 100 before the pulse width gets down to 1.0 ms. Experiments have shown that the Victor's center value is not precisely 127; it's actually more like 134. So the Victor output isn't symmetrical around the theoretical neutral value of the IFI system.
  #5   Spotlight this post!  
Unread 06-07-2007, 01:57
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Re: PWM translates to movement?

I got everything you explained except this part:

"but the output actually stays at zero for at least the theoretical 0-6 range, and it reaches 100 with an incoming pulse width that is somewhat less than 2.0 ms. It turns 1.0-1.5 milliseconds into a 100-0 reverse value, with the same holding at zero until it reaches 7 or so, and getting to 100 before the pulse width gets down to 1.0 ms."

Could you explain that a little more, what is the theoretical 0 - 6 range? does this mean there there is another IC chip that translates the pwm signals to a seperate pulsed signal that contains forward and reverse for the FETs? are there IC chips out there that are already programed to do that? I don't want to run into programming it etc...

Also, if I am switching current on a solenoid quickly, to prevent arcing, is it possible that I hook up two diodes in parallel but in opposite directions? is there a better solution to this other than using diodes? I know people use diodes to lessen the EMF from the collapsing field, but if im constantly creating, destroying fields, how would I handle the EMF? with currents up to something like 40 amps..

Last edited by Generalx5 : 06-07-2007 at 02:14.
  #6   Spotlight this post!  
Unread 06-07-2007, 08:13
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: PWM translates to movement?

General,
There are diodes built into the MOSFETs that are used in the Victor output stages. Don't add any diodes externally. If it helps, the Victor acts more like four switches. If you can visualize the letter H the four switches are the vertical lines above and below the horizontal line. If a motor is inserted in place of the horizontal line and the top of the "H" is tied to plus power supply and the bottom to negative power supply then the four switches can control the motor. For one direction, two diagonally opposed switches close and current flows through the motor in one direction. (i.e. from top left to bottom right) For direction reversal, close the other two switches instead (i.e. from top right to bottom left) and the motor current is reversed. Open all switches and the motor coasts and close just the bottom switches and the motor is attached to a dead short or is in brake. What takes place during operation is the switches for a particular direction are turned on and off at the duty cycle for less than full on. The switching frequency of the Victor is about 120Hz. IFI has programmed the Victor to convert the input 0-254 steps to 94 distinct steps plus direction between zero and full on. The brake selection determines the action of the output when the joystick input is at zero (the deadband or 127 +/- 10).
Onto your original question, rarely will designers use a motor speed controller to operate solenoids. Since solenoids generally just turn on or off, the designer will use a simple switching device to energize the solenoid. Since the current flows in only one direction (for DC solenoids, diodes are not used on AC devices) to actuate the solenoid, the collapsing field causes a current to flow opposite the actuating current. It is this current that the diodes will clamp when used. They are always wired to conduct when the energizing current is removed. (i.e. cathode to the more positive terminal of the solenoid.)
Now, I know what you're thinking, motors act like solenoids don't they? And the answer is Yes. But we still need the motors for our design so we put up with the arcing caused by the generated EMF. It is the current generated by the rapidly collapsing field that causes the arc you see at the brushes in a motor. When the arc produces problems (like generated electrical noise and RF interference) then designers use capacitors to try and squash the generated pulses. FIRST allowed caps for the first time this year to be placed across the motor leads. Some motors caused some significant problems in the servo PWM feeds to cameras. The caps were allowed to try and solve that problem. I have not received any reports but one team that used this approach and it was not conclusive.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 06-07-2007 at 08:17.
  #7   Spotlight this post!  
Unread 06-07-2007, 16:04
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,959
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: PWM translates to movement?

Quote:
Originally Posted by Generalx5 View Post
Also, if I am switching current on a solenoid quickly, to prevent arcing, is it possible that I hook up two diodes in parallel but in opposite directions? is there a better solution to this other than using diodes? I know people use diodes to lessen the EMF from the collapsing field, but if im constantly creating, destroying fields, how would I handle the EMF? with currents up to something like 40 amps..
2 parallel diodes in oppposite orientations is a dead short. Do not do this unless you plan on letting out the magic smoke.

There are a few ways of lessening EMF:

The first is setting up a lowpass RC filter. This will allow the DC through while lowering the HF that would cause interference with other devices around. The tradeoff here is that you will slow down the time to full voltage / 0 voltage.

The second option is a faraday cage around the EMF producing device (IE motor). If set-up properly (as a flux conductor) you can retrieve most of the expended EMF energy. The drawback here is that you cannot hook this to your frame as it will conduct measurable energy on the frame which is against FIRST rules.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #8   Spotlight this post!  
Unread 06-07-2007, 16:37
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: PWM translates to movement?

Quote:
Also, if I am switching current on a solenoid quickly, to prevent arcing, is it possible that I hook up two diodes in parallel but in opposite directions? is there a better solution to this other than using diodes? I know people use diodes to lessen the EMF from the collapsing field, but if im constantly creating, destroying fields, how would I handle the EMF? with currents up to something like 40 amps..
I would recommend a transorb/transient voltage suppression diode. In fact the circuit symbol is two diodes attached in series with opposing polarity.
http://en.wikipedia.org/wiki/Transorb
Quote:
FIRST allowed caps for the first time this year to be placed across the motor leads. Some motors caused some significant problems in the servo PWM feeds to cameras. The caps were allowed to try and solve that problem. I have not received any reports but one team that used this approach and it was not conclusive.
Capacitors do help with the EMF from motors. I have measured this with an oscilloscope and a current sensor. The current waveforms improved when I placed the capacitor and degraded when I removed them. Of course this wasn't with any motor that FIRST uses and the capacitor bank was fairly large.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill

Last edited by Adam Y. : 06-07-2007 at 16:44.
  #9   Spotlight this post!  
Unread 06-07-2007, 17:37
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: PWM translates to movement?

Quote:
Originally Posted by Alan Anderson View Post
The IFI control system assigns a value from 0-254 (not 255) to the range of pulse widths from 1.0 to 2.0 milliseconds, with 127 corresponding to 1.5 ms. The Victor nominally turns a measured 1.5-2.0 ms into a 0-100 forward value, but the output actually stays at zero for at least the theoretical 0-6 range, and it reaches 100 with an incoming pulse width that is somewhat less than 2.0 ms. It turns 1.0-1.5 milliseconds into a 100-0 reverse value, with the same holding at zero until it reaches 7 or so, and getting to 100 before the pulse width gets down to 1.0 ms. Experiments have shown that the Victor's center value is not precisely 127; it's actually more like 134. So the Victor output isn't symmetrical around the theoretical neutral value of the IFI system.
Those ranges are for the factory setting, correct?
  #10   Spotlight this post!  
Unread 06-07-2007, 20:46
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: PWM translates to movement?

Quote:
Originally Posted by Generalx5 View Post
If an H bridge was designed to supply 40amps continous and a motor shorted out from a power supply that could only provide maximum 20 amps, would that damage the H Bridge?
No, since only 20 Amps will flow (theoretically)

Quote:
Originally Posted by eugenebrooks View Post
Switching between full forward and full reverse would be a bad thing...
Not really, but I agree switching to Open would be less bad

Quote:
Originally Posted by Alan Anderson View Post
Don's explanation is a good overview of the concept, but please don't pay too much attention to the details of what he said. He's essentially correct for some H-switch circuits, but the Victors don't work the way he described.
Eh, close enough. I was thinking of H bridges in general, not specifically the Victor, but I wrote as if it was the Victor... My Bad.

Don
__________________

I am N2IRZ - What's your callsign?
  #11   Spotlight this post!  
Unread 06-07-2007, 21:41
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Re: PWM translates to movement?

oops, in the above I meant to say using 2 diodes in series, not parallel. I guess that would work. In brushless motors, how do they change the current directions in the stator? Im attempting to do essentially the same thing but using H-Bridges because they can handle high currents.

Also, theres something else im not really clear, is that, if a mosfet had already been turned on so that it conducts, and current is then applied at the source after. will the mosfet heat up? From what I've read, its the point when the mosfet conducts (rise/fall) when current is present at the source that heats up the mosfet. But say it the current wasnt there when it conducts, will that heat up the mosfet? The other thing is, will it even work if there is no current present at the source terminal?

Anyone know a good PWM chip I can use directly without programing, like the PWM IC chip in the Victors. Also, I've noticed that the MOS Drivers only require 2 miliamps for their source I believe any higher would damage them, so I am wondering how I can get that sort of current if I connect it directly to the high current power supply(without the use of a seperate power supply, like our victors).

Last edited by Generalx5 : 07-07-2007 at 21:30. Reason: added last paragraph..
  #12   Spotlight this post!  
Unread 10-07-2007, 01:28
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Re: PWM translates to movement?

Also, theres something else im not really clear, is that, if a mosfet had already been turned on so that it conducts, and current is then applied at the source after. will the mosfet heat up? From what I've read, its the point when the mosfet conducts (rise/fall) when current is present at the source that heats up the mosfet. But say it the current wasnt there when it conducts, will that heat up the mosfet? The other thing is, will it even work if there is no current present at the source terminal?
  #13   Spotlight this post!  
Unread 11-07-2007, 15:36
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: PWM translates to movement?

Actually, there are some applications that switching between full-forward and full-reverse (Locked-Anti phase) are more advantageous than full-forward/reverse and float/brake (Signed-Magnitude). It normally offers more linearity in motor RPM vs Duty Cycle. This is probably because the motor coasts for different periods of time depending on the shaft's velocity prior to turning off power to the motor and this relation is not linear.
  #14   Spotlight this post!  
Unread 15-07-2007, 01:26
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: PWM translates to movement?

Quote:
Originally Posted by Generalx5 View Post
Also, theres something else im not really clear, is that, if a mosfet had already been turned on so that it conducts, and current is then applied at the source after. will the mosfet heat up? From what I've read, its the point when the mosfet conducts (rise/fall) when current is present at the source that heats up the mosfet. But say it the current wasnt there when it conducts, will that heat up the mosfet? The other thing is, will it even work if there is no current present at the source terminal?
I'm not sure I competely understand your question.

The transistor will only heat up when there is current through it (just like anything else). P=IV; no current, not heat. In a MOSFET, all current is between the drain and source. So, Idrain=Isource. No source current means no drain current, which means no current at all.

To turn the transistor on, it must be biased correctly. The main part is that Vgs (gate to source voltage) must be above the threshold voltage for the transistor (usually a few volts). However, Vds (drain to source voltage) also needs to be higher than Vgs. I'd have to think about it a little more, but I don't think it's possible to properly bias it while also cutting the current.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #15   Spotlight this post!  
Unread 15-07-2007, 10:49
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: PWM translates to movement?

At risk of showing my age.....

Think of a MOSFET as being a Voltage Controlled Resistor.

The MOSFET's 'transfer function' sez you apply a voltage to the gate. That will control the resistance of the MOSFET, somewhere between completely open and completely closed.

BTW, a vacuum tube has a transfer function a lot like a MOSFET.

In your application you are operating this thing complete like an on/off switch and just varying the duty cycle. When the switch is complete on, the resistance doesn't go completely to zero, but a very low value. The better the MOSFET, the lower the value.

If you motor stalled or shorted, or (even if it isn't shorted) there is a voltage drop, and I squared R loss across the device, that turns into heat. It you can dissipate the heat and stay within the operating limits of the device then it will be fine. You just have to move the heat off the silicon.

That is pretty much the trick for reliability. Keep all you signals, spikes, heat loads, etc well withing the device parameters. Just like you would design a building or a bridge (no pun intended).

FYI,

MOSFETs have a 'transfer function'. It is a mathematical thing (often times graphed) that shows the relation between the input and output of the device.

If you operate this thing over it's 'linear region' you can build an amplifier. Nearly all guitar, PA, stereo amplifiers are built around mosfets. Broadcast transmitters now use mosfets in all stages on most transmitters or drive final tube stages on the largest transmitters.

Years ago mosfets (the gates failed) were pretty fragile but modern mosfets are amazingly tough. These broadcast transmitters have to be because they get really banged around with those big lightning seeking iron sticks in the backyard.

Ed
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
The Rack movement G-Ball Rules/Strategy 5 03-02-2007 08:03
Mecanum Suspension Movement Rob2713g Technical Discussion 10 14-12-2006 19:22
Camera Movement has Ceased phrontist Programming 2 11-02-2005 10:22
Ramp Affecting Robot Movement Yan Wang Rules/Strategy 6 26-02-2003 08:27


All times are GMT -5. The time now is 08:23.

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