I ran into a little problem on a project I've been working on today and would like to learn more about what happened.
Basically I am trying to control the speed of a small DC motor via PWM from a plc. My motor was connected to a floating 1.5vdc supply then connected to the collector of my NPN transistor, my transistor base was then connected to the plc output card that would handle the PWM, my transistor emitter was connected to my 1.5vdc supply ground.
When I tried this circuit it didn't work, I scratched my head for a while and then it hit me. My PLC is powered by a GROUNDED power supply while my motor is powered by a floating 1.5vdc supply(batteries).
So I'm guessing because of the difference references things didn't work. Sorry for the rambling explanation I'm still learning. Can anyone expand of this or did I pretty much wrap it up?
Basically I am trying to control the speed of a small DC motor via PWM from a plc. My motor was connected to a floating 1.5vdc supply then connected to the collector of my NPN transistor, my transistor base was then connected to the plc output card that would handle the PWM, my transistor emitter was connected to my 1.5vdc supply ground.
When I tried this circuit it didn't work, I scratched my head for a while and then it hit me. My PLC is powered by a GROUNDED power supply while my motor is powered by a floating 1.5vdc supply(batteries).
So I'm guessing because of the difference references things didn't work. Sorry for the rambling explanation I'm still learning. Can anyone expand of this or did I pretty much wrap it up?