Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Robust digital output protection

+1
−1

I am working on a digital output concept that I would like to have the following characteristics:

  • Output voltage: 5V
  • Controllable by the uC from 3.3V power supply
  • I would like to be able to switch the output at <100Hz
  • I don't need more than 50mA of output current drive
  • Bonus, it would be nice that the output wouldn't budge (get damaged) when stressed a bit with either ESD event of 8kV or +-12V wrong wiring connection. Unit doesn't need to function properly in this case, it just can't get damaged.

I currently have something like: High side pnp switch

How does this look like?

History

0 comment threads

2 answers

+1
−0

Generally you can protect against most kind of harmful events with a TVS placed on the output, with a value slightly higher than your expected signal voltage so roughly 6V.

The only thing the idea of building this yourself with BJTs got going for is somewhat fast switching but <100Hz is slow. A generic buffer IC with 3.3V on one side and 5V on the other would work about the same and if you can find a fairly modern one it ought to have ESD protection. Maybe there is one which can drive 50mA even? You can also check out "analog switches" - fast switching parts usually designed for lower voltages.

Another solution is to get pre-made "smart MOSFET driver" which is essentially a MOSFET that can supply lots of current while remaining rugged and protected against all kinds of harm: shorts, ESD, polarity flips etc. The automotive industry use them for relay replacement so the main thing is that they can source a lot of current (which you don't need). I'm not sure if there are any that can work with relatively low voltages - they are designed for 5V gate voltage, but a standard buffer IC between the MCU and the driver would fix that.

This is best answered by browsing the stock of a suitable IC manufacturer. Infineon has a lot to pick from for these kind of parts so maybe check https://www.infineon.com/products/power/gate-driver-ics. Renesas, ST, Onsemi etc should have similar products.

History

0 comment threads

+1
−0

That will work to switch the output on and off. You can tolerate a few ms switching time, so the slow base drives should be OK. If you needed much faster, I'd suggest a smarter topology.

Some issues to consider:

  1. You said you want ESD protection on the output, but you haven't given it any. Q3 will likely blow up with a proper ESD event. At minimum, I suggest diodes to 5 V and ground.
  2. There will typically be 200 mV or so drop across Q3 when on, so the output won't get all the way to the 5 V supply. Perhaps that's OK, but you need to at least consider it.
History

1 comment thread

C1 (2 comments)

Sign up to answer this question »