Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

enter image description here

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

enter image description here

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

1605651712040.png



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.

1605651862957.png


Regards, Dana.
 

Attachments

  • 1605651419588.png
    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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top