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

Post History

66%
+2 −0
Q&A Isolated Digital Input - Overvoltage protection

Step 1: Since 3V3_ISO would be LDO driven I would probably add a diode with the anode connected to the LDO output and a cathode connected with the LDO input to prevent the LDO to have output high...

posted 3y ago by Lundin‭  ·  edited 3y ago by Lundin‭

Answer
#2: Post edited by user avatar Lundin‭ · 2021-02-23T09:40:20Z (about 3 years ago)
  • > Step 1: Since 3V3_ISO would be LDO driven I would probably add a diode with the anode connected to the LDO output and a cathode connected with the LDO input to prevent the LDO to have output higher than the input. Based on my experience they tend not to love that. I haven't post that because I haven't yet designed the power stage.
  • Indeed, this is common practice and does help saving the LDO. Normally I'd pick a schottky with high enough reverse voltage, to minimize the voltage difference between LDO input and output. However in this case, 32V is likely far too high input for the LDO (?) depending on type.
  • If you have no reason to suspect lots of EMI etc, you shouldn't need galvanic isolation, it makes the BOM expensive. Even with expected EMI, then normally it should suffice with a TVS together with some current limiting resistor, to take the brunt of the load in case some high voltage is applied by accident.
  • I'd get rid of the BJT, LDO and optocoupler and just add some protective diodes, one towards ground and one towards the voltage you want. Something like this:
  • ![Image alt text](https://electrical.codidact.com/uploads/SVU3HMY8dk3tWKc59bJocMyk)
  • - TVS optional directly on the input (not drawn).
  • - Vdd is some known high voltage you've got access to, like 24VDC.
  • - R1 is some high ohm >10k.
  • - R2 optional if you need voltage divider
  • - If some high voltage is applied then you lose 0.7V across D2 and the rest across the zener. You end up with ~3.4V that you can safely connect directly to a 3V3 MCU etc.
  • > Step 1: Since 3V3_ISO would be LDO driven I would probably add a diode with the anode connected to the LDO output and a cathode connected with the LDO input to prevent the LDO to have output higher than the input. Based on my experience they tend not to love that. I haven't post that because I haven't yet designed the power stage.
  • Indeed, this is common practice and does help saving the LDO. Normally I'd pick a schottky with high enough reverse voltage, to minimize the voltage difference between LDO input and output. However in this case, 32V is likely far too high input for the LDO (?) depending on type.
  • If you have no reason to suspect lots of EMI etc, you shouldn't need galvanic isolation, it makes the BOM expensive. Even with expected EMI, then normally it should suffice with a TVS together with some current limiting resistor, to take the brunt of the load in case some high voltage is applied by accident.
  • I'd get rid of the BJT, LDO and optocoupler and just add some protective diodes, one towards ground and one towards the voltage you want. Something like this:
  • ![Image alt text](https://electrical.codidact.com/uploads/SVU3HMY8dk3tWKc59bJocMyk)
  • - TVS optional directly on the input (not drawn).
  • - Vdd is some known high voltage you've got access to, like 24VDC.
  • - R1 is some high ohm current limiter >10k.
  • - R2 optional if you need voltage divider
  • - If some high voltage is applied then you lose 0.7V across D2 and the rest across the zener. You end up with ~3.4V that you can safely connect directly to a 3V3 MCU etc.
#1: Initial revision by user avatar Lundin‭ · 2021-02-23T09:39:01Z (about 3 years ago)
> Step 1: Since 3V3_ISO would be LDO driven I would probably add a diode with the anode connected to the LDO output and a cathode connected with the LDO input to prevent the LDO to have output higher than the input. Based on my experience they tend not to love that. I haven't post that because I haven't yet designed the power stage.

Indeed, this is common practice and does help saving the LDO. Normally I'd pick a schottky with high enough reverse voltage, to minimize the voltage difference between LDO input and output. However in this case, 32V is likely far too high input for the LDO (?) depending on type. 

If you have no reason to suspect lots of EMI etc, you shouldn't need galvanic isolation, it makes the BOM expensive. Even with expected EMI, then normally it should suffice with a TVS together with some current limiting resistor, to take the brunt of the load in case some high voltage is applied by accident.

I'd get rid of the BJT, LDO and optocoupler and just add some protective diodes, one towards ground and one towards the voltage you want. Something like this:

![Image alt text](https://electrical.codidact.com/uploads/SVU3HMY8dk3tWKc59bJocMyk)

- TVS optional directly on the input (not drawn).
- Vdd is some known high voltage you've got access to, like 24VDC.
- R1 is some high ohm >10k.
- R2 optional if you need voltage divider
- If some high voltage is applied then you lose 0.7V across D2 and the rest across the zener. You end up with ~3.4V that you can safely connect directly to a 3V3 MCU etc.