So i'm creating an electromagnet using copper wire that will be powered by a 9v source. My basys3 board will output 3.3 volts which will switch on my mosfet which will then enable the external 9v power source provide current to my electromagnet. I'm using a Irl540 mosfet and here is my schematic with a 9 to 3.3 regulator(L78L33 part) to simulate the process. Right now the DC power supply in the lab im using is capping out with around 3.1 amps and 3.0v. Is there anything I can do to reach the 9v on my DC power supply that will be best for me other than strengthening my electromagnet with more copper coils?
1 Answer
There are two obvious problems.
1) Unless you are using a logic-level FET, 3.3 volts is not enough to reliably turn on the FET.
2) At the same time, opening the switch will not reliably let the FET turn off. The gate is floating (being neither pulled up or down), so the state of the FET is not defined.
Both of these issues can be addressed with a small change:
simulate this circuit – Schematic created using CircuitLab
When the switch is closed, the gate is pulled up to 9 volts, which should provide adequate gate drive. When the switch is open, R1 will pull the gate to ground.
-
\$\begingroup\$ Even a 'logic-level FET' may struggle to turn on fully with 3.3V. The FET should have Rdson specified at 3.3V or lower (eg. 2.5V). \$\endgroup\$ Commented Mar 2, 2018 at 6:25
-
\$\begingroup\$ @BruceAbbott - Which is why I suggested using 9 volts in my schematic. \$\endgroup\$ Commented Jun 23, 2019 at 21:37
my schematic with a 9 to 3.3 regulator(L78L33 part) to simulate the process
\$\endgroup\$