29
\$\begingroup\$

I am reverse-engineering a board which has a Xilinx Spartan 3E FPGA, with VCCAUX powered by a 2.5 volt regulator. Below is the PCB layout for the regulator part of the circuit, and something seems very fishy to me.

enter image description here

My apologies for the horrible pixelation, this was the highest resolution I could get with the equipment I had available. Anyway, the SOT23-5 component labeled "LFSB" is a Texas Instruments LP3988IMF-2.5 linear voltage regulator. I have traced out the schematic below from the board layout:

enter image description here

You may already have noticed the source of my confusion: I have no idea why they would have placed a 316 ohm resistor directly across the output of a 2.5 volt regulator. All that does is waste 7.9 milliamps. I cannot seem to find any reason for doing this. I wonder if it is a design flaw, and that resistor is actually supposed to be connected to the PG pin instead of to ground. I have triple-checked the original PCB, though, and it definitely connects to ground and the PG pin is not connected to anything. If this is an error, however, it would explain why they used a separate trace on the low side of the resistor instead of connecting it to the copper ground pour that's right there. I also wondered if the regulator may require a minimum load in order to maintain a stable output, but that is not the case for this regulator. There are no minimum load requirements. I also considered the possibility that it was intended to bring up VCCAUX more slowly for sequencing purposes for the FPGA, but reading the datasheet this also does not seem to fit - there are no strict sequencing rules for powering up the Spartan 3E.

Can anyone think of a reason why someone would intentionally place a 316 ohm resistor directly across the output of a 2.5V regulator? I considered it might be a bleeder resistor for the output capacitor, but it seems like too low of a value for that.

EDIT: Perhaps this additional information will help. The datasheet for the Spartan 3E specifies what the VCCAUX supply is used for:

VCCAUX: Auxiliary supply voltage. Supplies Digital Clock Managers (DCMs), differential drivers, dedicated configuration pins, JTAG interface. Input to Power-On Reset (POR) circuit.

\$\endgroup\$
23
  • 2
    \$\begingroup\$ I suspect it has to do with the regulator not providing any reverse current protection. It is chosen empirically so that all capacitors connected to the output discharge more quickly than the input voltage is expected to drop during a power down. \$\endgroup\$
    – The Photon
    Jun 29, 2019 at 14:53
  • 1
    \$\begingroup\$ @Photon If it was to discharge C43 why arent both terminals of R14 connected to both terminals of C43? Even when it isn't to bleed of C43, I'm still wondering this. \$\endgroup\$
    – Huisman
    Jun 29, 2019 at 15:17
  • 2
    \$\begingroup\$ Forget what the part is capable of. On the board, are there any 3.3V inputs to I/O banks powered by that 2.5V line? If there are, then the protection diodes will leak into the 2.5V rail, which can float up unless it's loaded with a resistor. At least, the last time I saw an FPGA board with a resistor there, that's why. \$\endgroup\$
    – TimWescott
    Jun 29, 2019 at 15:31
  • 1
    \$\begingroup\$ @TimWescott No, the 2.5V ONLY goes to the VCCAUX pins of the FPGA, and VCCAUX is not used to power I/O. \$\endgroup\$
    – DerStrom8
    Jun 29, 2019 at 18:02
  • 2
    \$\begingroup\$ @Justme Yes, I measured it. The code on the resistor is 49A. The EIA-96 standard is used for coding of 1% SMD resistors, which consists of numerical codes 1-96 followed by a letter, A/B/C/D/E/F/H/R/S/X/Y/Z. The numerical code indicates the value and the letter indicates the multiplier. In this case "49" corresponds to "316" and "A" corresponds to a multiplier of "1". Therefore, the value is 316 * 1 = 316 ohms. \$\endgroup\$
    – DerStrom8
    Jun 29, 2019 at 18:07

3 Answers 3

47
\$\begingroup\$

I would have done the same design, in order to reduce dynamic and static load regulation error.

The details for the reasons are evident from the datasheet. Look at the dynamic load regulation error and input step regulation error:

Line and load regulation curves taken directly from the datasheet linked to by OP

I can only guess what error budget the designer had in mind, but it is common for every LDO to have a response similar to those above (although this FET LDO is exceptionally low power and dropout voltage)

  • 5 mV error at 0.6 V input step with a 1 mA load
  • 200 mV error with a 150 mA load-step

The static load regulation error is only rated above 1 mA as 0.007%/mA:

Line and load regulation characteristics

This implies it is worse below 1 mA and improves with a dummy load of 7.6mA to the designer's satisfaction. It also improves dynamic step load regulation error above.

This 1 mA ensures the rise/fall time of the Gate drive to speed up response. 7.6 mA is even better with diminishing returns above this.

Static load regulation error is only due to RdsOn of the PFET used in the LDO divided by its internal Loop gain. This is true for any voltage regulator whether it is FET or BJT. But infinite loop gain can increase stability errors or result in more ringing, under certain load (i.e. ESR, C) conditions so it is finite.

Fishy? No way!

