Go to Post Theory (n.) - A mythical place where all robot designs work. - MechEng83 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2006, 23:22
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
Speed Sensor for Ball Shooter

Does anyone have and idea for a speed sensor for the ball shooting wheels, I don't really want to use encoders, I had an idea of using a frequency to voltage IC and connecting it to the analog port of the R/c as I don't need direction or exact positioning and would rather not go into interrupts. The wheel would have an optical sensor mounted with a disk on the shaft or something similar, however all the frequency to voltage chips I saw wanted about 15 volts in and like 100Hz. The frequency is doable, but theres no way I want 12v battery voltage going into the r/c if something goes wrong. So anyone have an idea?
my priorities
Very little coding
cheap
commonly available
easy to interface

not necessarily in that order.
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #2   Spotlight this post!  
Unread 24-01-2006, 23:31
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Speed Sensor for Ball Shooter

Quote:
Originally Posted by Justin Stiltner
Does anyone have and idea for a speed sensor for the ball shooting wheels, I don't really want to use encoders, I had an idea of using a frequency to voltage IC and connecting it to the analog port of the R/c as I don't need direction or exact positioning and would rather not go into interrupts. The wheel would have an optical sensor mounted with a disk on the shaft or something similar, however all the frequency to voltage chips I saw wanted about 15 volts in and like 100Hz. The frequency is doable, but theres no way I want 12v battery voltage going into the r/c if something goes wrong. So anyone have an idea?
my priorities
Very little coding
cheap
commonly available
easy to interface

not necessarily in that order.
Unfortunately, interrupts are probably the best way to go (cheap, commonly available, easy to interface). Kevin Watson does have some interrupt / encoder sample code at http://kevin.org/FRC
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #3   Spotlight this post!  
Unread 25-01-2006, 00:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

To measure wheel speed, use one of the gear tooth sensors provided in the kit of parts. It's cheap (free), available (you already have two of them), easy to interface (one PWM cable to the RC and a pair of lines for power/ground), and I estimate the required programming is approximately a half dozen lines of code, one in the interrupt service routine, three in the Process_Data_from_Master_uP() routine, and the rest of them in User_Initialization().
  #4   Spotlight this post!  
Unread 25-01-2006, 00:39
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,287
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

Something we're considering as an alternative... paint part of the wheel of your launcher and use an optical sensor to detect the change in color/reflection. It will not be as accurate as an encoder, but in theory it is the same thing, and requires no gear to read.

One thing to note on the gear tooth sensors, they will be generating an interrupt for every tooth, so it would not be wise to mount them on a many toothed gear on the actual shaft of the wheel. If you guess that the shooter is going ~2000 RPM, you have ~33RPS, and if you had a 49 tooth gear (like the ones that the gear tooth sensors are reading in the default transmission setup), you would be getting 1617 interrupts per second. Kevin and teams have had problems using the gear tooth sensors because of the massive amount of interrupts generated and because of the way the new processor saves data, resulting in some very weird program crashes. I don't know the current state of how things are going or why this problem is occuring, but keep in mind large amounts of interrupts could be an issue, especially if you still have interrupts being generated by other sensors.
  #5   Spotlight this post!  
Unread 25-01-2006, 00:48
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
Re: Speed Sensor for Ball Shooter

All,
I am currently looking at the LM2917 frequency to voltage IC as a solution, it uses an variable reluctance(hall effect?) sensor to read magnets, or ferrous materials and based on some capacitor and resistor values of your choosing outputs a voltage proportional to the frequency. If I can get the circuit working, this will be the ideal solution in my mind, all you would need to do is read the analog input that it is connected to. If someone with more electronics experience than me wants to look at the data sheets, etc. for this they can be found here
http://www.national.com/ds/LM/LM2907.pdf
I also wonder if one could use optical pickups instead of the magnetic sensor as I have a few of those already, and they seem to be very reliable.
Looks like I'm off to the electrical engineering instructors office tomorrow.
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #6   Spotlight this post!  
Unread 25-01-2006, 01:46
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

Quote:
Originally Posted by Justin Stiltner
Does anyone have and idea for a speed sensor for the ball shooting wheels, I don't really want to use encoders
<snip>
Use an optical sensor, such as a banner sensor with reflective tape, that generates one interrupt per rotation of the wheel. Use this interrupt to measure the amount of time that it takes for the wheel to go around with one of the hardware timers, preferably a 16 bit one (timer 1 or timer 3). Use the interrupt from the overflow on the timer to increment a "high word" maintaining a 32 bit result for the time in clock ticks that it takes for the wheel to go around. You can get very high precision for the wheel speed this way with only one interrupt per rotation and any additional interrupts associated with overflow of the timer. The "period" of the wheel is then maintained by the interrupt setup, to be read in the user loop by the PID control for the wheel power, any time it needs to be read.

