Why Frequency Lock v0.2.1 – Public Beta
Advanced frequency control and stabilization software for the HP 8350B Sweep Oscillator in combination with the HP 5342A Microwave Frequency Counter.
The software is designed to improve the frequency accuracy and long-term stability of the HP 8350B using automatic closed-loop frequency control.
External DAQ hardware is optional. The software can operate using GPIB alone or take advantage of the external FM input for enhanced analog frequency stabilization.

Operating modes
| Feature | GPIB Lock | Analog Lock | Monitor Only |
|---|---|---|---|
| External DAQ required | No | Yes | No |
| Automatic frequency adjustment | Yes | Yes | No |
| CW frequency control | Yes | Yes | No |
| Digital Vernier correction | Yes | Initial alignment | No |
| Continuous analog correction | No | Yes | No |
| Automatic FM calibration | No | Yes | No |
| Adaptive drift compensation | Yes | Yes | No |
| Adjustable RF output level | Yes | Yes | No |
| Analog voltage readback | No | Optional | No |
| Frequency monitoring | Yes | Yes | Yes |
| CSV data logging | Yes | Yes | Yes |
What performance can you expect?
| Characteristic | GPIB Lock | Analog Lock |
|---|---|---|
| Absolute frequency accuracy | Counter-referenced | Counter-referenced |
| Long-term drift compensation | Digital correction | Fine analog correction |
| Correction resolution | Instrument-dependent | DAC and divider-dependent |
| Typical feedback interval | Approximately 1 second | Approximately 1 second |
| Frequency correction method | Discrete adjustments | Fine DC voltage adjustments |
| Short-term stability | Generator-dependent | Enhanced, hardware-dependent |
| External circuitry | None | Voltage divider and optional filtering |
| Development status | Public Beta | Experimental |
Supported analog control hardware
The software supports Measurement Computing (MCC) DAQ devices with different analog output resolutions.
| DAQ device | AO resolution | AI resolution | USB isolation | Calculated RF resolution* |
|---|---|---|---|---|
| USB-1208HS-4AO | 12 bit | 13 bit | No | 257 Hz |
| USB-1608GX-2AO | 16 bit | 16 bit | No | 16.1 Hz |
| USB-2408-2AO | 16 bit | 24 bit | Yes | 16.1 Hz |
| USB-2416-4AO | 16 bit | 24 bit | Yes | 16.1 Hz |
Calculated using a measured FM control sensitivity of approximately 52.6 kHz/V and a ±10 V DAC range. Actual frequency stability is not equal to the theoretical DAC resolution.
Isolated DAQ devices are particularly interesting for precision frequency control, as they may reduce unwanted ground currents between the computer and the RF instrumentation.
Experimental bench results
The following results were obtained during development at a target frequency of 5.760 GHz, using an HP 8350B with an HP 83592B RF plug-in, an HP 5342A frequency counter and a USB-1608GX-2AO DAQ.
| Parameter | Measured result |
|---|---|
| Target frequency | 5.760 GHz |
| Mean frequency error | +142 Hz |
| RMS frequency error | 881 Hz |
| Measurements within ±500 Hz | 48.4% |
| Measurements within ±1 kHz | 78.0% |
| Calculated analog correction resolution | 16.1 Hz |
| Typical measurement interval | 1.02 seconds |
These results represent a development test and are not guaranteed instrument specifications.
Analog voltage readback
Optional analog readback allows simultaneous monitoring of:
-
Commanded DAC output voltage.
-
Actual DAC output voltage.
-
FM control voltage after the external voltage divider.
-
Measured RF frequency and frequency error.
This provides additional diagnostic capabilities when evaluating frequency stability, analog control performance and external circuitry.
Future development
Current development is focused on:
-
Faster frequency acquisition.
-
Increased feedback and correction speed.
-
Improved short-term frequency stability.
-
Reduced frequency correction transients.
-
Automatic selection of optimal counter measurement resolution.
-
Advanced frequency stability analysis.
The objective is to extend the useful life and capabilities of these excellent classic HP instruments using modern software and readily available hardware.
WHY Frequency Lock is a frequency stabilization system, not a phase-locked loop. Absolute frequency accuracy depends on the frequency counter and its reference timebase.
Download:
Feedback, suggestions and practical test results from other HP instrument users are very welcome.
73 de SM6WHY