\$\endgroup\$
15
  • 3
    \$\begingroup\$ Very clever! I hadn't even thought of that! I think this is the exact answer I'm looking for! \$\endgroup\$
    – DerStrom8
    Jun 29, 2019 at 18:13
  • 11
    \$\begingroup\$ You too will get more experience. I have 40 yrs of this. \$\endgroup\$ Jun 29, 2019 at 18:30
  • 4
    \$\begingroup\$ Or think of the step load as a step current sink and the LDO as a voltage source with some GBW limit. this ALWAYS limits slew rate in any linear drive and even Logic IC’s driving load pF. This lag or slew rate in error feedback produces the error +/- glitch on output voltage stepping up + or down - load current. this is a standard stability test for any voltage regulator. OFTEN DONE by 10% to 100% to 10% to give better results than 0 to 100%. So preload if your actual load is 0 static and high dynamic. \$\endgroup\$ Jun 29, 2019 at 19:12
  • 4
    \$\begingroup\$ it depended on the application current crest factors and steady state load (uA) . no magic number in datasheet, but I would have considered 5% max rated current as a preload as a starting point then confirm all sources of regulation error (static, step source V and step load I) to derive one with the best margin for variations in part GBW. This is a mandatory concern for mobiles with low Rx power and high Tx power yet minimize wasted power in order to,achieve the RF stability during carrier burst ON. it seems the designer has the same wisdom, as 5% of 150mA is what? \$\endgroup\$ Jun 29, 2019 at 20:19
  • 4
    \$\begingroup\$ Good Eye @marcelm It was actually 9.2.3 line in step +/-0.6V then "5mV error with 1mA load, \$\endgroup\$ Jul 1, 2019 at 12:49
7
\$\begingroup\$

As already suggested by some other comments that 316 ohm resistor is placed there to allow the voltage regulator circuit some ability to sink some current in the case that the 2.5V rail gets some leakage from a higher voltage rail. That leakage would typically cause the regulator output to shut off and to rise up and go to a higher voltage. A designer makes a design tradeoff between how much sink capability to allow for versus the amount of extra load the resistor places on the voltage regulator.

Leakage conditions can exist during power on and power off sequencing of complex semiconductor devices and the sink capability can be important to keep things in check.

In some cases the voltage regulator may have a feature called over voltage lock out that shuts down the regulator if the output rises up too much. This can be detrimental to system operation, especially if the power good (PG) indicator pin is monitored to control a voltage regulator chain on a complex board. The current sink resistor can play a role of preventing an unexpected shutdown due to a small amount of leakage into a particular rail.

\$\endgroup\$
6
\$\begingroup\$

I am not convinced that the resistor is grounded. I have labeled the parts and the copper pours as per your "reversed engineered" circuit.

enter image description here

If R14 was grounded, why would a via be wasted when there is GND pour right next door to it. How did you test it was ground? did you just buzz between lines? There is a very high chance there is an LED to ground hanging off that via. This would provide a visual indication 2.5V is powered and a resistor around 316R would be ok for a RED/YELLOW/GREEN LED ( 4mA). This would aos give the "indication" of a short if you mis-read a DMM or depending on specifics of the DMM.

https://reference.digilentinc.com/_media/s3e:spartan-3e_sch.pdf This is a reference design for a Spartan 3E. There is a 2k2 loading on the 2.5V regulator but also an LED off the 3v3. This could be to provide some damping to the circuit downstream

\$\endgroup\$
6
  • 9
    \$\begingroup\$ If R14 was grounded, why would a via be wasted when there is GND pour right next door to it. I mentioned this in my original post as well. It didn't make any sense to me either. How did you test it was ground? did you just buzz between lines? I measured between multiple known ground points, in resistance mode, continuity mode, and diode mode. Continuity and resistance mode show 0.2 ohms and diode mode shows 0 volts, indicating a clear short. There is a very high chance there is an LED to ground hanging off that via. There are no LEDs on this board. 2.5V only connects to FPGA VCCAUX \$\endgroup\$
    – DerStrom8
    Jun 29, 2019 at 15:26
  • \$\begingroup\$ Could the via be connecting to a different ground? Perhaps it's going to AGND when the pour next to it is DGND, or something like that? \$\endgroup\$
    – Hearth
    Jun 29, 2019 at 16:30
  • 3
    \$\begingroup\$ @Hearth that would be an incredibly bad decision (but possible...). Split grounds are a thing of the past BUT more importantly, the current wants to return to its source, which is near pin2 of U4. Always think about the return path \$\endgroup\$
    – user16222
    Jun 29, 2019 at 17:18
  • \$\begingroup\$ @JonRB I don't know much about high-speed digital design, so I'm just throwing out a guess. It didn't seem like a sensible choice to me, but then neither does adding that via. \$\endgroup\$
    – Hearth
    Jun 29, 2019 at 17:40
  • 3
    \$\begingroup\$ Is that a multi layer PCB or what’s on the backside of that via? \$\endgroup\$
    – eckes
    Jun 30, 2019 at 11:03

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