Rules | Recent posts | topic RSS | Search | Register  | Log in

schematic diagram of L293DNE H-bridge controlling DC motor


Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> schematic diagram of L293DNE H-bridge controlling DC motor
Author Message
sumei



Joined: 09 Oct 2004
Posts: 7


Post09 Oct 2004 7:12   

l293dne


I am doing my thesis on inverted pendulum. I am facing problem of designing a schematic diagram for a H-bridge [L293DNE] to control my DC motor.
My inverted pendulum is connected to DSP TMS320C6711, then from DSP to Matlab. My greatest problem is that I do not know how to connect my H-bridge & optical shaft encoder [connected to my pendulum] to DSP. Do you happen to have any ideas to solve my problems???
Please reply me back if you have the solutions...Thank you very much!!!!! Smile[/i]
Back to top
onemilimeter



Joined: 23 Sep 2004
Posts: 65
Helped: 2


Post09 Oct 2004 13:07   

h bridge circuit diagram


The are schematics in the datasheet http://focus.ti.com/lit/ds/symlink/l293.pdf

I used TMS320LF2407 EVM before. Like TMS320LF280 series, which is much more powerful than 2407, is optimized for motion control. My colleague used TMS320C6711, but he used it for signal processing. As 2407 is optimized for motion control, it has many built-in features for motor control, e.g. many PWM channels, on-chip position encoder interface circuitry, deadband generator, etc. But, if I'm not mistaken, in term of computational power, TM320C6000 series is a lot more higher than TMS320C2000 series.

It's quite straight forward to control H-bridge (shown in figure not really a H-bridge). As shown in the circuit, you can control (pin 1A and 2A) the motor in bi-directional. I also used L293 before for line following project, which was controlled by 8051 ucontroller. However, at the beginning, we're not successful because our motor always halted 'halfway'. After troubleshooting, we found out that the circuit was very noisy when motor was running (especially accelaration). So, we added optocoupler to isolated the ground of the digital circuit from the ground of the motor driver circuit, and after that it worked very nice. It depends on your motor power and your PCB layout technique. If the motor power is low and PCB layout is good, then probably you do not need to have optocoupler. Regarding the encoder circuit, I think TMS320C6000 series does not have onboard encoder interface circuitry. You can connect to any capture-I/O (not sure 6000 series got or not). If no, then you have to keep polling general I/O. Since 6000 series is so powerful, it should not be a problem to control a dc motor.

schematic diagram of L293DNE H-bridge controlling DC motor



Sorry, but you need login in to view this attachment

Back to top
sumei



Joined: 09 Oct 2004
Posts: 7


Post09 Oct 2004 16:38   

h bridge schematic


Sad
My project is on inverted pendulum. This cart having the pendulum on top of it is connected DSP TMS320C6711 then to Matlab.
I open up both CCS and Matlab at the same time. However, when I am running my CCS , it is a success; when I type *ccsdsp* at the Command Window at Matlab, it says that it can't detect the DSP board and it says I didn't configure my board. Why is that so????
Another problem is that the are two I/O 80 pins on TMS320C6711, but how do I connect them to my L293DNE H-bridge and optical shaft encoder?How would the schematic diagram looks like to connect both of the components to my DSP I/O pins??
Please help me out..... Sad
Thank you very much!!!!!!!!!!!
Back to top
nicleo



Joined: 06 Sep 2004
Posts: 717
Helped: 60


Post10 Oct 2004 1:37   

h bridge diagram


I guess you're using kind of TMS320C6711 DSK or EVM. Can you pls give us the ventor of your design kit or evaluation kit? Because we don't know the details of the TWO 80-pin connectors. Also, pls state the version of your CCS and also the Matlab.
Back to top
sumei



Joined: 09 Oct 2004
Posts: 7


Post10 Oct 2004 15:45   

l293dne for motor driver


The Matlab I used is Matlab 6; The DSP is TMS320C6711 DSK, of CCS version 1.23.
Could you please help me to solve the problem that I had mentioned in my 2nd message, the datasheet can be found in :
h**p://www.kanecomputing.co.uk/pdfs/spru197d.pdf

Next time do not spread questions all over the board, keep them in same post if they are related.
I merged topics into one post, next time you get a warning.
Cluricaun
Back to top
Google
AdSense
Google Adsense




Post10 Oct 2004 15:45   

Ads







Sorry, but you need login in to view this attachment

Back to top
kesavay



Joined: 02 Feb 2007
Posts: 1


Post02 Feb 2007 14:17   

h bridge encoder


hi every body
i am using TMS320C6711 For controlling inverted pendulum. i want to know how can i get the PWM (Control signals) outputs from the DSK. please help in this case.
i will be very thankful to you.
kesava
calvin.vaus(at)gmail.com
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Hobby Circuits and Small Projects Problems -> schematic diagram of L293DNE H-bridge controlling DC motor
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
motor controlling PID IC (45)
Controlling an AC Motor by PIC16F84A (8)
controlling dc motor speed (2)
Controlling adc motor (1)
time controlling of dc motor (8)
time controlling of dc motor (1)
Hard Disk Motor Controlling (6)
controlling the motor speed!!!! (3)
Controlling Servo Motor using a PC (16)
analog joystick controlling stepper motor (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS