Go to Post To me, every robot is a moving mechanical art form, a sculpture made of aluminum, motors and gears, and I think that soon we will be seeing those art forms involved in some of the most fantastic robotic "dances" that any of us have ever seen - DougHogg [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2010, 23:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Problems accurately counting pulses

Eric,

The pulse width would affect your ability to reliably detect all pulses with software polling.

How wide is the pulse width at the highest anticipated pawl speed? Have you measure this on the 'scope?

The pulse width would be affected by both pawl speed AND how deeply each tooth engages the switch ("dwell", as we used to call it back in the days before electronic ignition).


~

Last edited by Ether : 21-02-2010 at 23:19.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2010, 00:53
ubermeister's Avatar
ubermeister ubermeister is offline
Registered User
AKA: Eric VA
FRC #0449 (The Blair Robot Project)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Silver Spring
Posts: 48
ubermeister is a jewel in the roughubermeister is a jewel in the roughubermeister is a jewel in the roughubermeister is a jewel in the rough
Re: Problems accurately counting pulses

We will try some of these solutions tomorrow morning. Glad to know that LabVIEW and the cRIO are not the cause of our problems, that we just didn't know the right blocks to use.

Ether: The pulses are approximately symmetrical, equal time on and off. The point of transition is a little higher than halfway up a tooth, to account for the pawl not falling down all the way for very high ratchet speeds.

I wasn't looking for timing on the scope, I was just making sure that every pulse was counted and clearly defined, eliminating electrical or mechanical failures as the cause of our problems. Hence, I don't remember the timing.

I believe that the fastest the pawl will ever go back would be 5 teeth in about 1/2 second, or 20 hertz. It's not nearing any unreasonable speeds, though it seems that the cRIO can handle very fast speeds using DMA.

Joe: This single channel counter seems useful. Will it be obvious to a programmer where to find it?

Thanks very much for the responses, I learned a lot about programming today
__________________


Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Motors More Accurately Glueeater Programming 8 26-03-2008 22:51
Problems with Encoder Counting bjimster1 Programming 19 07-03-2007 09:59
Encoder Counting Problems RyanW Programming 1 14-02-2007 15:17
IR senors detect pulses for 360 degrees Chaychay Technical Discussion 6 15-02-2004 15:06
Problems counting encoder pulses bludstayne Programming 7 02-02-2004 23:07


All times are GMT -5. The time now is 21:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi