Introduced in version 3.8.2 Power Calibration describes the relationship between an AWG output and the power actually delivered at the spectrometer output. It lets you request a waveform by its normalized amplitude (the AWG sample magnitude, in the range [0, 1]) while knowing the real output power that amplitude produces, accounting for amplifier compression. An RF power amplifier is linear only up to a point: as the drive grows the output power eventually saturates (compresses), so the requested and produced powers no longer match. A power calibration is a measured curve of amplifier input vs. output power together with a few scalar parameters describing the AWG drive. SpecMan uses it in two directions:
Power calibrations are defined in the The calibration model Each calibration relates a normalized AWG amplitude AWG drive (dBm) = UnitPower + 20*log10(a) -- AWG output at amplitude a amp input (dBm) = drive + SystemGain -- linear-ideal amplifier output amp output (dBm) = curve(amp input) -- measured compression curve
The measured curve is stored in a
{"units":{"input":"dBm","output":"dBm"},
"minPower":-20, "maxPower":5,
"table":[[in0,out0],[in1,out1], ...]}
When no curve is loaded every relation degrades to the linear-ideal form Predistortion Before an AWG driver packs a generated waveform it passes the sample buffer through the calibration. Each sample's magnitude is predistorted so the intended output power is produced despite compression; the sign (for real channels) or the phase (for IQ pairs) is preserved. If a request would exceed Conversion functions The Compound Property engine exposes four calibration functions. Each takes a calibration index (the 0-based position in the
See Compound Property for how to define a compound property that uses these, and for the exact argument and error rules. The function names are case-sensitive ( Maximum linear AWG level The central use of the calibration is to find the highest AWG amplitude that still stays in the linear (calibrated) region, and to use it as a ceiling on the amplitudes in your Pulse Programming Language program. Driving above this level pushes the amplifier into compression, where the requested and produced powers diverge. The inverse function gives this limit directly — the amplitude that reaches the top of the valid power range: [Compound] MaxAWG = , r, nohshake, 0.01, 0.01, 2, 0, 1 MaxAWG.definition = pcal_inv_AWG(0, 5) ; 5 dBm = MaxPower of calibration 0 which, for a typical setup, evaluates to something like Planned. SpecMan will compute and display this maximum AWG level automatically for the power domain (for example See also: Compound Property, Virtual Channel, Device Configuration (CFG) |