Ripple that will not die and a noisy LDO usually mean PSRR was read at the wrong frequency. This page covers the PSRR spectrum, dropout margin and honest ripple measurement.
PSRR = 20lg(input ripple/output ripple), but it is a curve, not a constant: an LM7805 holds 60dB at 120Hz yet falls near 20dB at 1MHz; an AMS1117 gives 75dB at 1kHz but about 30dB at 100kHz. Feed a 50mV 100kHz residual into that and you keep 1.6mV - too dirty for ADC references. So when cascading an LDO after a switcher, read PSRR at the switching frequency, not the flattering 1kHz figure.
Dropout margin: an AMS1117-5.0 needs 1.1V headroom, so the input valley must clear 6.1V with 0.5V to spare. Below dropout the loop collapses, PSRR with it, and ripple doubles. Older regulators (7805, LM317) also demand an ESR window on the output capacitor - all-ceramic can oscillate, so follow the datasheet or pick a modern LDO designed for ceramics. Noise is separate from ripple: broadband, internal, microvolts - use a low-noise LDO for references and clocks. Measure ripple with the 20MHz limiter and a spring ground tip: a long ground clip loops through the switcher field and fabricates 50mV of phantom ripple.
| Device | LF PSRR | PSRR at 100kHz | Dropout |
|---|---|---|---|
| LM7805 | 60dB at 120Hz | About 20dB | 2V |
| LM317 | 65dB at 120Hz | About 25dB | 3V |
| AMS1117-5.0 | 75dB at 1kHz | About 30dB | 1.1V |
| TLV1117 | 75dB at 1kHz | About 35dB | 1.1V |
| TPS7A4700 | Flat wideband 60dB | About 50dB | 0.3V |
| LT3041 low noise | 90dB at 1kHz | About 70dB | 0.35V |
Workflow: read PSRR at the switching frequency, keep half a volt above dropout, match capacitor ESR to the datasheet, and give ADC and clock rails a dedicated low-noise LDO. Spring tip first - kill phantom ripple before chasing ghosts.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Integrated circuits per GB/T 17574 (IEC 60748 series); equipment power safety per GB 4943.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.