PWM control of DC motor using TLE5205-2?
Zoot
Posts: 2,227
I'm going to be using a TLE5205-2 for PWM DC motor control. According to the dir/en truth table:
Seems clear enough. IN2 is equiv. to direction, IN1 is sorta equivalent to an active-low enable. My question is on the OFF part of the PWM speed pulses, would I want to set both IN1 and IN2 HIGH (coast) or make IN1 H and let IN2 fall where it may (which would mean brake/coast depending on state of DIR bit -- IN2)?
I'm running this as an ISR on an SX, so I can pretty much do what I want and it's easy and flexible.
FYI -- Datasheet here:www.infineon.com/dgdl/tle5205-2.pdf?folderId=db3a304412b407950112b4381da46a3c&fileId=db3a304412b407950112b4381e296a3d
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
IN1 IN2 OUT1 OUT2 Comments L L H L Motor turns clockwise L H L H Motor turns counterclockwise H L L L Brake; both low side transistors turned-ON H H Z Z Open circuit (detection)
Seems clear enough. IN2 is equiv. to direction, IN1 is sorta equivalent to an active-low enable. My question is on the OFF part of the PWM speed pulses, would I want to set both IN1 and IN2 HIGH (coast) or make IN1 H and let IN2 fall where it may (which would mean brake/coast depending on state of DIR bit -- IN2)?
I'm running this as an ISR on an SX, so I can pretty much do what I want and it's easy and flexible.
FYI -- Datasheet here:www.infineon.com/dgdl/tle5205-2.pdf?folderId=db3a304412b407950112b4381da46a3c&fileId=db3a304412b407950112b4381e296a3d
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Comments
In my tests, I found best results with PWM if I set both IN1 and IN2 high (Z) for the "off" part of the PWM pulses, and IN1 low and IN2 set to desired direction for the "on" part of the PWM pulses. When speed is 0, I set IN1 high and IN2 low (brake).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Sorry for resurrecting an old thread, i am about to use this chip, and have a question.
My pwm signal would be approximately 100KHz, and i can't find anything about this kind of limit in the datasheet.
Can anyone confirm, that the chip works at this frequency?
edit: i found what i looked for eventually, in another datasheet, named TLE5202 cross:
http://www.datasheetarchive.com/TLE5205 cross-datasheet.html
apparently the maximum frequency is 2KHz.
Thanks anyway!
pityu