CN114740336B - Amplifier test circuit and test method - Google Patents
Amplifier test circuit and test method Download PDFInfo
- Publication number
- CN114740336B CN114740336B CN202210529007.7A CN202210529007A CN114740336B CN 114740336 B CN114740336 B CN 114740336B CN 202210529007 A CN202210529007 A CN 202210529007A CN 114740336 B CN114740336 B CN 114740336B
- Authority
- CN
- China
- Prior art keywords
- filter
- amplifier
- measuring device
- paths
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 294
- 238000010998 test method Methods 0.000 title abstract description 9
- 238000012545 processing Methods 0.000 claims abstract description 33
- 238000000034 method Methods 0.000 claims description 47
- 238000001228 spectrum Methods 0.000 claims description 46
- 238000012546 transfer Methods 0.000 claims description 27
- 238000004364 calculation method Methods 0.000 claims description 19
- 238000001914 filtration Methods 0.000 claims description 16
- 230000014509 gene expression Effects 0.000 claims description 16
- 230000003595 spectral effect Effects 0.000 claims description 10
- 238000004422 calculation algorithm Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 20
- 238000005259 measurement Methods 0.000 description 13
- 238000004088 simulation Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 9
- 238000002360 preparation method Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 230000002542 deteriorative effect Effects 0.000 description 2
- 235000019800 disodium phosphate Nutrition 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2851—Testing of integrated circuits [IC]
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/16—Spectrum analysis; Fourier analysis
- G01R23/165—Spectrum analysis; Fourier analysis using filters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2851—Testing of integrated circuits [IC]
- G01R31/2855—Environmental, reliability or burn-in testing
- G01R31/286—External aspects, e.g. related to chambers, contacting devices or handlers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/36—Circuit design at the analogue level
- G06F30/367—Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Environmental & Geological Engineering (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
- Amplifiers (AREA)
Abstract
本发明公开了一种放大器测试电路及测试方法,涉及集成电路测试领域,包括信号源、多路滤波器组A、被测放大器、多路滤波器组B、测量器件和数据处理模块,其中信号源的输出端连接多路滤波器组A的输入端,多路滤波器组A的输出端连接被测放大器的输入端,被测放大器的输出端连接多路滤波器组B的输入端,多路滤波器组B的输出端连接测量器件的输入端,测量器件的输出端连接数据处理模块的输入端;所述多路滤波器组A和多路滤波器组B均至少包括两个滤波通路,所述滤波通路可切换使用;本发明能够降低放大器测试对信号源和/或测量器件的精度要求,减少放大器测试对高精度信号源和高精度测量器件的依赖,具有测试精度高、低成本等优点。
The invention discloses an amplifier test circuit and a test method, which relate to the field of integrated circuit testing, and comprise a signal source, a multi-channel filter group A, an amplifier to be tested, a multi-channel filter group B, a measuring device and a data processing module, wherein the output end of the signal source is connected to the input end of the multi-channel filter group A, the output end of the multi-channel filter group A is connected to the input end of the amplifier to be tested, the output end of the amplifier to be tested is connected to the input end of the multi-channel filter group B, the output end of the multi-channel filter group B is connected to the input end of the measuring device, and the output end of the measuring device is connected to the input end of the data processing module; the multi-channel filter group A and the multi-channel filter group B each comprise at least two filter paths, and the filter paths can be switched for use; the invention can reduce the accuracy requirements of the amplifier test on the signal source and/or the measuring device, reduce the dependence of the amplifier test on the high-precision signal source and the high-precision measuring device, and has the advantages of high test accuracy, low cost, and the like.
Description
技术领域Technical Field
本发明涉及集成电路测试技术领域,特别涉及一种放大器测试电路和测试方法,用于降低放大器测试对信号源和测量器件的精度要求。The present invention relates to the technical field of integrated circuit testing, and in particular to an amplifier testing circuit and a testing method, which are used to reduce the accuracy requirements of amplifier testing on signal sources and measuring devices.
背景技术Background technique
放大器是世界上体量最大的模拟集成电路模块,也几乎是所有片上系统(SoCs)的关键组成部分。低失真放大器的频谱性能测试至关重要,且极具有挑战性。为确保获得精确的频谱测试结果,IEEE标准及工业界测试技术要求,信号源和测量器件的总失真必须比被测电路至少低十倍或20dB,否则,信号源和测量器件的非线性误差将严重恶化被测电路的输出。如今,商用的低失真放大器的总谐波失真(total harmonic distortion,THD)已低达-120dB,甚至更低。为测试低失真放大器的频谱性能,信号源提供的激励信号的失真度应至少为-140dB,采集被测放大器输出信号的测试仪器的线性度应至少为24位。当前大部分性能先进的信号发生器的THD值也只是稍低于-90dB,即使采用价格昂贵的高品质带通滤波器对其进行滤波以后,所得的信号的总谐波失真也只是在-120dB~-130dB之间。对于测量器件,以模数转换器(analog-to-digital converter,ADC)为例,高精度ADC通常是基于Σ-Δ调制技术,此类ADC的转换速率非常慢,以至于无法满足当今高精度放大器频谱测试的速度要求。对片外测试环境而言,如量产测试、特性测试等,要获得总谐波失真低达-140dB的超低失真的输入信号和超高精度的测量器件是十分困难的。对内建自测试而言,这一要求根本无法实现。目前国内外学术界和工业界在应对放大器测试中高精度信号源和高精度测量器件的挑战方面进行了大量的研究,尚未见有切实可行的方法报道。因此,低失真放大器频谱测试的难题亟需解决。Amplifiers are the largest analog integrated circuit modules in the world and are also key components of almost all systems on chips (SoCs). Testing the spectrum performance of low-distortion amplifiers is critical and extremely challenging. To ensure accurate spectrum test results, IEEE standards and industry test techniques require that the total distortion of the signal source and measurement device must be at least ten times or 20 dB lower than that of the circuit under test. Otherwise, the nonlinear errors of the signal source and measurement device will seriously deteriorate the output of the circuit under test. Today, the total harmonic distortion (THD) of commercial low-distortion amplifiers has been as low as -120 dB or even lower. To test the spectrum performance of low-distortion amplifiers, the distortion of the excitation signal provided by the signal source should be at least -140 dB, and the linearity of the test instrument used to collect the output signal of the amplifier under test should be at least 24 bits. The THD value of most current advanced signal generators is only slightly lower than -90 dB. Even after filtering with expensive high-quality bandpass filters, the total harmonic distortion of the resulting signal is only between -120 dB and -130 dB. For measuring devices, taking analog-to-digital converters (ADCs) as an example, high-precision ADCs are usually based on Σ-Δ modulation technology. The conversion rate of such ADCs is so slow that it cannot meet the speed requirements of today's high-precision amplifier spectrum testing. For off-chip test environments, such as mass production testing and characteristic testing, it is very difficult to obtain ultra-low distortion input signals with a total harmonic distortion as low as -140dB and ultra-high-precision measuring devices. For built-in self-test, this requirement is simply impossible to achieve. At present, domestic and foreign academic and industrial circles have conducted a lot of research on the challenges of high-precision signal sources and high-precision measuring devices in amplifier testing, but no practical methods have been reported. Therefore, the problem of low-distortion amplifier spectrum testing needs to be solved urgently.
发明内容Summary of the invention
为了解决现有技术中存在的问题,本发明提供一种放大器测试电路及测试方法,以使精度相对较低的信号源与测量器件能够应用于低失真放大器的频谱测试。In order to solve the problems existing in the prior art, the present invention provides an amplifier test circuit and a test method, so that a signal source and a measuring device with relatively low precision can be applied to the spectrum test of a low-distortion amplifier.
为实现上述目的,本发明提供如下技术方案:一种放大器测试电路,包括信号源、被测放大器、测量器件和数据处理模块,以及信号源和被测放大器之间连接的多路滤波器组A和/或被测放大器和测量器件之间连接的多路滤波器组B,所述多路滤波器组A、多路滤波器组B均至少包括两个滤波通路,所述滤波通路可切换使用;To achieve the above object, the present invention provides the following technical solution: an amplifier test circuit, comprising a signal source, an amplifier under test, a measuring device and a data processing module, and a multi-channel filter group A connected between the signal source and the amplifier under test and/or a multi-channel filter group B connected between the amplifier under test and the measuring device, wherein the multi-channel filter group A and the multi-channel filter group B each comprise at least two filter paths, and the filter paths can be switched for use;
当所述放大器测试电路仅包含多路滤波器组A时,采用低精度信号源和高精度测量器件;When the amplifier test circuit only includes the multi-channel filter group A, a low-precision signal source and a high-precision measurement device are used;
当所述放大器测试电路仅包含多路滤波器组B时,采用高精度信号源和低精度测量器件;When the amplifier test circuit only includes the multi-channel filter group B, a high-precision signal source and a low-precision measurement device are used;
当所述放大器测试电路同时包含多路滤波器组A和多路滤波器组B时,采用低精度信号源和低精度测量器件。When the amplifier test circuit includes both the multi-channel filter group A and the multi-channel filter group B, a low-precision signal source and a low-precision measurement device are used.
进一步的,所述多路滤波器组A、多路滤波器组B为相同或不同的电路结构,均满足以下三个要求:(1)多路滤波器组的线性度不低于被测放大器的线性度;(2)经同组滤波器组的不同滤波通路滤波后的信号的基波幅值相等;(3)同组滤波器组的不同滤波通路对相同频率的信号具有不同的滤波特性。Furthermore, the multi-channel filter group A and the multi-channel filter group B have the same or different circuit structures and both meet the following three requirements: (1) the linearity of the multi-channel filter group is not lower than the linearity of the amplifier under test; (2) the fundamental amplitudes of the signals filtered by different filtering paths of the same filter group are equal; and (3) different filtering paths of the same filter group have different filtering characteristics for signals of the same frequency.
进一步的,所述多路滤波器组A、多路滤波器组B均包括若干个滤波器和开关,所述滤波器满足两个条件:(1)滤波器的传递函数已知;(2)滤波器具有改变输出信号幅值和/或相位的功能;所述开关为多路选择器或若干个开关,所述开关的线性度不低于被测放大器的线性度。Furthermore, the multi-channel filter group A and the multi-channel filter group B each include a plurality of filters and switches, and the filters meet two conditions: (1) the transfer function of the filter is known; (2) the filter has the function of changing the amplitude and/or phase of the output signal; and the switch is a multiplexer or a plurality of switches, and the linearity of the switch is not lower than the linearity of the amplifier under test.
进一步的,所述信号源为能够提供正弦信号的电路、仪器或装置,所述信号源的总谐波失真至多比IEEE标准规定的精度要求大80dB;所述测量器件为具有将模拟信号转换为数字信号的功能的电路、仪器或装置,所述测量器件的精度至多比IEEE标准规定的精度要求低8位。Furthermore, the signal source is a circuit, instrument or device capable of providing a sinusoidal signal, and the total harmonic distortion of the signal source is at most 80 dB greater than the accuracy requirement specified in the IEEE standard; the measuring device is a circuit, instrument or device having the function of converting an analog signal into a digital signal, and the accuracy of the measuring device is at most 8 bits lower than the accuracy requirement specified in the IEEE standard.
进一步的,所述数据处理模块为具备执行算法、存储数据的能力的计算机、FPGA或DSP。Furthermore, the data processing module is a computer, FPGA or DSP capable of executing algorithms and storing data.
本发明还提供一种放大器测试方法,对上述放大器测试电路进行测试,具体步骤如下:The present invention also provides an amplifier testing method, which tests the above amplifier testing circuit, and the specific steps are as follows:
S1当放大器测试电路中同时具有多路滤波器组A和多路滤波器组B时,具体步骤为:S1 When the amplifier test circuit has both multi-channel filter group A and multi-channel filter group B, the specific steps are:
S1.1多路滤波器组A包含n个滤波通路,多路滤波器组B包含s个滤波通路,选择多路滤波器组A的n个滤波通路中的一个滤波通路和多路滤波器组B中含s个滤波通路的一个滤波通路,将两个滤波通路与信号源、被测放大器和测量器件连成一组放大器测试电路,记录被选中的滤波通路;S1.1 Multi-channel filter group A includes n filter paths, and multi-channel filter group B includes s filter paths. Select one filter path among the n filter paths of multi-channel filter group A and one filter path among the s filter paths of multi-channel filter group B, connect the two filter paths with a signal source, an amplifier under test, and a measuring device to form an amplifier test circuit, and record the selected filter path;
S1.2信号源产生一组输入信号,经多路滤波器组A滤波后进入被测放大器,激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波后,由测量器件将模拟信号转换为数字信号,即为该组滤波通路的测试数据;S1.2 The signal source generates a set of input signals, which are filtered by the multi-channel filter group A and then enter the amplifier under test to stimulate the amplifier under test. The output signal of the amplifier under test is filtered by the multi-channel filter group B, and the measuring device converts the analog signal into a digital signal, which is the test data of this group of filtering paths;
S1.3改变多路滤波器组A和/或多路滤波器组B中的滤波通路,形成另一组放大器测试电路,记录被选中的滤波通路;S1.3 changing the filter path in multi-channel filter group A and/or multi-channel filter group B to form another set of amplifier test circuits, and recording the selected filter path;
S1.4使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复步骤S1.2和S1.3,采集至少3组,至多n×s组的不同滤波通路的测试数据;S1.4 Use a signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat steps S1.2 and S1.3, and collect at least 3 groups and at most n×s groups of test data of different filter paths;
S1.5数据处理模块接收测量器件输出的测试数据并对测试数据进行处理,得到与被测放大器的谐波有关的频谱参数;S1.5 data processing module receives the test data output by the measuring device and processes the test data to obtain the spectrum parameters related to the harmonics of the amplifier under test;
S2当放大器测试电路中仅具有多路滤波器组A时,具体步骤为:S2 When the amplifier test circuit only has the multi-channel filter group A, the specific steps are:
S2.1多路滤波器组A包含n个滤波通路,选择多路滤波器组A的n个滤波通路中的一个滤波通路,将滤波通路与信号源、被测放大器和测量器件连成一组放大器测试电路;S2.1 The multi-channel filter group A includes n filter paths, one of the n filter paths of the multi-channel filter group A is selected, and the filter path is connected with a signal source, an amplifier under test, and a measuring device to form an amplifier test circuit;
S2.2信号源产生一组输入信号,经多路滤波器组A滤波后进入被测放大器,激励被测放大器,被测放大器的输出信号由测量器件将模拟信号转换为数字信号,即为该组滤波通路的测试数据;S2.2 The signal source generates a set of input signals, which are filtered by the multi-channel filter group A and then enter the amplifier under test to stimulate the amplifier under test. The output signal of the amplifier under test is converted into a digital signal by the measuring device, which is the test data of the group of filtering paths;
S2.3改变多路滤波器组A的滤波通路,形成另一组放大器测试电路,记录被选中的滤波通路;S2.3 changing the filter path of the multi-channel filter group A to form another group of amplifier test circuits, and recording the selected filter path;
S2.4使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复步骤S2.1和S2.3,采集至少2组不同滤波通路的测试数据;S2.4 using a signal source to generate a signal having the same amplitude, frequency and initial phase as the first set of input signals, repeating steps S2.1 and S2.3, and collecting at least two sets of test data of different filter paths;
S3当放大器测试电路中具有多路滤波器组B时,具体步骤为:S3 When the amplifier test circuit has a multi-channel filter group B, the specific steps are:
S3.1多路滤波器组B包含s个滤波通路,选择多路滤波器组B中含s个滤波通路中的一个滤波通路,将滤波通路与信号源、被测放大器和测量器件连成一组放大器测试电路;S3.1 A multi-channel filter group B includes s filter paths, one of the s filter paths in the multi-channel filter group B is selected, and the filter path is connected with a signal source, an amplifier under test, and a measuring device to form an amplifier test circuit;
S3.2信号源产生一组输入信号,激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波后,由测量器件将模拟信号转换为数字信号,即为该组滤波通路的测试数据;S3.2 The signal source generates a set of input signals to stimulate the amplifier under test. The output signal of the amplifier under test is filtered by the multi-channel filter group B, and the measuring device converts the analog signal into a digital signal, which is the test data of the group of filter paths;
S3.3改变经多路滤波器组B的滤波通路,形成另一组放大器测试电路,记录被选中的滤波通路;S3.3 changing the filter path through the multi-path filter group B to form another set of amplifier test circuits, and recording the selected filter path;
S3.4使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复步骤S3.2和S3.3,采集至少2组不同滤波通路的测试数据。S3.4 Use a signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat steps S3.2 and S3.3, and collect test data of at least 2 groups of different filter paths.
进一步的,步骤S1.3、S2.3和S3.3中,多路滤波器组A、多路滤波器组B的滤波通路均至少改变1次。Furthermore, in steps S1.3, S2.3 and S3.3, the filtering paths of the multi-channel filter group A and the multi-channel filter group B are changed at least once.
进一步的,步骤S1中,当多路滤波器组A和多路滤波器组B分别包含两个滤波通路时,被测放大器的谐波计算式有四种表示形式,任意选择一种表达形式,均能计算出被测放大器的谐波信息,所述四种表达式分别为:Further, in step S1, when the multi-channel filter group A and the multi-channel filter group B respectively include two filter paths, the harmonic calculation formula of the amplifier under test has four representation forms. Any one of the expression forms can be selected to calculate the harmonic information of the amplifier under test. The four expressions are:
式中,huk为被测放大器第k次谐波的谱线;H1和H2分别为多路滤波器组A包含的滤波器1和滤波器2的传递函数,H3和H4分别为多路滤波器组B包含的滤波器3和滤波器4的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k、hm2k、hm3k和hm4k分别为测试数据m1、m2、m3和m4的第k次谐波的谱线;m1表示当选择滤波器1和滤波器3连成通路时测量器件采集的输出数据;m2表示当选择滤波器1和滤波器4连成通路时测量器件采集的输出数据;m3表示当选择滤波器2和滤波器3连成通路时所述测量器件采集的输出数据;m4表示当选择滤波器2和滤波器4连成通路时测量器件采集的输出数据。In the formula, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-way filter group A, respectively, and H 3 and H 4 are the transfer functions of filter 3 and filter 4 included in the multi-way filter group B, respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fin is the frequency of the input signal; h m1k , h m2k , h m3k and h m4k are the spectrum lines of the kth harmonic of the test data m 1 , m 2 , m 3 and m 4 , respectively; m 1 represents the output data collected by the measuring device when filter 1 and filter 3 are selected to be connected into a channel; m 2 represents the output data collected by the measuring device when filter 1 and filter 4 are selected to be connected into a channel; m 3 represents the output data collected by the measuring device when filter 2 and filter 3 are selected to be connected into a channel; m 4 represents the output data collected by the measuring device when filter 2 and filter 4 are selected to be connected into a channel.
进一步的,步骤S2中,多路滤波器组A包含两个滤波通路时,被测放大器的谐波计算式有以下两种表示形式,任意选择一种表达形式,均能计算出被测放大器的谐波信息,所述两种表达式分别为:Further, in step S2, when the multi-channel filter group A includes two filter paths, the harmonic calculation formula of the amplifier under test has the following two expressions. Any one of the expressions can be selected to calculate the harmonic information of the amplifier under test. The two expressions are respectively:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据。In the formula, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-path filter group respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fi n is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected into a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected into a path.
进一步的,步骤S3中,当多滤波器组B包含两个滤波通路时,被测放大器的谐波计算式有以下表示形式:Furthermore, in step S3, when the multi-filter bank B includes two filter paths, the harmonic calculation formula of the amplifier under test has the following expression:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据。In the formula, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-path filter group respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fi n is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected into a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected into a path.
与现有技术相比,本发明至少具有以下有益效果:Compared with the prior art, the present invention has at least the following beneficial effects:
本发明提出的一种放大器测试电路和测试方法,摒弃了传统测试方法中只有采用精度满足IEEE标准精度要求的高精度信号源和高精度测量器件才能对放大器进行测试的思路,转而采用精度低于IEEE标准精度要求的低精度信号源和/或低精度测量器件对被测放大器进行测试,与传统测试方法相比,当使用两组多路滤波器组时,本发明可以同时降低信号源和测量器件的精度要求,信号源的总谐波失真可提高至多约60dB,测量器件的精度可降低至多约6位;当仅使用一组多路滤波器组时,本发明可以单独降低信号源或测量器件的精度要求,且降低精度要求的幅度更大,信号源的总谐波失真可提高至多约80dB,测量器件的精度可降低至多约8位。因此,本发明可大幅降低放大器测试的测试成本以及对精密仪器的依赖。The amplifier test circuit and test method proposed by the present invention abandon the idea that only high-precision signal sources and high-precision measuring devices with accuracy meeting the IEEE standard accuracy requirements can test the amplifier in the traditional test method, and instead use low-precision signal sources and/or low-precision measuring devices with accuracy lower than the IEEE standard accuracy requirements to test the amplifier under test. Compared with the traditional test method, when two groups of multi-channel filter groups are used, the present invention can simultaneously reduce the accuracy requirements of the signal source and the measuring device, the total harmonic distortion of the signal source can be increased by up to about 60dB, and the accuracy of the measuring device can be reduced by up to about 6 bits; when only one group of multi-channel filter groups is used, the present invention can reduce the accuracy requirements of the signal source or the measuring device separately, and the amplitude of reducing the accuracy requirements is greater, the total harmonic distortion of the signal source can be increased by up to about 80dB, and the accuracy of the measuring device can be reduced by up to about 8 bits. Therefore, the present invention can greatly reduce the test cost of amplifier testing and the dependence on precision instruments.
由于本发明采用的低精度信号源和低精度测量器件均包含非线性误差,若仍采用传统的测试方法对放大器进行测试,信号源和测量器件的非线性误差会严重恶化被测放大器的输出信号,导致无法获得被测放大器的频谱性能参数。本发明通过在信号源和/或被测放大器后连接多路滤波器组,利用滤波后的信号的频谱相关性,结合本发明提供的算法,可从被信号源和/或测量器件恶化的输出信号中提取出被测放大器的谐波信息,进而计算出被测放大器的频谱性能参数;由于所使用的滤波电路结构简单、易实现,所提出的算法运算效率高、参数估计准确,因此,与传统方法相比,本发明仅额外增加少量的硬件开销和算力,就能达到大幅降低放大器测试对信号源和/或测量器件的精度要求的目的。Since the low-precision signal source and low-precision measuring device used in the present invention both contain nonlinear errors, if the traditional test method is still used to test the amplifier, the nonlinear errors of the signal source and the measuring device will seriously deteriorate the output signal of the amplifier under test, resulting in the inability to obtain the spectrum performance parameters of the amplifier under test. The present invention connects a multi-channel filter group after the signal source and/or the amplifier under test, utilizes the spectrum correlation of the filtered signal, and combines the algorithm provided by the present invention to extract the harmonic information of the amplifier under test from the output signal deteriorated by the signal source and/or the measuring device, and then calculates the spectrum performance parameters of the amplifier under test; since the filter circuit used has a simple structure and is easy to implement, the proposed algorithm has high computational efficiency and accurate parameter estimation, therefore, compared with the traditional method, the present invention only adds a small amount of additional hardware overhead and computing power, and can achieve the purpose of significantly reducing the accuracy requirements of the amplifier test on the signal source and/or the measuring device.
进一步的,由于本发明具备降低信号源和/或测量器件精度要求的能力,因此,本发明不仅可以显著降低测试成本,还可以解决现有测试仪器无法对超低失真放大器进行测试的难题,还能为内建自测试和片上系统测试提供切实可行的解决方案。Furthermore, since the present invention has the ability to reduce the accuracy requirements of the signal source and/or the measuring device, the present invention can not only significantly reduce the testing cost, but also solve the problem that the existing test instruments cannot test the ultra-low distortion amplifier, and can also provide a practical solution for built-in self-test and on-chip system testing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明提出的一种采用低精度信号源和低精度ADC测试放大器的方法的示意图;FIG1 is a schematic diagram of a method for testing an amplifier using a low-precision signal source and a low-precision ADC, as proposed by the present invention;
图2是本发明提出的一种采用低精度信号源测试放大器的方法的示意图;FIG2 is a schematic diagram of a method for testing an amplifier using a low-precision signal source proposed by the present invention;
图3是本发明提出的一种采用低精度ADC测试放大器的方法的示意图;FIG3 is a schematic diagram of a method for testing an amplifier using a low-precision ADC proposed by the present invention;
图4是根据本发明实施例1的、采用低精度信号源和低精度ADC测试放大器的电路示意图;4 is a schematic diagram of a circuit using a low-precision signal source and a low-precision ADC test amplifier according to Embodiment 1 of the present invention;
图5是根据本发明实施例2的、采用低精度信号源测试放大器的电路示意图;5 is a schematic diagram of a circuit for testing an amplifier using a low-precision signal source according to Embodiment 2 of the present invention;
图6是根据本发明实施例3的、采用低精度测量器件测试放大器的电路示意图;6 is a schematic diagram of a circuit for testing an amplifier using a low-precision measurement device according to Embodiment 3 of the present invention;
图7是根据实施例1提供的电路和方法、采用THD值为-79.76dB的信号源和THD值为-118.13dB的测量器件测试THD值为-121.42dB的放大器得到的仿真结果图;7 is a diagram of simulation results obtained by testing an amplifier with a THD value of -121.42dB using a signal source with a THD value of -79.76dB and a measuring device with a THD value of -118.13dB according to the circuit and method provided in Example 1;
图8是根据实施例1提供的电路和方法、在500次仿真中随机采用低精度信号源和低精度测量器件对低失真放大器进行测试得到的仿真结果图。FIG8 is a diagram of simulation results obtained by testing a low-distortion amplifier using a random low-precision signal source and a low-precision measurement device in 500 simulations according to the circuit and method provided in Example 1.
图9是实施例2提供的电路和方法、采用THD值为-67.72dB的信号源测试THD值为-118.08dB的放大器得到的仿真结果图;9 is a diagram of simulation results obtained by testing an amplifier with a THD value of -118.08dB using a signal source with a THD value of -67.72dB provided by the circuit and method of Example 2;
图10是实施例2提供的电路和方法、采用精度为14位的测量器件测试THD值为-119.70dB的放大器得到的仿真结果图。FIG10 is a diagram showing simulation results of the circuit and method provided in Example 2, using a measuring device with a 14-bit accuracy to test an amplifier with a THD value of -119.70 dB.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的实施例进行详细地阐述。然而,本领域的普通技术人员可以理解,在本发明的实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下实施例的种种变化和修改,也可以实现本申请各项权利要求所要求保护的技术方案。In order to make the purpose, technical scheme and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are provided in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical schemes claimed for protection by the claims of the present application can be implemented.
第一方面,本发明提供了一种放大器测试电路,如图1所示,放大器测试电路包括:信号源、多路滤波器组A、被测放大器、多路滤波器组B、测量器件和数据处理模块,其中信号源的输出端连接多路滤波器组A的输入端,多路滤波器组A的输出端连接被测放大器的输入端,被测放大器的输出端连接多路滤波器组B的输入端,多路滤波器组B的输出端连接测量器件的输入端,测量器件的输出端连接数据处理模块的输入端,其中采用低精度信号源和低精度测量器件。In a first aspect, the present invention provides an amplifier test circuit, as shown in FIG1 , the amplifier test circuit comprises: a signal source, a multi-channel filter group A, an amplifier under test, a multi-channel filter group B, a measuring device and a data processing module, wherein the output end of the signal source is connected to the input end of the multi-channel filter group A, the output end of the multi-channel filter group A is connected to the input end of the amplifier under test, the output end of the amplifier under test is connected to the input end of the multi-channel filter group B, the output end of the multi-channel filter group B is connected to the input end of the measuring device, the output end of the measuring device is connected to the input end of the data processing module, wherein a low-precision signal source and a low-precision measuring device are used.
优选的,信号源用于产生放大器测试所需的输入信号,信号源包括但不限于数模转换器(digital-to-analog converter,DAC)、商用信号源、函数发生器等;凡是能够提供正弦信号的电路、仪器或装置等,均可视为信号源。Preferably, the signal source is used to generate the input signal required for the amplifier test, and the signal source includes but is not limited to a digital-to-analog converter (DAC), a commercial signal source, a function generator, etc.; any circuit, instrument or device that can provide a sinusoidal signal can be regarded as a signal source.
优选的,本发明采用的信号源无需满足IEEE标准规定的比被测电路的精度至少高3到4位的要求,所述信号源的精度可以比IEEE标准的精度要求低,以THD值为例,所述信号源的THD值可以比IEEE标准的精度要求至多大约60dB。Preferably, the signal source used in the present invention does not need to meet the requirement of at least 3 to 4 bits higher than the accuracy of the circuit under test as stipulated in the IEEE standard. The accuracy of the signal source can be lower than the accuracy requirement of the IEEE standard. Taking the THD value as an example, the THD value of the signal source can be at most about 60dB higher than the accuracy requirement of the IEEE standard.
优选的,多路滤波器组A和多路滤波器组B均由若干个滤波器和开关构成,用于分别对信号源的输出信号和被测放大器的输出信号进行滤波处理,以产生多组频谱相关的输出信号;Preferably, the multi-channel filter group A and the multi-channel filter group B are both composed of a plurality of filters and switches, and are used to filter the output signal of the signal source and the output signal of the amplifier under test respectively, so as to generate a plurality of groups of spectrally related output signals;
输出信号的频谱相关性是指滤波后的输出信号可以通过滤波器的传递函数联系起来,从而在后续的数据处理中,可以利用输出信号间的频谱相关性,计算出被测放大器的频谱参数,例如THD、SFDR等。The spectral correlation of the output signal means that the filtered output signals can be linked through the transfer function of the filter, so that in the subsequent data processing, the spectral correlation between the output signals can be used to calculate the spectral parameters of the amplifier under test, such as THD, SFDR, etc.
优选的,滤波器需满足以下两个条件:(1)滤波器的传递函数已知;(2)滤波器具有改变输出信号幅值或相位的功能;滤波器包括但不限于RC低通滤波器、电阻衰减器等,凡是具有改变信号的幅值、频率和/或相位特征的功能的电路,均可作为滤波器;Preferably, the filter must meet the following two conditions: (1) the transfer function of the filter is known; (2) the filter has the function of changing the amplitude or phase of the output signal; the filter includes but is not limited to RC low-pass filters, resistor attenuators, etc. Any circuit that has the function of changing the amplitude, frequency and/or phase characteristics of a signal can be used as a filter;
特别的,直接通路也可视为滤波器。In particular, the direct path can also be viewed as a filter.
优选的,开关用于改变上述多路滤波器组A和多路滤波器组B的滤波通路,开关可以是多路选择器,也可以是若干个开关,开关的线性度应不低于被测放大器的线性度,以避免引入额外的失真成分。Preferably, the switch is used to change the filtering path of the above-mentioned multi-channel filter group A and multi-channel filter group B. The switch can be a multiplexer or a plurality of switches. The linearity of the switch should not be lower than the linearity of the amplifier under test to avoid introducing additional distortion components.
优选的,多路滤波器组至少包含两个通路,也可根据实际情况添加通路,多路滤波器组需满足以下三个要求:(1)多路滤波器组的线性度要高,其线性度应不低于被测放大器的线性度,以避免引入额外的失真成分;(2)经同组滤波器组的不同滤波通路滤波后的信号的基波幅值相等;(3)同组滤波器组的不同滤波通路对相同频率的信号具有不同的滤波特性。Preferably, the multi-channel filter group includes at least two channels, and channels may be added according to actual conditions. The multi-channel filter group must meet the following three requirements: (1) The linearity of the multi-channel filter group must be high, and its linearity should not be lower than the linearity of the amplifier under test to avoid introducing additional distortion components; (2) The fundamental amplitudes of signals filtered by different filter channels of the same filter group are equal; (3) Different filter channels of the same filter group have different filtering characteristics for signals of the same frequency.
优选的,多路滤波器组A的电路结构与多路滤波器组B的电路结构可以是相同的,也可以是不同的;Preferably, the circuit structure of the multi-channel filter group A and the circuit structure of the multi-channel filter group B may be the same or different;
测量器件用于将模拟信号转换为数字信号;测量器件包括但不限于ADC、频谱分析仪等,凡是具有将模拟信号转换为数字信号的功能的电路、仪器或装置等,均可视为测量器件。Measuring devices are used to convert analog signals into digital signals; measuring devices include but are not limited to ADC, spectrum analyzer, etc. Any circuit, instrument or device that has the function of converting analog signals into digital signals can be regarded as a measuring device.
优选的,本发明采用的测量器件无需满足IEEE标准规定的比被测电路的精度至少高3到4位的要求,所述测量器件的精度可以比IEEE标准的精度要求低,以分辨率为例,本发明采用的测量器件的分辨率可以比IEEE标准的精度要求至多低约6位。优选的,数据处理模块,用于根据测量器件采集到的多组输出数据,结合已知的多路滤波器组的传递函数,利用本发明提出的算法,最终得到用于评估被测放大器频谱特性的动态参数指标;数据处理模块应具备执行算法、存储数据的能力。数据处理模块包括但不限于计算机、FPGA、DSP等。Preferably, the measuring device used in the present invention does not need to meet the requirement of at least 3 to 4 bits higher than the accuracy of the measured circuit as specified in the IEEE standard. The accuracy of the measuring device can be lower than the accuracy requirement of the IEEE standard. Taking resolution as an example, the resolution of the measuring device used in the present invention can be at most about 6 bits lower than the accuracy requirement of the IEEE standard. Preferably, the data processing module is used to obtain dynamic parameter indicators for evaluating the spectral characteristics of the measured amplifier based on multiple groups of output data collected by the measuring device, combined with the transfer function of the known multi-channel filter group, and using the algorithm proposed by the present invention; the data processing module should have the ability to execute algorithms and store data. The data processing module includes but is not limited to computers, FPGAs, DSPs, etc.
为实现上述目的及其他相关目的,第二方面,本发明的实施方式提供了一种放大器测试方法,具体包含以下步骤:To achieve the above-mentioned purpose and other related purposes, in a second aspect, an embodiment of the present invention provides an amplifier testing method, which specifically comprises the following steps:
第一步,做好测试前准备,包含:选择合适的多路滤波器组;在数据处理模块编辑测试程序;连接信号源、多路滤波器组A、被测放大器、多路滤波器组B、测量器件和数据处理模块;The first step is to prepare for the test, including: selecting a suitable multi-channel filter group; editing the test program in the data processing module; connecting the signal source, multi-channel filter group A, the amplifier under test, multi-channel filter group B, the measuring device and the data processing module;
第二步,选择多路滤波器组A的一个滤波通路和多路滤波器组B中的一个滤波通路,两个滤波通路与信号源、被测放大器和测量器件连成一组测试通路,记录被选中的滤波器;The second step is to select a filter path in the multi-channel filter group A and a filter path in the multi-channel filter group B, connect the two filter paths with the signal source, the amplifier under test and the measuring device to form a set of test paths, and record the selected filters;
第三步,信号源产生一组输入信号,经多路滤波器组A滤波后进入被测放大器,激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波后,由测量器件将模拟信号转换为数字信号,得到该组滤波通路的测试数据;In the third step, the signal source generates a set of input signals, which are filtered by the multi-channel filter group A and then enter the amplifier under test to stimulate the amplifier under test. The output signal of the amplifier under test is filtered by the multi-channel filter group B, and the measuring device converts the analog signal into a digital signal to obtain the test data of the group of filter paths.
第四步,数据处理模块接收测量器件采集的测试数据并进行存储;Step 4: The data processing module receives and stores the test data collected by the measuring device;
第五步,改变多路滤波器组A和/或多路滤波器组B中的滤波通路,形成另一组测试通路,记录被选中的滤波器;Step 5: changing the filter paths in the multi-channel filter group A and/or the multi-channel filter group B to form another set of test paths, and recording the selected filters;
第六步,使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复第三步、第四步和第五步,直至采集足够数量的、不同滤波通路的测试数据;测试数据的组数由多路滤波器组A和多路滤波器组B包含的滤波器的数量决定,例如多路滤波器组A包含n(n≥2)个滤波通路,多路滤波器组B包含s(s≥2)个滤波通路,则所需测试数据的组数至少为3组,至多为n×s组,其中,多路滤波器组A的滤波通路至少改变1次,多路滤波器组B的滤波通路至少改变1次。The sixth step is to use a signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, and repeat the third step, the fourth step and the fifth step until a sufficient number of test data of different filter paths are collected; the number of test data groups is determined by the number of filters included in the multi-channel filter group A and the multi-channel filter group B. For example, the multi-channel filter group A contains n (n≥2) filter paths, and the multi-channel filter group B contains s (s≥2) filter paths. Then the number of test data groups required is at least 3 groups and at most n×s groups, wherein the filter path of the multi-channel filter group A is changed at least once, and the filter path of the multi-channel filter group B is changed at least once.
第七步,在数据处理模块中,对采集到的数据进行处理。当多路滤波器组A和多路滤波器组B分别包含两个滤波通路时,被测放大器的谐波计算式有四种表示形式,选择任意一种表达形式,均能计算出被测放大器的谐波信息,四种计算式分别为:Step 7: In the data processing module, the collected data is processed. When the multi-channel filter group A and the multi-channel filter group B each contain two filter paths, there are four representations of the harmonic calculation formula of the amplifier under test. Any one of the representations can be used to calculate the harmonic information of the amplifier under test. The four calculation formulas are:
式中,huk为被测放大器第k次谐波的谱线;H1和H2分别为多路滤波器组A包含的滤波器1和滤波器2的传递函数,H3和H4分别为多路滤波器组B包含的滤波器3和滤波器4的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k、hm2k、hm3k和hm4k分别为测试数据m1、m2、m3和m4的第k次谐波的谱线;m1表示当选择滤波器1和滤波器3连成通路时测量器件采集的输出数据;m2表示当选择滤波器1和滤波器4连成通路时测量器件采集的输出数据;m3表示当选择滤波器2和滤波器3连成通路时所述测量器件采集的输出数据;m4表示当选择滤波器2和滤波器4连成通路时测量器件采集的输出数据;Wherein, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-channel filter group A, respectively, and H 3 and H 4 are the transfer functions of filter 3 and filter 4 included in the multi-channel filter group B, respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fi n is the frequency of the input signal; h m1k , h m2k , h m3k and h m4k are the spectrum lines of the kth harmonic of the test data m 1 , m 2 , m 3 and m 4 , respectively; m 1 represents the output data collected by the measuring device when filter 1 and filter 3 are selected to be connected into a channel; m 2 represents the output data collected by the measuring device when filter 1 and filter 4 are selected to be connected into a channel; m 3 represents the output data collected by the measuring device when filter 2 and filter 3 are selected to be connected into a channel; m 4 represents the output data collected by the measuring device when filter 2 and filter 4 are selected to be connected into a channel;
被测放大器的总谐波失真THD和无杂散动态范围SFDR的计算式分别为:The calculation formulas for the total harmonic distortion THD and spurious-free dynamic range SFDR of the amplifier under test are:
THD=10log10(∑k≥2|2huk|2) (5)THD=10log 10 (∑ k≥2 |2h uk | 2 ) (5)
如图2所示,当只降低放大器测试对信号源的精度要求时,可以仅在信号源和被测放大器之间设置多路滤波器组A,采用低精度信号源和高精度测量器件对放大器进行测试,具体的:As shown in FIG2 , when only the accuracy requirement of the signal source for the amplifier test is reduced, a multi-channel filter group A can be set only between the signal source and the amplifier under test, and the amplifier can be tested using a low-precision signal source and a high-precision measurement device. Specifically:
1.本发明使用满足IEEE标准精度要求的高精度测量器件对放大器进行测试,即测量器件的失真比被测放大器的失真至少低十倍或20dB,以避免测量器件的非线性失真恶化被测放大器的输出。1. The present invention uses a high-precision measuring device that meets the accuracy requirements of the IEEE standard to test the amplifier, that is, the distortion of the measuring device is at least ten times or 20 dB lower than the distortion of the amplifier under test, so as to avoid the nonlinear distortion of the measuring device from deteriorating the output of the amplifier under test.
2.本发明可进一步降低放大器测试对信号源的精度要求,与IEEE标准的精度要求相比,本发明可降低放大器测试对信号源的精度要求至多约80dB;2. The present invention can further reduce the accuracy requirements of the amplifier test on the signal source. Compared with the accuracy requirements of the IEEE standard, the present invention can reduce the accuracy requirements of the amplifier test on the signal source by up to about 80dB;
3.放大器测试电路的测试步骤具体如下:3. The test steps of the amplifier test circuit are as follows:
3.1多路滤波器组A包含n个滤波通路,选择多路滤波器组A的n个滤波通路中的一个滤波通路,将滤波通路与信号源、被测放大器和测量器件连成一组放大器测试电路;3.1 The multi-channel filter group A includes n filter paths, one of the n filter paths of the multi-channel filter group A is selected, and the filter path is connected with a signal source, an amplifier under test and a measuring device to form an amplifier test circuit;
3.2信号源产生一组输入信号,经多路滤波器组A滤波后,激励被测放大器,被测放大器的输出信号由测量器件将模拟信号转换为数字信号,即为该组滤波通路的测试数据;3.2 The signal source generates a set of input signals, which are filtered by the multi-channel filter group A and then stimulate the amplifier under test. The output signal of the amplifier under test is converted into a digital signal by the measuring device, which is the test data of the group of filtering paths;
3.3改变多路滤波器组A的滤波通路,形成另一组放大器测试电路,记录被选中的滤波通路;3.3 Change the filter path of the multi-channel filter group A to form another set of amplifier test circuits, and record the selected filter path;
3.4使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复步骤3.2和3.3,多路滤波器组A的滤波通路至少改变1次,采集至少2组不同滤波通路的测试数据。3.4 Use a signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat steps 3.2 and 3.3, change the filtering path of multi-channel filter group A at least once, and collect test data of at least 2 groups of different filtering paths.
4.当多路滤波器组A包含两个滤波通路,且采集的测试数据为2组时,该方法用于计算被测放大器的谐波计算式有以下两种表示形式,选择任意一种均能计算出被测放大器的谐波信息。所述两种计算式分别为:4. When the multi-channel filter group A contains two filter paths and the collected test data is 2 groups, the method is used to calculate the harmonic calculation formula of the amplifier under test in the following two forms, and any one of them can calculate the harmonic information of the amplifier under test. The two calculation formulas are:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组A包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据;Wherein, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-channel filter group A respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fin is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected as a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected as a path;
如图3所示,当只降低放大器测试对测量器件的精度要求时,可以仅在被测放大器和测量器件之间设置多路滤波器组B,采用高精度信号源和低精度测量器件,具体的:As shown in FIG3 , when only the accuracy requirement of the amplifier test on the measuring device is reduced, a multi-channel filter group B can be set only between the amplifier under test and the measuring device, and a high-precision signal source and a low-precision measuring device can be used. Specifically:
1.本发明使用满足IEEE标准精度要求的高精度信号源对放大器进行测试,即信号源的失真比被测放大器的失真至少低十倍或20dB,以避免信号源的非线性失真恶化被测放大器的输出。1. The present invention uses a high-precision signal source that meets the IEEE standard accuracy requirements to test the amplifier, that is, the distortion of the signal source is at least ten times or 20 dB lower than the distortion of the amplifier under test, so as to avoid the nonlinear distortion of the signal source from deteriorating the output of the amplifier under test.
2.本发明可进一步降低放大器测试对测量器件的精度要求,与IEEE标准的精度要求相比,本发明可降低放大器测试对测量器件的精度要求至多约8位;2. The present invention can further reduce the accuracy requirements of amplifier testing on measuring devices. Compared with the accuracy requirements of the IEEE standard, the present invention can reduce the accuracy requirements of amplifier testing on measuring devices by up to about 8 bits;
3.放大器测试电路的测试步骤具体如下:3. The test steps of the amplifier test circuit are as follows:
3.1多路滤波器组B包含s个滤波通路,选择多路滤波器组B中含s个滤波通路中的一个滤波通路,将滤波通路与信号源、被测放大器和测量器件连成一组放大器测试电路;3.1 The multi-channel filter group B includes s filter paths, one of the s filter paths in the multi-channel filter group B is selected, and the filter path is connected with a signal source, an amplifier under test and a measuring device to form an amplifier test circuit;
3.2信号源产生一组输入信号,进入被测放大器,激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波后,由测量器件将模拟信号转换为数字信号,即为该组滤波通路的测试数据;3.2 The signal source generates a set of input signals, which enter the amplifier under test to stimulate the amplifier under test. The output signal of the amplifier under test is filtered by the multi-channel filter group B, and the measuring device converts the analog signal into a digital signal, which is the test data of the group of filtering paths;
3.3改变经多路滤波器组B的滤波通路,形成另一组放大器测试电路,记录被选中的滤波通路;3.3 Change the filter path through the multi-channel filter group B to form another set of amplifier test circuits, and record the selected filter path;
3.4使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,重复步骤3.2和3.3,经多路滤波器组B的滤波通路至少改变1次,采集至少2组不同滤波通路的测试数据。3.4 Use a signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat steps 3.2 and 3.3, change the filtering path of multi-channel filter group B at least once, and collect test data of at least 2 groups of different filtering paths.
4.当多路滤波器组B包含两个滤波通路,且采集的测试数据为2组时,该方法用于计算被测放大器的谐波计算式有以下表示形式:4. When the multi-channel filter group B contains two filter paths and the collected test data is 2 groups, the harmonic calculation formula used by this method to calculate the amplifier under test has the following expression:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组B包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据。In the formula, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-path filter group B respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fi n is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected into a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected into a path.
实施例1Example 1
采用本发明提供的一种放大器测试电路及测试方法,用于降低放大器测试对信号源和测量器件的精度要求,如图4所示,具体包含以下步骤:An amplifier test circuit and test method provided by the present invention are used to reduce the accuracy requirements of the amplifier test on the signal source and the measurement device, as shown in FIG4 , and specifically include the following steps:
第一步,在本实施例中,多路滤波器组A和多路滤波器组B为相同的电路结构;多路滤波器组A由滤波器1和滤波器2并联构成,多路滤波器组B由滤波器3和滤波器4并联构成;滤波器1和滤波器3为一阶低通RC滤波器,其传递函数可表示为First, in this embodiment, the multi-channel filter group A and the multi-channel filter group B have the same circuit structure; the multi-channel filter group A is composed of filter 1 and filter 2 connected in parallel, and the multi-channel filter group B is composed of filter 3 and filter 4 connected in parallel; filter 1 and filter 3 are first-order low-pass RC filters, and their transfer functions can be expressed as follows:
式中,ω0为滤波器1的转折频率,RL和CL分别为构成一阶低通RC滤波器的电阻和电容。Where ω 0 is the corner frequency of filter 1, RL and CL are the resistance and capacitance that constitute the first-order low-pass RC filter.
滤波器2和滤波器4为电阻衰减器,其传递函数可表示为Filter 2 and filter 4 are resistor attenuators, and their transfer functions can be expressed as
式中,R1和R2为构成电阻衰减器的电阻。Where R1 and R2 are the resistors that make up the resistance attenuator.
第二步,选择合适的信号源和测量器件,例如选择THD值比IEEE标准精度要求高约60dB的信号源,选择精度比IEEE标准精度要求低约4位的ADC;The second step is to select a suitable signal source and measurement device. For example, a signal source with a THD value about 60 dB higher than the IEEE standard accuracy requirement and an ADC with an accuracy about 4 bits lower than the IEEE standard accuracy requirement.
第三步,连接电路,做好测试前准备,包含:在数据处理模块编辑测试程序;连接信号源、多路滤波器组A、被测放大器、多路滤波器组B、测量器件和数据处理模块;The third step is to connect the circuit and make preparations before the test, including: editing the test program in the data processing module; connecting the signal source, multi-channel filter group A, the amplifier under test, multi-channel filter group B, the measuring device and the data processing module;
第四步,选择多路滤波器组A的滤波器1通路和多路滤波器组B中的滤波器3通路,滤波器1通路和滤波器3通路与上述信号源、被测放大器和测量器件连成第一组测试通路,记录被选中的滤波器通路;Step 4, select the filter 1 path of the multi-channel filter group A and the filter 3 path of the multi-channel filter group B, connect the filter 1 path and the filter 3 path with the above-mentioned signal source, the amplifier under test and the measuring device to form a first group of test paths, and record the selected filter paths;
第五步,信号源产生一组输入信号,经多路滤波器组A滤波,滤波后的输入信号激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波后输入测量器件中,测量器件将模拟信号转换为数字信号并传输给数据处理模块;Step 5: The signal source generates a set of input signals, which are filtered by the multi-channel filter group A. The filtered input signals excite the amplifier under test. The output signals of the amplifier under test are filtered by the multi-channel filter group B and then input into the measuring device. The measuring device converts the analog signals into digital signals and transmits them to the data processing module.
第六步,数据处理模块接收测量器件的输出的数字信号,并将该组数据存储为m1;Step 6: The data processing module receives the digital signal output by the measuring device and stores the group of data as m 1 ;
第七步,通过开关改变多路滤波器组A和多路滤波器组B中滤波通路的选择,选择多路滤波器组A的滤波器1通路和多路滤波器组B中的滤波器4通路,滤波器1通路、滤波器4通路与信号源、被测放大器和测量器件连成第二组测试通路,记录被选中的滤波器,使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,并重复第五步和第六步,记录改组数据为m2;Step 7: Change the selection of filter paths in the multi-channel filter group A and the multi-channel filter group B through the switch, select the filter 1 path of the multi-channel filter group A and the filter 4 path of the multi-channel filter group B, connect the filter 1 path and the filter 4 path with the signal source, the amplifier under test and the measuring device to form a second group of test paths, record the selected filter, use the signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat the fifth and sixth steps, and record the reorganized data as m 2 ;
第八步,通过开关改变多路滤波器组A和多路滤波器组B中滤波通路的选择,选择多路滤波器组A的滤波器2通路和所述多路滤波器组B中的滤波器3通路,滤波器2通路、滤波器3通路与信号源、被测放大器和测量器件连成第三组测试通路,记录被选中的滤波器,使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,并重复第五步和第六步,记录改组数据为m3;Step 8: Change the selection of filter paths in the multi-channel filter group A and the multi-channel filter group B by using switches, select the filter 2 path of the multi-channel filter group A and the filter 3 path in the multi-channel filter group B, connect the filter 2 path, the filter 3 path, the signal source, the amplifier under test and the measuring device to form a third group of test paths, record the selected filter, use the signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, repeat the fifth and sixth steps, and record the reorganized data as m 3 ;
第九步,在数据处理模块中,对采集到的数据(m1、m2和m3)进行处理;被测放大器的谐波计算式的表示形式为:The ninth step is to process the collected data (m 1 , m 2 and m 3 ) in the data processing module; the harmonic calculation formula of the amplifier under test is expressed as:
式中,huk为被测放大器第k次谐波的谱线;H1和H2分别为多路滤波器组A包含的滤波器1和滤波器2的传递函数,H3和H4分别为多路滤波器组B包含的滤波器3和滤波器4的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k、hm2k和hm3k分别为测试数据m1、m2和m3的第k次谐波的谱线;m1表示当选择滤波器1和滤波器3连成通路时测量器件采集的输出数据;m2表示当选择滤波器1和滤波器4连成通路时测量器件采集的输出数据;m3表示当选择滤波器2和滤波器3连成通路时所述测量器件采集的输出数据;Wherein, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-channel filter group A, respectively, and H 3 and H 4 are the transfer functions of filter 3 and filter 4 included in the multi-channel filter group B, respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fin is the frequency of the input signal; h m1k , h m2k and h m3k are the spectrum lines of the kth harmonic of the test data m 1 , m 2 and m 3 , respectively; m 1 represents the output data collected by the measuring device when filter 1 and filter 3 are selected to be connected into a channel; m 2 represents the output data collected by the measuring device when filter 1 and filter 4 are selected to be connected into a channel; m 3 represents the output data collected by the measuring device when filter 2 and filter 3 are selected to be connected into a channel;
被测放大器的总谐波失真THD和无杂散动态范围SFDR的计算式分别为:The calculation formulas for the total harmonic distortion THD and spurious-free dynamic range SFDR of the amplifier under test are:
THD=10log10(∑k≥2|2huk|2) (5)THD=10log 10 (∑ k≥2 |2h uk | 2 ) (5)
图7是根据本发明提供的电路和方法、采用THD值为-79.76dB的信号源和THD值为-118.13dB的测量器件测试THD值为-121.42dB的放大器得到的仿真结果图。图中,x轴表示归一化的频率,y轴表示归一化的功率,带星号标记的频谱表示被测放大器的真实频谱图,带圆圈标记的频谱表示根据本发明的方法得到的仿真频谱图。为精确测试THD值为-121.42dB的放大器的频谱性能,传统方法要求信号源和测量器件的THD值低至-140dB,这不仅需要昂贵的测试仪器,在片上测试几乎无法实现。本发明提供的方法仅采用THD值为-79.76dB的信号源和THD值为-118.13dB的测量器件,就对THD值为-121.42dB的放大器进行测试,而且本发明的方法与传统方法的测试精度相同。与传统方法相比,本发明的方法在获得精确测试结果的条件下,能够将放大器测试对信号源的精度要求降低约60dB,将放大器测试对测量器件的精度要求降低约20dB,显著地降低了对精密测试仪器的需求,从而大幅降低测试成本。FIG7 is a diagram of simulation results obtained by testing an amplifier with a THD value of -121.42dB using a signal source with a THD value of -79.76dB and a measuring device with a THD value of -118.13dB according to the circuit and method provided by the present invention. In the figure, the x-axis represents the normalized frequency, the y-axis represents the normalized power, the spectrum marked with an asterisk represents the real spectrum diagram of the amplifier under test, and the spectrum marked with a circle represents the simulated spectrum diagram obtained by the method of the present invention. In order to accurately test the spectrum performance of an amplifier with a THD value of -121.42dB, the traditional method requires the THD value of the signal source and the measuring device to be as low as -140dB, which not only requires expensive testing instruments, but is almost impossible to achieve on-chip testing. The method provided by the present invention only uses a signal source with a THD value of -79.76dB and a measuring device with a THD value of -118.13dB to test an amplifier with a THD value of -121.42dB, and the test accuracy of the method of the present invention is the same as that of the traditional method. Compared with traditional methods, the method of the present invention can reduce the accuracy requirements of the amplifier test on the signal source by about 60dB and the accuracy requirements of the amplifier test on the measuring device by about 20dB while obtaining accurate test results, significantly reducing the demand for precision test instruments and thus greatly reducing test costs.
图8是根据本发明提供的电路和方法,在500次仿真中随机采用低精度信号源和低精度测量器件对低失真放大器进行测试得到的仿真结果图。在仿真中,放大器的总谐波失真在-125dB到-115dB的范围内随机产生。图中,x轴表示被测放大器的THD值,y轴表示本发明得到的被测放大器THD误差值,星号标记表示单次仿真结果。由图可知,使用本发明的方法测得的放大器的THD值与其真实值误差很小,最大误差仅为0.97dB。FIG8 is a diagram of simulation results obtained by randomly using low-precision signal sources and low-precision measuring devices to test a low-distortion amplifier in 500 simulations according to the circuit and method provided by the present invention. In the simulation, the total harmonic distortion of the amplifier is randomly generated in the range of -125dB to -115dB. In the figure, the x-axis represents the THD value of the amplifier under test, the y-axis represents the THD error value of the amplifier under test obtained by the present invention, and the asterisk mark represents a single simulation result. As can be seen from the figure, the THD value of the amplifier measured by the method of the present invention has a small error with its true value, and the maximum error is only 0.97dB.
实施例2Example 2
采用本发明提供的一种放大器测试电路及测试方法,用于降低放大器测试对信号源的精度要求,如图5所示,具体包含以下步骤:An amplifier test circuit and a test method provided by the present invention are used to reduce the accuracy requirement of the amplifier test on the signal source, as shown in FIG5 , and specifically include the following steps:
第一步,在本实施例中,多路滤波器组A由滤波器1和滤波器2并联构成,滤波器1为二阶低通RC滤波器,其传递函数可表示为:In the first step, in this embodiment, the multi-channel filter group A is composed of filter 1 and filter 2 connected in parallel. Filter 1 is a second-order low-pass RC filter, and its transfer function can be expressed as:
式中,ωn为自然角频率,ζ为阻尼系数,RL1、RL2、CL1和CL2分别为构成二阶低通RC滤波器的电阻和电容。Where ωn is the natural angular frequency, ζ is the damping coefficient, RL1 , RL2 , CL1 and CL2 are respectively the resistor and capacitor constituting a second-order low-pass RC filter.
滤波器2为电阻衰减器,其传递函数可表示为:Filter 2 is a resistor attenuator, and its transfer function can be expressed as:
式中,R1和R2为构成电阻衰减器的电阻。Where R1 and R2 are the resistors that make up the resistance attenuator.
第二步,选择合适的信号源和测量器件,例如选择THD值比IEEE标准精度要求高约70dB的信号源,选择精度满足IEEE标准精度要求的ADC;The second step is to select a suitable signal source and measurement device. For example, select a signal source with a THD value about 70dB higher than the IEEE standard accuracy requirement, and select an ADC with an accuracy that meets the IEEE standard accuracy requirement.
第三步,连接电路,做好测试前准备,包含:在数据处理模块编辑测试程序;连接信号源、多路滤波器组A、被测放大器、测量器件和数据处理模块;The third step is to connect the circuit and make preparations before testing, including: editing the test program in the data processing module; connecting the signal source, the multi-channel filter group A, the amplifier under test, the measuring device and the data processing module;
第四步,选择多路滤波器组A的滤波器1通路,上述信号源、被测放大器和测量器件连成第一组测试通路,记录被选中的滤波器通路;Step 4, select the filter 1 path of the multi-path filter group A, connect the above signal source, the amplifier under test and the measuring device into the first group of test paths, and record the selected filter path;
第五步,信号源产生一组输入信号,经多路滤波器组A滤波,滤波后的输入信号激励被测放大器,被测放大器的输出信号输入测量器件中,测量器件将模拟信号转换为数字信号并传输给数据处理模块;Step 5: The signal source generates a set of input signals, which are filtered by the multi-channel filter group A. The filtered input signals excite the amplifier under test, and the output signals of the amplifier under test are input into the measuring device. The measuring device converts the analog signals into digital signals and transmits them to the data processing module.
第六步,数据处理模块接收测量器件的输出的数字信号,并将该组数据存储为m1;Step 6: The data processing module receives the digital signal output by the measuring device and stores the group of data as m 1 ;
第七步,通过开关改变多路滤波器组A的滤波通路,选择多路滤波器组A的滤波器2通路,与信号源、被测放大器和测量器件连成第二组测试通路,记录被选中的滤波器,使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,并重复第五步和第六步,记录改组数据为m2;Step 7: Change the filter path of the multi-channel filter group A through the switch, select the filter 2 path of the multi-channel filter group A, connect it with the signal source, the amplifier under test and the measuring device to form the second test path, record the selected filter, use the signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, and repeat the fifth and sixth steps, and record the reorganized data as m 2 ;
第八步,在数据处理模块中,对采集到的数据(m1和m2)进行处理;被测放大器的谐波计算式有两种表示形式,选择任意一种表达形式,均能计算出所述被测放大器的谐波谱线,所述两种计算式分别为:Step 8: In the data processing module, the collected data ( m1 and m2 ) are processed; the harmonic calculation formula of the amplifier under test has two representation forms. Either expression form can be used to calculate the harmonic spectrum of the amplifier under test. The two calculation formulas are:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组A包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据;Wherein, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-channel filter group A respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fin is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected as a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected as a path;
被测放大器的总谐波失真THD和无杂散动态范围SFDR的计算式分别为:The calculation formulas for the total harmonic distortion THD and spurious-free dynamic range SFDR of the amplifier under test are:
THD=10log10(∑k≥2|2huk|2) (5)THD=10log 10 (∑ k≥2 |2h uk | 2 ) (5)
图9是根据本发明提供的电路和方法、采用THD值为-67.72dB的信号源测试THD值为-118.08dB的放大器得到的仿真结果图。图中,x轴表示归一化的频率,y轴表示归一化的功率,带星号标记的频谱表示被测放大器的真实频谱图,带圆圈标记的频谱表示根据本发明的方法得到的仿真频谱图。为测试THD值为-118.08dB的放大器的频谱特性,传统方法要求信号源的THD值低至约-140dB,对于现有的高精度信号源而言,要产生如此低失真的信号,几乎难以实现。本发明提供的方法仅采用THD值为-67.72dB的信号源就对THD值为-118.08dB的放大器进行测试,而且本发明的方法与传统方法的测试精度相同。与传统方法相比,本发明的方法在获得精确测试结果的条件下,能够将放大器测试对信号源的精度要求降低约70dB,显著地降低了放大器测试对精密仪器的需求,从而大幅降低测试成本。FIG9 is a diagram of simulation results obtained by testing an amplifier with a THD value of -118.08dB using a signal source with a THD value of -67.72dB according to the circuit and method provided by the present invention. In the figure, the x-axis represents the normalized frequency, the y-axis represents the normalized power, the spectrum marked with an asterisk represents the real spectrum diagram of the amplifier under test, and the spectrum marked with a circle represents the simulated spectrum diagram obtained according to the method of the present invention. In order to test the spectrum characteristics of an amplifier with a THD value of -118.08dB, the traditional method requires the THD value of the signal source to be as low as about -140dB. For existing high-precision signal sources, it is almost impossible to generate such a low-distortion signal. The method provided by the present invention only uses a signal source with a THD value of -67.72dB to test an amplifier with a THD value of -118.08dB, and the test accuracy of the method of the present invention is the same as that of the traditional method. Compared with the traditional method, the method of the present invention can reduce the accuracy requirement of the amplifier test on the signal source by about 70dB under the condition of obtaining accurate test results, significantly reducing the demand for precision instruments in the amplifier test, thereby greatly reducing the test cost.
实施例3Example 3
采用本发明提供的一种放大器测试电路对放大器进行测试时,如图6所示,具体包含以下步骤:When an amplifier test circuit provided by the present invention is used to test an amplifier, as shown in FIG6 , the following steps are specifically included:
第一步,在本实施例中,多路滤波器组B由滤波器1和滤波器2并联构成,滤波器1为有源一阶低通RC滤波器,其传递函数可表示为;In the first step, in this embodiment, the multi-channel filter group B is composed of filter 1 and filter 2 connected in parallel, and filter 1 is an active first-order low-pass RC filter, and its transfer function can be expressed as:
式中,ω0为滤波器1的转折频率,RL1、RL2、RL3和CL分别为构成有源一阶低通RC滤波器的电阻和电容。Where ω 0 is the corner frequency of filter 1, RL1 , RL2 , RL3 and CL are the resistor and capacitor respectively constituting an active first-order low-pass RC filter.
滤波器2为直接通路,其传递函数可表示为Filter 2 is a direct path, and its transfer function can be expressed as
H2(jω)=1 H2 (jω)=1
第二步,选择合适的信号源和测量器件,例如选择THD值满足IEEE标准精度要求的信号源,选择精度比IEEE标准精度要求低约8位的ADC;The second step is to select a suitable signal source and measurement device. For example, select a signal source whose THD value meets the accuracy requirements of the IEEE standard, and select an ADC whose accuracy is about 8 bits lower than the accuracy requirements of the IEEE standard.
第三步,连接电路,做好测试前准备,包含:在数据处理模块编辑测试程序;连接信号源、被测放大器、多路滤波器组B、测量器件和数据处理模块;The third step is to connect the circuit and make preparations before testing, including: editing the test program in the data processing module; connecting the signal source, the amplifier under test, the multi-channel filter group B, the measuring device and the data processing module;
第四步,选择多路滤波器组B的滤波器1通路,上述信号源、被测放大器和测量器件连成第一组测试通路,记录被选中的滤波器通路;Step 4, select the filter 1 path of the multi-path filter group B, connect the above signal source, the amplifier under test and the measuring device into the first group of test paths, and record the selected filter path;
第五步,信号源产生一组输入信号激励被测放大器,被测放大器的输出信号经多路滤波器组B滤波,滤波后的输入信号输入测量器件中,测量器件将模拟信号转换为数字信号并传输给数据处理模块;Step 5: The signal source generates a set of input signals to excite the amplifier under test. The output signal of the amplifier under test is filtered by the multi-channel filter group B. The filtered input signal is input into the measuring device. The measuring device converts the analog signal into a digital signal and transmits it to the data processing module.
第六步,数据处理模块接收测量器件的输出的数字信号,并将该组数据存储为m1;Step 6: The data processing module receives the digital signal output by the measuring device and stores the group of data as m 1 ;
第七步,通过开关改变多路滤波器组的滤波通路,选择多路滤波器组B的滤波器2通路,与信号源、被测放大器和测量器件连成第二组测试通路,记录被选中的滤波器,使用信号源产生幅值、频率和初始相位与第一组输入信号相同的信号,并重复第五步和第六步,记录改组数据为m2;Step 7: Change the filter path of the multi-channel filter group through the switch, select the filter 2 path of the multi-channel filter group B, connect it with the signal source, the amplifier under test and the measuring device to form the second test path, record the selected filter, use the signal source to generate a signal with the same amplitude, frequency and initial phase as the first group of input signals, and repeat the fifth and sixth steps, and record the reorganized data as m 2 ;
第八步,在数据处理模块中,对采集到的数据(m1和m2)进行处理;被测放大器的谐波计算式有以下表示形式:Step 8: In the data processing module, the collected data (m 1 and m 2 ) are processed; the harmonic calculation formula of the amplifier under test has the following expression:
式中,huk为所述被测放大器第k次谐波的谱线;H1和H2分别为所述多路滤波器组B包含的滤波器1和滤波器2的传递函数;ω为滤波器的转折频率,ω=2×π×fin,fin为输入信号的频率;hm1k和hm2k分别为所述测试数据m1和m2的第k次谐波的谱线;m1表示当选择滤波器1连成通路时所述测量器件采集的输出数据;m2表示当选择滤波器2连成通路时所述测量器件采集的输出数据。In the formula, h uk is the spectrum line of the kth harmonic of the amplifier under test; H 1 and H 2 are the transfer functions of filter 1 and filter 2 included in the multi-path filter group B respectively; ω is the corner frequency of the filter, ω=2×π× fin , and fi n is the frequency of the input signal; h m1k and h m2k are the spectrum lines of the kth harmonic of the test data m 1 and m 2 respectively; m 1 represents the output data collected by the measuring device when filter 1 is selected to be connected into a path; m 2 represents the output data collected by the measuring device when filter 2 is selected to be connected into a path.
被测放大器的总谐波失真THD和无杂散动态范围SFDR的计算式分别为:The calculation formulas for the total harmonic distortion THD and spurious-free dynamic range SFDR of the amplifier under test are:
THD=10log10(∑k≥2|2huk|2) (5)THD=10log 10 (∑ k≥2 |2h uk | 2 ) (5)
图10是根据本发明提供的电路和方法、采用精度为14位的测量器件测试THD值为-119.70dB的放大器得到的仿真结果图。图中,x轴表示归一化的频率,y轴表示归一化的功率,带星号标记的频谱表示被测放大器的真实频谱图,带圆圈标记的频谱表示根据本发明的方法得到的仿真频谱图。为精确测试THD值为-119.70dB的放大器的频谱性能,传统方法要求测量器件的精度至少为22位,而对于现有的测量器件,通常要面临着精度与速度、带宽等的折中。本发明提供的方法仅采用14位的测量器件就能对THD值为-119.70dB的放大器进行测试,而且本发明的方法与传统方法的测试精度相同。与传统方法相比,本发明的方法在获得精确测试结果的条件下,能够将放大器测试对测量器件的精度要求降低约8位,显著地降低了放大器测试对精密测试仪器的需求,从而大幅降低测试成本。FIG10 is a simulation result diagram obtained by testing an amplifier with a THD value of -119.70dB using a measuring device with a precision of 14 bits according to the circuit and method provided by the present invention. In the figure, the x-axis represents the normalized frequency, the y-axis represents the normalized power, the spectrum marked with an asterisk represents the real spectrum diagram of the amplifier under test, and the spectrum marked with a circle represents the simulated spectrum diagram obtained according to the method of the present invention. In order to accurately test the spectrum performance of an amplifier with a THD value of -119.70dB, the traditional method requires the accuracy of the measuring device to be at least 22 bits, and for existing measuring devices, it is usually faced with a compromise between accuracy and speed, bandwidth, etc. The method provided by the present invention can test an amplifier with a THD value of -119.70dB using only a 14-bit measuring device, and the test accuracy of the method of the present invention is the same as that of the traditional method. Compared with the traditional method, the method of the present invention can reduce the accuracy requirement of the measuring device for amplifier testing by about 8 bits under the condition of obtaining accurate test results, significantly reducing the demand for precision testing instruments for amplifier testing, thereby greatly reducing the test cost.
因此,本发明能够显著降低放大器测试对信号源和/或测量器件的精度要求,从而大幅降低放大器测试的测试成本,解决超低失真放大器测试中高精度测试仪器难以获得的问题,为放大器的片上测试提供切实可行的解决方案。Therefore, the present invention can significantly reduce the accuracy requirements of the amplifier test on the signal source and/or measurement device, thereby greatly reducing the test cost of the amplifier test, solving the problem of the difficulty in obtaining high-precision test instruments in ultra-low distortion amplifier testing, and providing a practical solution for on-chip testing of amplifiers.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210529007.7A CN114740336B (en) | 2022-05-16 | 2022-05-16 | Amplifier test circuit and test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210529007.7A CN114740336B (en) | 2022-05-16 | 2022-05-16 | Amplifier test circuit and test method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114740336A CN114740336A (en) | 2022-07-12 |
CN114740336B true CN114740336B (en) | 2024-07-23 |
Family
ID=82285342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210529007.7A Active CN114740336B (en) | 2022-05-16 | 2022-05-16 | Amplifier test circuit and test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114740336B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102565672A (en) * | 2011-12-28 | 2012-07-11 | 镇江艾科半导体有限公司 | Radio-frequency power amplifier harmonic wave testing circuit based on PXI (PCI (Peripheral Component Interconnect) Extension For Instrumentation) testing device |
CN103630749A (en) * | 2013-11-11 | 2014-03-12 | 西安交通大学 | Harmonic injection device for harmonic impedance measurement of power grid |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9271097B2 (en) * | 2013-05-31 | 2016-02-23 | Ronald Quan | Method and apparatus to evaluate audio equipment via filter banks |
US9106207B2 (en) * | 2012-12-10 | 2015-08-11 | Avago Technologies General Ip (Singapore) Pte. Ltd. | Switching power amplifier system for multi-path signal interleaving |
CH708761A2 (en) * | 2015-03-03 | 2015-04-30 | Tecpharma Licensing Ag | Measuring bridge arrangement with improved fault detection. |
CN106802436B (en) * | 2017-03-21 | 2019-10-25 | 中国科学院地质与地球物理研究所 | A geophone tester and test method based on Goertzel transform algorithm |
CN111896907B (en) * | 2020-08-06 | 2022-09-27 | 云南电网有限责任公司电力科学研究院 | A system and method for rapid current amplification based on power amplifier |
-
2022
- 2022-05-16 CN CN202210529007.7A patent/CN114740336B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102565672A (en) * | 2011-12-28 | 2012-07-11 | 镇江艾科半导体有限公司 | Radio-frequency power amplifier harmonic wave testing circuit based on PXI (PCI (Peripheral Component Interconnect) Extension For Instrumentation) testing device |
CN103630749A (en) * | 2013-11-11 | 2014-03-12 | 西安交通大学 | Harmonic injection device for harmonic impedance measurement of power grid |
Also Published As
Publication number | Publication date |
---|---|
CN114740336A (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Seo et al. | Comprehensive digital correction of mismatch errors for a 400-Msamples/s 80-dB SFDR time-interleaved analog-to-digital converter | |
CN208112591U (en) | Digital compensator and non-linear, digital compensation system | |
KR101407354B1 (en) | Compensation for harmonic distortion in the device channel | |
JP3050825B2 (en) | Method for improving measurement accuracy in electronic equipment and electronic equipment with increased measurement accuracy | |
KR101294771B1 (en) | Filter equalization using magnitude measurement data | |
Kiriaki et al. | A 160-MHz analog equalizer for magnetic disk read channels | |
CN102594346B (en) | Calibration system and method for a linearity corrector using filter products | |
Liu et al. | Adaptive semiblind background calibration of timing mismatches in a two-channel time-interleaved analog-to-digital converter | |
Pan et al. | Frequency response mismatch calibration in generalized time-interleaved systems | |
CN114740336B (en) | Amplifier test circuit and test method | |
Maeda | A method to generate a very low distortion, high frequency sine waveform using an AWG | |
Kim | Analog-to-digital conversion and harmonic noises due to the integral nonlinearity | |
US20060028197A1 (en) | Direct current offset cancellation and phase equalization for power metering devices | |
Gonzalez-Nakazawa et al. | Transient processes and noise in a tomography system: An analytical case study | |
Pan et al. | Frequency response mismatch calibration in 2-channel time-interleaved oscilloscopes | |
Darmawardana et al. | A digital zero-phase filter for measuring high frequency emissions (supraharmonics) in electrical distribution networks | |
D’Arco et al. | A time base option for arbitrary selection of sample rate in digital storage oscilloscopes | |
CN112798908A (en) | High voltage signal source, dielectric response test equipment, test system and test method | |
Sudani et al. | A comparative study of state-of-The-Art high-performance spectral test methods | |
CN114924123A (en) | Impedance measurement method and circuit based on quadruple signal frequency coherent sampling | |
Shi et al. | An On-Chip Built-in Linearity Estimation Methodology and Hardware Implementation | |
CN107302358A (en) | A kind of non-linear mismatch compensation method of four-way TIADC | |
Vasan et al. | ADC integral non-linearity testing with low linearity monotonic signals | |
Zhou et al. | A novel wideband high-speed data acquisition system correction method | |
Lu et al. | A Digital Calibration Technique for Frequency Response Mismatches in M-Channel Time-Interleaved ADCs Based on Taylor Approximation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |