Help with simple DC motor

May 12, 2008 6 Replies

I need help in designing and simulating a circuit on PSIM/Matlab/ PSpice for a simple DC motor going forward/stop/reverse using a 12Vdc source



My application is a power window DC motor controlled by up/neutral/ down window switch - any tips/ideas?


What exactly are you trying to simulate? The motor as a load, or the terminal behavior of the motor, with position out vs. volts in?

Are you asking which of the above mentioned tools would be best for this?

Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html

Behavior of the motor - showing outputs (voltage, current, speed) when the up switch is pressed and then the same for when the down switch is pressed with the motor spinning the other way to roll down a window

I guess I need an H-bridge type circuit

Yes. Plus: 1. When the switch is released, and it goes to neutral, do you want to brake the motor or let it coast to a stop? 2. Do you want to have limit switches at the ends of the window\'s travel or do you just want stall current to be drawn until the switch is released and goes to neutral? JF

s?

ys.

Which ever is easier for both those options

Model the motor as a resistor (the armature resistance) in series with a capacitor that's in parallel with a resistor. The cap/resistor parallel combination simulates the inertia and friction of the mechanical load, as seen by the motor.

Set the series resistor value to the armature resistance, set the second resistor (that's in parallel with the cap) to properly establish your expected 'running' current, then choose the cap to give you the right mechanical time constant.

Tim Wescott Control systems and communications consulting http://www.wescottdesign.com Need to learn how to apply control theory in your embedded system? "Applied Control Theory for Embedded Systems" by Tim Wescott Elsevier/Newnes, http://www.wescottdesign.com/actfes/actfes.html

ed text -

Thanks for the help - will look into it

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required