Passive Switch for NPN or MOSFET Ideas?

Click For Summary
SUMMARY

This discussion focuses on the implementation of a passive switch for controlling an NPN or MOSFET transistor to modulate an electromagnet using PWM. The recommended approach involves using an enhancement mode N-channel MOSFET in a TO220 case rated for at least 30V, along with a LM555 timer IC configured as a Schmitt trigger to convert analog signals into digital gate signals. A power diode is essential for clamping voltage spikes from the inductive load, protecting the MOSFET from damage. The circuit design emphasizes the importance of ensuring the MOSFET operates in a fully on or off state to minimize power dissipation.

PREREQUISITES
  • Understanding of PWM (Pulse Width Modulation) techniques
  • Familiarity with N-channel MOSFETs and their specifications
  • Knowledge of Schmitt trigger circuits and their applications
  • Basic electronics concepts, including inductive loads and flyback diodes
NEXT STEPS
  • Research the specifications and characteristics of enhancement mode N-channel MOSFETs
  • Learn about the operation and configuration of the LM555 timer IC as a Schmitt trigger
  • Explore the design and implementation of flyback diodes in inductive circuits
  • Investigate the use of photo-interrupters in electronic switching applications
USEFUL FOR

Electronics enthusiasts, hobbyists, and engineers interested in controlling inductive loads, particularly those working with MOSFETs and PWM modulation techniques.

EagleOnePro
Messages
11
Reaction score
2
Hi I would like some advice on what you think I should use as a passive switch for my NPN or MOSFET transistor. I am trying to PWM pulse with modulate an electromagnet with a 12V 3.6A battery and I want to have a passive switch. I have tried to use photo interrupters in the past but I am not smart enough to know how to make all the connections. If you have any ideas I would very much like to know, Thanks.
 
Engineering news on Phys.org
What do you mean by “passive” switch?
How will the passive switch be controlled?

You have an electromagnet and you efficiently regulate it's DC current by using a PWM current regulator. What decides the pulse width?

Do you want the “passive” switch to switch the magnet between off and regulated on?
Or does the passive switch produce the pulsing gate signal to the current switch?

You can use PWM to regulate the DC current through an electromagnet, but it is very difficult to produce sharp magnetic transitions by switching the current on and off because the energy stored by the inductive circuit must be rapidly removed and replaced.

There are too many interpretations of your question.
Maybe your circuit diagram would help.
 
sorry about my poor clarity.

when I sed PWM I ment to manually turn on/off the electromagnet with a passive switch. Perhaps photo electric like a photo-interrupter. If you have any ideas of a beater switch for the mosfet or the npn I would be thankful.
 
Define Passive? Automatic, electronic, not mechanical ?

Otherwise stopping the PWM input will turn off the circuit, so I do not know what you mean.
 
I believe the term Passive and PWM have been misleading. This circuit should protect the MOSFET from your input experimentation.

Use almost any enhancement mode N-channel MOSFET in a TO220 case. It needs to be rated at 30V or better. Like the power diode above it, the MOSFET need only carry the electromagnet current.

When the switch turns off, a positive voltage spike from the inductance of the electromagnet is clamped by the power diode across the magnet coil. The diode prevents the flyback spike from destroying the MOSFET.

The MOSFET should be turned fully on or fully off. Then there will be either low voltage across it, or low current through it, so there will be low V*A = low power dissipated in the MOSFET. A heatsink should not be needed, check it does not get hot in use.

In order to safely control the MOSFET gate you must convert a slowly changing analog voltage into a digital signal that has sufficient current available to drive the MOSFET gate quickly through it's transition zone. That circuit is called a schmitt-trigger.

The LM555 is a very common 8 pin timer IC, but it is being used here only as a simple schmitt-trigger. The input thresholds are at Vcc/3 and Vcc*2/3. For Vcc=12V, when the input voltage on pin 6 rises above 8V the output goes low and the MOSFET turns off. When the input voltage on pin 2 falls below 4V the output goes high, turning on the MOSFET and electromagnet. The input impedance of pins 2 and 6 is high, so easy to drive.

The 47 ohm resistor limits the transition current from the LM555 into the gate capacitance of the MOSFET when switching. It also prevents parasitic oscillations of the gate structure.

The two 0.1uF ceramic bypass capacitors are there to keep switching spikes out of the system when used with long cables or a tired battery.

Start with say a 10k or 100k potentiometer on the input. Check the thresholds are 1/3 and 2/3 of Vcc. Then insert the MOSFET and check the electromagnet is controlled by the pot.

Next you can experiment with a photo-interrupter. Connect the detector between + and in, and a resistor of say 22k between in and -. That makes a voltage divider to replace the potentiometer you used during testing. You will need a light source, maybe powered between B+ and B- through a series resistor, try 470 ohms if it is a LED.
 

Attachments

  • LM555_MOSFET.jpg
    LM555_MOSFET.jpg
    41 KB · Views: 624
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
Replies
39
Views
6K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 49 ·
2
Replies
49
Views
4K
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
Replies
4
Views
6K
  • · Replies 28 ·
Replies
28
Views
6K
Replies
21
Views
6K