Author Topic: Circuit explanation  (Read 5513 times)

0 Members and 1 Guest are viewing this topic.

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Circuit explanation
« on: March 04, 2016, 08:31:45 pm »
Hi;

I just reversed engineered a circuit ( attached ), but i don't understand why are the 2 diodes that way.
I mean, if D1 was connected to ground, that's ok. If D2 was connected between the Cathode of D1 and VCC, that's also ok, but the two anodes are connected, and one cathode goes to the micro line, and the other to Vcc.
Can somebody explain to me?
Thanks
Thank you!
Regards
ElectricGuy
 

Offline PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5129
  • Country: nl
Re: Circuit explanation
« Reply #1 on: March 04, 2016, 09:18:51 pm »
Looks like they clamp the input to the uC to + and - (6.4+0.7)V. I wonder what micro that is...
Keyboard error: Press F1 to continue.
 

Offline Belgarion

  • Supporter
  • ****
  • Posts: 13
  • Country: se
    • BrokenBrain
Re: Circuit explanation
« Reply #2 on: March 04, 2016, 10:09:20 pm »
But it's referenced to 5V and not ground, so if my thinking is correct it should be clamping to (5+6.4+0.7) = +12.1V and (5-6.4-0.7) = -2.1V.
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #3 on: March 04, 2016, 10:18:57 pm »
Looks like they clamp the input to the uC to + and - (6.4+0.7)V. I wonder what micro that is...

It is a PIC micro.

Thank you!
Regards
ElectricGuy
 

Offline Shadetreeprops

  • Regular Contributor
  • *
  • Posts: 132
  • Country: us
  • Backwater building
Re: Circuit explanation
« Reply #4 on: March 04, 2016, 10:32:29 pm »
So im no expert by any means what so ever, im as new as you. but the way im looking at it. Without the dioeds, the caps would not properly charge, casue how electricty likes the path of least resistance, as much as water...so that is the only reason i can see for the dioeds to be that way. but i would not take my word for it, casue i am absolutely new to all if it myself.
Buy it, use it, break it, fix it, Trash it, change it, mail upgrade it, Charge it, point it, zoom it, press it, Snap it, work it, quick - erase it,
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: Circuit explanation
« Reply #5 on: March 07, 2016, 03:52:06 pm »
So im no expert by any means what so ever, im as new as you. but the way im looking at it. Without the dioeds, the caps would not properly charge, casue how electricty likes the path of least resistance, as much as water...so that is the only reason i can see for the dioeds to be that way. but i would not take my word for it, casue i am absolutely new to all if it myself.

You've got it backwards.  The diodes aren't there to help the caps, the caps are there to help the diodes.  Those are TVS diodes, designed for ESD protection.  The caps help to slow the transient down...absorb some of the current to give the diodes time to open up and short it out.  At least as far as I understand it.
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #6 on: March 07, 2016, 04:18:28 pm »
So im no expert by any means what so ever, im as new as you. but the way im looking at it. Without the dioeds, the caps would not properly charge, casue how electricty likes the path of least resistance, as much as water...so that is the only reason i can see for the dioeds to be that way. but i would not take my word for it, casue i am absolutely new to all if it myself.

You've got it backwards.  The diodes aren't there to help the caps, the caps are there to help the diodes.  Those are TVS diodes, designed for ESD protection.  The caps help to slow the transient down...absorb some of the current to give the diodes time to open up and short it out.  At least as far as I understand it.

Believe me, they are not backwards. That's why i post it here, i checked, re-checked, and ask other person to checked as well. The circuit is exaclty like i posted.
Thank you!
Regards
ElectricGuy
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: Circuit explanation
« Reply #7 on: March 07, 2016, 04:21:46 pm »
So im no expert by any means what so ever, im as new as you. but the way im looking at it. Without the dioeds, the caps would not properly charge, casue how electricty likes the path of least resistance, as much as water...so that is the only reason i can see for the dioeds to be that way. but i would not take my word for it, casue i am absolutely new to all if it myself.

You've got it backwards.  The diodes aren't there to help the caps, the caps are there to help the diodes.  Those are TVS diodes, designed for ESD protection.  The caps help to slow the transient down...absorb some of the current to give the diodes time to open up and short it out.  At least as far as I understand it.

Believe me, they are not backwards. That's why i post it here, i checked, re-checked, and ask other person to checked as well. The circuit is exaclty like i posted.

I never said you did, my post was not directed toward you.  I was talking to Shadetreeprops who suggested that the only reason the diodes were there were to charge the caps.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Circuit explanation
« Reply #8 on: March 08, 2016, 12:34:23 am »
Circuit just does not seem to be drawn right.

Spice simulation shows it does not look like it functions in any meaningful way.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: Circuit explanation
« Reply #9 on: March 08, 2016, 12:46:07 am »
Hi;

I just reversed engineered a circuit ( attached ), but i don't understand why are the 2 diodes that way.
I mean, if D1 was connected to ground, that's ok. If D2 was connected between the Cathode of D1 and VCC, that's also ok, but the two anodes are connected, and one cathode goes to the micro line, and the other to Vcc.
Can somebody explain to me?
Thanks

If the voltage goes too high then D1 will conduct and stop the voltage going higher. If the voltage goes too low then D2 will conduct and stop the voltage going lower. Between them the two diodes will keep the voltage close to the expected value. If the voltage is in range then no current flows through the diodes.

The capacitors are there to absorb the energy from voltage spikes and help the diodes do their job. The whole thing is an input protection circuit to protect the micro from ugly spikes on the power supply.
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #10 on: March 08, 2016, 01:06:06 am »
If the voltage goes too high then D1 will conduct and stop the voltage going higher. If the voltage goes too low then D2 will conduct and stop the voltage going lower. Between them the two diodes will keep the voltage close to the expected value. If the voltage is in range then no current flows through the diodes.

The capacitors are there to absorb the energy from voltage spikes and help the diodes do their job. The whole thing is an input protection circuit to protect the micro from ugly spikes on the power supply.

Thanks IanB;

I get the first one. If the voltage is above 6.4V the diode starts conduct. But since D2 is conected to 5V i really don't know how when the voltage is more negative will protect the circuit.



Circuit just does not seem to be drawn right.

Spice simulation shows it does not look like it functions in any meaningful way.

Regards, Dana.

Like i told before, it was cheched, and re-checked, by me and other person. It was re-checked, because it does not  look right also for me.



I never said you did, my post was not directed toward you.  I was talking to Shadetreeprops who suggested that the only reason the diodes were there were to charge the caps.

sorry, i thought it was for me.
Thank you!
Regards
ElectricGuy
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: Circuit explanation
« Reply #11 on: March 08, 2016, 01:44:08 am »
I agree with Belgarion, it should limit the input voltage between about -2 to +12v.  Kind of an odd range considering it's feeding an MCU.
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #12 on: March 08, 2016, 01:47:57 am »
I agree with Belgarion, it should limit the input voltage between about -2 to +12v.  Kind of an odd range considering it's feeding an MCU.

And since is a 5V Pic micro, i really don't get it  |O
Thank you!
Regards
ElectricGuy
 

Offline Godzil

  • Frequent Contributor
  • **
  • Posts: 458
  • Country: fr
    • My own blog
Re: Circuit explanation
« Reply #13 on: March 08, 2016, 02:17:45 am »
Do you have the value of the capacitors?
When you make hardware without taking into account the needs of the eventual software developers, you end up with bloated hardware full of pointless excess. From the outset one must consider design from both a hardware and software perspective.
-- Yokoi Gunpei
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #14 on: March 08, 2016, 02:20:47 am »
Do you have the value of the capacitors?

It's on the schematic, 100nF ( first post )
Thank you!
Regards
ElectricGuy
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: Circuit explanation
« Reply #15 on: March 08, 2016, 02:29:56 am »
I get the first one. If the voltage is above 6.4V the diode starts conduct. But since D2 is conected to 5V i really don't know how when the voltage is more negative will protect the circuit.

If the incoming voltage goes below about -2 V then D2 will conduct and prevent the voltage going any lower. Maybe that is the design intent?
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #16 on: March 08, 2016, 10:06:18 am »
I get the first one. If the voltage is above 6.4V the diode starts conduct. But since D2 is conected to 5V i really don't know how when the voltage is more negative will protect the circuit.

If the incoming voltage goes below about -2 V then D2 will conduct and prevent the voltage going any lower. Maybe that is the design intent?

I get your point, but if the PIC Micro only works between 0 to 5V, with +-0.5V tolerance, don't you think that -2V is over the specs?
In my opinion the desing intent is to protect the IOs, i just don't think it is done well, and i'm talking about a comercial product for the medical industry.
Thank you!
Regards
ElectricGuy
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11891
  • Country: us
Re: Circuit explanation
« Reply #17 on: March 08, 2016, 10:32:34 am »
I get your point, but if the PIC Micro only works between 0 to 5V, with +-0.5V tolerance, don't you think that -2V is over the specs?
In my opinion the desing intent is to protect the IOs, i just don't think it is done well, and i'm talking about a comercial product for the medical industry.

But what is the line being protected? Is it an input signal? I don't think you have ever said what its function is?
 

Offline ElectricGuyTopic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: pt
Re: Circuit explanation
« Reply #18 on: March 08, 2016, 10:36:12 am »
I get your point, but if the PIC Micro only works between 0 to 5V, with +-0.5V tolerance, don't you think that -2V is over the specs?
In my opinion the desing intent is to protect the IOs, i just don't think it is done well, and i'm talking about a comercial product for the medical industry.

But what is the line being protected? Is it an input signal? I don't think you have ever said what its function is?

Sorry, yes, its an input signal line. It runs a +-200m cable lenght.
Thank you!
Regards
ElectricGuy
 

Offline Shadetreeprops

  • Regular Contributor
  • *
  • Posts: 132
  • Country: us
  • Backwater building
Re: Circuit explanation
« Reply #19 on: March 08, 2016, 12:58:52 pm »
So im no expert by any means what so ever, im as new as you. but the way im looking at it. Without the dioeds, the caps would not properly charge, casue how electricty likes the path of least resistance, as much as water...so that is the only reason i can see for the dioeds to be that way. but i would not take my word for it, casue i am absolutely new to all if it myself.

You've got it backwards.  The diodes aren't there to help the caps, the caps are there to help the diodes.  Those are TVS diodes, designed for ESD protection.  The caps help to slow the transient down...absorb some of the current to give the diodes time to open up and short it out.  At least as far as I understand it.

Believe me, they are not backwards. That's why i post it here, i checked, re-checked, and ask other person to checked as well. The circuit is exaclty like i posted.

And i thank you for that correction. i am still trying to get all the diffrent symobls, i did not notice the crook at the end of the dioed referenced. thank you for letting me know that too. i will make a note of it..

I never said you did, my post was not directed toward you.  I was talking to Shadetreeprops who suggested that the only reason the diodes were there were to charge the caps.
Buy it, use it, break it, fix it, Trash it, change it, mail upgrade it, Charge it, point it, zoom it, press it, Snap it, work it, quick - erase it,
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf