News:

  • June 09, 2026, 12:53:43 AM

Login with username, password and session length

Author Topic: CTRIO & Lost/Added Encoder Counts  (Read 30729 times)

rgweber

  • Newbie
  • *
  • Posts: 4
CTRIO & Lost/Added Encoder Counts
« on: September 15, 2008, 10:19:54 PM »
H2-CTRIO loses counts.  Baldor servo outputing DLD quadrature signals to BEI, DLD to single ended 24V output converter, then to CTRIO.  Baldor is following
pulse and direction out of CTRIO.  Encoder feedback used to monitor the move.  Servo follows pulse string (under the 25KHz max) however, BEI (w/ 1MHz rating) and the CTRIO w/ 100KHz rating, misses/adds counts.  Slowing down the pulse rate improves reliability, but it doesn't seem that I should be anywhere near the limitations of the system, and I am not getting the performance I should.  Looking for suggestions.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: CTRIO & Lost/Added Encoder Counts
« Reply #1 on: September 16, 2008, 09:29:37 AM »
There is a bit of a caveat in the counter performance, and this may be what you are seeing. The quad direction changes have a small window of software processing, and if another direct change occurs before that processing, we can miss stuff. It has only been a problem in very rare cases, usually involving simulated encoder inputs that have a high degree of jitter. If the servo is sitting almost still and is walking a few counts...logically, if not physically...up and down, and the servo's potential freq output is high, it may be causing back to back direction changes that we are missing.

I don't remember the exact number off the top of my head, but in general, we don't want to see a 2nd direction change any quicker than about 50 us.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Martint Environmental

  • Newbie
  • *
  • Posts: 2
  • call me for questions
    • martintenvironmental
Re: CTRIO & Lost/Added Encoder Counts
« Reply #2 on: December 25, 2008, 04:29:12 PM »
have you scoped out the logic levels?
Mike Webster
Mike@martintenvironmental.com
Cell 803 730-6473