Close

Motor control

A project log for Broke Hackers' Model Railway

Cheap, fully automated model train system with 99.9999% 3D printed parts.

Szabolcs LőrinczSzabolcs Lőrincz 09/07/2014 at 12:480 Comments

I started developing the motor control part. The motor will be driven by a MOSFET H-brigde with PWM. Here's the motor of the train:

As you can see, It's a basic, common DC motor, nothing fancy.

The prototype of the H-bridge wasn't too perfect. It didn't use resistors at all, and I connected the gates together. Needless to say, I burned all 4 mosfets. What a shame. Here is the prototype, may it rest in peace:

The new design is somewhat better, using current-limiting and pull-up/down resistors. The P-channel mosfets will be used digitall, while the N-channel mosfets will take care of the PWM control. Here's the schem:

I look forward to se how that'll work.

School started recently (yay :/ ) so I have less time to development. I hope I can try this out next weekend though.

Discussions