The inventive technique includes devices and methods for generating a magneticfield. One such device may include an inductor for generating a magnetic fieldand a power source for providing power. Such a device may also include a semiconductorswitching device that operatively couples the inductor and power source, whereinthe semiconductor switching device directs power from the power source to theinductor to generate the magnetic field.