Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

control DC motor speed and direction

Status
Not open for further replies.

olof102

Newbie level 5
Joined
Sep 19, 2009
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Sweden
Activity points
1,359
Hi,
me and a classmate is coming with a schoolproject where we're supposed to control 2 100W 12v DC motors using a computer.

We're looking for suggestions, can we do this through the computers parallelport or COM-port?

Do you guys have any wiring diagrams for circuits that we will need?

All suggestions are appreciated!

PS! We will be writing a program ourselves.
 

olof102 said:
All suggestions are appreciated!
Key words are: H-bridge, microcontroller, motion control, motor control and etc. Google it and have a lot of examples, books, papers.
This theme is very very large. And it's impossible to answer all your questions here.
Best regards!
 

i prefer parallel port, much easier in interfacing just remember if you working under win XP you will need program to low level access to access your parallel port like "User port", also don't forget to use buffers like 74244 and 74373, it is very important to buffer the parallel port outputs/inputs.
you can use H-bridge IC L298, it is a dual h-bridge IC which mean you can control two motors through it, you can generate PWM signal from the parallel port and connect it to the enable of the IC, you can use either C/C++ or Matlab to interface parallel port.
good luck
 

Dear it is better to use Microcontroller.

1) Connect Microcontrollers serial port with COM port of PC.

2) Connect Motor through H-Bridge circuit with microcontroller.

3) Program your Microcontroller.

4) Using your defined commands, control the motor through PCs serial port.


Thanks

Regards
Naveed Khowaja
 

elrayes said:
ou can use H-bridge IC L298, it is a dual h-bridge IC which mean
you can control two motors through it

I think 100W dc motor is too power for L298. Guys should to use MOSFETs.
 

then you can use two IC's of the L298 in parallel, or build you H-bridge using MOSFETs like "haker_fox" mentioned.
 

If you are doing this in a serious way you should use PWM but if you are just supplying a DC voltage then look at this.
**broken link removed**
There are other useful links on the bottom of this page.

PWM requires that you have a very fast means of switching the pulses. I would use a micro controller or better yet a DSP for this.
 

to vary the speed of DC motors u need PWM signal, it can be generated via software programming, in order to keep the hardware simple use parallel port + H-bridge Driver
 

hameeds01 said:
to vary the speed of DC motors u need PWM signal, it can be generated via software programming, in order to keep the hardware simple use parallel port + H-bridge Driver
Also this IC needs the external drivers to drive the MOSFETS (especially the upper ones) and to have a dead-time. Fellows should pay attention to app notes on www.irf.com.
 

I thing the most challengged in your project is about the current that drawn by DC motor, 100 W at 12V it mean almost 10 A for one motor ( in no load and not starting current);if your DC motor is series DC Motor its more worst, so you must make a sufficient driver for the motor , and you say that its at 12 V , if its held constan, you didnt need PWM , but if 12 V its maks voltage motor, and its can be varied , you need a chopper to make PWM pulse (ussualy chopper freq at 2o kHz, for minimlize filter)...so god bless for you... ali
 

Hi,
it's been a while. We've been working on our project, the chassi is finished and we managed to get 12V 7,2Ah batteries.

We've got to that point where we need something to interface with the parallelport.
A H-bridge seems good.

Any examples of a H-bridge which can handle the current?
 

haker_fox said:
hameeds01 said:
to vary the speed of DC motors u need PWM signal, it can be generated via software programming, in order to keep the hardware simple use parallel port + H-bridge Driver
Also this IC needs the external drivers to drive the MOSFETS (especially the upper ones) and to have a dead-time. Fellows should pay attention to app notes on www.irf.com.

do you know where is the application on irf site?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top