Author Topic: Pull Down resistor  (Read 4370 times)

0 Members and 1 Guest are viewing this topic.

Offline Nikos A.Topic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: cy
Pull Down resistor
« on: December 27, 2019, 01:31:50 pm »
Hi everyone,

I design a circuit that will support 8 analog sensors and the MCU will read each analog value through a multiplexer. After debugging the circuit I realized that the empty header sockets (no sensors connected) are actually floating inputs... I am thinking of placing a pull-down resistor on each of the multiplexer inputs (15 in total) to avoid this situation. Is there a better solution instead of placing fifteen pull-down resistors? This is the initial circuit.

 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17219
  • Country: us
  • DavidH
Re: Pull Down resistor
« Reply #1 on: December 27, 2019, 03:17:59 pm »
That depends on the application and on how the multiplexer is constructed but in general, unused inputs should be tied to some potential within the supply range.  Otherwise current injected into the substrate through the unused input can cause error in other channels.  If impedances and accuracy requirements are low, then this may not be an issue.

Multiplexers built on dielectrically isolated processes may not suffer from this.
 

Offline Nikos A.Topic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: cy
Re: Pull Down resistor
« Reply #2 on: December 29, 2019, 02:13:45 pm »
That depends on the application and on how the multiplexer is constructed but in general, unused inputs should be tied to some potential within the supply range. 

Thank you for your answer. I will tie the pins to the ground but I was wondering if there is any better solution besides connecting a single pull-down resistor to each of the MUX io pins.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Pull Down resistor
« Reply #3 on: December 29, 2019, 02:42:47 pm »
The signals TEMP and HUM are digital or analog?
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Pull Down resistor
« Reply #4 on: December 29, 2019, 04:05:35 pm »
Why not use a single pull down resistor on the downstream side of the mux?
 

Offline Nikos A.Topic starter

  • Regular Contributor
  • *
  • Posts: 240
  • Country: cy
Re: Pull Down resistor
« Reply #5 on: December 29, 2019, 06:44:23 pm »
Thank you for your answers guys!!

The signals TEMP and HUM are digital or analog?

Are analog signals

Why not use a single pull down resistor on the downstream side of the mux?

You mean a pull-down resistor on SIG pin? Yes, I suppose that this could be an ideal solution for me. Since I control pins C0-C15 with a 4-bit sequence (S0-S3), by pulling down SIG pin is the same as pulling down C0-C15 individually isn't it?

« Last Edit: December 29, 2019, 06:46:23 pm by Nikos A. »
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17219
  • Country: us
  • DavidH
Re: Pull Down resistor
« Reply #6 on: December 29, 2019, 06:57:43 pm »
Why not use a single pull down resistor on the downstream side of the mux?

The problem is with floating inputs on the upstream side of the multiplexer.  Depending on the multiplexer design, it may tolerate inputs floating past its supplies or it may not leading to problems like leakage between channels or improper operation.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Pull Down resistor
« Reply #7 on: December 29, 2019, 06:58:13 pm »
Thank you for your answers guys!!

The signals TEMP and HUM are digital or analog?

Are analog signals

Watch out then, because the resistance of those analog switches isn't a constant, IIRC it's an ƒ(V) (or an ƒ(I)?). There's a chapter in TAoE that explains that very well (again, IIRC).

Quote
Why not use a single pull down resistor on the downstream side of the mux?

You mean a pull-down resistor on SIG pin? Yes, I suppose that this could be an ideal solution for me. Since I control pins C0-C15 with a 4-bit sequence (S0-S3), by pulling down SIG pin is the same as pulling down C0-C15 individually isn't it?

Yes! You can do with only one pulldown.
The further a society drifts from truth, the more it will hate those who speak it.
 
The following users thanked this post: Wimberleytech

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Pull Down resistor
« Reply #8 on: December 29, 2019, 07:14:41 pm »
Why not use a single pull down resistor on the downstream side of the mux?

