41
\$\begingroup\$

A lot of times in circuits I see a resistor placed in series in a signal line and sometimes even in series with an MCU's VDD line. Is the intention of this to smooth out noise in the line? How is this different from using a small cap, like a .1µF to do the same thing?

\$\endgroup\$
4
  • 6
    \$\begingroup\$ What value resistor? In what kind of signal circuit? \$\endgroup\$
    – endolith
    Dec 10, 2010 at 17:37
  • \$\begingroup\$ Next time search for duplicate Q&A Series resistor on digital signal lines This has to do with risetime =0.35/BW and stripline impedance to reduce ringing reflections from series R mismatch on high speed clocks. For DC you use a shunt cap with low ESR. OMG Dec 10 / 2010 \$\endgroup\$ Apr 11, 2019 at 15:46
  • \$\begingroup\$ @SunnyskyguyEE75 I'm working on SI research and edited this question. Active != New. :) \$\endgroup\$
    – JYelton
    Apr 11, 2019 at 16:02
  • \$\begingroup\$ WTG Yelton don't forget to add the leading zero 0.1 \$\endgroup\$ Apr 11, 2019 at 16:03

8 Answers 8

49
\$\begingroup\$

Two common reasons are signal integrity and current limiting in lazy level conversion.

For signal integrity, any mismatch in impedance of the transmission line formed by a pcb trace and attached components can cause reflections of signal transitions. If these are allowed to bounce back and forth along the trace reflecting off the mismatches at the end for many cycles until they die out, the signals "ring" and may be misinterpreted either by level or as additional edge transitions. Typically an output pin has a lower impedance than the trace and an input pin a higher impedance. If you put a series resistor of value matching the transmission line impedance on the output pin, this will instantaneously form a voltage divider and the voltage of the wavefront traveling down the line will be half the output voltage. At the receiving end, the higher impedance of the input essentially looks like an open circuit, which will produce an in-phase reflection doubling the instantaneous voltage back to the original. But if this reflection is allowed to reach back to the low-impedance output of the driver it would reflect out of phase and constructively interfere, subtracting again and producing ringing. Instead it is absorbed by the series resistor at the driver which is selected to match the line impedance. Such source termination works pretty well in point-to-point connections, but not so well in multipoint ones.

Current limiting in lazy level translation is another common reason. CMOS IC technologies of different generations have different optimal operating voltages, and may have damage limits set by the tiny physical size of the transistors. Additionally, they cannot natively tolerate having an input at a higher voltage than their supply. So most chips are built with tiny diodes from the inputs to the supply to protect against overvoltage. If driving a 3.3v part from a 5v one (or more likely today, driving a 1.2 or 1.8 v one from a 3.3v source) it's tempting to just rely on those diodes to clamp the signal voltage to a safe range. However, they often cannot handle all the current that can potentially be sourced by the higher voltage output, so a series resistor is used to limit the current through the diode.

\$\endgroup\$
5
  • \$\begingroup\$ Thank you for all of the detail. That is very helpful. So on the 2.5V PICs when they have IO pins that are 5V tolerant is this how they do it? Just using a zener or something? \$\endgroup\$ Dec 11, 2010 at 15:45
  • 3
    \$\begingroup\$ NOT A ZERNER An ordinary diode. The need for a series resistor or not depends on how much current that diode can tolerate in relation to the voltage drop and existing impedance. \$\endgroup\$ Dec 11, 2010 at 17:12
  • 1
    \$\begingroup\$ @PICyourBrain, they just use an ordinary diode, not a Zener, because they are not clipping the voltage through a reverse-biased zener diode to GND, but rather they are clamping the voltage through a forward-biased ordinary diode to Vcc. This tiny current to Vcc just helps to power the whole circuit (anything drawing from Vcc) a tiny bit, so the voltage regulator generating Vcc backs off output a tiny bit during that moment. That's the principle of clamping: it lets the voltage overflow through a diode to the high voltage rail (Vcc), but that rail doesn't rise since it's being drawn from. \$\endgroup\$ Nov 28, 2018 at 5:53
  • \$\begingroup\$ @PICyourBrain , continuing on from Gabriel's comment. The purpose of the internal diode is to prevent any pin going higher than Vcc, In the old days of CMOS, over-driving pins would cause strange parasitic effects within the silicon wafer, especially you could trigger a parasitic PNPN junction somewhere that is basically a thyristor (SCR) that shorts out Vdd to ground, resulting in self destruction of the chip. That doesn't happen much anymore, but the chips can still behave weirdly if overdriven. \$\endgroup\$
    – BobT
    Aug 14, 2020 at 14:21
  • \$\begingroup\$ If you that pin of the IC is exposed to the outside world then you would usually additional clamping devices on that line, you wouldn't use Zeners on fast signal lines though, as they have too much capacitance schottky diode clamps are best for fast signals. \$\endgroup\$
    – BobT
    Aug 14, 2020 at 14:21
