586,437 active members*
4,037 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > chopping wave constant current circuit with L6203
Results 1 to 12 of 12
  1. #1
    Join Date
    Aug 2013
    Posts
    9

    Question chopping wave constant current circuit with L6203

    i'm diy a stepper driver with at89s52 and L6203,
    but the chopping wave constant current part seams doesn't work fine

    anyone can tell me what's wrong with the circuit below.
    L1 is one phase of the motor.
    why can't it get constant current?
    Click image for larger version. 

Name:	???.GIF 
Views:	0 
Size:	48.0 KB 
ID:	210944

  2. #2
    Join Date
    Jan 2010
    Posts
    2141
    I have not worked with that H-bridge chip, so I can't offer any suggestions based on direct experience, but I have some questions.

    Can you explain in more detail what you are trying to do?

    You have IN1 and IN2 tied off to +5 and gnd respectively. Are you doing that as a temporary expedient so that you can examine the current chopping independent of the stepper stepping?

    What then is the signal that you are applying to the + input of the comparator? And what is the purpose of the RC network on the output of the comparator?

  3. #3
    Join Date
    Aug 2013
    Posts
    9
    thanks!
    IN1 and IN2 is just for test, 1V applied to the + input of the comparator is for test too.
    R1 C1 is for a delay.
    i tried at first without C1 then the current will raise fast.

  4. #4
    Join Date
    Jan 2005
    Posts
    1695
    I don't think the design will work. When the fets turn off, the voltage across the sense resistor will go negative and cause the comparator to switch state immediately. While it is probably possible to tweak the circuit to make it work, you shouldn't bother. There are too many limitations with this approach. Why not just use the chip the way it was intended? Use the mcu to control the PWM.

  5. #5
    Join Date
    Aug 2013
    Posts
    9
    The R1 C1 is a delay for prevent the comparator to switch state too quickly.
    Just have a try.

  6. #6
    Join Date
    Jan 2005
    Posts
    1695
    It looks like the comparator will operate in the linear region rather than snap on and off.

  7. #7
    Join Date
    Aug 2013
    Posts
    9
    i used Oscilloscope, saw the comparator worked fine, but the oblique wave on the "enable" pin make L6203 worked worse.
    ch1 is the out1 pin
    ch2 is the en pin (1V/DIV)
    Attachment 212372

  8. #8
    Join Date
    Jan 2005
    Posts
    1695
    Can you explain what is the advantage this method? The off time is very imprecise because it depends on non-repeatable analog characteristics of a digital gate. It also uses the same number of chips as a "proper" chopper design.

  9. #9
    Join Date
    Aug 2013
    Posts
    9
    Quote Originally Posted by H500 View Post
    Can you explain what is the advantage this method? The off time is very imprecise because it depends on non-repeatable analog characteristics of a digital gate. It also uses the same number of chips as a "proper" chopper design.
    i just try a way of chopping wave of h-bridge.
    there too few document i can find.

  10. #10
    Join Date
    Jan 2005
    Posts
    1695
    Modulate in1 and in2 as follow.
    Detect the current with the comparator as usual, but connect it's output to a mcu interrupt pin. When the set current is detected, drive in1 (or in2) low for 50 uS or so. The mcu should be quite fast, 20 mips or higher in order to avoid jitter.

  11. #11
    Join Date
    Aug 2013
    Posts
    9
    I found use the 'En' pin control L6203 seems a bad idea,
    so i changed the circuit with a d-trigger to control the 2 input pin of L6203.
    Now it can lock the stepper quietly, but the stepper can't rotation, just rotor trembling?

    Attachment 215344

  12. #12
    Join Date
    Jan 2005
    Posts
    1695
    What waveform do you get across R1?

Similar Threads

  1. with Current Control & Sense Pin with L6203
    By Ahmed Adel in forum Stepper Motors / Drives
    Replies: 2
    Last Post: 06-17-2011, 12:07 AM
  2. can i know the current from voltimeter? chopping
    By brutto in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 06-07-2009, 07:06 PM
  3. I found the contradiction of the PWM method constant current circuit.
    By apollonono in forum Stepper Motors / Drives
    Replies: 1
    Last Post: 05-03-2009, 06:45 AM
  4. PWM Vs constant current
    By JerryFlyGuy in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 10-25-2005, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •