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