15
\$\begingroup\$

Yes, signal integrity is the reason. Using a cap will slow the edge down a lot and ins't as clean. The standard book on the subject is High Speed Digital Design: A Handbook of Black Magic. As a rule of thumb, 22.1 ohms is typically used as a starting point. You can use a signal integrity simulation tool such as Mentor Graphics' HyperLynx to get a better analysis before the board is built.

On the VDD line that isn't the reason. Some people might put a milliohm resistor there to measure power, then replace it with a 0 ohm for production. Others, especially analog may put an RC filter on there to get rid of noise.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Brian, Thanks for the answer! One more thing though. Is there a rule of thumb for the size of the resistor? \$\endgroup\$ Dec 10, 2010 at 16:56
  • 2
    \$\begingroup\$ @Jordan S, you want the voltage drop across it, V = IR, to be lower than your maximum allowable drop. You also need to consider the characteristics of the filter, such as break frequency. If the IC manufacturer suggests it they will include possible values in the datasheet. \$\endgroup\$
    – Thomas O
    Dec 10, 2010 at 17:17
  • 1
    \$\begingroup\$ For Vcc resistors on a low-power chip, 10 ohms is a good starting point. This works pretty well (for its cost) in reducing noise from digital chips to analog chips supply. Important in things like digital radio, where it might be powered by a battery with its own 10 ohms resistance, and any noise in the supply will AM-modulate the RF signal. \$\endgroup\$
    – markrages
    Dec 10, 2010 at 18:59
  • 2
    \$\begingroup\$ How come all the EE books that I want cost 100 bucks?!? \$\endgroup\$ Dec 11, 2010 at 15:46
  • 1
    \$\begingroup\$ other discussions of using series resistors to reduce noise. \$\endgroup\$
    – davidcary
    Feb 25, 2011 at 19:19
11
\$\begingroup\$

On what kind of product? On a consumer part, it's probably for signal integrity (See Brian's answer).

On a development tool, it might be for current limiting. I often drop some 470-ohm resistors on signal lines for my projects for data lines which connect to external modules. The current drawn by a digital input isn't enough to cause a major voltage drop across this resistor. The current limiting means that nothing (usually) goes up in smoke if I make a mistake connecting stuff, or if something shorts a connection on an exposed board. It's different from a cap because a cap will draw a lot of current on a digital edge (for a short but sometimes non-negligible time), having the opposite effect of a resistor.

\$\endgroup\$
2
  • 3
    \$\begingroup\$ This also makes sense for connecting bidirectional ports, because these might be driving against each other due to programming errors or weird states (e.g. one controller resetting due to brownout detection, the other continuing on). \$\endgroup\$ Dec 4, 2016 at 11:37
  • 1
    \$\begingroup\$ Sometimes during development work, there will be a little puff of smoke , when you accidently brushed a wire somewhere, letting you know it's time to replace the 470R resistor. Oddly enough that's the same value I use, 1k is too mushy. I use series 22R on power MOSFET gate drives, stops them oscillating. I'ts a bit like cooking, just sprinkle a bit of seasoning around your circuit. \$\endgroup\$
    – BobT
    Aug 14, 2020 at 14:36
9
\$\begingroup\$

I'm not sure if this is what you're talking about, but a smallish resistor (<100 ohm) can be placed at the output of an op-amp that's driving a long line, so that the capacitive load doesn't cause the amplifier to oscillate.

It can also be used to ensure that two amplifiers have the exact same output impedance, to create a balanced line that rejects interference.

\$\endgroup\$
5
\$\begingroup\$

