
Impedance Analyzer V3
EliMattingly22/Simple_Impedance_Analyzer
A PCB impedance analyzer to measure loads to 100kHz and beyond

A PCB impedance analyzer to measure loads to 100kHz and beyond
Transformer Test Fixture is an open-source printed circuit board by EliMattingly22, from the EliMattingly22/Simple_Impedance_Analyzer repository on GitHub, published under the MIT licence. It is a 2-layer board with 20 parts on 20 nets, routed with 80 tracks and 2 vias.
It is built around the MMBT3904. Its parts include 8 connectors, 4 resistors, 2 diodes, 2 transistors and 2 switches. It belongs with the sensors and measurement boards of this library.
The impedance analyzer was designed as a low-cost, flexible, and accurate platform to perform impedance measurement at arbitrary frequencies up to ~250kHz. The current infrastructure assumes the user has access to a National Instruments DAQ (e.g. NI-USB-6363), though similar digitizers would be similarly effective.
In this current configuration:






Use V2 rev B. V3 has not been tested/built. it is still in design phase. Perhaps it should just be in a separate brach of Github. Designed in KiCAD v6.
This circuit uses the "auto-balancing bridge" technique. If you are curious/want to play around with the circuit you can see the LTSPICE schematic.
It is worth reading the Keysight impedance measurement handbook or TI's reference design for an LCR meter front-end for an overview of measurement techniques.
The current through the DUT is (ideally) the same as the current in the shunt resistor, so the impedance is V(DUT) / (V(Shunt)/R(Shunt)).
The precision of the circuit is dominated by the shunt resistors and gain accuracy of the INAs. Error in any of these will linearly cause an error in the calculated impedance. If they are stable over time, they can conceivably be calibrated with a high tolerance (e.g. 0.01%) reference resistor.
If the shunt resistor is off by some value, X (where 1.01 would be 1% higher than nominal), the current would be reported as I0*X where I0 is the actual current.
The noise performance of the INAs isn't great, but the FET inputs have extremely low bias currents, and low current noise, which are necessary if high impedance loads are attached. The noise should add an incoherent error, so by averaging for longer, this can be mitigated.
The parasitic elements can be accounted for by taking an open/short/load measurement. See sect. 4.3.2 in the impedance measurement handbook
The device should be plugged in with a four-wire (Kelvin) probe attached. On the probe there will be two pairs of leads, each connected to a clamp (typically one pair is red, one is black). The two BNC connections on the red lead should be plugged into the "HPot" and "HCur" connectors, and the BNCs on the black probe should be connected to "LPot" and "HPot" connectors.
Plug in the power and make sure the LEDs next to the "+5V" and "-5V" are illuminated.
The DAQ should be plugged in via the BNC connectors and however they are connected, those outputs/inputs are selected on the front page of the Labview GUI.
Also on the front page, set the sampling rate to the maximum allowable (see documentation for your DAQ). Set the sampling time to be >10 periods of whatever frequency you are testing at. Longer gives better noise performance.
For the shunt resistor, use the value most similar to the load you are measuring. Use J13/14 to select the shunt resistor.
Set the series resistor before the load (R9/24) to the same value as the shunt resistor using J17.



R_Shunt: The shunt resistor value (R14/18)
Rg_Vmon: The gain-setting resistor for the voltage monitor (R12 or R8)
Rg_Imon: The gain-setting resistor for the current monitor (R11 or R7)
ESL_Cal: This value is set by the short circuit compensation and is enabled by the UseCorrection boolean
ESR_Cal: This value is set by the short circuit compensation and is enabled by the UseCorrection boolean
Cp_Cal: This value is set by the open circuit compensation and is enabled by the UseCorrection boolean
Rp_Cal: This value is set by the open circuit compensation and is enabled by the UseCorrection boolean
UseCorrection: enables the short/open compensation values. Typically set to TRUE (green illuminated)
RLoad: This is the actual value of the load compensation resistor that one may use to calibrate gain errors of the system.
RLoad_Meas: This is the measured value of that load. To acquire this value, set RLoad and RLoad_Meas to 0 and then measure the known load and set this and the RLoad by typing in the appropriate values.

Set the equipment up to measure your load, and short the clips together. Next, go to the Short/Open compensation tab and press the "Acquire short" button. Open the clips and then do the open compensation.
Use the last page to do a single impedance measurement and ensure the load is similar to expected. Then use the stats page or freq sweep depending on what you want.
J15/16 low-pass filters for the input. These clean the analog signal from the DAQ. They can generally be set to the highest frequency that the user plans to measure. Removing the jumper disconnects the filtering entirely.
J10: The current monitor gain selection
J12: Voltage monitor gain selection
J13/14: Shunt resistor selection
J17: Series resistor selection. This resistor in series with the load helps stability and makes the system more balanced. The resistor value should match the shunt resistor value.

This is a frequency sweep of a solenoid (~1 mm diameter) wound on a copper tube with a wall-thickness of ~1 mm. Quite a lot is happening with this load:


| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | Conn_Coaxial | Connector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_Horizontal | J102, J103, J104, J105 |
| 2 | 100 | Resistor_SMD:R_0805_2012Metric | R101, R103 |
| 2 | 1k | Resistor_SMD:R_0805_2012Metric | R102, R104 |
| 2 | LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D101, D102 |
| 2 | MMBT3904 | Package_TO_SOT_SMD:SOT-23 | Q101, Q102 |
| 2 | Screw_Terminal_01x02 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J106, J107 |
| 2 | SolderJumper_3_Bridged123 | Eli_Lib:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP101, JP102 |
| 1 | Barrel_Jack_Switch | Connector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_Horizontal | J108 |
| 1 | Relay_DPDT | Relay_THT:Relay_DPDT_Omron_G6S-2 | K101 |
| 1 | SILxx-1Axx-71x | Relay_THT:Relay_SPST_StandexMeder_SIL_Form1A | K102 |
| 1 | Screw_Terminal_01x04 | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J101 |

EliMattingly22/Simple_Impedance_Analyzer
A PCB impedance analyzer to measure loads to 100kHz and beyond

EliMattingly22/Simple_Impedance_Analyzer
A PCB impedance analyzer to measure loads to 100kHz and beyond

EliMattingly22/Simple_Impedance_Analyzer
A PCB impedance analyzer to measure loads to 100kHz and beyond

TalismanDesign/PocketMage_PDA
An E-Ink PDA device using the ESP32 S3.

fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io



iMike78/nest-mini-drop-in-pcb
Drop-in PCB replacement for the Google Nest Mini v2 with ESP32-S3, ESP32-P4 and optional ESP32-C6. Inspired by Onju Voice and Home Assistant Voice PE.

ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

Bellafaire/ESP32-Smart-Watch
An open source smartwatch based on the ESP32 compatible with the Arduino IDE.

AndersBNielsen/Relatively-Universal-ROM-Programmer
Hardware to program W27C512 EEPROM or any 24/28/32 pin ROM requiring from 5V to 27V programming voltage.
20 parts, built around the MMBT3904. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the EliMattingly22/Simple_Impedance_Analyzer repository on GitHub, at the commit this page was made from: the board is Transformer_Test_Fixture/Transformer_Test_Fixture.kicad_pcb and its schematic Impedance_Analyzer_KiCAD/ImpedanceAnalyzerPower.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).