I have a solenoid driver card that outputs PWM of 33 Hz . The current varies from 0-370mA(teh duty cycle varies from a potentiometer connected in input). Recently the card has faced some problem, it is giving constant 370mA reading no matter whatever the position of input potentiometer is. I tried controlling the output current by putting a potentiometer in the output( by controlling the amplitude of PWM). It worked but over the period of 1 week, the potentiometer got heated up and burnt. Is there any other way to control the output?
Please help, it is in very critical service.