hi there im trying to convert my 0-5v pwm output of the arduino to a smooth 0-10v for a high frequency flourescent i come across this just wanted to make sure that this would work or if people have got better suggestions?

Yeah, I do it's probably what was used originally, the 358 is a Very common Op-Amp. Made by almost everyone in the semiconductor business and there are several dozen others with the same pin-out with varying characteristics. Since the device is driving a transistor it is a current feedback loop. It is easy to misuse and if misused not perform with anything like expected. there is a hard limit of about 200 mA on that transistor and a power type will not perform either as with most op-amps the output drive current is limited so controlling a bigger transistor has it's issues. Good Luck.

Doc

--> WA7EMS "The solution of every problem is another problem." -Johann Wolfgang von GoetheI do answer technical questions PM'd to me with whatever is in my clipboard

The only problem with that circuit might be stability - adding a 47pF capacitor between the opamp output and its inverting (-) input would cure that.

The issue is that the opamp feedback path has to go through a potentially slow component (transistor) and drive a capacitive load (C3) - this might introduce enough phase-lag to induce oscillations. The small capacitor would provide a high-frequency lagless feedback path to quell such a tendancy without affecting low frequency behaviour.

[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

i have already an Lm 358n and an Lm 741, i am thinking of using two 10k res as Rf and Rin connected to the invrerting input and a 22k res and 0,47u cap at the non-inverting input.But reading older posts they say that using a simple npn transistor can do the same job.