I have a neat little circuit with which I am powering an electromagnet. Below is the schematic for the PCB I created. The positive lead of the electromagnet is connected to 12vdc and the negative lead of the electromagnet is connected to the MAGNET GROUND on the schematic (which is connected to real GND via the Darlington Transistor). The issue I have run into is that when I use a 12vdc plug-in voltage supply, the circuit works perfectly. However, when using a 12v battery (200Ah so the 300mA the magnet draws is not an issue) the output pulses, creating a high pitched whine from the electromagnet. I have determined the source of the pulse to be the 220 uF capacitor as the circuit does not whine when it is removed, but I am unsure why there is a difference between the plug-in supply and the battery.

enter image description here

  • \$\begingroup\$ "I have determined the source of the pulse to be the capacitor", you're not allowed to use the word the before you've mentioned a specific capacitor. Which capacitor are you referring to? Could it be the 4.7 µF connected to VCC? \$\endgroup\$ – Harry Svensson Jul 20 '18 at 11:12
  • \$\begingroup\$ Ah you're right, I have edited the original post. \$\endgroup\$ – Connor Cook Jul 20 '18 at 11:27

I have determined the cause of the output pulses to be insufficient base current to the Darlington transistor. The reason for the difference in voltage supply and battery seems to be how they act under a load. The voltage supply will maintain a constant 12 vdc no matter the current, while a battery under load will give off ~11.85 vdc. Decreasing the 10k resistor going into the base of the Darlington transistor solved the issue.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.