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

71%
+3 −0
Q&A Isolated Digital Input - Overvoltage protection

I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system. This is the snapshot of the circuit not fulfilling the r...

3 answers  ·  posted 3y ago by 2kind‭  ·  last activity 3y ago by Olin Lathrop‭

#5: Post edited by user avatar 2kind‭ · 2021-02-24T10:20:16Z (over 3 years ago)
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation? I believe it should because it won't be in the forward active region anymore.
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • **Further clarifications**
  • ——————————————————————————
  • When input is left floating opto’s diode is forward biased as seen on the schematic. When input is low, the opto should be off therefore “PIN_PROG_1” should be high. That is really all in terms of usual usage. However, there is a chance that someone would connect 32V max on the input and without adding any support the circuit shown would be damaged. Proper operation during the event is not needed - so when between 3V3 and 32V on the Q29 base circuit and PSU should not be damaged, output of it is less important. Snap on action is not required. Esd protection is important. Input impedance should be high.
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation? I believe it should because it won't be in the forward active region anymore.
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • **Further clarifications**
  • ——————————————————————————
  • When input is left floating opto’s diode is forward biased as seen on the schematic. When input is low, the opto should be off therefore “PIN_PROG_1” should be high. That is really all in terms of usual usage. However, there is a chance that someone would connect 32V max on the input and without adding any support the circuit shown would be damaged. Proper operation during the event is not needed - so when between 3V3 and 32V on the Q29 base circuit and PSU should not be damaged, output of it is less important. Snap on action is not required. Esd protection is important. Input impedance should be high.
#4: Post edited by user avatar 2kind‭ · 2021-02-23T22:29:17Z (over 3 years ago)
Added further clarification
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation? I believe it should because it won't be in the forward active region anymore.
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation? I believe it should because it won't be in the forward active region anymore.
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • **Further clarifications**
  • ——————————————————————————
  • When input is left floating opto’s diode is forward biased as seen on the schematic. When input is low, the opto should be off therefore “PIN_PROG_1” should be high. That is really all in terms of usual usage. However, there is a chance that someone would connect 32V max on the input and without adding any support the circuit shown would be damaged. Proper operation during the event is not needed - so when between 3V3 and 32V on the Q29 base circuit and PSU should not be damaged, output of it is less important. Snap on action is not required. Esd protection is important. Input impedance should be high.
#3: Post edited by user avatar 2kind‭ · 2021-02-22T21:35:40Z (over 3 years ago)
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation?
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation? I believe it should because it won't be in the forward active region anymore.
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
#2: Post edited by user avatar 2kind‭ · 2021-02-22T21:34:24Z (over 3 years ago)
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation?
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
  • I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.
  • This is the snapshot of the circuit not fulfilling the requirement:
  • ![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)
  • "ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.
  • "PIN_PROG_1" will be connected to the MCU input.
  • If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?
  • - 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.
  • - Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation?
  • I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!
#1: Initial revision by user avatar 2kind‭ · 2021-02-22T21:33:00Z (over 3 years ago)
Isolated Digital Input - Overvoltage protection
I am trying to build an active-low digital isolated switch capable of withstanding 32VDC voltage without creating any damage to the system.

This is the snapshot of the circuit not fulfilling the requirement:
![Circuit](https://electrical.codidact.com/uploads/VJHaDXARDY7eb7aQwbrRtcRG)

"ISO_PIN_PROG_1" will be connected to the switch which will tie to the ground and causing the base of the Q29 to go below 0.7V hence cutting off the OC7.

"PIN_PROG_1" will be connected to the MCU input.

If there is a 32V applied by the accident on "ISO_PIN_PROG_1" this would cause problems with the circuit as is. How could I properly solve it?

-   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.

-   Step 2: Add Zener regulator at i.e. 12V with a properly dimensioned resistor and add one more resistor in series with Q29 base to limit the current - does it need to be limited because there is a limit how high Ic of the Q29 could be in full saturation?

I may be stuck having multiple unknowns and not being really secure whether this is the right topology for the task and whether I am addressing the problems correctly so your help would be kindly appreciated! Thanks as always!