Two more answers:

  1. Adding a resistor to a line may limit damaging current flows that would otherwise result from short high-voltage transients, such as those caused by electrostatic discharge (ESD).
  2. A low-value resistor in line with the power-supply input to a chip will drop a voltage which is proportional to the chip's supply current. If one knows the value of the resistor, one can connect a meter, measure the voltage, and infer the current, without disrupting circuit operation. The circuit will work the same with or without the meter required. By contrast, if the board had a connection point for an ammeter in series with the supply, it would be necessary to short that connection whenever the mater was not present.
\$\endgroup\$
1
  • 1
    \$\begingroup\$ In addition to measuring current, you can also use the resistor as a test point to debug your circuit with a scope or logic analyzer since it brings the signal up out of the soldermask. \$\endgroup\$
    – aloishis89
    Oct 6, 2014 at 16:13
5
\$\begingroup\$

I've seen a Xilinx FPGA, programmed to drive a CMOS analog row/column multiplexor on an imager, trash the multiplexor because the sub-nanosecond Xilinx digital edges went FAR BELOW ground, and FAR ABOVE the VDD. This was observable with a 1pF probe of 900MHz speed (the TEK active fet probe P6201, long obsolete). Your normal 13pF slow probe showed no overshoot. I was directed, by people with years of experience in these areas, to place a 1Kohm resistor in each of the 6" wires (about 15 of these wires) from Xilinx to the multiplexor. Result? A fine image, with lots of offset/gain error, appeared. Some hot-cold plate correction was added, and you could see the heat of your finger soaking thru a sheet of paper. What was going on? The protection diodes, expected to absorb ESD hits of either polarity, were turning on during those sub-nanosecond under/overshoots. Thus millions of times a second, charge was injected into the CMOS substrate and wells, upsetting the digital behavior and perhaps the analog signals if those were driven to grd/rail by unexpected flow of charges needing a path back home. I've assisted in debugging other CMOS circuits, where just one logic gate was upset during an ESD test, because there was no local charge-gathering contact into well/substrate.

\$\endgroup\$
1
\$\begingroup\$

Careful with resistors on vdd lines. If you are not careful sizing the cap correctly, you may end up with ripple on the supply feed to the device which may have a detrimental effect on its operation.

\$\endgroup\$
3
  • \$\begingroup\$ I use ferrite beads on Vdd lines, especially the analog Vdd. They are effectively 20ohms at noise frequencies and 20mohm at DC. \$\endgroup\$
    – BobT
    Aug 14, 2020 at 14:26
  • 3
    \$\begingroup\$ Back when I worked in Aerospace, we used to use small resistors in the VDD lines to 1) increase reliability such that a failed component wouldn't bring the whole VDD rail down 2) I seem to remember you could feed power back through I/O of CD4000 logic, and this provided some current limiting for this undesired" path, in the event unpowered CD4000 logic (or powered from lower rail) were connected to powered, active signals. \$\endgroup\$
    – jrive
    Aug 28, 2020 at 15:18
  • 1
    \$\begingroup\$ my first intro to CMOS was at uni in 1977? I was in the lab and had wired up my CMOS divider on the protoboard and was getting the expected divide by 10 output on the scope, then I noticed I hadn't turned the 10v PSU on yet. I've seen similar effects in the decades since, can get confusing where you have a power supply fault yet the circuit is still "working". \$\endgroup\$
    – BobT
    Aug 30, 2020 at 3:31
-2
\$\begingroup\$

Sometimes a resistor, or other load, is added in parallel to a discrete digital input to compensate for the distributed capacitance in a long input cable. Consider the case where a field switch at the end of a long run of shielded cable, has a hot and a return conductor. the other end of the cable pair has a 120 vac Line and the return side goes to the input of a PLC, DCS, or other digital device. Based on these values: - Supply voltage - Cable capacitance - Digital input device impedance - Digital input device ON voltage You can calculate a maximum safe distance for the cable run so that the input will turn off when the switch is opened.
The impedance of the cable, and the input device form a voltage divider that can cause the voltage at the input to be higher than the threshold, even with the switch open.

\$\endgroup\$
1
  • \$\begingroup\$ The question specifically asks about series resistors, not parallel. \$\endgroup\$ Apr 12, 2017 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.