The problem is with floating inputs on the upstream side of the multiplexer.  Depending on the multiplexer design, it may tolerate inputs floating past its supplies or it may not leading to problems like leakage between channels or improper operation.

I looked at the datasheet before answering.  The mux consists of a conventional CMOS transfer gate.  While no details are given about input protection the datasheet specifies HBM/MM/CDM performance which would indicate serious diode junctions of both flavors on all inputs.  Thus I suspect it unlikely that a truly floating node would bump up against a supply and cause crosstalk via power rails.  Crosstalk voltage levels between the rail potentials is whatever it will be regardless of whether the signal is floating or forced.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Pull Down resistor
« Reply #9 on: December 29, 2019, 07:17:42 pm »

You mean a pull-down resistor on SIG pin? Yes, I suppose that this could be an ideal solution for me. Since I control pins C0-C15 with a 4-bit sequence (S0-S3), by pulling down SIG pin is the same as pulling down C0-C15 individually isn't it?

Yes!
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17219
  • Country: us
  • DavidH
Re: Pull Down resistor
« Reply #10 on: December 31, 2019, 03:09:20 am »
I looked at the datasheet before answering.  The mux consists of a conventional CMOS transfer gate.  While no details are given about input protection the datasheet specifies HBM/MM/CDM performance which would indicate serious diode junctions of both flavors on all inputs.  Thus I suspect it unlikely that a truly floating node would bump up against a supply and cause crosstalk via power rails.  Crosstalk voltage levels between the rail potentials is whatever it will be regardless of whether the signal is floating or forced.

It is not crosstalk via the power pins.

The problem comes about with junction isolated IC processes where the substrate is connected to the negative supply.  Negative going signals are clamped by the diode to the negative supply but still inject carriers into the substrate.  That is how junction isolated CMOS processes can die from SCR latchup even though they have input protection diodes.

It is more of a problem with multiplexers because the substrate current can leak into other channels.  For this reason, some multiplexers are deliberately built on dielectric isolated processes making them immune to this problem.  JFET multiplexers may be immune also although I am not sure.  Another way I have occasionally seen used with very old junction isolated multiplexers is to bring the substrate connection out separately and require it to be tied to a more negative voltage.

Is it a real problem?  At high resolutions it sure is.  For 3.5 digits, leakage is unlikely to be an issue.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Pull Down resistor
« Reply #11 on: December 31, 2019, 02:13:12 pm »


The problem comes about with junction isolated IC processes where the substrate is connected to the negative supply.  Negative going signals are clamped by the diode to the negative supply but still inject carriers into the substrate.  That is how junction isolated CMOS processes can die from SCR latchup even though they have input protection diodes.


A floating node (a high-impedance to any source) will not initiate latchup in a properly designed integrated circuit (junction-isolated or otherwise).
« Last Edit: December 31, 2019, 02:19:22 pm by Wimberleytech »
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17219
  • Country: us
  • DavidH
Re: Pull Down resistor
« Reply #12 on: December 31, 2019, 05:09:34 pm »
A floating node (a high-impedance to any source) will not initiate latchup in a properly designed integrated circuit (junction-isolated or otherwise).

That is right but an analog multiplexer is sensitive to other failure modes from substrate currents like non-destructive leakage between channels which a digital IC would ignore.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Pull Down resistor
« Reply #13 on: December 31, 2019, 06:03:00 pm »
A floating node (a high-impedance to any source) will not initiate latchup in a properly designed integrated circuit (junction-isolated or otherwise).

That is right but an analog multiplexer is sensitive to other failure modes from substrate currents like non-destructive leakage between channels which a digital IC would ignore.

For high-res analog circuits, I would never leave a floating node.  In general, I do not like any unknown node potential, but in this application it is just not an issue.  I spent my life designing precision analog/mixed-signal ICs--in that world you certainly worry about everything.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf