Hewlett-Packard Journal (August 1979)
Hewlett-Packard Journal (August 1979)
Hewlett-Packard Journal (August 1979)
HEWLETT-PACKARDJOURNAL
D D G D C
Contents:
New Performance Standards in Microwave Spectrum Analysis, by Siegfried H. LJnkwitz 10-Hz resolution bandwidth at 22 GHz gives a new spectrum analyzer unprecedented ability to resolve closely-spaced microwave frequency components. Broadband Input Mixers for a Microwave Spectrum Analyzer, by John C. Lamy and Frank K. David Inputs from 100 Hz to 22 GHz requf:ed new developments in front-end design. A Synthesized Microwave Local Oscillator with Continuous-Sweep Capability, by Larry R. Martin, Kenneth L. Lange, and Stephen T. Sparks 10-Hz resolution at 22 GHz requires synthesizer stability in the local oscillator but it also has to sweep smoothly. A Digital by Generator for Functional Testing of Bus-Oriented Digital Systems, by Gnter programmable Ulrich Hbner, and Bernd Moravek This instrument with its programmable memory can simulate a ROM, an interface, or a data source. An HP-IB Extender for Distributed Instrument Systems, by David H. Guest HP-IB-con nected telephone may now be dispersed over great distances using cables or telephone lines.
In this Issue:
Microwave spectrum analyzers were first recognized as practical measurement tools I during World War II when they were used to evaluate how effectively radar transmitters | concentrated their radiated power into spectral bandwidths detectable by the receivers. The narrowest resolution bandwidth of these first analyzers was a wide 100 kHz, the maximum | frequency sweep was merely 30 MHz, and results were only qualitative. Nevertheless, the kind of frequency they provided separation and simultaneous display of the frequency components that make up a signal proved to be invaluable in analyses of complex signals. Further developments came slowly, but by the 1960s, bandwidth had narrowed to 1 kHz, 2-GHz sweeps were possible and spectrum analyzers were beginning to find wide use on the lab bench for evaluating the performance of mixers, oscillators, amplifiers, and other high-frequency circuits as well as providing quantitative measurements of electromagnetic interference and radio spectrum activity. By the 1 970s, resolution had sharpened to 100 Hz and it had become possible to measure amplitude and frequency directly from the display. Now for the 1980s, the new microprocessor-controlled Model 8566A is capable of 10-Hz resolution, 20-GHz sweeps, and precision digital readout of amplitude and frequency. (The 8566A on the front cover the oscillator a 20-GHz sweep the steps on the noise floor occur where the sweeping local oscillator automatically steps back in frequency and then continues the sweep upwards using the next higher harmonic.) Usually the design of a digital system controller and external hardware is parcelled out to several engineers, each of integrating f aces a basic problem: how to test each module thoroughly before integrating the modules into the system. being 8170A Logic Pattern Generator, described on page 20, addresses this problem by being able to simulate test data-bus traffic, complete with handshake signals when needed. Thus, it can be used to test modules for bus compatibility so that hardware, firmware, and software development can proceed independently. As the range of applications for HP-interface-bus-controlled instrument systems has expanded, there has been a growing demand for some means of allowing the bus to operate with units separated by more than the 20 metres that the standard bus circuitry allows. This limitation on distance is now removed by the development of the 37201 modem HP-IB Bus Extender, described on page 26. This device transfers the HP-IB data through a modem onto telephone li nes and sends it reliably any distance the telephone system allows half way around the world if need be the location. another extender that converts it back to HP-IB format for the units at the distant location.
-H. L. Roberts
H E W L E T T - P A C K A R D
J O U R N A L
A U G U S T
1 9 7 9
H e w l e t t - P a c k a r d
C o m p a n y
1 9 7 9
P r i n t e d
i n
U . S . A
Fig. 1. The Hewlett-Packard Model 8566A Spectrum Analyzer has a frequency range of 100 Hz to 22 GHz and an amplitude range of -134 dBm to +30 dBm. The 10-Hz minimum resolution bandwidth is useful to 22 GHz. For the majority of measurements, only the dark-colored keys need be used to select the frequency span and amplitude reference level and to set the tunable mark ers for frequency and amplitude readout. The other parameters are selected automatically and all con trol settings are displayed on the CRT.
Fig. 2. Spectrum display of an 18-GHz signal made by the Model 8566A Spectrum Analyzer with a 10-Hz resolution bandwidth across a frequency scan of 600 Hz. The A marker (rightmost brightened dot) is positioned on a 60-Hz linerelated sideband that is 50 dB below the carrier. Until now, this high degree of resolution, made possible by the low phase noise and 10-Hz resolution bandwidth of the 8566A, had not been available in microwave spectrum analyzers.
GHz wide). Unprecedented flatness in the new analyzer's frequency response was made possible by extensive use of microcircuit technology. Ideally, front-end circuit elements should be small compared to the wavelength of the input signal so the elements will behave as lumped circuit constants even at the highest frequencies encountered. The front end of a microwave spectrum analyzer, however, has to process sig nals of extremely short wavelengths, e.g., 15 mm at 20 GHz. Consequently, the input preselector filter of the new analyzer was integrated with the input mixer to achieve the response flatness desired, as will be described in the article beginning on page 8.
Microprocessor Control
usually achieved with digital storage of spectrum analyzer signal traces. Microprocessor control led to the implementation of operating features that are especially useful for a mi crowave analyzer. For example, the instrument can sweep over its entire lOO-Hz-to-22-GHz frequency range without requiring the operator to be concerned with the four bandswitching points. For all frequency spans, the manual tuning control requires the same number of turns (iVz) to move a signal across the display, an especially convenient feature in view of the wide range of frequency spans offered , from 100 Hz to 20 GHz. A signal track mode maintains a drifting signal identified by a marker at center screen by automatically retuning the analyzer. The frequency of the drifting signal is also displayed continuously. Digital storage of a spectrum enables flicker-free viewing even though the instrument may sweep slowly. Digital storage also allows comparisons of two spectra and other data manipulations, such as normalizing a trace (subtract ing errors stored during a calibration sweep). With the analyzer's HP-IB port connected to a desktop computer, the stored data can be reformatted in the computer and then displayed in the new format on the analyzer's CRT. Under computer control, the analyzer can be used for complicated or time-consuming measurement routines with minimum operator involvement. It can also interact through the HP-IB with other instrumentation such as plot ters and signal generators. It is thus ideally suited for au tomatic component test of amplifiers, mixers, and oscil lators, as well as for such tasks as spectrum searches for RFI or unknown, intermittent signals. Every front-panel func tion can be programmed through the HP-IB and additional functions are provided to simplify the data handling be tween a controller and the instrument.
Quiet, Accurate, Local Oscillator
Similar in organization to the lOO-Hz-to-1500-MHz Model 8568A Spectrum Analyzer,1 the new Model 8566A uses microprocessors for instrument control, for display data processing, and for operation on the HP interface bus (HP-IB). A block diagram is shown in Fig. 3. As is com monly done in spectrum analyzers, the input signal goes through a series of frequency conversions to a fixed IF frequency (21.4 MHz) where the resolution bandwidth fil tering takes place. The first local oscillator is swept so the individual frequency components of the input signal are heterodyned one by one into the 21.4 MHz slot for sub sequent detection and display on the frequency scale of the CRT display. The detected video signal is sampled and stored digitally with by x 1000-point resolution for repetitive read-out by the display circuits. The video detector includes a "rusenfell" a that enables the display circuits to present a more accurate reconstruction of the video signal than is
"Hewlett-Packard's implementation of ANSI/IEEE 488-1978.
The capability of resolving low-level signals that lie close to a large signal is a function of the phase noise characteris tics of the local oscillator as well as of the analyzer's filter bandwidth and shape factor. The local oscillator's phasenoise characteristics will be impressed on any signal on the spectrum display and could mask the smaller of two sig nals. To minimize this effect, the synthesized local oscil lator of the 8566A was designed for outstanding spectral purity. For example, noise sidebands for input signals up to 5.8 GHz are more than 80 dB below the signal carrier in a 10-Hz bandwidth at 320 Hz offset from the carrier. Like other microwave oscillators, the new analyzer's local oscillator has a limited tuning range (2-6 GHz) whereas frequency spans of several gigahertz are desirable for microwave spectrum analysis. In addition, the YIGtuned oscillator commonly used as a local oscillator in microwave spectrum analyzers can be set to a given fre quency with an accuracy no better than a few megahertz because of nonlinearities in the magnetic tuning structure. However, for steady-state outputs, much better accuracy can be achieved by phase-locking the oscillator to a known harmonic of a stable lower-frequency reference. This prin ciple is applied to the sweeping local oscillator of the 8566A by initially phase-locking the oscillator to a start frequency accurately synthesized from a stable reference,
Video Detector
Front Panel HP-IB RF/IF Module Display LO-Synthesizer Frequency Reference All Oscillators
Digital Storage
Scan Generator
ACLU: Amplifier-Coupler-Load Unit LPF: Low-Pass Filter BPF: Bandpass Filter YTO: YIG-Tuned Oscillator CIA: Coupler-Isolator Amplifier YTX: YIG-Tuned Mixer
Fig. Analyzer. descriptions block diagram of the Model 8566 A Spectrum Analyzer. Detailed descriptions of the front end and the synthesized first local oscillator will be found in the articles that follow.
then opening the phase-lock loop while retaining the cor rected tuning voltage on a storage capacitor, and adding a precision linear ramp to the tuning voltage to sweep the frequency. If the selected frequency span exceeds the tuning range of the YIG oscillator, the sweep stops at the end of the tuning range, a new start frequency at the lower edge of the oscil lator's range is synthesized, and the sweep continues using the oscillator's next higher harmonic. Known as the "lockand-roll" technique, this occurs under microprocessor con trol without any intervention on the part of the operator. The lock-and-roll approach is used in the 8566A for fre quency spans as narrow as 100 Hz and as wide as 22 GHz over eight decades of span width. An internal, ovencontrolled, 10-MHz, crystal frequency standard with a sta bility of one part in 109 per day establishes the basic accu racy of the synthesizer. The start frequencies are syn thesized with a resolution of one hertz, and the sweep contributes an error of less than 1% of span width to the resulting stop frequencies, e.g., 1 Hz for the 100-Hz span. This level of accuracy has not been available for microwave spectrum analysis in the past. The exceptional stability of the local oscillator allows the use of a 10-Hz resolution bandwidth. Microwave signals, however, often do not have the frequency stability to permit measurements in a 10-Hz bandwidth. Therefore, a wide range of bandwidths is provided in the 8566A so an op timum bandwidth is available for any measuring situation. These range up to 3 MHz in a 1 - 3 - 10 sequence. With this large number of bandwidths to choose from, sweep time can be minimized since sweep time is generally constrained by the selected bandwidth (the sweep time must be slow
enough to allow the resolution bandwidth filters to respond to changes in signal level, the allowed time being inversely proportional to the square of the bandwidth).
Sensitivity, Flatness, Distortion
In a broadband receiver such as a spectrum analyzer, a compromise must inevitably be made between sensitivity, frequency-response flatness, and distortion caused by over loading the input mixer. For the 2-to-22-GHz input fre quency range, a YIG-tuned preselecting filter in the 8566A improves distortion performance by attenuating large sig nals lying outside the frequency range of interest. However, the presence of such a filter can degrade flatness because of standing waves that develop as a result of impedance mis matches between the filter and the input mixer. In the past, the solution to this problem was to insert attenuation be tween the two components. This, however, caused a loss of sensitivity. Another way to avoid this problem is to keep the length of transmission line between the filter and the mixer much shorter than one-quarter wavelength at the highest fre quency of interest, i.e., much less than 3 mm at 22 GHz. This is done in the 8566A by integrating the filter and mixer in a single unit using microcircuit technology. As a result, flat ness is better than 2.2 dB up to 20 GHz and no lossy padding is required. Although the lower conversion effi ciency of harmonic mixing degrades sensitivity, sensitivity at 22 GHz is still better than -114 dBm (the highest har monic used is the fourth). For the frequency range from 100 Hz to 2.5 GHz, the instrument uses a broadband single-balanced mixer pre ceded by a low-pass filter. This gives a sensitivity of -134
.AUGUST 1979 HEWLETT-PACKARD JOURNAL 5
SUMMARY SPECIFICATIONS
HP Model 8566A Spectrum Analyzer
- 5 0
- 4 0
- 3 0
- 2 0
- 1 0
+ 1 0
+ 2 0
Effective Input Level (dBm) (Signal level minus attenuator setting) Typical Optimum Dynamic Range."
1 MHz COMPARISON UNCERTAINTY (resulting from oneof thefollowing techniques for compar ing the unknown signal with the calibrator):
Frequency Offset from Carrier Typical Single Sideband Noise Normalized to 1 Hz BW.'
REPOSITIONING SIGNAL TO CALIBRATION LEVEL: 1.2 dB*. USING MARKER: 3.2 dB'.
Amplitude
RANGE: dB/ dBm to +30 dBm (32 nV to 7.07 volts, 50(1). Displayed 10, 5, 2, or 1 dB/ division or linear on a 10-division linear scale. DYNAMIC RANGE SECOND-HARMONIC DISTORTION: <-80 dBc, 100 Hz to 700 MHz <-70 dBc, 700 MHz to 2.5 GHz -40 dBm mixer level -70
3 MHz Bandwidth
;-100 dBc, 2.0 GHz to 22 GHz -10 dBm mixer level THIRD-ORDER INTERMODULATION DISTORTION: THIRD-ORDER IM INTERCEPT: ' +7 dBm, 100 Hz to 5.8 GHz. Specified/ | +5 dBm, 5.8 GHz to 18.6 GHz. (+12 dBm, 100 Hz to 5.8 GHz. + 10 dBm, 5.8 GHz to 18.6 GHz. -5 dBm. 18.6 to 22 GHz. IMAGE AND MULTIPLE RESPONSES: <-70 dBc. 100 Hz to 18.6 GHz. AVERAGE NOISE LEVEL (SENSITIVITY): For 10-Hz resolution BW: -134 dBm, 1 MHz to 2.5 GHz. -132 dBm, 2 GHz to 5.8 GHz. -125 dBm, 5.8 GHz to 12.5 GHz. -119 dBm, 12.5 GHz to 18.6 GHz. -114 dBm, 18.6 GHz to 22 GHz. 2 GHz ACCURACY: Measurement accuracy is a function of technique. The following sources for uncertainty can be summed to determine achievable accuracy (at constant ambient temperature, assuming the error correction function and preselector peak have been used, and avoiding unnecessary control changes between calibration and measurement). CALIBRATOR UNCERTAINTY: 0.3 dB. 'Typical, non-warranted performance parameters useful in applying the instrument. 3 GHz 5 GHz 20 GHz -140 10 Hz -120
. 1 kHz
SWEEP TIME: 20 ms full span to 1500 s full span. Zero Frequency Span. 1 /s full sweep (of display) to 1500 s full sweep.
Sweep
All analyzer control settings (with the exception of video trigger level, focus, align, intensity, frequency zero, amplitude cal. and line power) may be programmed via the Hewlett-Packard Interface Bus (HP-IB).
Remote Operation
RF INPUT: 100 Hz to 22 GHz. 50!! dc coupled. Precision Type N female. Diode limiter 100 Hz to 2.5 GHz. Preselected 2.0 to 22 GHz. MAXIMUM INPUT LEVEL AC: -30 dBm (1 watt) continuous power. DC: -100 mA current damage level. ATTENUATOR: 70-dB range in 10-dB steps.
Input
FIRST LOCAL OSCILLATOR: 2.3 GHz to 6.1 GHz;>-5 dBm into 501. DISPLAY: X. Y. and Z outputs for auxiliary CRT display. RECORDER: Horizontal sweep output (X). video output (Y). and penlift'blanking output (Z) to drive an X-Y recorder.
Outputs
ENVIRONMENTAL: Operation 0:C to 55:C. <95% relative humidity. 0=C to 40;C. EMI: Conducted and radiated interference is within the requirements of CE 03 and RE 02 of MIL STD 461 A. and within the requirements of VDE 0871 and CISPR publication 1 1 . WARM-UP TIME OPERATION: Requires 30 minute warm-up from cold start. 0" to 55;C. Internal tempera ture equilibrium is reached after 2 hr. warm-up at stable outside temperature. FREQUENCY REFERENCE: Aging rate attained after 24 hr. warm-up from cold start at 25"C. Frequency is within 1 x to of final stabilized frequency within 30 minutes. POWER -10%): 50 to 60 Hz: 100, 120, 220 or 240 volts (-5%, -10%): ap proximately 650 VA (40 VA in standby). 400 Hz operation available. WEIGHT: 50kg (112 Ib). DIMENSIONS: 280 mm H x 426 mm W x 600 mm D (11 x 16% x 23'/2 in). PRICE IN U.S.A.: $47,500. 400-Hz operation, add $400. MANUFACTURING DIVISION: SANTA ROSA DIVISION 1400 Fountain Grove Parkway Santa Rosa, California 95404 U.S.A.
General
dBm, a flatness of 0.6 dB, and a third-order intermodulation intercept point of +7 dBm for closely-spaced signals. The input signal is automatically switched to the appro priate mixer by the microprocessor according to the fre quency span selected. The combination of high-performance analog circuit components and internal data handling by microprocessors has resulted in a spectrum analyzer that sets new standards for measurement capability and user convenience in the microwave frequency range.
Acknowledgments
electronic test tools for the YTX production; Rex Bullinger, for the HP-IB interface; Lynn Wheelwright, for his support in developing the digital control system, and Dee Humpherys and his design team for the development of the IF/display section. Numerous other people in many areas of HewlettPackard contributed to the project. Many of their contribu tions, like GaAs FETs and YIG spheres, are buried deep inside the instrument and are barely visible even on a de tailed block diagram. Yet it was. this joint effort true teamwork that made the 8566A project succeed.
References
The development of the Model 8566A Spectrum Analyzer extended over several years and involved a great number of people. Many different approaches to the mi crowave front end, the LO synthesizer, and the measure ment display were investigated. Some proved to be imprac tical, others became key elements for other instruments, such as the 86290A Sweeper and its YIG-tuned multiplier, and the signal synthesis scheme used in the 8672A Syn thesized Signal Generator. Much help with the system definition, plus encourage ment and support despite lengthening schedules, came from Kit Keiter, Santa Rosa engineering lab manager (now general manager for the Santa Rosa spectrum analyzer op erations). His ideas, together with those of Dave Eng, in dustrial design manager, and of many others, formed the basis for an easy-to-interface front panel that combined the feel of a knob-controlled analog instrument with the preci sion of a keyboard-controlled digital machine. In addition to those mentioned in the following articles, recognition should go to the following for their contribu tions to the 8566A: Irv Hawley, spectrum analyzer section manager (now R&D manager for the network measurement operation at Santa Rosa), who always maintained the flow of resources and, with critical questions, kept the project on track; Ron Trelle, for the overall product design with par ticular attention to cooling, shielding and vibration control; Art Upham, for the design of the third converter, YTX driver, and miscellaneous circuitry whenever the need arose; Rich Pope, for the second LO phaselock loop and
1. S.N. Holdaway and M.D. Humpherys, "The Next Gener ation RF Spectrum Analyzer," Hewlett-Packard Journal, June 1978. 2. S.N. Holdaway, D.H. Molinari, S.H. Linkwitz, and M.J. Neering, "Signal Processing in the Model 8568A Spectrum Analyzer," Hewlett-Packard Journal, June 1978.
^ * it f
Siegfried H. Linkwitz Born n Bad Oeynhausen, Germany, Siegfried Linkwitz is a 1961 graduate (Diplom Ingenieur) of Darmstadt Uni versity, Germany. Siegfried joined HP shortly after graduation and has since worked on vector voltmeters, signal generators, sweepers, and spectrum analyzers (including the 8566A, for which he was program manager). A resident of Santa Rosa, California, Sieg fried is married and has one son, 14, and one daughter, 16. In his spare time, he enjoys windsurfing, skiing, and de signing hi-fi equipment. A member of the Creative Initiative Foundation, he also leads groups on fulfilled living.
The 2-to-22-GHz band on the 8566A is a modern im plementation of a classical concept: a multiconversion heterodyne receiver with a broadband input mixer. Much of the system's performance depends on the input mixer, which converts the input signal frequency to a fixed IF. When the frequency of the sweeping local oscillator (YTO) equals the input signal plus or minus the first IF, a response is generated in the IF detector. The response appears as a pulse on the display, which sweeps in synchronism with the LO as the LO sweeps the signal past the IF. The broadband front-end mixer traditionally reduces to an extremely simple piece of hardware: a single diode in a
YTX
Signal Input
Fig. Spectrum control diagram of the input section of the Model 8566 A Spectrum Analyzer. The control microprocessor selects the appropriate signal path according to the frequency span selected.
Mixer Diode
Fig. 2. Schematic representation of the YIG-tuned filter and mixer (YTX) used in the 8566A. A/though this shows all the coup/ing loops in the same plane, the two loops for each YIG sphere cross at an angle so coupling occurs only at the reso nant frequency of the Y/G sphere, which is a function of the dc magnetic field strength.
structure made small compared to the wavelength of the signal, LO, and IF frequencies. Simple? Yes, except that there is a great deal more in volved than appears on the surface. Four kinds of unwanted responses are generated along with the wanted response: those resulting from image frequencies, multiples (fre quencies that beat with harmonics of the LO), out-of-band signals, and signal harmonics. The traditional solution to the problem is to precede the input mixer with a tunable narrow-band filter that tracks the frequency tuning of the analyzer. This suppresses the unwanted responses but trades off performance because of the impedance mismatch between the preselector filter and the mixer. The mismatch causes standing waves to develop on the transmission line between them, introducing substantial variations in the analyzer's frequency response. The solution to that problem has been to insert attenuation between the preselector and the mixer, which results in some loss of sensitivity. In short, the preselector eliminates unwanted responses but forces a trade-off between flatness and sensitivity, two key performance characteristics of the analyzer.
The YIG-Tuned Mixer
unit) where it is amplified and leveled by a saturating FET amplifier. It is then coupled to the main line where it travels to the YTX diode, switching the diode on and off. The on-off ratio (conduction angle) is controlled by the dcbias applied through the bias port of the ACLU. Different conduction angles are chosen for the various harmonics of the LO, enabling operation to 22 GHz. Three YIG spheres with their coupling loops form the YTX bandpass filter, as shown in Fig. 2. The filter is tuned to the analyzer's instantaneous frequency by varying the applied magnetic field. An input signal passing through the filter is alternately transmitted and reflected back by the mixer diode as the diode switches on and off. Frequencies above 2 GHz in the transmitted part terminate in the 501 resistor of the ACLU. The 321-MHz IF generated at the mixer diode passes through the ACLU tuned circuit and into the IF section. Because of the preselector, it is not necessary to use a relatively high first IF to space the image frequency far enough from the desired signal to make it easy to deal with, another advantage of the preselector approach. The YTX is designed to mix on the first through fourth harmonics of the LO. The control microprocessor selects the appropriate harmonic so the harmonic bandwitching is transparent to the user.
Design Considerations
This trade-off was eliminated in the 8566A by integrating the mixer diode with the YIG-tuned preselector such that there is essentially zero line length between them. The complete structure is called the YIG-tuned mixer, or YTX. Operation of the high-band front-end system can be explained with reference to Fig. 1. The 2-to-6-GHz swept LO signal is applied to the ACLU (amplifier-coupler-load
T u n i n g Tuning Curves . Frequency GHz for the C u r r e n t T h r e e S p h e r e s
Although the use of microcircuitry solved the major prob lems, there were others that had to be dealt with. The first was how to guarantee 70-dB rejection of unwanted signals. A rule of thumb in YIG filter design is that each resonator sphere can contribute about 25 dB of stopband isolation, so three spheres seemed to be about right. But then, how do you guarantee that all three spheres are subject to the same magnetic field intensity as the intensity is varied over a 10-to-l range? The error can be no more than 1 part in 2000, equivalent to a tuning error of 10 MHz, or one-half the preselector 3-dB bandwidth at a center frequency of 20 GHz. Since the H field is controlled by the 1.35-mm (0.054-inch) gap in the electromagnet, a 1/2000 error is less than 0.75 /m (30 millionths of an inch) of pole-face nonparallelism, vir tually impossible to hold in production since it would be the sum of machining tolerances in three relatively large pieces of steel. The usual way to maintain acceptable parallelism in a multi-sphere structure has been to shim the pieces with tape at strategic points. The way used for the YTX is to intentionally grind the pole faces with a slight tilt and then,
Tuning Current Frequency GHz 1,2,3 Uniform H-Field
Fig. exaggerated the of the tuning magnet pole faces, shown exaggerated here, causes the three YIG spheres to have different tuning characteristics. Rotating the pole pieces to bring the tilted faces into parallel alignment achieves identical tuning characteristics for the three spheres.
Fig. 1 . Internal view of the YIG-tuned mixer (YTX). The circular part that has the three holes for the YIG spheres is only 9 mm in diameter. The thermal circuit to the three YIG spheres is completed by metal rods that are held in cylindrical spring-loaded clamp circuits, shown protruding from the D ring. The rod ends are accessible through plug-holes in the external magnet structure so, with the magnets in place, the rods can be rotated and moved axially to find the position for best temperature compensation. This adjustability is obtained while enough good thermal contact. The clamps are firm enough to obviate the need for any additional clamping device or cement to prevent movement during shock and vibration. The YIG sphere coupling loops are just visible in the photo. Only 50 /ttm (0.002 inch) thick, these have to be dimensioned and positioned very precisely. For example, the distance between a loop and a YIG sphere must not vary by more than 25 j.m (0.001 inch). It would be very difficult for even a highly skilled person to form and position these loops with the precision required. This problem was solved by using loops chemical milling techniques to mill the loops
It became apparent that soldering the entire structure at one time was impractical, so some means had to be found that would allow soldering without reflowing previously-made solder joints. The solu tion was to use solders with higher melting temperatures for the early operations. As a result, it is possible to solder the coax sections to the assembled central unit during final operations, obtaining a wellbonded grounding structure. Thermal Design of the Magnet A major objective was to provide a constant, uniform magnetic flux under all environmental conditions. A cross-section of the magnetic structure with the YIG-sphere assembly in place is shown in Fig. 2. The pole tips of the magnet are made of a material that has a different thermal expansion ratio from the main body so the magnet gap remains constant despite changes in the ambient temperature. However, some short-term differential heating of the magnet oc curs whenever the tuning coil current is changed with the greatest change occurring at the high end of the YIG tuning range where the current is proportionately high. Because of the relatively poor thermal
conductivity of the nickel-iron alloys used, a temperature gradient would exist between the poles and the main body since the outside surface dissipates heat more readily than the pole faces. This results in changes in the gap spacing, hence in the YIG tuning. This problem was minimized by installing aluminum discs between the pole faces and the outer ring as shown in Fig. 2. These serve as thermal short circuits between the pole faces and the magnet body reducing the differential heating by a factor of 1 0 (a single slot cut radially in each disc prevents the formation of eddy currents). Residual short-term temperature differentials are compensated for by the microprocessor control system (see box, page 15). Acknowledgments Special thanks are due Earl Heldt of the Stanford Park Division for the original mechanical design. Dick Lyon made major contributions to the and Pete Planting developed the microballoon material and provided technical support for the soldering processes.
-Z.ee O/mstead
with the structure assembled, use a desktop computer test program that indicates to the test technician how much the pole pieces should be rotated with respect to each other around their common axis so the tilt in one pole face will match the tilt in the other (Fig. 3). The computer controls test instruments that make frequency response curves as the filter is tuned throughout the 2-to-22-GHz range. Mis alignment of the pole faces causes the frequency response curves to have three humps. The technician measures the frequency separation between adjacent humps and enters this value into the computer, which then calculates the amount of rotation required to bring the pole faces into alignment. Usually, one pass is sufficient to achieve virtu ally perfect parallelism. This procedure takes less than 15 minutes. A second problem concerned the impedance match look ing from the diode toward the ACLU load where the input signals would normally terminate. To meet our flatness goals, the return loss had to exceed 20 dB over the entire 2-to-22-GHz range. Although this can be done up to 6 GHz, it is unrealistic to expect this performance of the SMA connector pairs used for the connections, not to mention the transitions from coax to microstrip and so on. To surmount this problem, the YTX uses polyiron-loaded dielectric in a specially designed molded coax assembly (Fig. 2). The polyiron is lossless at the IF and LO frequencies, but above 6 GHz it becomes lossy and acts as a good termination to signals above 12 GHz, giving outstanding flatness.
Amplifier/Coupler/Load Unit
temperature. The amount of gain compression is shown in Fig. 4. The second contribution to flatness is the isolation and match that the coupler load portion of the ACLU provides for the signal input to the YTX. Input signals in the 2-to22-GHz range go into the YTX, mix in the diode, and then go into the ACLU. If any significant portion of this signal reflects off the ACLU's input and returns to the YTX, ripple will be produced in the YTX's conversion efficiency. This doesn't happen, due in part to the isolation from the amplifier's output provided by the coupler, and also to the termination provided by the 50fi thin-film resistor. The 50 resistor is ac-coupled to ground through the 16-pF capacitor (see Fig. 1) such that it terminates frequencies of 2 GHz on up, but allows 321 MHz to exit the IF port with only small loss (about 3 dB). The 16-pF capacitor and some thin-film inductors provide a 321-MHz tuned matching network to match the nominal 501 IF impedance to the series combination of the 50 resistor and the mixing diode in the YTX (a combination of approximately 1501).
Of the several functions that the amplifier/coupler/Ioad unit (ACLU) performs, its contribution to the high-band flatness is most noteworthy. First, it provides a relatively constant LO power to the YTX's single-diode harmonic mixer. For some harmonics, the mixer's conversion efficiency is a function of the diode's conduction angle, and the conduction angle changes with changing LO power level. The FET amplifier in the ACLU operates in a saturated mode, and therefore provides gain compression that greatly reduces the YTO power variations that exist unit-to-unit and as a function of frequency and
Fig. the Variations in the local oscillator power supplied to the mixer diode are compressed by operating the FET amplifier in a saturated mode.
Sapphire Substrate
LO 3.6-6.1 GHz
Ground Plane
Fig. 5. Diagrammatic representa tion of the second converter microcircuit. The 50I terminations lor the directional filter are actually formed as thin films along the edge of the substrate.
0-to-2.5-GHz Band
As shown in Fig. 1, the ACLU is the supplier of local oscillator power for both frequency bands. To remove the problem of image response in the 0-to-2.5-GHz band, a double frequency conversion is performed on the input signal. First there's an up-conversion to a fixed 3.6-GHz IF and then, after some filtering, a down-conversion to a 321-MHz IF. Although the image response is effectively removed by this technique, the added components compound the prob lem of trying to fit maximum performance into minimum space. This problem was kept in check by using thin-film technology and a high degree of integration of components. Microcircuit technology is used in the assembly of the limiter, first converter, second converter, and ACLU.
Limiter
The limiter's function is to reduce the burn-out suscepti bility of the first-converter mixing diodes from an overload at the input. It does this very well for CW input powers between 1 milliwatt (onset of limiting action) to 10 watts. When not limiting, the device is virtually transparent to the incoming signal (loss <1 dB, VSWR <1.25). A back-to-back diode arrangement eliminates the need for dc blocks or returns allowing the limiter to operate to very low frequen cies, even dc.
First Converter
efficiency, giving a flatness of 0.6 dB for the input signal range of 100 Hz to 2. 5 GHz. Fora -30-dBm input to the first converter, the harmonic distortion and third-order distor tion products are 70 dBc and 90 dBc respectively over the range of 100 Hz to 700 MHz, which covers the important communication bands. Several specific parts of the first converter, shown in Fig. 5, contribute significantly to its good performance. The planar, edge-coupled, realization of a Marchand balun,1 which carries the LO signal to the diodes, contributes to good flatness by isolating the signal and IF paths from the LO port. Distortion is reduced by bringing the LO in on the broadband, balanced structure. Distortion is further re duced by use of an integrated dual beam-lead diode that has closely matched parameters for each of the diodes in the pair. Finally the directional filter is crucial in achieving good flatness without excessive reduction in conversion efficiency. This filter passes the 3.6-GHz IF with minimal insertion loss while providing a good resistive termination for all of the other frequencies produced in the mixer.
Second Converter
The first converter is designed to achieve a good balance of flatness, low distortion, and conversion efficiency. Be cause the frequency response and distortion characteristics in the 0-to-2.5-GHz range are determined primarily by the first converter's conversion flatness and distortion, these parameters were optimized in a trade-off with conversion
12 HEWLETT-PACKARD JOURNAL AUGUST 1979
The second converter achieves its function in a small volume with good efficiency and low phase noise. The 3.3-GHz VCO in the second converter is a push-pull two-transistor oscillator using a microstrip horseshoe re sonator.2 Typically, microstrip resonators have compara tively low unloaded Q (around 250), and hence are not noted for particularly low phase noise when used in oscil lators. By optimizing the resonator's dimensions (for maximum unloaded Q) and by running low bias current in the transistors (7 mA per transistor) the loaded Q of the oscillator was improved to the point that at 1 MHz away from the carrier, phase noise in this oscillator is as low as
John C. Lamy With HP since 1968, John Lamy was project leader for the 85660A RF Mod ule, the 8557A Spectrum Analyzer, and the 435A/8481 A Power Meter, and was design engineer for the 8555A spec trum analyzer tuning section. John was born in Kansas City, Missouri, and re ceived his BSEE degree in 1968 from Massachusetts Institute of Technology. Now a resident of Santa Rosa, Califor nia, he is married and has a sevenyear-old son. In his spare time, John enjoys backpacking and sailing and is actively involved in the Creative Initia tive Foundation.
I I ^Bg^t.-
Frank K. David An HP employee since 1969, Frank David was project engineer for the 8566A microcircuits, including the lowrange front end mixer, filters, oscillator, and limiter. Frank received his BSEE degree in 1965 from the University of California at Berkeley and his MSEE degree in 1975 from Oregon State Uni versity. A native of Sacramento, Califor nia, he is married and has two "active" children (ages six and three). Frank spends much of his leisure time land scaping his yard, doing masonry work, and camping with his family.
that in a typical YIG-tuned oscillator (-135 dBc/Hz). The close-in phase noise performance is improved by phaselocking the oscillator to a harmonic of the instrument's 100-MHz reference frequency. A microcircuit sampler serves as the phase detector. It samples the 3.3-GHz signal at the 100-MHz rate and the resulting dc is used to control the VCO. The conversion efficiency of this converter was enhanced by taking advantage of the fact that the frequencies at all three mixer ports are fixed. These ports are tuned so as to reflect the energy of higher mixing products back to the mixing diodes where they are reconverted to the IF fre quency. This raises the conversion efficiency, which ini tially was 25%, up to 40%.
Acknowledgments
Far more people participated in the design and introduc tion of these microwave components than we can adequately acknowledge here it has been truly a large scale team effort. Two contributors stand out on the YTX: Rit Keiter for initial concept and continuing guidance, and Robert Joly for establishing the basic realization.
References
1. N. Marchand, "Transmission Line Conversion Transfor mers," Electronics, December 1944. 2. R.E. Pratt, R.W. Austin, and A Dethlefsen, "Microcircuits for the Microwave Sweeper." Hewlett-Packard Journal, November 1970.
RF In
IF Out
10MHz Standard
Fig. 1. Frequency conversion chain uses seven phase-locked loops, two of which can be swept. All are referenced to a 10-MHz oven-controlled crystal frequency standard that has an aging rate of less than one part in 109 per day.
frequency synthesizer, depending on the sweep range, and a sweep control from the sweep generator, also depending on the sweep range. The M/N loop provides YTO tuning steps in 10-MHz increments and the low-frequency syn thesizer interpolates between the 10-MHz steps. Before the start of a frequency scan, the YTO is tuned by a 12-bit digital-to-analog converter (DAC) such that its un locked frequency lies 20 to 30 MHz below the Nth harmonic of the M/N loop output. The YTO output is mixed with the Nth harmonic and the resulting difference frequency is applied to a phase-frequency detector, as shown in Fig. 2. The other input to the phase-frequency detector comes from the low-frequency synthesizer. When the loop is closed the output of the phase detector is applied to the YTO tuning coils, forcing the YTO to track a combination of the M/N loop and low-frequency synthesizer frequencies. The output frequency of the M/N loop, which ranges between 182 and 198 MHz, is defined by the equation: fM/N = 200 - 10M/N MHz so the Nth harmonic is 200N-10M. Thus, the frequency of
Sweep Ramp to RF Module
25 mA/GHz 12
the YTO loop in the locked condition is: YTO = 200N - 10M - flfs MHz where f]fs, the output of the low-frequency synthesizer, can be varied between 20 and 30 MHz in 1-Hz steps when setting a start frequency. For frequency sweeps greater than 5 MHz, the M/N loop and the low-frequency synthesizer establish a precise start frequency, as determined by the main control microproces sor in response to the front-panel or HP-IB inputs. The YTO control voltage for this frequency is then retained on a capacitor, the YTO phase-lock loop is opened, and the sweep voltage is added to the YTO tuning voltage (see Fig. 2). When the frequency sweep is less than 5 MHz, the frequency sweep is generated within the low-frequency synthesizer and the YTO remains phase-locked to it and the M/N loop throughout the sweep.
10-MHz Increments
The high-purity M/N output originates in a voltagecontrolled oscillator (VCO) that uses the same type of fore-
CouplerIsolatorAmplifer (CIA)
M/N In
Fig. 2. YTO (YIG-tuned oscillator) control loop locks the YTO to a combination of the M/N and lowfrequency-synthesizer loop fre quencies.
shortened coaxial cavity resonator as the Model 8672A Synthesized Signal Generator.1'2 To obtain the desired tun ing range with a high-Q resonator, the VCO runs at twice the M/N output frequency, or 364 to 396 MHz. The oscillator output is mixed with a 400-MHz reference to derive a differ ence frequency in a range of 4 to 36 MHz (Fig. 3). The mixer output is amplified and then divided down in frequency by the factor M, which ranges from 8 to 27. This is applied to one input of a phase-frequency detector. The 20-MHz refer ence is divided by N and applied to the other input of the phase-frequency detector, the output of which controls the VCO. When locked, the VCO frequency must then satisfy the relationship:
20/N = (400 - fvco)/M MHz or, = 40 -20 M/N MHz This is divided by 2 to derive the M/N output frequency:
it can be seen that the Nth harmonic moves in 10-MHz steps when M is incremented, and 200-MHz steps when N is incremented. M and N were selected such that N changes after M steps through its range. Stepping M through its
AUGUST 1979 HEWLETT-PACKARD JOURNAL 15
Enable
20 MHz
range causes the Nth harmonic to step across 200 MHz in 10-MHz increments.
Interpolation
scan frequency spans as narrow as 100 Hz with the same relative accuracy and low phase noise as the broadband sweeps. This is done with a divide-and-upconvert scheme. The basic source of the low-frequency synthesizer sweep frequencies is loop 1 in Fig. 4. It has a 75-150 MHz VCO whose output frequency is divided by 5 to generate an output in the 15-30 MHz range. This output is used directly by the YTO phase-lock loop for frequency sweeps ranging from 100 kHz to 5 MHz. In this range, the start frequency is settable with 1-kHz resolution. For narrower frequency spans, the other two loops come into play. The loop 1 output is then divided down by a factor of 5 or 100, depending on the sweep range. Loop 2 serves to up-convert the divided-down sweep frequency to a range between 160.15 and 166 MHz (see Fig. 4). The final frequency translation takes place in loop 3. This loop has a VCO operating in a range of 199 to 300 MHz. This VCO output is applied to a mixer whose other input is the output of loop 2. The difference frequency output of the mixer is divided by 2 and the result is divided down to 5 MHz by a factor Nj, using fractional-N techniques,2 and
'These fre for span width and start frequency settability apply when the input fre quency input below 58 GHz where LO fundamental mixing is employed- For higher input frequencies where harmonic mixing is used, the numbers are multiplied by the harmonic number. For example, at 20 GHz (4th harmonic mixing), the span width can be as wide as 20 MHz with the YTO locked to the low-frequency synthesizer, and the start frequency is settable with 4-kHz resolution
The low-frequency synthesizer has three VCO loops that are interconnected in various ways to enable the analyzer to
Loop 1. Synthesized Sweeper Pretune DAC 100-150 MHz Scan Ramp 25 MHz Max VCO Number 1 75-150 MHz 15-30 MHz 1-kHz Resolution 0.1-5 MHz Sweeps
to YTO Loop
Translation Mixer I3=fj-Hi. f, Set By N,. f2 Set By N2. Scan Ramp, and Switch S1A.
160 MHz
Fig. the frequency low-frequency synthesizer has three loops. Loop 1 is the basic source of a frequency that loop an down then up-converted by loop 2 and translated by loop 3 to derive an appropriate frequency for control of the YTO.
The VCO that generates precision sweeps in the low-frequency synthesizer of the Model 8566A Spectrum Analyzer is controlled through a feedback loop that includes a discriminator (see Fig. 4, page 16). A key characteristic of this discriminator is that the slope of its voltage/frequency response curve is adjusted by a phase-lock loop, thus enabling highly accurate narrowband sweeps. A block diagram of the sweep-frequency control system is shown in Fig. input . The discriminator is the pulse-count type in which the input signal triggers a pulse generator, which generates a single pulse of constant width and height for each cycle of the input. These pulses are integrated to obtain a dc current that is proportional to the input frequency. The transfer characteristic of the discriminator is characterized by the equation: I2 = Kf + B where K is the slope of the response curve, f is the input frequency, and B an an offset (see Fig. 1). A frequency change Af results in an output change Al that is a function of K only. In the usual dis criminator, the term K is subject to warm-up and long-term drift that exceeds the 0.1% accuracy desired for the 8566A. Therefore, some precise means of modifying K is needed to maintain accuracy.
Given that two points determine the slope of a line, fixing two points will fix K. In the discriminator described here, care was taken to reduce the offset B to negligible proportions. Thus, the origin is one of the fixed points on the response curve. The second point is fixed during the pre-sweep interval while phase lock is being established. During this interval, the scan in put where the sweep ramp is applied is zero (I3 in Fig. 1). A precise pre-tune current (I4) corresponding to the start frequency is fed into the VCO control loop. The N2 phase-lock loop (Fig. 4, page 16), also programmed to the start frequency, then functions to adjust current source I, until lock is achieved. The discriminator response curve is thereby rotated to the point where the pre-tune current drives the loop to the desired start frequency. This, in effect, sets the second point, fixing K. The discriminator response is thus tied to the analyzer's frequency standard by way of the 500-kHz reference. When sample- scan starts, the voltage that sets I-, is stored in a sampleand-hold, opening this leg of the phase-lock loop. The discriminator is in the feedback loop that controls the VCO and it causes the VCO frequency to closely follow the tuning ramp, eliminating the effects of any tuning nonlinearities or temperature coefficient that .may be in the VCO. Precision Pulses If the discriminator is to be truly linear, the width and height of the
Discriminator
la
S t a r t Frequency
m A
RF Ground
Fig. that I/CO control systems uses a pulse-count discriminator that has controllable response.
Vref
in discriminator linearity. The discriminator response deviates from a straight line less than 0.002% for an integrated pulse current (I2 in Fig. 1) ranging from 0 to 2/3 the I2 max, and the incremental linearity, which determines the accuracy of narrow scans, is within 0.03%. The discriminator actu ally an between 1/3 and 1/2 of I2 max, corresponding to an input range of 200 to 300 kHz. Fast Lag and Slow Droop Current I6 in Fig. 1 is a portion of the sweep ramp that is applied directly to the VCO, reducing the excursions of voltage V5. This reduces sweep lag, the amount by which the VCO frequency lags the scan ramp. The lag, which is proportional to scan rate, occurs be cause of the finite bandwidth of the discriminator, which was made low to reduce noise contributed by the discriminator. The I6 feed forward current reduces sweep lag by a factor of 1 0, so the maximum sweep lag is only 0.15% of scan width. Very slow sweeps, on the other hand, are a potential source of another problem: droop in the sample-and-hold circuit. Since scans can take as long as 1 500 seconds each, leakage in the sample-andhold capacitor would have to be less than 50 pA to maintain scan accuracy. The sample-and-hold voltage is held in an integrator, shown in Fig. 2. To reduce the effects of sample-and-hold drift, the oscillator sys tem was designed so the integrator has only a limited influence on the frequency; it can adjust the frequency by only 0.04%. This range, however, is insufficient to correct for long-term drift in the dis criminator. Thus, a digital-to-analog converter (DAC) and related circuitry was added to the integrator, as shown in Fig. 2. If the output of the integrator attempts to exceed 5V during the phase-lock interval, one of the two oscillators shown in Fig. 2 is turned on, either clocking the counter up or down. The counter drives the DAC whose output is summed with the analog integrator output, thus contributing to the past V0. Counting continues until the total output steps past the value required to achieve phase lock. The phase error voltage then causes the analog circuit to retreat, cancelling the overshoot. This shuts off the oscillator, and leaves the analog circuit in the middle of its after The contribution of droop in the analog circuit after the sample-and-hold switch opens is thus reduced to negligible proportions because the major portion of V0 is held in the DAC.
To DlscrimiS a m and-Hold p l e n a t o r
Fig. 2. Digital sample-and-hold. discriminator output pulses must be uniform at all input frequencies. Uniform pulses are obtained in this discriminator by using the input pulses to drive a common-emitter transistor that has a resonant LC circuit in its collector circuit. Each pulse saturates the transistor, causing the LC circuit to ring at 5.2 MHz. The ringing waveform is applied to a -^16 counter. Prior to each input pulse, the counter is preset to 6. Its MSB output then goes high on the second zero crossing of the ringing waveform (count = 8) and goes low again eight cycles later (count = 16). The width of the pulse generated by the MSB the is thus determined precisely by the frequency of the ringing circuit. These pulses are integrated to obtain I2 (Fig. 1). An important feature of this arrangement is that presetting the counter and using the MSB output causes it to ignore the first cycle of the ringing waveform. The first cycle is of low amplitude and of variable period because of the finite saturation time of the driving transistor. Also, at high input frequencies the LC circuit may not have settled down from the previous pulse, causing further variations in the first improvement Skipping the first cycle results in a significant improvement
compared to a 5-MHz reference. The following equation thus applies: (fVG03 - flooP2)/2Ni = 5 MHz
or.
o fv c 0 3 = j + i o f p 2 . The VCO3 frequency is thus offset from the loop 2 fre quency by NjXlO MHz, where Nj ranges from 3.60 to 13.97. The VCO3 frequency is divided by 10 to place it in the 19.9-to-30-MHz range and then supplied to the YTO loop. The output of loop 1 is thus divided down by factors of 50 or 1000 and then offset in frequency to place it in the proper range for the YTO. What this scheme accomplishes is the reduction of the phase noise, residual FM, and synthesis-related spurious outputs of loop 1 by as much as 60 dB (20 log 1000) for frequency spans of less than 5 kHz, thus enabling the analyzer to meet the more stringent requirements of narrow-band scans. In addition, for spans less than 25 kHz, the gain of the YTO loop is increased about 10 dB. Although this degrades the far-out phase noise somewhat, it improves
18 HEWLETT-PACKARD JOURNAL AUGUST 1979
the close-in phase noise and line-related spurious perfor mance. Of course, loops 2 and 3 make their own phase-noise and spurious contributions but these have been held to a minimum through careful circuit design and shielding. As a result of these measures, residual FM, start fre quency offsets, and drift during a scan are always less than 0.1% of scan width (one "bucket" of the 1000-point digitally-stored display is 0.1% of the scan width). Note that there is no overlap of the tuning ranges of any of the VCOs in the instrument. Overlapping VCO frequencies are a prime source of troublesome "crossing spurs" in a synthesizer, so this system eases the difficulty of meeting the desired spurious specifications. Spurious outputs are at least 90 dB below the carrier while broadband phase noise is at least 10 dB below that of the YTO loop. For frequency spans greater than 5 MHz, where the sweep ramp is applied directly to the YTO, the synthesizer sweep ing function is disabled and it then provides start frequen cies with 1-Hz resolution.
Discriminator-Stabilized VCO
quency discriminator in the phase-lock loop, as shown in Fig. 4. During a sweep, the loop 1 VCO is controlled by the discriminator output and is therefore sensitive to the dis criminator's frequency-to-current response. During the pre-sweep interval, the phase-lock error voltage tunes the VCO by adjusting the slope of the discriminator's response while a known input current is applied to the discriminator, as explained on page 17. Then, when the VCO output di vided down to 500 kHz becomes phase-locked to a 500-kHz reference, the discriminator slope is precisely known. When a sweep is initiated, the error voltage from the phase detector is stored in a sample-and-hold circuit, effec tively opening this feedback loop. A voltage ramp for sweeping the VCO is applied to a summing network along with the discriminator output (and the dc pretune voltage). The discriminator output thus functions as a negative feed back signal to cause the VCO frequency to closely track the ramp, thus correcting for any nonlinearities in the VCO tuning curve. Since the discriminator frequency-to-current response has been set accurately by the phase-lock loop, outstanding sweep accuracy results.
Controlling Residual Responses
mixer to produce sum or difference frequencies near the first IF. An analysis of this situation determined that such mixing products could occur. Therefore, the YTO output is coupled to the phase-lock loop through a microcircuit di rectional coupler that has a 2-to-6-GHz GaAs FET amplifier in the coupled arm (see Fig. 2). Pads in the amplifier input and output attenuate the YTO signal such that the net gain through the pads and amplifier is 0 dB. The reverse isola tion, however, is increased by the pads which, with the reverse isolation of the amplifier, gives a total reverse isola tion more than 40 dB greater than the reverse isolation of the coupler itself. Residuals due to the M/N loop have thus been reduced to the point that most lie below the noise floor of the analyzer, even with the 10-Hz resolution bandwidth.
Acknowledgments
Rick Chan designed the scan generator and YIG driver circuits. We would also like to thank Jim Thomason, Ken Astrof, and the other members of the 8672A Synthesized Signal Generator design team on whose work much of the 8566A local oscillator design was based.
References
Because the M/N output remains enabled during these sweeps (it is disabled during sweeps greater than 5 MHz), there is a possibility that residual responses could be gener ated by M/N harmonics that mix with the YTO in the input
Stephen T. Sparks Steve Sparks received his BSEE de gree in 1968 and MSEE degree in 1969 from the University of California at Berkeley. AT HP, he contributed to the circuit design of the 8601 A and 8605A Sweepers, the 8407A and 8754A Net work Analyzers, and the 8672A Signal Generator (he joined HP shortly after graduation from high school). Steve keeps busy with a variety of activities: backpacking, jeep trips, photography, restoring antique radios, brewing beer at home, cooking, winetasting, and flyJf ing small planes. He also grazes cattle and plans to develop a vineyard on his 50-acre ranch. Larry R. Martin Larry Martin received his BSEE degree in 1967 from Kansas State University. An HP employee since that same year, Larry was a project manager for the 8672A Synthesized Signal Generator, contributed to the design of the 8555A spectrum analyzer tuning section, and earned an MSEE from Stanford Univer sity along the way. Larry lives in Santa Rosa, California, is single, and keeps busy with photography, wine tasting, Softball, tennis, and basketball. He also enjoys flying a sailplane occasionally.
1. J.L. Thomason, "Expanding Synthesized Signal Genera tion to the Microwave Range," Hewlett-Packard Journal, November 1977. 2. K.L. Astrof, "Frequency Synthesis in a Microwave Sig nal Generator," Hewlett-Packard Journal, November 1977.
Kenneth L. Lange A native Oregonian, Ken Lange re ceived his BSEE and BAEE degrees in 1967 from Oregon State University and his MSEE degree in 1 968 from Stanford University. Ken joined HP in 1973 and was responsible for circuit design in the 8557A Spectrum Analyzer and the 85660A RF Module. A resident of Santa Rosa, California, Ken is married and has two young sons, ages three and one. Handball, gardening, and flying small planes keep him busy in his spare time.
Michael S. Marzalek Mike Marzalek received his BSEE de gree in 1969 from the University of California at Berkeley and his MSEE degree in 1972 from Stanford Univer sity. With HP since 1 969, Mike designed the microprocessor software for the 8566A, designed hardware for the 8568A Spectrum Analyzer, and contri buted to several synthesized signal generators. Born in Springfield, Mis souri, and raised in southern California, Mike is married and spends many of his leisure hours crosscountry skiing, down-hill skiing, playing folk guitar, and working in stained glass.
Fig. 1. Model 8170A Logic Pat tern Generator produces long sequences of 8-or 16-bit parallel digital words as bus stimuli for functional tests of multichannel digital hardware. It operates at clock rates up to 2 MHz, internally or externally supplied.
20 HEWLETT-PACKARD JOURNAL AUGUST 1979
Fig. 2. Miniature probes like those used with logic state analyzers facilitate hook-up to the system being tested.
A Multichannel Source
To resolve the testing problem, a new programmable data generator has been designed for functional checkout of multichannel digital hardware. The new generator, Model 8170A (Fig 1), produces sequences of 8-bit parallel words up to 1024 words long for functional testing. Alternatively, it can produce 16-bit parallel words with a maximum se quence length of 512 words. An option expands these se quence lengths by a factor of four. Functional checkout with this generator simulating all operational conditions is a powerful fault-finding technique which, if applied early in the design stage, allows the hardware, firmware and software to be developed independently. The new instrument can generate the sequence data in synchronism with an external clock or with its own clock at rates up to 2 MHz, enabling most systems to be tested functionally at full operating speed. The instrument also outputs a clock signal and a data-valid (DAV) signal equiv alent to a clock signal, for the use of the device under test. Output levels are pushbutton selectable to be compatible either with TTL circuits (0V low, 5V high) or CMOS circuits (0V low, 3-15V high, adjustable). Both output modes also have a 5-kil idle or off state. Miniature probes connected to pods, like the probing systems used with HP logic state analyzers,1 facilitate hook-up to the device under test (Fig. 2).
Internal Organization
to perform numerical base conversions. When addressidata check or recall is wanted, alphanumeric LEDs display the selected memory address and its contents individually using the selected code (see Fig. 1). Typical bus traffic is simulated by the 8170A as it reads out the data in its memory in an ascending address se quence at a rate determined by the selected clock. This mode of operation, shown in the simplified block diagram of Fig. 3, is known as the internal address mode. On receipt of a START command the 8 170 A outputs the stored data continously (AUTO cycle) or just once (SINGLE cycle) be tween the first and last addresses selected by the user. The ascending address sequence is generated by a counter that accesses the data stored in the RAM. Because the RAM actually consists of several RAM ICs that may have slightly different access times, the data bits are held briefly in latches and then strobed to the outputs simultaneously to avoid skew problems. An output stage is shown in Fig. 4. It is basically a TTLto-MOS driver with a switch (Ql) that shuts off the CMOS supply voltage when the outputs are to be placed in the idle (high-impedance) state. The instrument's outputs automat ically revert to the idle state after data at the last address has been produced in the SINGLE cycle mode. -This state allows the probes to remain hooked to a data bus without loading the bus. It also allows the data in the instrument's memory to be changed without affecting the device under test while the change is being made. The outputs also revert to the idle state when the instrument is turned on, and whenever the STOP command is given. When supplying data to an interface bus, the 8170A can operate asynchronpusly in a handshake mode, enabling real-time simulation of system/peripheral interaction. As shown in the timing diagram of Fig. 5, it can work with either a 2-wire or 3-wire protocol. The DAV (data valid) signal generated by the 8170A is output through one of the
Clock Source Data POD
The heart of the Model 81 70 A Logic Pattern Generator is a battery-supported, nonvolatile, read-write random access memory (RAM). Data, memory addresses, and operating modes are entered into the memory through the front-panel keyboard, by way of the HP-IB, *or through an RS 232C/ CCITT V.24 input. Depending on user practice, data can be entered in the binary, octal, or hexadecimal number sys tems and addresses can be entered in decimal, octal, or hexadecimal. The instrument converts the inputs to binary for entry into the memory, eliminating the need for the user
HP-IB: the Hewlett-Packard interface bus, HP's implementation of ANSI/IEEE 488-1978.
Fig. 3. Block diagram of the 8170A operating in the internal address mode. In this mode, the memory contents are supplied to the outputs in ascending order beginning at the first address specified and ending at the last address. A trigger output pulse is generated whenever the address being accessed in memory matches the address in the trigger ad dress latch.
Out
Idle
TTL-to-MOS Driver
signals (Fig. 6). Unlike EPROMs, however, the logic pattern generator allows program steps to be changed quickly via the front-panel keyboard. This can be a great help during the finalization of software for a system under develop ment. All ROM-related functions can be quickly checked out and the ROM design corrected and verified before the actual ROM goes to manufacture. When the 8170A is being used as a ROM simulator, a separate probe pod with active address line receivers en ables the system under test to select the addresses of data stored in the generator's memory. Access time is typically 520 ns. Also provided are four ENABLE lines that function as qualifiers in the external address mode. For example, these may be used as four additional address lines when testing digital machines that have 16-bit addresses, thereby provid ing a means of selecting the portion of the total 64K address space in which the 8170A addresses will lie. If more mem ory space is required, two or more 8170As may be used in parallel with the ENABLE inputs functioning essentially as instrument-select lines.
Friendly Syntax
Fig. 4. Output drive level is determined by the voltage Vvar supplied to the MOS bias input of U1, a TTL-to-MOS driver. 01 turns off Vvar to place the output in the idle (highimpedance) mode.
probe pods, and the RFD (ready for data) and DAC (data accepted) signals generated by the system under test are brought in through probes on the same pod.
Breakpoints
For detailed investigation of device operation with a logic analyzer or oscilloscope, the 81 70 A generates a trigger output pulse when a particular address in the memory is reached. Any address between the first and last addresses can be selected as the trigger address. The trigger output is particularly helpful in determining when and why a system "crashes." Knowing approxi mately where in the program the fault occurs, the user can enter an address from this part of the program into the trigger register and then feed the TRIG OUT signal to the 8170A's BREAK IN input. During execution of the program, the trigger pulse will halt the program at the trigger address with the data outputs remaining in the active state. The precise address at which the fault occurs may then be found by single-stepping the stored program in ascending or de scending order by using the FWD or BACK keys. The BREAK IN capability may also be used to stop the program in response to a signal or qualifier from the device under test. This signal could be one that indicates a possible malfunction or forbidden condition. Any pulse greater than + 2V in height and 40 ns in width will stop data generation at the current address. Data generation may be resumed from the most recent address by pressing the START button or by applying a pulse (> + 2V, 40ns) to the START IN con nector.
ROM Simulation
The syntax for operating the instrument from the keyboard makes operation straightforward. Some examples of user convenience are short-form entry of addresses and data (omitting leading zeros), multiple consecutive data entry (holding down the ENTER key causes the same data to be loaded into successive memory locations), automatic incrementing of the address register when a data entry is made, and the single-step FWD and BACK keys. Syntax similar to the keyboard is used for programming
Idle
3-Wire Handshake: Ignore Dotted Arrows 2-Wire Handshake: Follow Dotted Arrows
When operating in its external address mode, the 81 70 A Logic Pattern Generator can function as an erasable, pro grammable, read-only memory (EPROM), outputting data in response to externally supplied addresses and enable
22 HEWLETT-PACKARD JOURNAL AUGUST 1979
Fig. 5. Handshake protocol for operating the 8170A in the asynchronous (non-clocked) mode. It works with either 2-wire or 3-wire protocols, as selected by front-panel pushbuttons. The delay (DAV) is adjustable over a range of 300 to 800 ns. (ACS high means the outputs are in the active rather than the idle state).
the 8170A via the HP interface bus. Two HP-IB modes, accessed through separate HP-IB addresses, are provided. When the keyboard mode has been addressed, all functions controlled by the front-panel pushbuttons are programma ble using mnemonics related to the pushbutton functions. When the data mode is addressed, data supplied over the HP-IB is loaded into successive memory locations between START and STOP addresses defined while the instrument was in the keyboard mode. The data mode also enables the 8170A to report its memory contents to the test system controller.
Simplified Data Entry
Until now, parallel data generators used individual LEDs to display the status of each channel at a particular address. This meant that the operator had to scrutinize the 16 LEDs of a 16-channel instrument to check the memory status at each memory address. The 8170A makes things much easier by allowing data to be entered and displayed in a variety of number bases (octal, decimal, or hexadecimal for addresses, and binary, octal, or hexadecimal for data). For example, to load the pattern 01101011 into address 10 using hexadecimal the user executes the following keystrokes: ADDR 1 0 DATA 6 B ENTER Since data is always stored in binary, changing the number base affects only the display (and numerical entry) and does not affect the stored data or the data output When a key in the ADDRESS/DATA group is pressed, the binary equivalent of that key is stored in one of the 4-bit display registers and the content of the register is displayed in the selected format in the corresponding position on the display. When the ENTER key is pressed, all the information in the data display registers is converted to a single binary number and stored in memory at the indicated address. Data transfer into and out of memory is always carried out in 8-bit bytes. To display the contents of a memory address in hexadecimal, each 8-bit byte is separated into two 4-bit segments and then each 4-bit segment is converted to the equivalent hexadecimal digit for display. To convert to
Fig. 7. Conversion of a 16-bit binary number stored in mem ory to an octal number for display involves separation of the binary number into 3-bit groups and addition of a leading zero to each group. The resulting 4-bit number may then be stored in a display register.
octal, the two 8-bit bytes, taken together, are separated into groups of three bits, as shown in Fig. 7, and by addition of a leading zero, each group of three bits is expanded to a 4-bit segment for storage in a display register. The same hexadec imal conversion is then performed on each 4-bit segment but in this case the highest digit will be 7 because of the leading zero. Binary-to-decimal conversion is more complex since, un like octal and hexadecimal, decimal numbers are not re lated to integral powers of 2. In this case, to match the capabilities of the 6800 microprocessor, the "add-3" al gorithm2 is used to convert a binary number to decimal for display. For the decimal-to-binary conversion when data is entered, the Horner scheme is used.
Preselected Patterns
To facilitate the entry of certain often-used data patterns, entry of the following patterns has been reduced to a few keystrokes:
0-7
Pattern
A p p l i c a t i o n
K e y
Fig. 6. Block diagram of the Model 8170A Logic Pattern Generator operating in the external address mode. Data is output whenever the address-change detector, consisting of exclusive-NOR gates, detects that there has been a change of address. Alternatively, one of the enable inputs may be used as a clock input for timing the data output. A data-valid signal is also generated.
To select one of these, the operator holds down the DATA key while pressing the selected pattern key (0, 1,C, D,E) for two seconds. The display then reads "Mem chg?" (memory change?), which the user confirms by pressing key 1 (for "yes"). The selected pattern is then loaded into the mem ory. If key 0 were pressed, the memory would remain un changed and the display would revert to display of address and data. This routine prevents accidental loss of memory contents by unintentional loading of the memory with one of these patterns.
AUGUST 1979 HEWLETT-PACKARD JOURNAL 23
M l '
lli!
References 1. W. A. Farnbach, "The Logic State Analyzer Displaying Complex Digital Processes in Understandable Form," Hewlett-Packard Journal, January 1974. 2. "Analog-to-Digital Conversion Techniques with the 6800 Microprocessor System," Motorola Application Note 757. 3. R.A. Frohwerk, "Signature Analysis: A New Digital Field Service Method," Hewlett-Packard Journal, May 1977.
Ulrich Hbner Born and raised in Stuttgart, Germany, mf Ulrich Hbner studied at the technical universities in Aachen and Stuttgart. He joined HP GmbH's medical division in 1967, then moved to the instrument group, where he developed low-cost oscilloscopes. Since 1975 Ulrich has been involved in data generator design , and was responsible for the 81 70A M| hardware design. Ulrich is married, has gone child, and enjoys swimming and skiing in his spare time. _,,,,
Fig. 8. The ENABLE SELECT switches and two of the four ENABLE inputs are on the rear panel. Also on the rear panel are the
LOGIC POLAR/TY Switches, DAV DELAY adjustment, RS232C BAUD RATE
The PRBS (pseudorandom binary sequence) pattern is generated by firmware. By means of the microprocessor's rotate instruction, one of the microprocessor's accumu lators functions as the shift register of a hardware equiva lent. A counter detects 16 shift operations and then ini tiates an operation that loads the current pattern into memory. Since the firmware program always begins by loading 0001 16 into the accumulator, the PRBS pattern is always the same.
Designed-in Serviceability
As with other complex, microprocessor-based devices, traditional troubleshooting techniques would be in adequate for the 8170A so serviceability had to be designed in. Serviceability is optimized by inclusion of test routines in the firmware and by making the necessary provision for signature analysis,3 such as including switches for opening feedback loops and disabling certain circuits, and includ ing the necessary stimulus programs in the controller ROM. When turned on, the 8170A automatically runs through a self-check routine that includes illumination of all LED indicators to give the operator confidence that the basic system is functioning. Two methods of generating the stimulus for signature analysis are implemented. In one, free run, the data bus is opened at the microprocessor and the CLRB instruction is applied. This causes the microprocessor to step through its entire address field. The most significant address line is used as both a START and STOP signal for the signature analyzer, defining the entire address field as a measurement window. Thus, the functioning of the processor, addressbus and data-bus ROMs, and decoding circuitry are verified in one measurement. In the second method, implemented when the free-run method has been completed, ROM-resident routines for signature analysis of various subunits are accessed through the keyboard. Several of these routines are associated di rectly with particular circuit boards, making it easier to locate the circuit at fault.
Acknowledgments
Bernd Moravek A native of the Rheinland area (Ger many), Bernd Moravek earned his Diplomlngenieur degree at the Technische Hochschule Aachen in 1977. He joined HP the same year, plunging directly into the 8170A project. The serial interface and the implementation of signature analysis are his contributions. Bernd is married and spends much of his spare time playing organ at home and in cathedrals.
Gnter Riebesell A native of Hamburg and a graduate (Diplom Ingenieur) of the Technische Universitat Braunschweig, Gnter Riebesell joined HP in 1973, working initially on the 801 6A and 8084A Data Generators. He then became project leader for the 81 70A and was responsi ble for development of the instrument's software. Gnter is married, has a twoyear-old son, and enjoys filming and skiing in his leisure time.
Arndt Pannach initiated the 81 70 A project while Jorn Kos was responsible for overall guidance. Dietmar Seiffert op timized the HP-IB programmability. Mechanical design was by Horst Link.
24 HEWLETT-PACKARD JOURNAL AUGUST 1979
SPECIFICATIONS
Output Signals
DATA: Pods provide 16 output lines DO to D7 (Model 15455A), and D8 to D15 (Model 15456A), Pos/neg true selectable on rear panel. CONTROL: Data valid (DAV) generated with each word. Pos/neg true selectable on rear panel. DAV line via Control Pod Model 15454A. DAV DELAY (adjustable on rear panel): NON-HANDSHAKE: 100 ns to 700 ns. 2- OR 3-WIRE HANDSHAKE: 300 ns to 800 ns. DAV WIDTH (at +1.3 V): See following table: Clock Mode Internal Clock Manual Clock External Clock Width 40 ns - 200 ns Width >200 ns DAV Width Clock period/2 50 ns 10 us (typical) 250 ns (typical) External width 50 ns
STATUS: Idle, Active and Break states indicated on lines ACS (Active state) and BRS (Break state) fed via Control Pod Model 15454A: Status Idle Active Break ACS LO HI LO BRS HI HI LO
General
POWER: 100, 120, 220 or 240 V, +5%-10%; 48-66 Hz, 110 VA maximum. ENVIRONMENTAL: 0 to 55C, with relative humidity to 95% at 40C. WEIGHT: 11 kg (24.3 Ib). DIMENSIONS: 133 mm H x 426 mm W x 422 mm D (5.2 x 16.8 x 16.6 in). ACCESSORIES SUPPLIED 2 data output pods (Models 15455A, 15456A) 1 address input pod (Model 15453A) 1 control pod (Model 15454A) Pods carrying with Snap-on Assembly, wires, hook-on clips and carrying case. OPTIONS 00 1 : words 24K-bit memory for output format 8 bits x 4096 words or 1 6 bits x 2048 words. 002: Address driver (Model 15452A). Provides 10 address output lines AO to A9, positive true. 3-state capability in idle state. FAN OUT: 10 standard TTL maximum. LEVELS: High 3+2.4 V, low s +0.5 V. SIGNAL CHARACTERISTICS (into 1 standard TTL): TRANSITION TIMES (+0.5 V to +2.4 V): 50 ns. DISTORTED HIGH LEVEL: 3=+2A V. DISTORTED LOW LEVEL: s+0.6 V. PRICES IN U.S.A.: 8170A, $5000; Opt. 001, $500; Opt. 002, $250. MANUFACTURING DIVISION: BBLINGEN INSTRUMENT DIVISION Herrenbergerstrasse 110 D-703 Boblingen Federal Republic of Germany
POD OUTPUT CHARACTERISTICS TTL SETTING FAN OUT: 5 standard TTL maximum. LEVELS: high +4.5 V to + 5 V; low -0.5 V to +0.4 V. Idle (3-state) 5 kil typical. SIGNAL CHARACTERISTICS (1 standard TTL load): TRANSITION TIMES (+0.4 V TO +2.4 V): 25 ns typical, 50 ns maximum. DISTORTED HIGH LEVEL: +3.5 V (i.e. preshoot, overshoot, ringing lie above this level). DISTORTED LOW LEVEL: 3+0.8 V (i.e. preshoot, overshoot, ringing lie below this level). VARIABLE SETTING (CMOS) MAXIMUM LOAD: 50 pF (high impedance). LEVELS: high +3 V to +15 V adjustable, low -0.5 V to +0.4 V. Idle (3-state) 5 kfl typical. HIGH LEVEL TO MEASUREMENT PIN VOLTAGE TRACKING: 0.2 V typical, 0.5 V maximum.
tions plants. These applications still tend to require special engineering, or they might use a remote minicomputer to schedule detailed operations and communicate results via an RS232C modem data link to the central site not an efficient or cost-effective approach for simple measurements. The new HP Model 37201A HP-IB Extenders (Fig. 1) overcome the problem of distance. Used in pairs, they pro vide a direct extension of HP-IB facilities to a distant site, thereby putting all the convenience of the HP-IB technique directly at the disposal of those configuring distributed instrument systems. The extenders do not provide a new interface scheme, but do provide a means of overcoming the 20-metre distance limitation of the existing standard bus, adding a whole new dimension to the HP-IB's possibilities. An assembled HP-IB system may be split into two isolated groups of instruments that communicate through a pair of extenders connected by a data link. The remote instruments appear functionally as if they were directly cabled to the local bus. The pair of HP-IB extenders and their associated data link are essen tially transparent, that is, the interface behavior of pro grammed HP-IB systems is operationally identical with and without the extenders. For simple configurations, addi tional systems programming is usually unnecessary. Fig. 2
Fig. 1. The Hewlett-Packard Model 37201 A HP-IB Extender converts standard HP Interface Bus activity into a serial form for communication via normal lullduplex modems or twin-pair cable. Functioning in pairs, exten ders enable two distant clusters of bus-interfaced instruments to op erate as one.
Local Bus
Remote Bus
Up to 14 Remote Instruments
Fig. 2. Two distant clusters of in struments are connected through a pair of 37201 A HP-IB Extenders in this basic configuration. The controller can communicate with the remote instruments as though they were connected to the local bus.
illustrates how devices are linked together using extenders. Although fundamentally the extenders operate in pairs, various techniques (to be described later) may be used to provide access through one extender to more than one remote site.
Transparent HP-IB Extension
Serial poll, however, is fully accommodated. Also, the 37201 A does not allow passing of bus control to a device at the remote site, a feature not usually required in the instru ment systems for which it is mainly intended.
Serial Transmission between Extenders
In general, HP-IB data travels in both directions between extenders so each extender is required to accept or source data, depending on the direction of transmission, in place of the distant responding device. Each 37201A Extender does this by hand-shaking HP-IB bytes from the device into its serial transmit buffer, or out of its serial receiver buffer to the device (see Fig. 3). This avoids end-to-end transmission of the three bus handshake lines (DAV, NRFD and NDAC), and the much slower system operation that this would entail. Along with each data byte, a copy of the five man agement lines (IFC, ATN, SRQ, EOI and REN) is also sent, giving a pair of bytes for transmission. Additionally, upon any change in one of the relevant management lines, a new copy of all five lines is sent; the associated data byte is marked as a dummy in this case. Interpretation of data received by one extender from another is governed by a private protocol designed specifi cally for the purpose. This protocol is distinct from the HP-IB, although extension of HP-IB systems is, of course, its purpose. The user or programmer does not become in volved with the protocol in any way, control still being through HP-IB operations. All translations are done au tomatically by the extenders. Those closely familiar with details of the complete set of HP-IB functions will realize that strict implementation of the parallel-poll function subset is an insoluble task for any extension scheme. Devices are required to respond to a parallel poll in a much shorter time than interextender communications can achieve. Consequently, this HP-IB function is not supported by the 37201A HP-IB Extender.
For communication, the 37201A Extenders require a full-duplex data link, that is, one that allows transmission in both directions simultaneously. Standard data modems connected to the extender's RS232C (V.24) interface allow extension of HP-IB operation to any part of the world linked by telephone, either using switched-network (dialed) oper ation or dedicated leased lines. Both synchronous (up to 19.2 kbit/s) and asynchronous modems (150, 300, 600, and 1200 bit/s) are supported by the 37201A. Where continuous monitoring or control is not required, remote instrumenta tion can be called on a dialed connection, automatically if required, only when information is needed, thus avoiding the cost of leased lines. The higher transmission speeds, however, usually require leased-line operation. Communication over short distances of up to 1000 metres can be provided without modems by using low-cost twinpair cable (four wires) directly connected to the extenders. Balanced differential drive and transformer isolation give excellent immunity to interference pickup. The twin-pair bit rate is fixed at 20 kbits/s and during transfer of long strings of HP-IB data bytes, this gives a useful transmission rate up to at least 775 data bytes per second. For transmission purposes, the 3720lA's serial protocol takes byte pairs (data and bus-control bytes) from its trans mit buffer and assembles them into variable-length trans mission blocks or packets, each packet containing as much data as was available, up to a maximum of 30 byte pairs. Variable packet length improves efficiency. Each packet also has an identification header, a tail, and certain protocol information. In synchronous operation, the receiver searches for the header on a bit-by-bit basis as a means of
AUGUST 1979 HEWLETT-PACKARD JOURNAL 27
Source Handshake
Variable RX-Buffer
Bit-Serial RX
HP-IB Interface
Variable TX-Buffer
Bit-Serial RX
I Source I Handshake
Fig. operation of block diagram illustrates the functional operation of a pair of 37201 A HP-IB Extenders.
establishing byte-sync.
Error Detection and Correction
Corruption of data in transit between devices is a problem not usually encountered with normal HP-IB systems, but this becomes a matter of great importance in extended buses. Particularly with dialed-up modem connections, data transmission errors due to transient phenomena are highly probable. Since even a single-bit error on the bus is enough to cause complete operational breakdown, such errors obviously cannot be tolerated. Effective elimination of communication errors was therefore a prime objective in the design of the 37201A. Forward error-correction techniques, such as those used in space applications for correction of relatively few iso lated errors, are quite inappropriate in telephone data transmission where long strings of bits are commonly cor rupted. For this reason, 3720lA's use the only other possi ble approach, namely, correction by retransmission. For error detection purposes, each transmitted packet has redundant longitudinal and vertical parity information added so that when received, packets can be checked for parity correctness in two dimensions. This technique is not quite as efficient in detecting certain errors patterns as a
28 HEWLETT-PACKARD JOURNAL AUGUST 1979
cyclic redundancy check, but it avoids special-purpose generating and checking hardware and may be performed very rapidly by microprocessor firmware. In fact, the verti cal (byte) parity is automatically created and checked by the microprocessor system's serial-communication devices, leaving only a longitudinal byte summation for firmware. When a packet is received correctly, a short acknowledg ment packet is returned to the originating extender, allow ing it to proceed with new data. A corrupted packet is discarded and no acknowledgment returned. This causes the originator to retransmit the packet, which of course must be clearly marked as a repeat otherwise there is danger the receiver might implement the same data on the local bus .twice the acknowledgment itself may have been cor rupted. The user is unaware of these operations taking place, except in so far as HP-IB operation might slow down notice ably in the event of repeated errors. Even prolonged datalink breaks do not upset HP-IB functions they merely stop, continuing faultlessly when the link is restored.
Coordinating Data Flow
In local HP-IB systems, any instrument temporarily un able to cope with further data bytes prevents overflow by
holding up the three-wire handshake sequence. With ex tended buses, however, no such direct mechanism exists. What, then, stops a sourcing device from pouring bytes down the serial data-link at a rate faster than a distant instrument can accept them? This is an additional function of the error-correction protocol. A slow acceptor device soon causes the associated extender's receive buffer to fill to capacity with bytes awaiting transfer. At this point, the extender prevents transmission of new data by failing to acknowledge any further packets until buffer space be comes available, thereby avoiding overflow. In turn, the transmitting extender holds up the source's handshake when its transmit buffer reaches capacity.
Automatic Dialing
Although the pair of 3720lA's carry out their basic exten sion function without need for program control, the exten
der at the HP-IB controller end can be addressed as an HP-IB device in its own right for several purposes. One of these is the control of an automatic dialer that may be connected to the RS366 (V.25) interface provided on the extender. This enables a local controller and its associated extender to dial one of a number of extenders, each with its individual group of HP-IB instruments, automatically under program control. The dialer accepts the required telephone number from the controller via the extender's RS366 (V.25) interface and when the call is automatically (or manually) answered, transparent HP-IB control of that group of instruments can begin immediately. This provides an economical way of occasionally accessing remote data collection stations, avoiding the expense of dedicated leased circuits. When HP-IB activity with a particular remote station is complete, the local station disconnects (goes "on-hook"), again on an addressed instruction from the controller.
AUGUST 1979 HEWLETT-PACKARD JOURNAL 29
Control Center Local HP-IB Devices 37201 A HP-IB Extender HP-IB Controller
HP-|B
37201 A HP-IB Extender HP-IB Remote HP-IB Devices Remote Site 1 Remote HP-IB Devices Remote Site 2 Remote HP-IB Devices Remote Site N
Although the extension of an HP-IB system adds a degree of hardware complication, great stress has been laid on simplicity of use and verification of correct system opera tion. The latter is most important when remote stations are inconveniently located. In particular, facilities have been provided for determining that a pair of 3720lA's and their associated data link, which usually will be under control of a telephone company, are properly cabled-up and function ing correctly. Each 37201 A has a LOSS OF REMOTE DATA LED indicator that gives immediate confidence of correct operation by extinguishing when the extender pair has been brought successfully into mutual communication. It stays off as long as packets are both received and acknowledged, but any prolonged data-link failure is reliably signalled within eight seconds. In the absence of HP-IB traffic, when packets would not otherwise be sent, the extenders exchange dummy packets to keep testing the link. This means that extinction of LOSS OF REMOTE DATA indicates correct oper ation of the link and extender pair regardless of whether other HP-IB devices are connected or operating.
System Considerations
Fig. 4. Multipoint connection using a 4-wire telephone circuit enables a controller to communicate with instruments at up to 31 remote sites, one site at a time.
Within a minute of losing recognizable data packets, the remote extender also disconnects. This automatic discon nection was felt to be essential since otherwise any failure of the dialed connection could leave the remote station "off-hook" and therefore unable to respond to further call attempts, clearly an undesirable situation for an unmanned station.
Multipoint Operation
If several distant stations must be accessed frequently, a multipoint (often called multidrop) arrangement is called for (Fig. 4). Telephone companies arrange leased telephone circuits specifically for this type of configuration, enabling all the remote modems' receive ports to be functionally connected in parallel with the local controlling modem's transmit port, and all remote transmit ports in parallel with the local receive port. All remote modems receive continu ously so that each extender is able to wait for its own address (preassigned by switch selection). A packet con taining the required address is sent from the controller-end 37201A following an addressed instruction from the con troller. This causes the 37201A that recognizes its own address to turn on its modem's carrier and begin corre sponding with the controller 37201A. Any previously ad dressed station automatically turns off. For example, switching from any other multi-point station to station 7 in the middle of an HP-IB applications program is executed very quickly and conveniently by means of the addressed instruction M7.
30 HEWLETT-PACKARD JOURNAL AUGUST 1979
Without actual physical disconnection, the pair of exten ders can effectively be isolated from the local (controller) bus by addressing an IDLE instruction to the local 37201A. This prevents communication with the remote site until a future ACTIVATE instruction occurs, leaving the local in struments to run a program on their own. At first sight, this idling of the extension functions may seem a strange feature to want, but it provides solutions to several very practical operational problems. Being transparent, the extenders do not know the physi cal location of the device for which any particular message is destined. Consequently, normal operation requires that all messages be transmitted to the opposite site. This means that all bus operations, even local ones, ordinarily can pro ceed only at a speed limited (usually) by the rate at which the serial link allows data to be transmitted. At 1200 bits/s asynchronous, for example, the effective HP-IB rate will be about 38 data bytes/second. For local transactions not in volving distant instruments, such a relatively slow speed may be inconvenient. Using the IDLE function increases the bus speed, enabling the local 37201A to complete the hand shake cycle at a rate of up to some 2400 data bytes/s (and of course watching for its own address) but otherwise taking no active part in bus operation. Judicious use of IDLE and ACTIVATE instructions can thereby reduce the effects of slow data rates. Another use of the IDLE function is in avoiding system hang-up when data-link failure occurs not an uncommon event in dialed-up connections. Data-link breakdown may result in the local 37201 A's transmit buffer rapidly reaching capacity since the data has nowhere to go, and in this event, the 37201A automatically avoids data overflow by holding up the handshake. Such a suspended handshake, of course, usually means that further normal bus operation cannot proceed, not even local transactions. To cope with such situations a feature may be preselected by the programmer to clear the transmit buffer automati-
Remote Office 1
Remote Office 2
HP-IB
HP-IB
cally upon prolonged loss of remote data, thereby enabling handshake operations to resume. Data is lost, but a data-link failure results in loss of remote control anyway, and the feature enables local operation to continue without manual intervention (given a suitable controller program). Upon such a data-link failure, the local 37201A can also request service (SRQ) from the controller to alert it of the event. Following the service request and a serial poll, the control ler's next action should be to idle the extender so that local bus operations can proceed uninhibited by the failed data link.
Monitoring the Extenders
signed for systems work, however, the 37201A goes a long way toward providing full information about its own opera tional state and that of its interfaces. Basic information is provided by front-panel LEDs, and for unattended operation similar data may be obtained from the local 3720lA's status byte by serial polling. The local 3 7201 A can be enabled to request service (SRQ) for report ing the occurrence of several events including the success or failure of an automatic dialing operation and of data-link breakdown. Further useful operational data can be obtained by addressing the local 37201A to talk, whereupon it issues four data bytes of additional information to the controller.
Implementation and Self- Test
With many of its facilities in use, the 37201 A interacts in a complex manner with a data link, modems, dialer, in struments and other 3720lA's. Keeping track of system activity could be a significant problem, particularly when the unexpected occurs at an unattended station. Being de
Needless to say, the data handling and control functions just described are undertaken by a microprocessor. In fact, along with its RAM and 7K bytes of program ROM, the microprocessor is the very heart of the 37201A and perAUGUST 1979 HEWLETT-PACKARD JOURNAL 31
OPERATING CHARACTERISTICS
HP Model 37201A HP-IB Extender
HP-IB DATA RATES' TWIN-PAIR CABLE INTERFACE: 775 data byles/s. SYNCHRONOUS MODEM INTERFACE: 744 data bytes/s at 19.2k bits/s and pro-rata at lower serial data rates. ASYNCHRONOUS MODEM INTERFACE: 38 data bytes/s at 1200 blts/s and pro-rata at lower serial data rates. Assumes continuous data byte transfer between two devices on short error-free link. SERIAL DATA RATE TWIN PAIR CABLE OPERATION: 20kbits/s fixed. ASYNCHRONOUS MODEM OPERATION: 150, 300, 600, 1200 bits/s. SYNCHRONOUS MODEM OPERATION: Up to 19.2kbits/s. TWIN PAIR CABLE INTERFACE RANGE: 1000 metres. CABLE TYPE: Twin twisted pair with separate shields (recommended type HP81201187). LONGITUDINAL ISOLATION: Provides rejection of common-mode interference. MODEM INTERFACE: Compatible with EIA RS-232C and CCITT V.24. AUTODIALER INTERFACE: Compatible with EIA RS-366 and CCITT V.25. POWER max. 100/120/220/240Vac, +10-13%; 48 to 66 Hz; 30VA max. OPERATING TEMPERATURE: 0 to +55C. DIMENSIONS: 89 mm H x 426 mm W x 356 mm D (31/2x16%x14 in.). WEIGHT: 5.7 kg (12.5 Ib). PRICE IN U.S.A.: $1840. MANUFACTURING DIVISION: HEWLETT-PACKARD LTD. South Queensferry West Lothian EH309TG Scotland
David H. Guest David Guest's early interest in amateur radio led to a B.Sc. honors degree at Heriot-Watt University, Edinburgh, Scotland. After joining HP in 1970 he continued part-time study leading to an M.Sc. degree. At HP, he contributed to the 3761 A Bit Error Detector and was project leader on the 3770A Amplitude and Delay Distortion Analyzer, earning two patents relating to techniques used in the 3770A. When family respon sibilities permit (he has a son, 1 ) David relaxes by water-color painting and ex tending his musical appreciation with his wife's professional guidance. He recently built a traditional mercury barometer not a measurement technique he expects HP to adopt.
by the microprocessor of nearly all the instrument's hardware. In addition to tests on ROM, RAM and the pro cessor itself, the HP-IB and serial interfaces are automati cally Fail for verification of correct operation. Fail ure is clearly indicated by the wrong pattern on the front panel LED indicators.
Acknowledgments
forms nearly every activity. It is surrounded by specialized parallel I/O for controlling the HP-IB, modem, and dialer interfaces, and serial I/O devices for asynchronous and syn chronous serial communication. Line coding and decoding circuits condition the serial data for transformer-coupled balanced transmission in the twin-pair cable mode, thereby providing excellent immunity to longitudinal (commonmode) noise interference. Means of verifying correct operation of a data handling device such as the 3 7201 A are most important, since there is ordinarily little the user can tell about its continuing ability to fully perform the task. This is particularly true in the event of system failure when quick identification of the failed device is needed. To this end, the 37201A has a self-test mode that causes repeated exercising and testing
Much of the hardware design and most of the micro processor firmware programming was undertaken by prin cipal contributors Peter Roubaud and Simon Murray. With much interaction, Peter specialized in the HP-IB functions and Simon in the communications. Tony Cowlin efficiently packaged the concept. Thanks are also due to David War ren, many of whose early ideas were incorporated and who groomed a high-level language compiler into a key de velopment tool. Reference
1. D.W. Ricci and P.S. Stone, "Putting Together Instrumentation Systems at Minimum Cost," Hewlett-Packard Journal, January 1975.
Hewlett-Packard Company, 1501 Page Mill Road, Palo Alto, California .94304
HEWLETT-PACKARDJOURNAL
AUGUST 1979 Volume 30 Number 8
Technical Information from the Laboratories of Hewlett-Packard Company Hewlett-Packard Company, 1501 Page Mill Road Palo Alto, California 94304 U.S.A. Hewlett-Packard Central Mailing Department Van Heuven Goedhartlaan 121 1180AM Amstelveen The Netherlands Yokogawa-Hewlett-Packard Ltd., Suginaml-Ku Tokyo 1 68 Japan
0200020810&BLACCAOO MR C A BLACKBURN JOHN HOPKINS UN I V APPLIED PHYSICS LAB JOHNS HOPKINS RD 20810 LAUREL
~\ I I A N I /^ I S~\ C" A l~*\ r^V D ^ O O To Ch!n9e yur addresser delete youf name from our mailing list please send us your old address label. Send O H A N Vjl t L/ I 'M-' L-J I" tOO . changes to Hewletpackard Journal, 1501 Page Mill Road, Palp Alto, California 94304 USA Allow 60 days