Go to Post If I can do it, it's not art. - Ether [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2006, 10:18
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Max Encoder/Interrupt Frequency?

Quote:
Originally Posted by duane
We are going to be using three encoders, two for position control (on the drive wheels) and one for speed control. We expect the motor that we need speed control on to be going a max of about 2500 RPM. We are using the 63K encoders that should handle this speed, but I'm concerned about the interrupt speed on the processor.

Are we going to overwhelm the processor? If the processor is at 10MHz, 2000RPM with a 64 PPR encoder is a little over 2100 interrupts per second. That doesn't seem to bad, but we don't have first handle knowledge like some others.

Add in some positioning encoders, and is this going to work?

Thanks for the advice.
...Duane
This should work fine. I decided to torture-test our current software setup: Camera, Gyro, and six encoders (we won't use all of them), and some reasonably intensive trig functions. Wiring up one encoder to all six encoder channels and spinning it with a high-speed drill, the code could keep up with it until just under 1600 pulses per second. Dropping this to just the first two encoders (which don't share an interrupt line), it can do at least 6000 pulses second (as fast as my drill went). So I don't think you'll have problems.
Closed Thread


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
Lightwave to Max Converter? Ian Curtis 3D Animation and Competition 0 16-05-2005 12:33
3ds max VS Maya VS XSI DisTurbed 3D Animation and Competition 7 08-08-2002 22:52
Text effects in 3DS Max... Ranma 3D Animation and Competition 6 28-02-2002 21:56
FIRST MAX Animation Tutorials Robby O 3D Animation and Competition 2 01-02-2002 22:53
Ahhhh! I've had it with 3dstudio max! AnnyRob 3D Animation and Competition 6 29-01-2002 11:23


All times are GMT -5. The time now is 14:39.

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