Go to Post we came together, worked our butts off, and eventually looked at failure and decided....its just not our style. - Monochron [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #24   Spotlight this post!  
Unread 18-09-2005, 23:37
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,229
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
Re: Testing and Cause of Failure for Encoders and Hall Effect sensors

Quote:
Originally Posted by Alan Anderson
The RC analog input is ten bits, giving 1024 steps. The simple definitions in the default code throw away two bits of resolution in order to emulate the pre-2004 system, but the full range of values is available just as easily.
Somewhere along the line this info seems to have gotten garbled or missed entirely by our team. Either that or I just didn't get the info from the right guy. While I'm a mechanical sort of guy, I have helped design and control process equipment. Due to some very bad experiences I absolutely hate input sources that give me back only 1 and 0 for non-binary input. For a temperature I don't want to hear from the sensor "The temperature has increased 3.7 degrees in the last 2 minutes." That may be an important secondary factor, but what I really want is "The temperature is 253F." If the rate of increase is important I can track that by comparing subsequent readings easily enough.

Encoders can tell me how fast something is moving, and how far it has moved from the start point (assuming the integration routine is working and nothing has been skipped) but they will not tell me absolute position. (unless I use a very special encoder which is out of our price range as I recall) Since position is what I'm trying to control, I'd rather work with a directly correlating signal than deal with trying to integrate or differentiate to get what I really need.

Do I just have to change the variable definition to increase the bit size?
__________________
Christopher H Husmann, PE

"Who is John Galt?"
 


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


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

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