<edit>
There is a race condition in this scheme that you must be careful about.
<edit>

Have fun,
Eugene

Last edited by eugenebrooks : 25-01-2006 at 12:22.
  #7   Spotlight this post!  
Unread 25-01-2006, 17:14
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Speed Sensor for Ball Shooter

Quote:
Originally Posted by eugenebrooks
Use an optical sensor, such as a banner sensor with reflective tape, that generates one interrupt per rotation of the wheel. Use this interrupt to measure the amount of time that it takes for the wheel to go around with one of the hardware timers, preferably a 16 bit one (timer 1 or timer 3). Use the interrupt from the overflow on the timer to increment a "high word" maintaining a 32 bit result for the time in clock ticks that it takes for the wheel to go around. You can get very high precision for the wheel speed this way with only one interrupt per rotation and any additional interrupts associated with overflow of the timer. The "period" of the wheel is then maintained by the interrupt setup, to be read in the user loop by the PID control for the wheel power, any time it needs to be read.

<edit>
There is a race condition in this scheme that you must be careful about.
<edit>


Have fun,
Eugene
Dosen't the photo sensor have only a 500us response time?
  #8   Spotlight this post!  
Unread 25-01-2006, 17:45
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,598
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Speed Sensor for Ball Shooter

Other options available are DC tachometers, if you can find them cheap, or other crazy IC circuits. The frequency to voltage converters appear to be able to operate from 7.2V, I'm unsure about 5V, and I can't tell you how well they'll work at the moment. Any of these analog input options have certain advantages and disadvantages over digital encoders. The main advantage is that you can sample at otherwise unreasonable frequencies of 100+Hz and still get higher resolutions of more than 100 steps. Trying this with an encoder would give you 10,000 intrerrupts a second at top speed, and likely leave your processor a quivering pool of molten silicon. You can also get up to 10-bits of resolution, provided you design your circuit to provide such. The downside is you're working in the analog world and now have to deal with temperature effects and such. Such is life, but I think the pros outweigh the cons if you can pull it off.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #9   Spotlight this post!  
Unread 25-01-2006, 19:24
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: Speed Sensor for Ball Shooter

Quote:
Originally Posted by Justin Stiltner
All,
I am currently looking at the LM2917 frequency to voltage IC as a solution, it uses an variable reluctance(hall effect?) sensor to read magnets, or ferrous materials and based on some capacitor and resistor values of your choosing outputs a voltage proportional to the frequency. If I can get the circuit working, this will be the ideal solution in my mind, all you would need to do is read the analog input that it is connected to. If someone with more electronics experience than me wants to look at the data sheets, etc. for this they can be found here
http://www.national.com/ds/LM/LM2907.pdf
I also wonder if one could use optical pickups instead of the magnetic sensor as I have a few of those already, and they seem to be very reliable.
Looks like I'm off to the electrical engineering instructors office tomorrow.
Justin,

I have tried most F/V converters available in the market for a project a while ago. Those are pretty neat devices, but I'm afraid you will not have a very good performance.
It's tricky to adjust the circuit for the correct voltage and real resistors and capacitors will not be as precise/stable as you'd want them to be. If you read a bit into the workings of those converters, you'll find out most of them work with an integrating capacitor. The output voltage will have some ripple, inversely proportional to the capacitor value. This ripple will affect your readings, and filtering it out in software will result in a code that is slower and more complex than using interrupts. If you use a big capacitor, you'll introduce a phase lag that may render your sensor impractical.
That said, I think a Banner sensor with a small piece of retro-reflective tape will be more than enough for your application (that's what we'll be using), and Kevin Watson has provided us code that works without even needing modifications.
If you still want to try the F/V thing, I suggest you use the Analog Devices AD650 or the Texas/Burr Brown VFC320. You can get free samples on both of those, and they're much better than the National IC. The AD650 is a very good piece of hardware and, to get a decent result, that's the one I'd use.
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
  #10   Spotlight this post!  
Unread 25-01-2006, 19:30
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Speed Sensor for Ball Shooter

