586,103 active members*
3,514 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > UHU Servo Controllers > Divided by 4 Counter for 2000 pulse encoder
Page 2 of 3 123
Results 21 to 40 of 42
  1. #21
    Join Date
    Jul 2007
    Posts
    887
    OK, I'm glad you solved that part of it. What type of breakout board is this?

    I'm not sure what kind of sugestions you are looking for.... The numbers doesn't mean anything to me since I don't know you steps/inch, gearing, leadscrew pitch, maximum motor speed etc.

    If you have 60ipm set up in motortuning it doesn't matter if you go above 100% feed, it won't go faster than 60ipm...

    /Henrik.

  2. #22
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by H.O View Post
    OK, I'm glad you solved that part of it. What type of breakout board is this?

    I'm not sure what kind of sugestions you are looking for.... The numbers doesn't mean anything to me since I don't know you steps/inch, gearing, leadscrew pitch, maximum motor speed etc.

    If you have 60ipm set up in motortuning it doesn't matter if you go above 100% feed, it won't go faster than 60ipm...

    /Henrik.
    I was seeing your HP UHU circuit in which 1r21844 is conected directly to mosfet gate through 22ohm resistor but in my pcb there are these 12volt surge protection diodes which are not preforming well should i also drive mosfet directly with ir2184 removing extra parts.

    Ahmed

  3. #23
    Join Date
    Jul 2007
    Posts
    887
    Ahmed,
    I'm not the designer of the HP-UHU and I'm no expert on mosfets etc but I guess the idea with the diodes is to make the MOSFETs turn off faster than they turn on. (If they are connected in parallel with the resistors which I think they are from your description?). I can't tell if it will work better if you remove them - I guess one way to find out is to try it or ask the designer of the circuit you are using.

    It seems to work fine on the HP-UHU but as you've notices it uses the 21844 with adjustable deadtime while the 2184 has a fixed 500nS deadtime - I don't know if that is part of the puzzle.

  4. #24
    Join Date
    Jan 2005
    Posts
    1050
    a very interesting reading as usual - continue folks - very informative too.

  5. #25
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by H.O View Post
    Ahmed,
    I'm not the designer of the HP-UHU and I'm no expert on mosfets etc but I guess the idea with the diodes is to make the MOSFETs turn off faster than they turn on. (If they are connected in parallel with the resistors which I think they are from your description?). I can't tell if it will work better if you remove them - I guess one way to find out is to try it or ask the designer of the circuit you are using.

    It seems to work fine on the HP-UHU but as you've notices it uses the 21844 with adjustable deadtime while the 2184 has a fixed 500nS deadtime - I don't know if that is part of the puzzle.

    I will test 2184 without diodes as the data sheet also show direct drive. will post the result.

    also to your previous question:

    My setup for motor is

    steps per inch = 2500
    velocity= 60 ipm
    acc=2 i/s/s

    Ahmed

  6. #26
    Join Date
    Mar 2008
    Posts
    62
    Quote Originally Posted by H.O View Post
    Ahmed,
    I'm not the designer of the HP-UHU and I'm no expert on mosfets etc but I guess the idea with the diodes is to make the MOSFETs turn off faster than they turn on. (If they are connected in parallel with the resistors which I think they are from your description?). I can't tell if it will work better if you remove them - I guess one way to find out is to try it or ask the designer of the circuit you are using.

    It seems to work fine on the HP-UHU but as you've notices it uses the 21844 with adjustable deadtime while the 2184 has a fixed 500nS deadtime - I don't know if that is part of the puzzle.
    H.O is very right here, the gate diode is to create faster turn off times since the discharging of the internal gate capacitance of the mosfet is done faster.
    The original 1n4007 diodes here is way to slow to make this happen, replace them with high speed ones. 50nS or less to get the desired effect.
    I have successfully used the original design (with some modifications) at 140V flawlessly.
    see this thread for more information.

    regards
    chris

  7. #27
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by chrugel View Post
    H.O is very right here, the gate diode is to create faster turn off times since the discharging of the internal gate capacitance of the mosfet is done faster.
    The original 1n4007 diodes here is way to slow to make this happen, replace them with high speed ones. 50nS or less to get the desired effect.
    I have successfully used the original design (with some modifications) at 140V flawlessly.
    see this thread for more information.

    regards
    chris
    hi chris

    what were the modification you used? can you post the changes

    regards
    Ahmed

  8. #28
    Join Date
    Jul 2005
    Posts
    107
    Hi Henrik,

    Should i isolate the computer ground from UHU ground and machine ground? as again there are some Ocounts also do i need to reduce the voltage of servo motor? or increase the capacitor Bank.
    Ahmed

  9. #29
    Join Date
    Jul 2007
    Posts
    887
    It's really hard to say as each system is different but you should aim for a single ground point - called star ground.

    Take the -ive of you motor powersupply to this point, take the -ive of the logic supply (12v) to this point. Take the the two GND connections on the UHU to this point. Connect the motorcable shield (if you have) to this point as well. Use shielded cable for the encoder and connect the shield to the same ground-point.

    The UHU has opto-isolators on the inputs so you shouldn't need to do anything in particular with the PC GND.

    And don't forget to check the capacitors on the SN75115 that I mentioned earlier. If you have them mounted, try removing them or replacing them with 22pF or something like that.

  10. #30
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by H.O View Post
    It's really hard to say as each system is different but you should aim for a single ground point - called star ground.

    Take the -ive of you motor powersupply to this point, take the -ive of the logic supply (12v) to this point. Take the the two GND connections on the UHU to this point. Connect the motorcable shield (if you have) to this point as well. Use shielded cable for the encoder and connect the shield to the same ground-point.

    The UHU has opto-isolators on the inputs so you shouldn't need to do anything in particular with the PC GND.

    And don't forget to check the capacitors on the SN75115 that I mentioned earlier. If you have them mounted, try removing them or replacing them with 22pF or something like that.


    Hi Henrik,

    Today i made the the single ground for 12volt uhu motor supply and encoder sheild. Thank GOD the problem for o counts was solved. But another problem in x drive started as i gave command to x servo the uhu chip strarts to reset many times any sugestion but the z drive works fine.

    Ahmed

  11. #31
    Join Date
    Mar 2008
    Posts
    62
    Quote Originally Posted by ahmedrehan View Post
    hi chris

    what were the modification you used? can you post the changes

    regards
    Ahmed

    Hi Ahmed,
    Really sorry for the late reply.
    What i changed was the Snubber circut at the output, replaced the original R C snubber with the configuration used on the HP UHU. I also changed the output transistors form the IRFP260 to IRF640 to get lower turn on and off times. Also replaced all the diodes with high speed ones. And I also placed 100k resistors from the output to Motor supply +.
    If you have any questions feel free to ask.

    regards
    Chris

  12. #32
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by chrugel View Post
    Hi Ahmed,
    Really sorry for the late reply.
    What i changed was the Snubber circut at the output, replaced the original R C snubber with the configuration used on the HP UHU. I also changed the output transistors form the IRFP260 to IRF640 to get lower turn on and off times. Also replaced all the diodes with high speed ones. And I also placed 100k resistors from the output to Motor supply +.
    If you have any questions feel free to ask.

    regards
    Chris
    Thanks for your reply i have done the same changes except the mosfet i used irfp264 same as in HP-UHU.

  13. #33
    Join Date
    Jul 2007
    Posts
    887
    Hi Ahmed,
    It sounds like you still have a grounding issue somewhere that causes noise to get into the circuit resetting the UHU-chip. I've read about this happening with the old design so if you search the UHU threads here perhaps you can find some pointers. Make sure you have solid low resistance, low inductance ground connections, also try placing an extra 100nF cap right across the power pins on the UHU chip. You could also try lowering the value of the pull-up resistor on the reset-pin of the UHU controller.

    Please note that this is just ideas, without being able to see (with a scope) what is happening it's really hard to say. But, again, I've read that this can happen with the old desing so look around and perhaps you'll find a solution.

    /Henrik.

  14. #34
    Join Date
    Mar 2008
    Posts
    62
    Quote Originally Posted by ahmedrehan View Post
    Thanks for your reply i have done the same changes except the mosfet i used irfp264 same as in HP-UHU.
    Just be aware that this device has a very high gate capacitance so you could get cross conduction at high voltages since the driver has a fixed delay of 500ns. In the HP UHU design they use a variable one that is set to 1000ns i think.

    regards
    chris

  15. #35
    Join Date
    Aug 2006
    Posts
    2758
    Quote Originally Posted by ahmedrehan View Post
    Thanks for your reply i have done the same changes except the mosfet i used irfp264 same as in HP-UHU.
    That is the problem, you are having cross-conduction problems, that is why your UHU chip is resetting. That is also the reason of the HP_UHU modification.

  16. #36
    Join Date
    Aug 2006
    Posts
    2758
    Quote Originally Posted by chrugel View Post
    Just be aware that this device has a very high gate capacitance so you could get cross conduction at high voltages since the driver has a fixed delay of 500ns. In the HP UHU design they use a variable one that is set to 1000ns i think.

    regards
    chris

    You are right.

  17. #37
    Join Date
    Mar 2008
    Posts
    62
    Quote Originally Posted by kreutz View Post
    That is the problem, you are having cross-conduction problems, that is why your UHU chip is resetting. That is also the reason of the HP_UHU modification.
    If you dont need the high current capabilities of the HP UHU design ahmedrehan you could use the IRF640. This devis has seriously low gate capacitance and should give you the possibility of up to 160 V and maximum 3-5 amps without cross conduction.

    regards
    chris

  18. #38
    Join Date
    Sep 2006
    Posts
    20
    Quote Originally Posted by H.O View Post
    Hi Ahmed,

    Here's a screenshot of the UHU terminal software. I added some text to it.... The motor is an Indramat PMDC servo rated at 19A continous, 150A peak. Drive is HP-UHU with current limit set to ~20A. Encoder is 625lines (2500 counts/rev). I wish there was some kind of scale in the software so you could see just how big the error actually is.....oh well....


    The motor is still on the bench so it's not driving anything. I suspect that actually driving a load will dampen the small ringings a bit but will most certanly require retuning.

    I had Mach3 loop thru a simple test like this:
    G0 X25
    G4 P1.5
    G0 X0

    And here's a screenshot of the motor tuning dialog in Mach3:

    You can see that I have the steps/unit set to 2500 which is the number of steps in one revolution and the speed is set to 1800rpm. It accelerates to 1800 in roughly 0.25 seconds.

    When running with the UHU-terminal active (ie the Analyzer is turned on) I get some O-counts at this speed but not if I turn off the analyzer.

    Hope this helps.

    /Henrik.
    Hi,
    I have the old layout (20/10/2005) and problem with position error. I am using encoder with 500 lines. There is no O-count, but motor always go left. More precisely, if I have started from 0 and G01 X100, G01 X0, (several times)…. G01 X0 after some period it finished at X -2 or similar, not at 0. Analyze shows that left point (X100) has smooth sinusoid (only few oscillations), but changing direction at 0 has more and bigger amplitudes.

    It looks like that:
    Code:
     
                            0 --------- 100
                            --------- 
                          --------- 
                         --------- 
                        ---------
    I have tried various paremeters, but without success.
    Motor is "pancake" type, and table with specification is damaged, but I think is has 3000 rpm and 90V. I have tried various voltage, but only 16V and slow rev gave acceptable result.
    A also have tried with other motors with known specification (24V) and try with voltage up to 30V (115% of nominal) but simptoms are the same.

    Why my controller alway run left?

  19. #39
    Join Date
    Jul 2005
    Posts
    107
    Quote Originally Posted by kodalo View Post
    Hi,
    I have the old layout (20/10/2005) and problem with position error. I am using encoder with 500 lines. There is no O-count, but motor always go left. More precisely, if I have started from 0 and G01 X100, G01 X0, (several times)…. G01 X0 after some period it finished at X -2 or similar, not at 0. Analyze shows that left point (X100) has smooth sinusoid (only few oscillations), but changing direction at 0 has more and bigger amplitudes.

    It looks like that:
    Code:
     
                            0 --------- 100
                            --------- 
                          --------- 
                         --------- 
                        ---------
    I have tried various paremeters, but without success.
    Motor is "pancake" type, and table with specification is damaged, but I think is has 3000 rpm and 90V. I have tried various voltage, but only 16V and slow rev gave acceptable result.
    A also have tried with other motors with known specification (24V) and try with voltage up to 30V (115% of nominal) but simptoms are the same.

    Why my controller alway run left?

    Which breakout board you are using ? try to bypass the optocoupler on breakout board . if you are using laptop then check the result with desktop pc
    else your left side circuit of uhu has fault maybe faulty ir2184 or some diode.
    check the waveform on oscope at the input / output of bridge circuit.

    Ahmed

  20. #40
    Join Date
    Sep 2006
    Posts
    20
    Quote Originally Posted by ahmedrehan View Post
    Which breakout board you are using ? try to bypass the optocoupler on breakout board.
    There is no additional BoB. Only optocoupler on main (UHU PCB CNCECKE from http://www.gertronik.de/cncecke/servo.zip)
    What is suggestion for breakboard?
    if you are using laptop then check the result with desktop pc
    No I am using desktop, but I can try with laptop.
    else your left side circuit of uhu has fault maybe faulty ir2184 or some diode.
    I have two identical boards and both of them has similar symptoms, so I think components are OK.

    check the waveform on oscope at the input / output of bridge circuit.
    I will see it.

Page 2 of 3 123

Similar Threads

  1. Change the Pulse Encoder
    By bdyenter in forum Daewoo/Doosan
    Replies: 0
    Last Post: 10-18-2007, 04:29 AM
  2. 2000 line encoder = how many counts?
    By REVCAM_Bob in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 05-22-2007, 07:00 PM
  3. Unfit Pulse Of Pulse Coder Alarm
    By Crashmaster in forum DNC Problems and Solutions
    Replies: 2
    Last Post: 04-23-2007, 03:55 PM
  4. Divided plastic disks
    By anchornm in forum MetalWork Discussion
    Replies: 0
    Last Post: 05-22-2006, 03:41 AM
  5. Replies: 0
    Last Post: 07-22-2005, 09:51 AM

Posting Permissions

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