Have you tried measuring the current noise level when the constant current load is turned off, to see how clean your current measurement setup is? Or in other words, if the ripple you see is just a measurement artifact.
It is also possible that the current source has low level oscillation. In that case, frequency compensation should be added. This will require some experimenting. For example, add a resistor between negative input and sense resistor (something like 1-10k), and then capacitor (something like 10 nF) from opamp output to negative opamp input.
Regards,
Janne
Hi Janne
I've not built the "constant current source" yet. The measured current waveforms shown in the first post of this thread were captured using Tektronix TCP312 current probe without the "constant current source". If "constant current source" may help to reduce or eliminate the current ripples then I will build one.
Thanks.
Sorry for my previous post, I didn't read too carefully your question. However, the thing you want to do can be called an active power filter.
You're right, if the bandwidth of your current regulator is much higher than the disturbance oscillation frequency, then it wil work.
Current sensing has to be done on the current going to motor (I'd put it from armature return and gnd), while the transistor controlled by the opamp has to be in parallel with the motor, then shunting to gnd all non-DC current.
The only problem I see is the fact that the "dummy load" can't source current, so you have to set generator's DC current output to be higher than the needed motor load current, and then make the "dummy load" draw a little DC current plus all the ripple (so subtracting to Igen an always positive current Idummy). This leads to the fact that Ref has to be carefully set, and that an amount of continuous power has to be dissipated by the MOSFET.
--> Igen
generator o---------------o-----------------------
| | Idummy | | Imotor
| \ __| \/ | \/
Ref o--|+ \______o_____|| | |
__|- / | ||<-| (M)
| | / | _|_ |
| | /// |
| | |
------||-----o------/\/\/----------------------o
C R |
<
> Rsense
<
>
|
_|_
///