Whats wrong with encoders or hall effect sensors? Since you know what direction the thing is spinning, if you use encoders you only need to use of of the two lines. This makes life alot easier because you can use one of the PIC's built in CCP modules to compute the speed automagically. you only need and interrupt each time a measurement is complete. These measurements will complete in a fixed time, and can be even used as the timebase for your speed control loop
__________________
1139 Alumni

Last edited by Rickertsen2 : 25-01-2006 at 19:53.
  #11   Spotlight this post!  
Unread 26-01-2006, 07:40
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

Justin,
The device you have chosen is OK for what it does but any of these other options will provide a more accurate result. The LM2907 stilll needs an input device and the output will be subject to non linearities in speed and transducer and have a finite limit. Get to the maximum frequency and you will get no higher output.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 26-01-2006, 08:16
Don Wright's Avatar
Don Wright Don Wright is offline
Registered User
FRC #0469
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Livonia, MI
Posts: 683
Don Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond repute
Send a message via MSN to Don Wright Send a message via Yahoo to Don Wright
Re: Speed Sensor for Ball Shooter

Quote:
Whats wrong with encoders or hall effect sensors?
There could be a problem if you are trying to use a lot of encoders. i.e. two shooter wheels running at ~2000 rpm, and 4 drivewheels and whatever else. You "could get the red light of death" as our programmer calls it when you are servicing interrupts so often...

I found this and are thinking about taking a look at it... Anybody have any experience with it?

http://www.eidusa.com/Interface_Boards_F_to_V.htm
__________________
Donald F. Wright Jr.
Product Manager
AVL Instrumentation & Test Systems, Inc.
  #13   Spotlight this post!  
Unread 26-01-2006, 09:47
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

As with the previous device, this should work. Just remember that the accuracy depends on a lot of variables, sense clicks/rotation, linearity in the ADC, power supply, etc. You could increase the number of sense points on the wheel (2 per rotation or 4/rot, etc.) but you still are subject to the accuracy of the ADC on the input of the RC and it's conversion to bits. Will the number in this conversion give you enough accuracy?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #14   Spotlight this post!  
Unread 26-01-2006, 10:10
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,185
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Speed Sensor for Ball Shooter

Quote:
Originally Posted by Don Wright
There could be a problem if you are trying to use a lot of encoders. i.e. two shooter wheels running at ~2000 rpm, and 4 drivewheels and whatever else. You "could get the red light of death" as our programmer calls it when you are servicing interrupts so often...


http://www.eidusa.com/Interface_Boards_F_to_V.htm
The two shooter wheels shouldn't be a problem programming wise. Based solely on implications, I'm assuming you dont care how slow your roller is spinning, you care how fast your roller is spinning. Therefore, unlike in a drivetrain, you can easily get away with a non directional, 1 PPR encoder type switch. (As easy as a light sensor picking up a piece of relefective tape on a shaft!)

You can use this because you are only trying to determine a relative (to the other roller, or to a standard you set) velocity for each roller. Even at 2000 RPM, a simple "1 tick" sensor would pulse ~33 times per second. This will run pretty parallel to the loop in the default program. So, yes you are using an interrupt, but no, it is not taxing the processor anymore than a few commands in the default routine would. You can even determine actual velocity by using a timer to look at the times between interrupts.
  #15   Spotlight this post!  
Unread 27-01-2006, 09:29
Mike Shaul's Avatar
Mike Shaul Mike Shaul is offline
Registered User
FRC #0065 (Huskie Brigade)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Farmington Hills, MI
Posts: 53
Mike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant futureMike Shaul has a brilliant future
Re: Speed Sensor for Ball Shooter

If you do decide to go with a Frequency to Voltage IC you should also remember that if you are using a source >5v you can possibly create an output voltage >5v which could damage the A/D. You may need to use a buffer/amplifier circuit to clip the output to 5v.

The other issue is that to reduce the ripple you can use higher frequency inputs and smaller capacitors (watch the max input frequency), but as you increase the frequency you also reduce your resolution (larger frequency range in the same number of A/D counts).
__________________
By far the best proof is experience. - Sir Francis Bacon
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
Electronic Speed Controllers for DC Motor Spindle Robotics Education and Curriculum 12 23-04-2005 09:18
speed controller max speed Team 668 Programming 15 13-02-2005 14:05
Joining 2 dif. motors K.Shaw Motors 32 14-10-2004 19:40
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
Power, speed, and torque... AGH Gui Cavalcanti Technical Discussion 5 10-11-2002 19:02


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

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