Simulation showing different results for a same practical case

Status
Not open for further replies.

FreshmanNewbie

Full Member level 6
Joined
May 10, 2020
Messages
386
Helped
0
Reputation
0
Reaction score
2
Trophy points
18
Activity points
3,858
Below I have this simulation.

The diodes represent the clamping diodes placed inside the microcontroller GPIO pins.

Case 1 - Given directly using the voltage source.



Case 2 - Given the same voltage through a resistor divider.



In the above image, both the circuits are providing 12V at the GPIO pin. But first one is given through the voltage source. Second is through a resistor divider network. But effectively, same voltage is given and provide at the GPIO pin. But we are getting different results.

I understand that in the first case, since the Voltage source output is very low impedance, it is showing 12V. But I am confused on this behaviour and unable to arrive at a conclusion on how the 2 cases are different. Please help to provide an answer in simple terms for my clarity.
 

Check the current in D1 for both cases ...
You will see that one case isn't realistic.
 

Hi

I agree with std_match.
Mainly different: the current.

In the above image, both the circuits are providing 12V at the GPIO pin
No. Only the first schematic provides 12V to the PIN. (but this situation is not realistic)
The second schematic provides 12V to the resistor ... and if you´d use your simulation you´d see that there is not 12V at the PIN.

Klaus
 

In first case (sweeping V1) -




Semiconductor diodes, in MOS processes, are crappy diodes, and exhibit high intrinsic R, so look
like R's when the diode turns on. When you do 2'ond case effectively all you have done is add
more R to the diodes intrinsic R. And of course limit the current for a given V1 voltage.


As you can see diode turns on when its ~ .7V and then current takes off, but is limited by D1 intrinsic dynamic R.



Regards, Dana.
 

Attachments

  • 1605651419588.png
    75.4 KB · Views: 84
Last edited:

Both circuits are exceeding processor maximum ratings.

In the first case, an unlimited voltage source would destroy the processor input cell. In the second case, the input current of about 12 mA, is most likely exceeding the continuous current rating and may damage the input.
 


Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…