I tried the circuit with my motor controller and a O-scope. using a 16u inductance does not smooth the square wave, so i kept increasing the inductance. I got a nice smooth linear voltage with 100u inductance. However, if i try to run the motor at higher speeds, the motor controller shuts down. Could someone explain the reasoning behind this please.
I tried the circuit with my motor controller and a O-scope. using a 16u inductance does not smooth the square wave, so i kept increasing the inductance. I got a nice smooth linear voltage with 100u inductance. However, if i try to run the motor at higher speeds, the motor controller shuts down. Could someone explain the reasoning behind this please.
Which circuit did you try? Is the motor controller a home-build h-bridge, IC-circuit, or a commercial controller? What was the pwm frequency and duty, when you tried to run at higher speeds? what was the frequency and duty when the motor was working as expected?
I tried the circuit in post#11. Its a commercially available controller. PWM freq in constant at 20KHz. I am not sure about the duty cycles. It works fine, when the load current is less than 1.4 amps(the motors is rated at 3 amps) anything above that and the controller shuts down (with a clicking sound).
I tried the circuit in post#11. Its a commercially available controller. PWM freq in constant at 20KHz. I am not sure about the duty cycles. It works fine, when the load current is less than 1.4 amps(the motors is rated at 3 amps) anything above that and the controller shuts down (with a clicking sound).
Can you post the model of the controller? Maybe I can find a manual or datasheet online? Sounds like that the controller has some kind of internal over-current limit. Anyway. I think all you need as a filter is a big enough inductor (5 mH).. maybe small ceramic capacitors across the motor connectors.
I played around by changing the inductance and the capacitance in the circuit and I get a nice linear output (which i see in the oscilloscope). But it still doesn't work for me because the whole point of doing this conversion from PWM to Linear is to eliminate the noise the PWM signal induces into a nearby cable carrying some sensor data. I still have the noise in the sensor cable. And I know for sure, its from the motor controller because I tried a different motor controller that does not use a PWM signal and there is no noise.
So my guess is that, though i am seeing a nice liner output on my O-scope there is still enough fluctuation there to induce noise into the sensor cable. Do to fix this?
I played around by changing the inductance and the capacitance in the circuit and I get a nice linear output (which i see in the oscilloscope). But it still doesn't work for me because the whole point of doing this conversion from PWM to Linear is to eliminate the noise the PWM signal induces into a nearby cable carrying some sensor data. I still have the noise in the sensor cable. And I know for sure, its from the motor controller because I tried a different motor controller that does not use a PWM signal and there is no noise.
So my guess is that, though i am seeing a nice liner output on my O-scope there is still enough fluctuation there to induce noise into the sensor cable. Do to fix this?
What kind of inductor did you use and where did you place it? Inductors are good antennas.. they radiate and receive em-noise very well. Use toroidal inductor close to the controller and away from the sensor cable. Twist the motor cables together very thight and place them away from the sensor cable. If you can, increase the PWM frequency. DC-Electric motors also create a lot of noise (due to commutation).
Best solution would be to use shielded cable for the sensor. Maybe even a differential signal, if possible.
Are the sensor and motor-controller connected to the same power supply? If they are, that migh also be a problem. You need filters and snubbers for the power-supply also.
Could you draw a simple diagram how the system is connected?
I have attached a rough schematic of my setup here. The motor controller and the inductor are pretty far from the sensor cable. They should not be a source of the noise. If i remove the sensor cable from the 25ft tube, there is no noise. But I HAVE to keep all the cables inside the tube. If i use a linear motor controller that does not use PWM signal all together, there is no noise even with the sensor cable inside the 25ft tube.
That can be a tricky one to solve. PWM controller does create a lot of noise. I doubt that you can solve this one with a filter on the motor wires. Try some of the things I suggested in previous post.. mainly twisting the motor cables and using shielded cable for the sensor (or motor).
What kind of sensor is it?
As I mentioned before, I can not change the cables. The one thing I dont understand is that, there is no noise when using a linear motor controller. So, i assume there should be no noise once I change my PWM signal to a linear DC signal. I also get a pretty good DC signal.( I have attached the image of the circuit and the linear DC signal I get) the peak to peak voltage in the linear DC signal is thus 2V, could this be the reason for the noise?
Safest way is to use a 0.1 ohm shunt resistor in series with the motor and measure the voltage across it. You need to use two probes referenced to ground and measure the difference of the two channels.