603,392 active members*
3,673 visitors online*
Register for free
Login
Page 11 of 91 9101112132161
Results 201 to 220 of 2171

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    25
    crongrats on the no smoke

    maybe try switching the encoder channels?
    If the encoder and motor are connected backwards, the controller could spin the motor the wrong way, and results in an error.

  2. #2
    Join Date
    Apr 2005
    Posts
    630
    Thanks! Will try that in the morning.

    I also will double check the step and direction outputs from Mach with a known controller to verify that too. I tried connecting my scope to the outputs and it appears as though that is working correctly - but I am new to scopes and new to servo drives, so I could be dead wrong too!

    Chris

  3. #3
    Chris,

    sorry, you got your controllers before the US-version was made.

    Hence you have to reference the 'older' manual UHU-Servo_Controller_300_en.pdf, which is in english too, but uses german words for the instructions.

    Controllers sent to people who asked in english language after 20th of december are US-Version.

    Both manuals can be found on the webpages www.uhu-servo.de.

    Your problem with 'running away' of the motor is a good sign. You just have to exchange channel A/B of the encoder or reverse connection of the motor.

    Uli
    Attached Files Attached Files

  4. #4
    Join Date
    Apr 2005
    Posts
    630
    Quote Originally Posted by ulihuber
    Chris,

    sorry, you got your controllers before the US-version was made.

    Hence you have to reference the 'older' manual UHU-Servo_Controller_300_en.pdf, which is in english too, but uses german words for the instructions.

    Controllers sent to people who asked in english language after 20th of december are US-Version.

    Both manuals can be found on the webpages www.uhu-servo.de.

    Your problem with 'running away' of the motor is a good sign. You just have to exchange channel A/B of the encoder or reverse connection of the motor.

    Uli

    HOt dog! That should not be a problem using the german command set - heck I am not sure I understand the Engish commands yet!

    I will swap the motor leads this morning and start playing with the servo again.

    Will report any successes or failures later this morning.

    Thanks Uli

    Chris

  5. #5
    Join Date
    Apr 2005
    Posts
    630
    Getting much closer now!

    I now have it so the motor holds position without error. If I try to rotate the motor shaft, it resists and I can see the graph going up and down very slightly.

    Using the terminal, I can make the motor rotate a little bit and that shows up on the graph.

    The graph shows a quick rise up - then a flat area - then a quick line down, then it appears to jump up and down a lot. I am guessing this is the motor trying to hunt for position to keep it there? Sorry, I am not sure how to interpret the graph as I have never tuned a servo. Are there some graphs showing good moves and bad movments?

    I also cannot get the motor to move via the CNC software. I checked the interface using a stepper driver I had handy. Using that stepper driver, I can make a stepper motor move nicely - so I know the "configuration" is correct in the CNC software - in other words, I am sending data to the right pins for step and direction.

    I am assuming that the motor can be jogged from the CNC control while I am doing all the configurations and such with the terminal program (which is running on a sepperate computer).

    Also, no excessive heating anywhere - the motor is barely warm, the mosfets are barely warm and the voltage regulator is a bit warm - so, all looks good there.

    Thanks again guys.

    BTW, I have a hunch this servo driver is going to catch on pretty big here in the U.S. I will gladly work with some of the other folks here to create documentation and instructions -etc. to help out people like myself who are new to servos. I don't know enough about the technical stuff, but I figure if a couple of work together we can help make it easier for the "next guy".

    Chris

  6. #6
    Join Date
    Apr 2005
    Posts
    630
    Need a little more help - electronics guidence...

    I used the HCPL-2631 OPTO and placed that on the OPTO3 location.

    From what I can see on the layout, it looks as though there are two 1k2 resistors controlling the current for the input on the OPTO. My calcs (Keeping in mind I don't know what I am doing) say I should be using a 200 ohm resistor there.

    Can someone clarify this for me ?

    Also, the reason for this is that I put the scope on the input side of the OPTO and it is triggering, however, on the output side there is nothing going on. I think this is why I can't control the servo with my CNC control.

    Chris

  7. #7
    Join Date
    Dec 2005
    Posts
    315
    Quote Originally Posted by Chris D
    BTW, I have a hunch this servo driver is going to catch on pretty big here in the U.S. I will gladly work with some of the other folks here to create documentation and instructions -etc. to help out people like myself who are new to servos. I don't know enough about the technical stuff, but I figure if a couple of work together we can help make it easier for the "next guy".
    Good idea.
    There are lots of details which would be usefull to put in a documentation of some sort.

    Any thoughts on what form to use ?
    Web site, text file, wiki ?
    I have been playing a little bit with a UHU servo controller wiki http://gsst.wikispaces.com/

    There is a new version of the UHU servo controller in the planning.
    Then there has to be a clear doc about the current version, which would then become the old version.
    And a doc about the new uhu version.
    How can this best be organized ?
    I do not know how best to do this in the above wiki.

  8. #8
    Join Date
    Apr 2005
    Posts
    630
    Quote Originally Posted by vroemm
    Good idea.
    There are lots of details which would be usefull to put in a documentation of some sort.

    Any thoughts on what form to use ?
    Web site, text file, wiki ?
    I have been playing a little bit with a UHU servo controller wiki http://gsst.wikispaces.com/

    There is a new version of the UHU servo controller in the planning.
    Then there has to be a clear doc about the current version, which would then become the old version.
    And a doc about the new uhu version.
    How can this best be organized ?
    I do not know how best to do this in the above wiki.

    I am involved with a couple of WIKI's right now and frankly I don't like them - not even sure why.

    One suggestion is this. If one of us started a Yahoo group, everyone could post documentation in it. Everyone in the world could have access to it. I suppose for documentation, we could start out with a file format the everyone can edit such as plain text, HTML, or even MS word. Once it built to the point of being useful, we could publish it in to PDF format so that the final "document" is somewhat controlled and consistant.

    Seeing as I got my first board up and running, I plan on making the other 2 next weekend if time allows. I will try to shoot some photos of the process to add to the document.

    I also noticed the number of views on this thread - it is extremely high which leads me to believe that there are A LOT OF folks that are willing to give this a go - perhaps the documentation will take them onto the next level!

    Chris

  9. #9
    Chris,

    you are right, for the 2631 it is more advisable to have a lower value. I'd try 560 Ohm and maybe go down to 200 if necessairy.
    1.8 k were for the HCPL2231 which has 1.5 mA high level input current.

    You are really close, aren't you ? :-))
    Uli

  10. #10
    Join Date
    Apr 2005
    Posts
    630
    Quote Originally Posted by ulihuber
    Chris,

    you are right, for the 2631 it is more advisable to have a lower value. I'd try 560 Ohm and maybe go down to 200 if necessairy.
    1.8 k were for the HCPL2231 which has 1.5 mA high level input current.

    You are really close, aren't you ? :-))
    Uli

    Oh I am so close I can almost feel it :-))))))

    I just dropped down to 360 ohm and that didn't help. I am going for 200 ohms now to see what happens!

    Chris

  11. #11
    Join Date
    Apr 2005
    Posts
    630
    Hmm, I just can't seem to get the opto to trigger on the far side. I have dropped the resistor values down to 220 ohm (I don't have a 200 ohm).

    I am wondering what could be wrong in this area.

    Any suggestions on what to try next or what to look for?

    When I ordered the optos, I ordered three. I did try a different one and the results are the same.

    Do I need to have anything connected to the E-stop group of terminals

    Ne, NA, -- ?

    Darn, so close and yet so faaaaaaaaaaaaarrrrrrrrrrrrrrrrr away!

    Chris

  12. #12
    Join Date
    Dec 2005
    Posts
    315
    Quote Originally Posted by Chris D
    Hmm, I just can't seem to get the opto to trigger on the far side. I have dropped the resistor values down to 220 ohm (I don't have a 200 ohm).
    What is the voltage on the parallel port pins measured with the scope when connected to the uhu servocontroller ?
    And what is the voltage over the input pins of the opto coupler ?
    Both for the step and dir pins.
    This way you can figure out if any current if going to the led in the optocoupler.

    You haven't put the optocoupler wrong in the socket did you ? :-)

  13. #13
    Join Date
    Dec 2005
    Posts
    25
    Hi Chris,
    Looking at the datasheet, it appears that you are correct about the optoisolator. I'd say to try a 330 ohm resistor in there, (which should give you a current of 11 mA) and see if that works.
    Also, my interpretation of the graph is that the controller is trying to hold the position at the center line. When you turn the motor by hand and release, it should try to move back to the center line. Then depending on how the controller is tuned, (underdamped, overdamped, ect.), it will display on that graph.
    When the system is underdamped you should see something like this: (which it sounds like this is whats going on with yours)

  14. #14
    Chris,

    the estop terminal has an internal pullup on the board. You don't have to connect anything. If estop is active, the error LED is always on.

    Are you sure you've put in 10 k pullups behind the opto ? What signal do you have there ? Gnd or Vcc ?

    Uli

  15. #15
    Join Date
    Dec 2005
    Posts
    25
    Did you try triggering the opto without using the parallel port? Just apply 5V from the board supply to one of the v+ pins) and see if the opto triggers correctly.
    I'm thinking that the parallel port isnt able to supply the needed current?
    Which pins on the parallel port are you using?

    Also, I'm still looking for the pcb layout in eagle (or any other free pcb creation software) so if someont has it, could you please help me out?

  16. #16
    Join Date
    Apr 2005
    Posts
    630
    HI Guys,

    I believe the problem is with my breakout board. I don't think I am providing enough current based on some quick tests with a plain LED.

    ULI, I am 99.8345% sure I have the resistors where they should be - but there is always that tiny chance I don't so I am going to check again :-)

    The breakout board I am using is of my own design - please read that as I don't know what I am doing!

    Basically, the outputs from the parallel port are swtiching a darlington pair inside the ULN2803 chip. I have +5 via a 10K resistor connected to the output of the ULN2803. When switched it is suppose to go to ground.

    On a hunch, I tried replacing the 10K with a 220 ohm and that didn't help either. I am working through it slowly as I don't know enough yet to be sure of anything I am doing ;-----(

    CHris

  17. #17
    Join Date
    Dec 2005
    Posts
    315
    Quote Originally Posted by Chris D
    Basically, the outputs from the parallel port are swtiching a darlington pair inside the ULN2803 chip. I have +5 via a 10K resistor connected to the output of the ULN2803. When switched it is suppose to go to ground.
    Then you have a 10K resistor in series with the 220 ohm resistor.
    Your using 10220 ohm, not 220 ohm.
    The optocoupler input is not getting enough current.

    Try the idea mentioned by someone ealier.
    Disconnect the UHU from breakout board and computer.
    Put 5 volt on the STEP input.
    If you keep switching this 5 volt on and off the servo should step.

    If this works why not connect the UHU direct to the parallel port ?
    Without the breakout board.

  18. #18
    Join Date
    Apr 2005
    Posts
    630
    Latest update - problem is definitely the break out board. If I trigger the opto with 5 volts (at the Dir or Step connection), the far side of the opto operates properly.

    I have to tinker some more with the resistor value of the breakout board and the ULN2803 chip. If that fails I am going to "Hot wire" the damn thing straight to the parallel port!

    Wish me luck!

    Chris

  19. #19
    Join Date
    Dec 2005
    Posts
    315
    Quote Originally Posted by Chris D
    I have to tinker some more with the resistor value of the breakout board and the ULN2803 chip.
    Thats not the best idea.
    The basic principle of using a dalington here is not good.

    Wish me luck!
    Allways :-)

  20. #20
    Chris,

    congratulations and Merry Christmas !

    Uli

Page 11 of 91 9101112132161

Similar Threads

  1. Central PID Controller vs. PIV Controller in each Servo Amp
    By Bronx68 in forum CNC Machine Related Electronics
    Replies: 12
    Last Post: 11-20-2013, 05:33 PM
  2. Servo Controller pin out ?????
    By slowtwitch in forum Servo Motors / Drives
    Replies: 0
    Last Post: 05-28-2013, 03:55 PM

Tags for this Thread

Posting Permissions

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