Go to Post In fact, our robot YOLOs so hard it does drive-bys on the refs. - TrevorKN [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #3   Spotlight this post!  
Unread 24-09-2010, 14:11
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Generating EM field

How accurate (frequency and amplitude) do you need it to be? What frequency range? Does it have to be sinusoidal?

Here are a few options, listed in rough descending order in terms of "goodness" according to what I think you are trying to do.

0) Bust out the Cypress First Touch board from the 2009 KoP. The analog front end of that will easily do a current mode* controlled sine wave up to several megahertz. Of the DIY solutions, this is by far your best bet for cost and accuracy. The programming isn't too hard either, but expect to sink an afternoon or two into getting used to it - it is a funky combination of software and hardware.


1) Use the headphone jack on your computer - You'll need to calibrate the amplitude, but you can't get much cheaper.

2) Use a 555 timer - quick cheap simple, but it gives a square wave. You could filter it a bit...

3) Get a function generator kit, like this from sparkfun : http://www.sparkfun.com/commerce/pro...oducts_id=9002

3b) Get a digital function generator kit and a microprocessor to control it: http://www.sparkfun.com/commerce/pro...oducts_id=9169

4) Build up your own sine generator from a VCO (voltage controlled oscillator). This is solution is only good for higher frequencies - start here if you are above 40MHz.

5) Buy an actual function generator.


For most of these, you'll have to calibrate using an oscilloscope (you can use the cRIO's analog module as a good 'scope with a 500kS/s sample rate).

Again, I advise the cypress route. It has the best uncalibrated accuracy of the cheap options (3b and 5 are likely to be more accurate). Also, Cypress has expressed a lot of interest in helping FIRST folk with using their parts.


EDIT: * Current mode means that it is directly pushing current, not voltage. This means you don't have to worry about coil impedence. It also means that the internal DAC runs about 8 times faster than it does in voltage mode.

Last edited by EricVanWyk : 24-09-2010 at 14:13.
 


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
Field Corner Dimensions Missing from Field Drawings? Don Wright General Forum 2 13-01-2009 19:57
Trouble generating STL files PhilBot Inventor 2 24-04-2008 15:33
Generating Victor compatible PWM's Hutch Electrical 4 03-08-2005 13:36
A VERY nice perl script for generating lookup tables. Validius Programming 11 31-03-2005 10:15
Motors generating power archiver 2001 11 24-06-2002 00:38


All times are GMT -5. The time now is 00: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