2026-11-09

LOCKDOWN: reading a 2023 open-source analog lock-in amplifier from its own files

Open HardwareInstrumentationAnalog CircuitRP2040SchematicBill of Materials
LOCKDOWN: reading a 2023 open-source analog lock-in amplifier from its own files

A lock-in amplifier measures a signal that is smaller than the noise around it. It does that by multiplying the input against a reference at exactly the same frequency, then averaging away everything that is not at DC. The width of that effective filter is set by how long you average, not by the tolerance of a resistor, which is why the technique turns up in fluorescence measurements, battery impedance work and low-cost optical sensing.

A daily open-hardware column published in November 2026 devoted an issue to LOCKDOWN, an open-source analog implementation of that idea. The project itself is not new: it was created in April 2023, its files were uploaded in June 2023, and the project page says it was last updated three years ago. What makes it worth a closer look is that the author published nearly everything, including an unflattering list of what is still broken on the board.

What is actually published

The Hackaday.io project is titled LOCKDOWN: An open-source Analog Lock-In Amplifier, with the subtitle LOCK-In Device for Observing Weak and Noisy signals. The team has two members, Mark Omo and James Rowley, and the project was entered in the Op Amp Challenge. The page shows a public view count, follower count and like count, but those are live counters and are not useful as specifications.

The downloadable set is unusually complete for a hobby instrument: a five-sheet schematic PDF, the Altium source project, Gerbers, an xlsx bill of materials and a plain-text TODO file. Each schematic sheet carries the same title block: CERN-OHL-W v2, revision v1.0.0, dated 21 May 2023, with James Rowley and Mark Omo in the author field. The five sheets are Analog Input, Analog Mixer, PLL, Digital and Power, which is a clean way to navigate the design.

The BOM spreadsheet has 66 line items whose quantities sum to 267 designators. A large share of those are test points and connectors rather than active parts, and that is deliberate: the board exposes almost every stage of the signal chain to a probe. It is a development instrument with four standoffs and no enclosure, not a finished product.

The TODO file is the part that a reimplementation should read first. It contains 15 items, not the 19 that the column mentions. Several of them are hardware errata on the shipped revision, which means the published v1.0.0 files are known to need changes before a board is ordered.

Three paths through the board

The design splits into a signal path, a reference path and a small digital control path. The principal parts are listed below.

Function Parts What it does
Controller Raspberry Pi Pico with RP2040 Drives the digital potentiometers over SPI, reads the ADC over I2C, and can generate an internal reference clock
Signal input Latching relay, AD8664, two AD5293 Auto-zero by shorting the input, DC blocking, a tunable Sallen-Key low-pass
Tracking band-pass LTC1068 Four state-variable biquad sections cascaded into an eighth-order filter clocked at 100 times the reference
Phase-sensitive detection Two AD633, OPA1602 Multiply the signal by a sine and a cosine reference, then low-pass each product to DC
Readout ADS1115, LSF0102 16-bit conversion of the two DC results, with level shifting to the Pico's 3.3 V domain
Reference chain MCP6561, 74HC4046, 74HC390, 74HC74, three MAX293 Shape the external reference, multiply its frequency by 100, divide it back down into two quadrature square waves, then filter those into sine and cosine
Power LT3471, MC7815, MC7915, TLV704, L7905 Raise the USB 5 V rail to plus and minus 18 V, then regulate 15 V, 5 V and a 2.5 V midpoint

The neat trick is the clock relationship. The LTC1068 is a switched-capacitor filter whose centre frequency is set by a clock rather than by RC values, so driving that clock at 100 times the reference makes the pass-band follow the reference automatically. Change the reference frequency and the filter follows without a single component swap. The same 100-times clock feeds the MAX293 low-passes that turn the quadrature square waves into sine and cosine, where the filter's corner lands back at the original reference frequency.

The AD5293 digital potentiometers were chosen for a specific reason the authors state on the project page. Common digital potentiometers have resistance tolerances of 20 to 30 percent; the AD5293 is factory calibrated to better than 1 percent, so an adjustable filter corner is reproducible from one board to the next. Both AD633 multipliers have their Z pin tied to the 2.5 V midpoint, which places the product inside the input range of the single-supply ADC.

What the TODO list actually says

Four of the 15 items describe real faults on revision 1.0.0: the plus and minus supply pins on U19 are reversed, the L2 inductor footprint has the wrong pin order, the fixed 5-times gain stage should be changed to 4-times, and the 18 V to 5 V linear regulator needs better heat dissipation. The remainder are housekeeping items such as adding ground and 3.3 V test points, moving resistors to the bottom side, tenting through-hole test points that sit under the Pico, and specifying a thinner solder stencil.

That list changes how the project should be read. The schematic is a complete and published design, but it is not a verified, ready-to-fabricate release. Anyone ordering the Gerbers without applying those fixes is ordering a board the authors already know has a reversed supply pin on one amplifier.

Which claims have measurements behind them

The project page says the instrument can measure signals at a signal-to-noise ratio of more than 1,000 to one, meaning the noise is a thousand times larger than the signal. It also explains that a practical band-pass filter reaches a Q of about 100 while a lock-in amplifier can reach 200,000 or more by averaging. Both statements are the authors' description of the method and their claim for the build. The published files contain no measured noise spectrum, no input-referred noise density, no full-scale figure and no minimum detectable signal with a stated averaging time. There is also no bench plot showing recovery of a known buried tone.

This is not a reason to dismiss the design. It is a reason to keep the two kinds of statement separate. The circuit topology, the part choices and the 100-times clock scheme are documented in files anyone can inspect. The 1,000-to-1 figure is a performance claim that still needs a measurement on a built board, with the integration time and the input amplitude written down alongside it.

For an integrator the reusable part is the structure: keep the reference generation and the signal filtering on one clock, expose every stage to a probe, and publish the errata in the same archive as the Gerbers. Very few open instruments do the last one.

How this was checked

The project page, its details page, the TODO text file, the BOM spreadsheet and the five-sheet schematic PDF were all read directly. The designator count comes from summing the Quantity column of the 66 BOM rows, and the TODO item count comes from counting the bullet lines in the text file. The licence, revision, date and author lines were read from the schematic title blocks. No board was built, powered or measured for this article, and no noise or sensitivity figure was independently verified.

Source: Feiduo Academy, WeChat, 9 November 2026.

← All news