Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 07:00:26 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: CTRIO & Lost/Added Encoder Counts  (Read 1286 times)
rgweber
Newbie
*
Posts: 2


« 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.
Logged
BobO
Host Moderator
*****
Posts: 1149


Yes Pinky, we *are* going to control the world!


« 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.
Logged

BobO

The Constitution does not guarantee us freedom from being offended...but we can choose not to be, and life gets so much easier.
Martint Environmental
Newbie
*
Posts: 2


call me for questions


WWW
« Reply #2 on: December 25, 2008, 05:29:12 pm »

have you scoped out the logic levels?
Logged

Mike Webster
Mike@martintenvironmental.com
Cell 803 730-6473
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM