Gerhard Fiedler wrote: > Martin K wrote: > > >>>is there a problem with increasing the PWM frequency of a solenoid driver? >>>Assuming that the driver itself is fast enough. > > >>>I'm not talking about MHz here; I'm just wondering whether increasing the >>>frequency from originally 30Hz to 1kHz can get me into trouble. > > >>I don't foresee any issues. 30Hz seems really low though. > > > That's what I thought, too. It might have been some kind of compromise in > the original design. > > >>By "driver" do you mean the physical solenoid or the electrical driver? > > > I meant the electrical driver (MOSFET and supporting circuits). The idea is > that the solenoid itself is not following the PWM :) > > Thanks, > Gerhard You can watch the voltage across the solenoid (with an oscilloscope) and get an idea of what the current is doing, as well. You could put a small resistor in series with the inductor and see what the current is, as well. Depending on the inductance, the current should smooth out pretty quickly with an increased frequency. -- Martin K http://wwia.org/sgroup/biofuel/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist