Go to Post Quote from my mentor: "Keep things as complex as necessary, and not a bit more." - Mike [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-09-2010, 12:40
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Generating EM field

Hey all,

Although its been a few years since I've been active in FIRST I find myself coming back to ChiefDelphi whenever I have a particularly unique tech question that doesn't come up in Google. I like it, its like "I got people" but for robots....

Anyways,

I need to create an EM field generator for a project that I'm working on. It needs to be small (say 3"x3x3 container) and give 1mA current to a coil at a specific frequency with a sine wave.

Whats the best solution for this? Is there a small IC that I can use, maybe configure with a few resistors to get my specified frequency and let it go? Or am I going to have to pull some software magic with a DAC?

Let me know what you guys think, or if you need more info.

I appreciate it!

-Mike
__________________
http://www.mikesorrenti.com/
  #2   Spotlight this post!  
Unread 24-09-2010, 14:03
SteveJanesch SteveJanesch is offline
hopes he has enough oomph
FRC #1533 (Triple Strange)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Greensboro, NC
Posts: 103
SteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to behold
Re: Generating EM field

Hi Mike,

A couple more details would be helpful. What frequency/range of frequencies do you need? Also, what's the expected impedance (resistive and inductive) of the coil - or - what's the max voltage at which you need to deliver your 1 mA? Is that 1 mA peak or RMS? What power source do you think you'll use (batteries or X volt wall wart) and is that included in your 3x3x3 volume?

The reason I'm asking is that a single low frequency with a low voltage could be something as simple as a 555 timer with a filter and maybe an amplifier following it. Large ranges of frequency and or voltage will require something more elaborate.

- Steve
  #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.
  #4   Spotlight this post!  
Unread 24-09-2010, 14:35
SteveJanesch SteveJanesch is offline
hopes he has enough oomph
FRC #1533 (Triple Strange)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Greensboro, NC
Posts: 103
SteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to behold
Re: Generating EM field

All good suggestions, Eric, but I have one clarification:

Quote:
Originally Posted by EricVanWyk View Post
EDIT: * Current mode means that it is directly pushing current, not voltage. This means you don't have to worry about coil impedence.
This statement is true as long as the circuit (coil) doesn't exceed the available source voltage of the driver, which I think is 3V for the Cypress PSoc (or is it running straight off the 5V USB?). It probably won't be a problem, but I'm just being cautious before learning the implementation details.

- Steve
  #5   Spotlight this post!  
Unread 24-09-2010, 14:46
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

Quote:
Originally Posted by SteveJanesch View Post
All good suggestions, Eric, but I have one clarification:



This statement is true as long as the circuit (coil) doesn't exceed the available source voltage of the driver, which I think is 3V for the Cypress PSoc (or is it running straight off the 5V USB?). It probably won't be a problem, but I'm just being cautious before learning the implementation details.

- Steve
You are absolutely correct. In current mode, you are limited to the source voltage. There is no boost circuit (except for the one that is built in to the chip but isn't in use...) active for this path.

I was assuming that your impedance would be significantly lower than 3V / 1mA = 3kOhms. 30AWG magnet wire is 100Ohms per 1000 feet, so 3kOhms of it would be a couple miles long, which likely wouldn't fit in a 3" cube

I don't remember if it is 3.0 or 3.3V or 5.0V (but I'm leaning away from 5.0V).
  #6   Spotlight this post!  
Unread 24-09-2010, 17:09
SteveJanesch SteveJanesch is offline
hopes he has enough oomph
FRC #1533 (Triple Strange)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Greensboro, NC
Posts: 103
SteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to beholdSteveJanesch is a splendid one to behold
Re: Generating EM field

Agreed, resistance would be futile (he said, waiting eagerly for negative responses...). I was thinking more along the lines of 1 milliHenry at 1 MHz giving 6 kOhms reactive.
  #7   Spotlight this post!  
Unread 24-09-2010, 19: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,792
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: Generating EM field

If the frequency is low and one would want a nice sine wave, simply using a transformer with two windings would allow a nice and simple feedback generator. Open the core by taking out some laminations and you have a nice field generated. This is a technique used for bulk erasers for tape and other magnetic media.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 24-09-2010, 20:34
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Generating EM field

Thanks for all the replies guys. I don't have much time to reply right now but it is 1mA RMS at 33kHz sinusoidal. Power can be a wallwart.
__________________
http://www.mikesorrenti.com/

Last edited by Mike : 24-09-2010 at 20:36.
  #9   Spotlight this post!  
Unread 25-09-2010, 13:30
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Generating EM field

33 kHz is high audio, and the 555 timer will happily do that all day. Without a power supply, I could do that in less than 1 cubic inch. About $2 at Radio Shack, add another $8 for resistors, capacitors and maybe a circuit board.

While not exactly a precision frequency system, a 555 can be held to reasonably close tolerances by managing temperature.
__________________

I am N2IRZ - What's your callsign?
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
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