Skip to content

Calibration

Val edited this page Nov 18, 2026 · 8 revisions

Settings → Device → Scope calibration adds your own corrections on top of the device's built-in calibration data. The built-in data is only read. Your corrections are stored as files in /openosc/CALIBRATION/ and can be switched off at any time. The multimeter has its own calibration and is not affected.

Overview

Row What it does Prepare the inputs
Hardware zero (PWM) Adjusts the analog offset of both channels so that a grounded input sits exactly on zero, on every range and position Ground both inputs
Software zero Adds a small software correction to the zero of both channels Disconnect both inputs
Gain (sub-page) Corrects the scale of one range of one channel against a DC voltage you know Ground, then a DC reference on the probe tip
Interleave offset (sub-page) ZT706S only: matches the two interleaved ADC halves of CH1 A signal on CH1
Reload calibration JSON Re-reads all calibration files, for example after editing them on a computer —
Use factory zero Switches off both zero corrections; the measured values stay in the files —

Use Hardware zero or Software zero, one at a time. While Hardware zero is in use, Software zero is refused with Hardware zero in force: use factory zero first.

Before you start

  • Let the device warm up for a few minutes after switching on.
  • Every procedure asks for confirmation first, and the cursor starts on Cancel.
  • The generator is switched off and stays off afterwards.
  • While a procedure runs, the status bar shows CALIBRATING, Auto Setup, saving captures, USB Remote and the generator are blocked, and auto power off waits.
  • F4, MENU or MODE cancel at any time. The channel settings, timebase, trigger and RUN/HOLD state are restored. A held capture comes back as it was.
  • A result is saved only after the whole procedure has succeeded. A cancelled or failed run leaves the previous correction in force.

Hardware zero (PWM)

Each input has an analog offset, set by a PWM signal. Hardware zero moves this offset until a grounded input reads exactly the zero that the built-in calibration expects. This is the most complete zero correction and is the one to use in most cases.

  1. Connect both inputs to ground (probe tip to its ground clip, or a shorted BNC).
  2. Select Hardware zero (PWM). Confirm GROUND BOTH SCOPE INPUTS?
  3. Keep both inputs grounded while the progress panel runs. It shows the range, the percentage and the position being measured. A run usually takes about 15 s.

What it does:

  • Both channels together, DC coupling, ×1 probe, 1 ms/div.
  • All 11 ranges from 20 mV/div to 10 V/div, at 7 vertical positions (20, 40, 60, 80, 100, 120 and 140 of 160; 80 is the centre). That is 77 points per channel.
  • At each point it measures, corrects the offset and measures again, up to 12 times, until the zero is within a quarter of an ADC code. Each measurement waits 50 ms after the change and uses 32768 samples per channel.
  • The correction may move the zero by up to 40 ADC codes (about 1.5 divisions) from the built-in value. A larger error stops the run and nothing is saved.

Any DC voltage on an input is taken as an offset. If an input is not really grounded, the run either fails or stores a wrong zero. Run it again with the inputs grounded to fix it.

Running it again gives the same result; corrections do not add up. The result is stored in scope_pwm.json.

Software zero

Software zero leaves the analog offset as it is and corrects the zero in the measured data. It suits a small drift of the zero.

  1. Disconnect both inputs.
  2. Select Software zero. Confirm DISCONNECT SCOPE INPUTS?

It measures the same 77 points per channel with 262144 samples each and stores the difference between the measured and the expected zero. Between the 7 positions the correction is interpolated. The correction may be up to ±16 ADC codes; an unstable input, a larger error or noise on the input stops the run. The result is stored in scope_zero.json.

Gain

Gain corrects the scale (volts per division) of one range of one channel. You need a stable DC voltage whose value you know, for example a regulated 3.3 V or 5 V supply measured with a good multimeter.

The Gain page:

Row
Channel CH1 or CH2
V/div The range to correct
Reference at tip The voltage at the probe tip, with 1 mV resolution; any sign
Reference step The step of the arrows while editing the reference: 1 mV, 10 mV, 100 mV (default), 1 V or 10 V
Probe The probe ratio of the channel, taken from its channel panel (Oscilloscope)
Expected span How many ADC codes the reference gives at the built-in scale
Gain in force The correction now active for this range (1.000 = none)
Start measurement Starts the procedure
Use factory gain Switches the gain correction off; the measured values stay in the file

Expected span must be between 40 and 110 codes, roughly 1.5 to 4 divisions. Otherwise Start measurement is refused: choose another V/div or another reference.

  1. Set Channel, V/div and the probe on the channel, then enter Reference at tip.
  2. Start measurement. Confirm GROUND THE CHn PROBE TIP? and keep the tip grounded. OpenOSC measures the zero (65536 samples).
  3. The panel asks Apply +3.300 V to the CH1 tip (with your values). Connect the reference and select Reference applied. Without an answer the procedure ends after 300 s.
  4. OpenOSC measures the reference and checks that it is stable and within the ADC range.
  5. A review shows the measured span, the reference, the proposed gain and the gain in force. Select Save to keep it or Cancel to discard it.

The gain is the ratio between the voltage you entered and the voltage measured with the built-in scale, and must be between 0.8 and 1.25. It is measured from the difference between the reference and ground, so a zero offset does not affect it. Running it again replaces the value; nothing accumulates. The probe ratio is used once, so you can calibrate with a ×10 probe.

A new gain applies to new captures; a held capture keeps the scale it was taken with. Each of the 11 ranges of each channel has its own value, stored in scope_gain.json.

Interleave offset (ZT706S)

On the ZT706S, CH1 can be sampled by two ADCs in turn. A small offset between them shows as a fine comb on the trace. This page lets you set that offset by hand.

Row
Offset The offset in ADC codes, ±16, in 0.1 steps. When you finish editing with MENU, it applies to new captures at once as a preview
In force The value used now
Saved The value in the file
Save Writes the value in force to the file
Cancel Returns to the saved value
Reset to factory Returns to the built-in value

A preview that you leave without Save stays until Cancel, Reload calibration JSON or a restart. The value is stored in scope_interleave.json. This page has not been tested on a ZT706S yet.

Files

File Contents
scope_pwm.json Hardware zero: the PWM values per channel, range and position
scope_zero.json Software zero: the corrections per channel, range and position
scope_gain.json Gain: one value per channel and range
scope_interleave.json ZT706S: the interleave offset
  • Each file is bound to this unit's built-in calibration data and applies only to this unit. A file from another device is renamed to *.bad.NNNN.json and the built-in values are used. At startup a notice lists such files.
  • When a file is saved, the previous version is kept as *.previous.json. A damaged file is set aside as *.bad.NNNN.json, and the previous version is used if it is valid.
  • Use factory zero and Use factory gain write "enabled": false and keep the values. A new run switches the correction on again.
  • After editing a file on a computer, use Reload calibration JSON.

Recovery shows the built-in calibration data (VIEW CALIBRATION), read only.

Clone this wiki locally