|
| LinkBack | Thread Tools | Display Modes |
07-18-2011, 10:28 AM | #1 |
Pebble Pounder Join Date: Jun 2006 Location: Keizer, OR
Posts: 170
| how to convert PWM to voltage
hello, i am looking for some help on a problem for my job. i am looking for a way to convert the PWM signal from receiver into an analog 0-5V signal to be used with an industral motor controller. i am not very familiar with most of the components google says to use. can someone point me in the right direction?
|
Sponsored Links | |
07-18-2011, 11:51 AM | #2 |
I wanna be Dave Join Date: May 2007 Location: Vancouver, BC
Posts: 2,379
|
What you want to do is build yourself an Integrator circuit. That will convert the average of the "on time" into a voltage. signal -->resistor---> +cap- --->Ground Then you will need to run it into an op amp or something to shift the voltage to the level you want. Take the voltage from the positive end of the cap. Hope that gets you started. |
07-18-2011, 11:56 AM | #3 |
owner, Holmes Hobbies LLC Join Date: Nov 2004 Location: Volt up! Gear down!
Posts: 20,290
|
Alternatively a servo could turn a POT if you weren't so savvy as to build such a thing. The voltage shifting of the integrator would be the tricky part.
|
07-18-2011, 11:58 AM | #4 | |
I wanna be Dave Join Date: May 2007 Location: Vancouver, BC
Posts: 2,379
| Quote:
(I'm not being sarcastic) Thanks! | |
07-18-2011, 12:07 PM | #5 |
owner, Holmes Hobbies LLC Join Date: Nov 2004 Location: Volt up! Gear down!
Posts: 20,290
|
I've had to build them before for such a task. The internal servo feedback POT can be used for the signal as well if the industrial controller 5v rail is used to power the servo and RX. Positive and negative power the system, and signal is tapped off the center of the POT. The tricky part is getting it to throw far enough to max out the feedback POT on both ends of travel, a radio with EPAs helps greatly. It is simple to get the signal to line up otherwise, if the signal is reversed biased the channel can simply be reversed. The only downside is that the servo transit time will dictate throttle response, but that isn't always a big deal. What industrial controller you using Donahue? I probably have experience with it, and if I don't I will know somebody that does. |
07-18-2011, 01:28 PM | #6 |
Quarry Creeper Join Date: Feb 2009 Location: Gold Bar
Posts: 263
|
I think this will do what you want. http://www.bpesolutions.com/bpemanua....to.analog.pdf Working on a simular project here at work. We are using a different module however. It requires some programming knowledge and some resistors and transistors to boost and condition the signals. A bit more involved than the link above. The plus side is we will be able to control 4-6 channels with this module at about the same cost as the one in the link. Can't remember the name of it right now but will come to me soon |
07-20-2011, 10:53 AM | #7 | |
Pebble Pounder Join Date: Jun 2006 Location: Keizer, OR
Posts: 170
| Quote:
http://www.pgdt.com/products/i-drive/index.html the servo to the pot idea is going to be a last resort. | |
| |