![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I'm going to use PWM to control the feedback pin to an LM317. I need to vary output voltage from 6 to 10 linearly based on duty cycle, so the control pin voltage needs to range roughly from 5 to 9 volts.
So, I have a square wave between 0 and +5 volts. I need the square wave boosted to +5 and +9 (let's say). I'm going to run the output through an RC filter to get a stable signal between 5 and 9 volts, which will then feed into the control pin. I have a 12VDC power supply for the entire circuit. Can this be done with on 741, some resistors and possible a pair of diodes? Thanks for your ideas. |
|
|
|
|
|
|
(permalink) |
|
Why an LM317?.
Why not just use the opamp, along with a power transistor, to do the job directly? - far more chance of it being linear!. |
|
|
|
|
|
|
(permalink) |
|
Ok, how do I get linear output from a power transistor? I thought they were desigend to be completely on or off. I know I could create an asynchronous buck converter, but is there some other option?
The other problem I have is that I have an n-channel mosfet (IRF510). Doesn't this imply that I have to use it on the "low side", meaning vary the load's ground? It is important that the motors ground actually be the real ground, so that its tachometer signal is correct. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
(permalink) |
|
Ok, let's say I use a power transistor. I found something at radio shack called a TIP31. I'm attaching a new design. The problem I'm having is that the power transistor requires a significant amount of current going into the gate to allow 1 AMP to travel through it. If I add an additional transistor to help power it, I lose 0.7 volts twice. If I don't add a second transistor, I'm maxing out the current for the 741. Also, lower resistance means I need a larger capacitor to filter the PWM, so the amount of current being switched in and out of the capacitor is 10 times my LM317 circuit. Is this a significant amount of RFI?
|
|
|
|
|
|
|
(permalink) |
|
Why do you want to run varying DC to the motor? Why not just PWM the +12V?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
I've modeled pulsing a load with a capacitor. If you don't have an inductor there, it is very hard to get any sort of smooth control of the load. But I really want to avoid pulsing 1 amp of current inside my computer even if it would work :-) |
||
|
|
|
|
|
(permalink) |
|
Convert the PWM to DC, BEFORE the opamp (using a low pass filter), and use the opamp in a linear mode.
|
|
|
|
|
|
|
(permalink) |
|
You can put the LM317 inside the feedback loop, as below.
|
|
|
|
|
|
|
(permalink) |
|
Thanks Ron, that's a nice idea. What software do you use?
I bet if I combine your idea of using the 317 as feedback, and my idea of boosting the input PWM by pulling in +12V, I can do the whole thing with only two resistors :-) (edit: and of course a capacitor) |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Where is the LM317 in your schematic? Why do you want to pull the PWM up to +12V? Do you have control over the duty cycle range of your input? OMG, I'm starting to sound like Walters! |
||
|
|
|
|
|
(permalink) | ||
|
LM317 control would be connected at the opamp's output.
The final step is to have the circuit operate differently when the tachometer is producing no output. The tach generates brief pulses. Until these pulses start, I would want the circuit to operate at max Vout. Can anyone explain the following terms to me from Intel's specs. What does pulled up mean? Quote:
Quote:
|
|||
|
|
|