|Publication number||US7027940 B2|
|Application number||US 10/640,235|
|Publication date||Apr 11, 2006|
|Filing date||Aug 13, 2003|
|Priority date||Aug 13, 2002|
|Also published as||US20040034486, WO2004015431A2, WO2004015431A3|
|Publication number||10640235, 640235, US 7027940 B2, US 7027940B2, US-B2-7027940, US7027940 B2, US7027940B2|
|Inventors||John F. Iannuzzi|
|Original Assignee||Iannuzzi John F|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (8), Non-Patent Citations (3), Referenced by (13), Classifications (13), Legal Events (2)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application is based on and claims priority to U.S. Provisional Application No. 60/403,017, filed Aug. 13, 2002, incorporated fully herein by reference.
A swept sine wave analyzer or network analyzer is typically used to measure the frequency response or transfer function of a circuit or device under test (DUT). A spectrally pure swept sine wave stimulus is injected into the circuit or DUT. The measurement is made by monitoring two signal points at the DUT. One signal point serves as the input and the other serves as the output. The DUT response at each frequency is measured and stored. This continues for a predetermined number of steps over a predetermined frequency range. Calculations are performed on the results of this sequence of measurements to yield the frequency response or transfer function of the DUT.
Various electronics industries use analyzers such as the one described above to characterize their systems. Some example devices or systems include audio amplifiers, power supply controls, radio frequency amplifiers, motor controllers and any circuit or system where it is important to characterize frequency response.
Frequency response measurements are necessary in audio amplifiers so as to characterize their gain uniformity or flatness over all frequencies of the audio bandwidth. Power supply and motor control circuits that utilize feedback for precise regulation utilize magnitude and phase measurements to indicate the degree of control loop stability. Those involved with digital signal processing rely on frequency response measurements to yield transfer functions of the analog systems they are replicating digitally such as IR/FIR filters, hilbert transformers, integrators, differentiators, waveform generators and other systems.
Commercial analyzers are fairly expensive and, in most cases, out of the price range for many electronic designers and companies that could otherwise benefit from testing the frequency response of their systems. The high price also excludes most private contract design engineers, university laboratories, students and electronics hobbyists from being able to have access to them.
Another drawback of commercially available analyzers is that they are stand alone devices without a standard way of connection to a computer. Consequently, the transfer of information to a computer is cumbersome and may require any one of or a combination of the following:
This involves unnecessary steps for the engineer or researcher who would like the data readily available to incorporate into their documentation or data analysis applications.
The present invention instrument is a swept sine wave analysis system that provides accurate frequency response measurements over a wide bandwidth and is affordable to engineers, university laboratories, students and hobbyists. Features of the invention include:
No additional internal personal computer hardware, such as a data acquisition card, is needed, and there is no need to purchase additional data analysis or control software.
The analyzer of the present invention can be controlled via software loaded on a personal computer and displayed in control elements on the computer screen.
The present invention allows the user to set the parameters over which the test is to be performed. Frequency range is controlled by setting a minimum and a maximum value of the stimulus frequency, the amplitude of the stimulus frequency, the number of frequency increments over the test range, a linear or logarithmic frequency progression, continuous or single frequency sweep and a parameter to delay the start of the measurement, for a given time, to allow for the circuit or system to settle or come to a steady state value after a change in stimulus frequency.
A number of controls are available to begin the acquisition and, if necessary, to interact with the analyzer during the test. An ‘Enter’ control locks in the test parameters. A ‘Start’ control starts the acquisition. A ‘Stop’ control may stop the acquisition at any time. There is a ‘Continuous’ sweep mode control that allows repeated tests over the frequency range. There is a ‘Single’ sweep control that allows only one test over the frequency range. There is a progress indicator that shows the state of the test as the system steps through each frequency.
The on screen display is updated with a graphical representation of the test results at the completion of each sweep. The user has full control over the data that is to be displayed. A transfer function or frequency response is best displayed as the ratio of the output signal to the input signal (relative magnitude in decibels) vs. frequency, preferably with the magnitude scale on the left side of the graph. Additionally, the phase of the output signal minus the input signal (or relative phase) vs. frequency may be displayed as well on the same graph but with the scale on the opposite side (e.g., the right hand side) of the graph as that of the magnitude scale. Controls are provided to select phase or magnitude or both with independent scaling of each of the axes. The example test illustrated was performed on a low pass filter with a cutoff frequency (−3 db) of approximately 15 Khz.
The analyzer hardware of the present invention interfaces with a personal computer via standard communications. Among communications protocols are RS-232 or standard serial communications, Universal Serial Bus (USB) and ETHERNET. This eliminates the need for additional internal computer hardware, for instance, a data acquisition card or SCSI controller card. Software utilizes the standard personal computer hardware to control data acquisition from the external hardware and also eliminates the need to purchase additional software to control and process the data.
The acquisition hardware of the present invention is externally connected to the host computer, via a standard communications interface. It is controlled by the host application and display software. All data acquisition and pre-processing of the measurement data is performed by the acquisition hardware. An example of acquisition hardware in accordance with the present invention is illustrated in
A central aspect of the acquisition hardware is the embedded digital signal processor 20 (DSP), which can comprise, for example, an ADSP2181 DSP. It is the central communication and data processing point of the system. The DSP 20 interprets and distributes all commands from the computer 21, pre-processes the measurement data, and transmits the data to the computer. The DSP is in communication with the computer 21 as the test progresses.
A test is comprised of a set of measurement points over a corresponding set of frequency points, the number of points being determined by the user. Measurements are made for both channels A and B at each test frequency. Channel A is the signal to be measured at the input of the DUT and Channel B is the signal to be measured at the output of the DUT. Channels A and B are measured simultaneously at each test frequency, beginning at the user determined minimum test frequency, stepping through and making a measurement at each successive test frequency, then ending at the user determined maximum test frequency. Since the measurement method is identical for each test frequency, the system is best described by following the circuit through at a single test frequency.
For each measurement taken, the computer 21 sends a data packet of test information to the acquisition hardware via standard communication interface 43 as mentioned. The data packet can comprise the frequency information for the reference oscillator 2, the frequency information for the local oscillator 6, the output amplitude information for the programmable gain amplifier 4, settling time information that provides a time delay, via embedded DSP 20 software, prior to the actual measurement to allow the DUT 22 to settle after a change of frequency, and information for programming the input attenuators 10, 14. The DSP 20 interprets each piece of test information and electrically communicates that information to the appropriate circuitry.
In a preferred embodiment direct digital synthesis was used for the design of the sine wave oscillators. The technique utilizes numerically controlled oscillators to digitally produce frequency stable and spectrally pure sine waves whose frequency is scaled to a crystal controlled timebase. This technique realizes fine resolution of the oscillators to a fraction of a cycle depending on the frequency of the crystal timebase. The reference oscillator and the local oscillator can each comprise AD9580 oscillators manufactured by Analog Devices. A 125 Mhz crystal timebase provides a theoretical frequency resolution of 0.0291 Hz and a theoretical frequency range of 62.5 Mhz. The present system restricts the frequency resolution to 0.1 Hz and the range to 50 Mhz. It can also be seen that a frequency multiplier system, connected to each oscillator, could be utilized to extend the frequency range of the system to 100 Mhz or 200 Mhz or greater, thereby taking advantage of the frequency stability of the crystal oscillator.
Programming information representative of the reference frequency is sent to the reference oscillator 2 and programming information representative of the local oscillator frequency is sent to the local oscillator 6 via a data bus 42. Local oscillator 6 is programmed to produce a frequency that is 4900 Hz higher than the reference oscillator 2. 4900 Hz is a pre-determined intermediate frequency that is constant throughout the test and for the present system and is not user programmable. The local oscillator 6 tracks the reference oscillator 2 to maintain the difference of 4900 Hz throughout the entire test and provide an output signal 41.
Programming information representative of the user defined output amplitude is sent to the programmable gain amplifier (PGA) 4 via a data bus 42. The PGA 4 takes as its input the reference signal 31, and provides at it's output, the stimulus signal 32, for DUT 22 at the amplitude and frequency for which the measurement is to take place. The PGA provides the option of adjusting each stimulus frequency amplitude over the test range. This facilitates some audio testing where the amplitude of the test frequency is logarithmically decreased as the frequency increases.
Programming information representative of the user defined input attenuation is sent to the input attenuators 10, 14 via a data bus 42. Programming information representative of the user defined settling time is held within the memory of the DSP 20 and referenced to upon receiving a trigger signal from the computer.
Probe A 24 is connected to the signal at the DUT input 32 and presents the signal to be measured 34 to the channel A input attenuation 10, and probe B 23 is connected to the DUT output 33 and presents the signal to be measured 35 to the channel B input attenuation 14.
Programmable input attenuation is provided to allow attenuation of high level signals such that they do not saturate the input stages and corrupt the measurement. Software can be provided to test the level of the input signal prior to the measurement and make the appropriate attenuation adjustments to ensure a reliable measurement. The attenuators are independent of one another such that each one may be independently programmed with different attenuation values, if necessary. Oscilloscope probe compensation is necessary in the case where standard 10× scope probes are used for extended bandwidth. The scope probe compensation is designed such that it presents a very high input impedance and small capacitive load to the signal to be measured to insure an accurate measurement.
Input attenuator A output signal 10 a is presented to input amplifier 11 and input attenuator B output signal 14 a is presented to input amplifier 15. Input amplifiers 11, 15 are high frequency, high input impedance amplifiers designed such that they do not present a significant loading effect to the signals to be measured, amplify the signals to be measured, and output amplified signals 44, 45 to the following mixer stage. One example of amplifiers that may be used are Burr-Brown/Texas Instruments amplifiers, part # OPA655. It should be noted that any amplifier that possesses the above characteristics may be used by any design technique whether it is a single amplifier or a circuit comprised of many discrete parts.
Analog mixer 12, provides output signal 36 by mixing the local oscillator signal 41 with the amplified channel A signal 44. Analog mixer 16 provides output signal 37 by mixing the local oscillator signal 41 with the amplified channel B signal 45.
Mixing is similar to a down converting or multiplication operation. The output signal of each mixer has a frequency content equal to the local oscillator frequency plus the frequency of the signal to be measured (sum), and the local oscillator frequency minus the frequency of the signal to be measured (difference). In a test embodiment the inventive system was designed such that the difference frequency is constant for the entire test and is equal to the intermediate frequency of 4900 Hz. This is a result of the local oscillator tracking the reference oscillator by a frequency equal to the intermediate frequency. Each signal to be measured is down converted to the intermediate frequency of 4900 Hz. The amplitude and phase of the signal to be measured is preserved in the down conversion. A four quadrant analog mixer (e.g., an Analog Devices AD834) was chosen because pure multiplication of two sin wave signals ideally yield only the sum and difference signals. Mixing down to an intermediate frequency allows AC signal coupling between stages which minimizes errors due to DC and low frequency drift. The value of the intermediate frequency was chosen such that high quality, cost effective, 16-bit (or greater) analog-to-digital converters may be used to sample the measurement data with high dynamic range.
The output signal from the mixer along the channel A path 36 is presented to fixed bandpass filter 50 and the output signal from the mixer along the channel B path 37 is presented to fixed bandpass filter 51.
The bandpass filters are designed to remove any DC or low frequency component from the intermediate frequency and to provide high frequency filtering or anti-aliasing, prior to analog-to-digital conversion.
The output signal from the bandpass filter along the channel A path 50 a is presented to analog-to-digital converter 13 and the output signal from the bandpass filter along the channel B path 51 a is presented to analog-to-digital converter 13 a. Each Analog-to-digital converter is in communication with the DSP 20.
The analog-to-digital converters (ADC) can comprise Analog Devices, part # AD1847. A high quality, dual ADC is preferred because it possesses similar characteristics being manufactured on the same die as opposed to two separate ADCs whose characteristics, such as input offset voltage and gain error, could be significantly different although within manufacturer's specification. The present system uses a relative measurement process where minimal differences between converters is desirable. Additionally, an oversampling, or sigma-delta, ADC is preferred because signal processing is performed within the ADC that allows the use of low cost, simple filtering at the input of the ADC.
When a trigger command is transmitted from the computer 21 to the DSP 20, the system delays the acquisition of samples for a period of time equal to a user determined settling time. As mentioned, the settling time had been transmitted with the frequency and amplitude packet of information prior to the trigger command. When the settling time expires, the acquisition begins at a sample rate of 44100 Hz. Sampling theory states that the sampling frequency must be at least twice that of the maximum bandwidth of the signal to be sampled. A sampling frequency of 44100 Hz is a standard audio frequency sampling rate, and is nine times that of the 4900 Hz intermediate frequency signal. It is noted that the use of a 4900 Hz intermediate frequency and a 44100 Hz sample rate was selected for this particular implementation. Any intermediate frequency or sample rate may be used and still fall within the scope of the present invention.
Channels A and B had been previously down converted to the intermediate frequency of 4900 Hz and may be treated as complex vectors with real and imaginary components, inphase and quadrature respectively.
The above is repeated for each frequency in the test. When the test is complete, the computer performs calculations that are consistent with the method that the user has selected for display of the data on the computer screen, or for exporting the data into a format that can be used in a spreadsheet or other data analysis process. As an example calculation, the magnitude and phase of vector A may be calculated:
Likewise for vector B:
Let the transfer function of the DUT equal T.
The log magnitude of the transfer function, or the output divided by the input of the DUT, in decibels, is equal to:
The phase angle of the transfer function of the DUT is equal to:
An example of the results of such a test is shown in
At step 402, the embedded processor loads the information from it's internal memory to program the appropriate hardware, for example reference oscillator 2, local oscillator 6, PGA 4 etc., with the test parameters required for that particular frequency in the test sequence.
At step 404, the number of time samples that the ADC 13, 13 a will acquire is loaded from the num_samples counter into the variable, n.
At step 406, the system waits for a given time (set in step 402) before starting the acquisition of data to allow the DUT to recover, if necessary, from the change in reference frequency.
At step 408, the system acquires a single time sample of each channel, A and B simultaneously.
At step 410, the sample of channel A is multiplied by a sample of the sin and cosine of the digital intermediate frequency signal, and the sample of channel B is multiplied by the same sample of the sin and cosine of the digital intermediate frequency signal. This operation yields four separate results as shown.
At step 412, the four separate results of step 410 are stored in four separate sequential memory spaces.
At step 414, the program checks to see if the last sample has been taken. If YES, the program moves on to process the samples or if NO, the program moves on to step 416.
At step 416, the program decrements n proceeds back to step 408 to get the next time sample.
At step 418, the program loads n with the contents of the num_samples register to initialize the filtering process.
At step 420, the program low pass filters the data stored in each sequential memory space.
At step 422, the results of each of the four filtering processes, A inphase, A quadrature, B inphase and B quadrature are stored in memory.
At step 424, the four numerical values, A inphase, A quadrature, B inphase and B quadrature are transmitted back to the computer 21 and saved as measurement values.
At step 426, the programs checks to see if the last frequency in the test sequence has been reached. If NO, the program returns to step 402, if YES the program proceeds to step 428.
At step 428, the test sequence ends and the acquisition hardware returns to an idle mode awaiting further instructions from the PC.
The above-described steps can be implemented using standard well-known programming techniques. The novelty of the above-described embodiment lies not in the specific programming techniques but in the use of the steps described to achieve the described results. Software programming code which embodies the present invention is typically stored in permanent storage of some type, such as permanent storage of a workstation located in the sine wave analysis system itself. In a client/server environment, such software programming code may be stored with storage associated with a server. The software programming code may be embodied on any of a variety of known media for use with a data processing system, such as a diskette, or hard drive, or CD-ROM. The code may be distributed on such media, or may be distributed to users from the memory or storage of one computer system over a network of some type to other computer systems for use by users of such other systems. The techniques and methods for embodying software program code on physical media and/or distributing software code via networks are well known and will not be further discussed herein.
It will be understood that each element of the illustrations, and combinations of elements in the illustrations, can be implemented by general and/or special purpose hardware-based systems that perform the specified functions or steps, or by combinations of general and/or special-purpose hardware and computer instructions.
These program instructions may be provided to a processor to produce a machine, such that the instructions that execute on the processor create means for implementing the functions specified in the illustrations. The computer program instructions may be executed by a processor to cause a series of operational steps to be performed by the processor to produce a computer-implemented process such that the instructions that execute on the processor provide steps for implementing the functions specified in the illustrations. Accordingly, the figures support combinations of means for performing the specified functions, combinations of steps for performing the specified functions, and program instruction means for performing the specified functions.
While there has been described herein the principles of the invention, it is to be understood by those skilled in the art that this description is made only by way of example and not as a limitation to the scope of the invention. Accordingly, it is intended by the appended claims, to cover all modifications of the invention which fall within the true spirit and scope of the invention.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US4630217||Jul 26, 1984||Dec 16, 1986||Hewlett-Packard Company||Signal synthesizer system|
|US4648060||Jul 30, 1984||Mar 3, 1987||Hewlett-Packard Company||Dual channel frequency synthesizer system|
|US5162723 *||Feb 11, 1991||Nov 10, 1992||Hewlett-Packard Company||Sampling signal analyzer|
|US5673272||Feb 13, 1996||Sep 30, 1997||Teradyne, Inc.||Apparatus and method for performing digital signal processing in an electronic circuit tester|
|US5768155 *||Dec 6, 1996||Jun 16, 1998||Teradyne, Inc.||Fast undersampling|
|US6236371||Jul 26, 1999||May 22, 2001||Harris Corporation||System and method for testing antenna frequency response|
|US6329805||Feb 29, 2000||Dec 11, 2001||Roger B. Bracht||Method for network analyzation and apparatus|
|US20010007151 *||Nov 12, 1999||Jul 5, 2001||Pieter Vorenkamp||Fully integrated tuner architecture|
|1||International Search Report, dated Mar. 31, 2004, issued in corresponding PCT Application No. PCT/US03/25485.|
|2||*||Spencer et al., 'A Spectrum Analyzer Laboratory Project', Aug. 1993, IEEE Article, vol. 36, No. 3, pp. 301-306.|
|3||*||Whitaker, 'Spectrum Analysis: Introduction, Principles of Operation- Applications-Spurious Harmonic Distortion', Jan. 2002, CRC Press LLC, pp. 1-11.|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US7236901 *||May 14, 2004||Jun 26, 2007||Bae Systems Information And Electronic Systems Integration Inc.||Digital broadband frequency measurement|
|US8461821 *||May 20, 2010||Jun 11, 2013||Seiko Epson Corporation||Frequency measuring apparatus|
|US8508213||May 18, 2010||Aug 13, 2013||Seiko Epson Corporation||Frequency measurement device|
|US8593131||Sep 24, 2010||Nov 26, 2013||Seiko Epson Corporation||Signal generation circuit, frequency measurement device including the signal generation circuit, and signal generation method|
|US8643440||Jul 13, 2010||Feb 4, 2014||Seiko Epson Corporation||Electric circuit, sensor system equipped with the electric circuit, and sensor device equipped with the electric circuit|
|US8664933||May 20, 2010||Mar 4, 2014||Seiko Epson Corporation||Frequency measuring apparatus|
|US8718961||Oct 1, 2010||May 6, 2014||Seiko Epson Corporation||Frequency measurement method, frequency measurement device and apparatus equipped with frequency measurement device|
|US9026403||Aug 17, 2011||May 5, 2015||Seiko Epson Corporation||Frequency measurement device and electronic device|
|US20050256657 *||May 14, 2004||Nov 17, 2005||Huggett James M||Digital broadband frequency measurement|
|US20090125132 *||Aug 26, 2005||May 14, 2009||Ichiro Kawashima||Sound Reproducer|
|US20100295535 *||May 18, 2010||Nov 25, 2010||Seiko Epson Corporation||Frequency measurement device|
|US20100295536 *||May 20, 2010||Nov 25, 2010||Seiko Epson Corporation||Frequency measuring apparatus|
|US20100295537 *||May 20, 2010||Nov 25, 2010||Seiko Epson Corporation||Frequency measuring apparatus|
|U.S. Classification||702/66, 73/659, 324/312, 342/192, 324/76.19, 714/750, 702/77, 702/124, 455/295|
|International Classification||G06F19/00, G01R27/28|
|Oct 13, 2009||FPAY||Fee payment|
Year of fee payment: 4
|Oct 7, 2013||FPAY||Fee payment|
Year of fee payment: 8