[go: up one dir, main page]

CN105067894A - Method and system of testing frequency conversion loss of mixer - Google Patents

Method and system of testing frequency conversion loss of mixer Download PDF

Info

Publication number
CN105067894A
CN105067894A CN201510393775.4A CN201510393775A CN105067894A CN 105067894 A CN105067894 A CN 105067894A CN 201510393775 A CN201510393775 A CN 201510393775A CN 105067894 A CN105067894 A CN 105067894A
Authority
CN
China
Prior art keywords
test
mixer
frequency signal
conversion loss
data
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.)
Pending
Application number
CN201510393775.4A
Other languages
Chinese (zh)
Inventor
罗宏伟
黄志芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electronic Product Reliability and Environmental Testing Research Institute
Original Assignee
China Electronic Product Reliability and Environmental Testing Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Electronic Product Reliability and Environmental Testing Research Institute filed Critical China Electronic Product Reliability and Environmental Testing Research Institute
Priority to CN201510393775.4A priority Critical patent/CN105067894A/en
Publication of CN105067894A publication Critical patent/CN105067894A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

本发明涉及一种混频器变频损耗的测试方法和测试系统。混频器变频损耗的测试方法包括设置混频器的本振频率信号和射频信号对应的应用参数;与测试仪器进行通讯,驱动测试仪器根据应用参数向混频器输入对应的本振频率信号和射频信号;获取测试仪器返回的测试数据,其中,测试数据为混频器根据本振频率信号和射频信号混频处理后输出的中频信号功率;计算应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。因此,实现了混频器变频损耗的自动测试,降低人工劳动强度,提高了效率。

The invention relates to a testing method and testing system for frequency conversion loss of a mixer. The test method of the frequency conversion loss of the mixer includes setting the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer; communicating with the test instrument, driving the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters RF signal; obtain the test data returned by the test instrument, where the test data is the intermediate frequency signal power output by the mixer according to the local oscillator frequency signal and the RF signal after mixing; calculate the ratio of the RF signal power corresponding to the application parameters to the test data , to get the conversion loss value. Therefore, the automatic test of the frequency conversion loss of the mixer is realized, the manual labor intensity is reduced, and the efficiency is improved.

Description

混频器变频损耗的测试方法和系统Method and system for testing frequency conversion loss of mixer

技术领域technical field

本发明涉及仪器性能测试技术领域,特别是涉及一种混频器变频损耗的测试方法和系统。The invention relates to the technical field of instrument performance testing, in particular to a testing method and system for frequency conversion loss of a mixer.

背景技术Background technique

混频器将两道不同频率的输入信号混合成一道特定频率的输出信号,实现频率转换功能。混频器作为接收机或者其他设备的重要组成部分,其性能的好坏直接影响设备和仪器的参数指标,尤其是混频器的变频损耗,对整个设备的工作状态有十分重要的影响。变频损耗定义为在给定的LO(LocalOscillator本振频率)下输入频率的功率与输出频率的功率之比,是混频器如何有效地将输入频率能量变换成输出频率能量的测度,其中输入频率为RF(RadioFrequency射频),输出频率为IF(IntermediateFrequency中频)。The mixer mixes two input signals of different frequencies into an output signal of a specific frequency to realize the frequency conversion function. As an important part of a receiver or other equipment, the performance of the mixer directly affects the parameters of the equipment and instruments, especially the frequency conversion loss of the mixer, which has a very important impact on the working status of the entire equipment. Frequency conversion loss is defined as the ratio of the power of the input frequency to the power of the output frequency at a given LO (LocalOscillator local oscillator frequency), which is a measure of how effectively the mixer converts the input frequency energy into the output frequency energy, where the input frequency It is RF (RadioFrequency radio frequency), and the output frequency is IF (IntermediateFrequency intermediate frequency).

混频器的变频损耗的测试受到LO、RF及端口间的匹配影响,测试难度较大。传统的变频损耗的测试方法包括:使用功率计、频谱仪或者矢量网络分析仪等测试仪器。采用功率计和频谱仪测试变频损耗需要使用两台信号源、功率计或者频谱分析仪以及函数信号发生器,采用矢量网络分析仪测试变频损耗需要使用一台两端口矢量网络分析仪和一台信号源或者内含两激励源的四端口矢量网络分析仪,这两种测试方法均需要人工手动的对各种仪器进行切换和设置,测试值还需要进行后续的人工处理,费时费力。因此,传统的变频损耗的测试方法效率不高。The frequency conversion loss test of the mixer is affected by the matching between LO, RF and ports, and the test is difficult. Traditional conversion loss testing methods include: using test instruments such as power meters, spectrum analyzers, or vector network analyzers. Using a power meter and a spectrum analyzer to test the frequency conversion loss requires the use of two signal sources, a power meter or a spectrum analyzer, and a function signal generator. Using a vector network analyzer to test the frequency conversion loss requires a two-port vector network analyzer and a signal source or a four-port vector network analyzer with two excitation sources inside, both of these two test methods require manual switching and setting of various instruments, and subsequent manual processing of test values is required, which is time-consuming and laborious. Therefore, the traditional testing method of conversion loss is not efficient.

发明内容Contents of the invention

基于此,有必要针对上述问题,提供一种效率高的混频器变频损耗的测试方法和系统。Based on this, it is necessary to provide a high-efficiency mixer frequency conversion loss testing method and system to address the above problems.

一种混频器变频损耗的测试方法,包括如下步骤:A method for testing the frequency conversion loss of a mixer, comprising the steps of:

设置混频器的本振频率信号和射频信号对应的应用参数;Set the application parameters corresponding to the local oscillator frequency signal and radio frequency signal of the mixer;

与测试仪器进行通讯,驱动所述测试仪器根据所述应用参数向所述混频器输入对应的本振频率信号和射频信号;Communicating with the test instrument, driving the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters;

获取所述测试仪器返回的测试数据,其中,所述测试数据为所述混频器根据所述本振频率信号和射频信号混频处理后输出的中频信号功率;Obtain the test data returned by the test instrument, wherein the test data is the intermediate frequency signal power output by the mixer according to the local oscillator frequency signal and the radio frequency signal after mixing processing;

计算所述应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。Calculate the ratio of the radio frequency signal power corresponding to the application parameter to the test data to obtain a frequency conversion loss value.

一种混频器变频损耗的测试系统,包括:A test system for frequency conversion loss of a mixer, comprising:

参数设置模块,用于设置混频器的本振频率信号和射频信号对应的应用参数;The parameter setting module is used to set the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer;

驱动测试模块,用于与测试仪器进行通讯,驱动所述测试仪器根据所述应用参数向所述混频器输入对应的本振频率信号和射频信号;The drive test module is used to communicate with the test instrument, and drive the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters;

数据采集模块,用于获取所述测试仪器返回的测试数据,其中,所述测试数据为所述混频器根据所述本振频率信号和射频信号混频处理后输出的中频信号功率;The data acquisition module is used to obtain the test data returned by the test instrument, wherein the test data is the intermediate frequency signal power output by the mixer according to the local oscillator frequency signal and the radio frequency signal after mixing processing;

数据处理模块,用于计算所述应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。The data processing module is used to calculate the ratio of the radio frequency signal power corresponding to the application parameter and the test data to obtain the frequency conversion loss value.

上述的一种混频器变频损耗的测试方法和系统,通过驱动测试仪器根据应用参数向混频器输入对应的射频信号和本振频率信号,获取测试仪器返回的混频器混频输出的测试数据,并计算应用参数对应的射频信号和测试数据的比值得到变频损耗值,实现了混频器变频损耗的自动测试,降低人工劳动强度,提高了效率。The above-mentioned method and system for testing the frequency conversion loss of a mixer, by driving the test instrument to input the corresponding radio frequency signal and the local oscillator frequency signal to the mixer according to the application parameters, and obtaining the test of the mixed frequency output of the mixer returned by the test instrument Data, and calculate the ratio of the RF signal corresponding to the application parameters and the test data to obtain the frequency conversion loss value, which realizes the automatic test of the frequency conversion loss of the mixer, reduces the labor intensity and improves the efficiency.

附图说明Description of drawings

图1为其中一实施例中本发明混频器变频损耗的测试方法的流程图;Fig. 1 is the flow chart of the testing method of frequency conversion loss of mixer of the present invention in one of them embodiment;

图2为另一实施例中混频器变频损耗的测试方法的流程图;Fig. 2 is the flow chart of the testing method of frequency conversion loss of the mixer in another embodiment;

图3为一实施例中设置混频器的本振频率信号和射频信号对应的应用参数的流程图;Fig. 3 is a flow chart of setting the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer in an embodiment;

图4为本发明混频器变频损耗的测试系统的模块图;Fig. 4 is the block diagram of the testing system of mixer frequency conversion loss of the present invention;

图5为一实施例中测试仪器与混频器的连接示意图;Fig. 5 is the connection schematic diagram of test instrument and mixer in an embodiment;

图6为另一实施例中混频器变频损耗的测试系统的模块图;Fig. 6 is the block diagram of the test system of the frequency conversion loss of the mixer in another embodiment;

图7为一实施例中通讯测试模块的具体单元图;Fig. 7 is a specific unit diagram of the communication test module in an embodiment;

图8为一实施例中参数设置模块的具体单元图;Fig. 8 is a specific unit diagram of a parameter setting module in an embodiment;

图9为应用混频器变频损耗的测试系统的测试装置图;Fig. 9 is a test device diagram of a test system using a frequency conversion loss of a mixer;

图10为通讯子VI的模块框图;Figure 10 is a module block diagram of the communication sub VI;

图11为通讯子VI的程序框图;Figure 11 is a program block diagram of the communication subVI;

图12为仪器驱动子VI的界面示意图;Figure 12 is a schematic diagram of the interface of the instrument driver sub-VI;

图13为计算机上运行软件的登陆界面示意图。Fig. 13 is a schematic diagram of the login interface of the software running on the computer.

具体实施方式Detailed ways

参考图1,本发明一实施例的一种混频器变频损耗的测试方法,包括步骤S110至步骤S170。Referring to FIG. 1 , a method for testing frequency conversion loss of a mixer according to an embodiment of the present invention includes steps S110 to S170 .

S110:设置混频器的本振频率信号和射频信号对应的应用参数。S110: Setting application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer.

例如,工作人员可以人工输入需要设置的对应本振频率信号和射频信号的频率点数,表示对应的本振频率信号和射频信号。For example, the staff can manually input the number of frequency points corresponding to the local oscillator frequency signal and the radio frequency signal that need to be set, indicating the corresponding local oscillator frequency signal and radio frequency signal.

S130:与测试仪器进行通讯,驱动测试仪器根据应用参数向混频器输入对应的本振频率信号和射频信号。S130: communicating with the test instrument, driving the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters.

测试仪器指用于测试混频器变频损耗值的仪器。例如,测试仪器可以包括一台两端口的矢量网络分析仪和一台信号源。本实施例中,矢量网络分析仪的一个端口连接混频器的射频信号输入端口,用于提供射频信号,另一个端口连接混频器的中频信号输出端口,信号源连接本振频率信号,用于向混频器提供本振频率信号。可以理解,在其他的实施例中,测试仪器也可以是内含两激励源的四端口矢量网络分析仪,此时,矢量网络分析仪既提供射频信号,又提供本振频率信号。The test instrument refers to the instrument used to test the frequency conversion loss value of the mixer. For example, test equipment can include a two-port vector network analyzer and a signal source. In this embodiment, one port of the vector network analyzer is connected to the radio frequency signal input port of the mixer for providing radio frequency signals, and the other port is connected to the intermediate frequency signal output port of the mixer, and the signal source is connected to the local oscillator frequency signal for It is used to provide the local oscillator frequency signal to the mixer. It can be understood that in other embodiments, the test instrument may also be a four-port vector network analyzer with two excitation sources. In this case, the vector network analyzer provides both radio frequency signals and local oscillator frequency signals.

S150:获取测试仪器返回的测试数据,其中,测试数据为混频器根据本振频率信号和射频信号混频处理后输出的中频信号功率。S150: Obtain the test data returned by the test instrument, wherein the test data is the power of the intermediate frequency signal output by the mixer after mixing according to the local oscillator frequency signal and the radio frequency signal.

S170:计算应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。S170: Calculate the ratio of the radio frequency signal power corresponding to the application parameter to the test data to obtain a frequency conversion loss value.

在其中一实施例中,参考图2,步骤S110之前还包括步骤S100:检测判断与测试仪器的通讯是否正常,若是,则执行步骤S110。若否,则可以发出报警信号告知工作人员通讯故障,以便及时处理。通过提前检测是否通讯连接正常,排除接收不到测试仪器返回数据的可能,提高效率。In one embodiment, referring to FIG. 2 , step S110 also includes step S100 before step S110 : detecting whether the communication with the testing instrument is normal, and if so, executing step S110 . If not, an alarm signal can be sent to inform the staff of the communication failure, so as to deal with it in time. By detecting whether the communication connection is normal in advance, the possibility of not receiving the data returned by the test instrument is eliminated, and the efficiency is improved.

在其中一实施例中,步骤S100包括步骤s11至步骤s13。In one embodiment, step S100 includes step s11 to step s13.

s11:向测试仪器发送检测数据。例如,检测数据可以是频率点数。s11: Send test data to the test instrument. For example, detection data may be frequency points.

s12:判断是否接收到测试仪器响应检测数据得到的反馈数据。若是,执行步骤s13。s12: judging whether the feedback data obtained by the test instrument in response to the detection data is received. If yes, execute step s13.

s13:判定与测试仪器的通讯正常。s13: Judging that the communication with the testing instrument is normal.

在其中一实施例中,参考图3,步骤S110包括步骤S111至步骤S119。In one embodiment, referring to FIG. 3 , step S110 includes step S111 to step S119 .

S111:获取输入的用户名和用户口令。S111: Obtain the input user name and user password.

S113:判断是否存储有输入的用户名。若是,则执行步骤S115。S113: Determine whether the input user name is stored. If yes, execute step S115.

S115:判断输入的用户口令与存储的用户名对应的口令是否一致。若是,则执行步骤S117或执行步骤S119。S115: Determine whether the input user password is consistent with the password corresponding to the stored user name. If yes, execute step S117 or execute step S119.

存储有输入的用户名,表示该用户是允许登陆系统的。输入的用户口令与存储的用户名对应的口令一致时,表示用户通过验证,可以使用系统。具体地,若输入的用户口令与存储的用户名对应的口令不一致时,可以输出提示信息,通知用户重新输入用户口令。The input user name is stored, indicating that the user is allowed to log in to the system. When the entered user password is consistent with the password corresponding to the stored user name, it means that the user has passed the authentication and can use the system. Specifically, if the input user password is inconsistent with the password corresponding to the stored user name, a prompt message may be output to notify the user to re-enter the user password.

通过用户名和用户口令的验证,一个用户名和用户口令对应一个文件夹,使得当有多人使用系统时,避免测试互相干扰,避免相关测试人员测试出错和防止无关人员使用系统。Through the verification of user name and user password, a user name and user password correspond to a folder, so that when multiple people use the system, it can avoid mutual interference of tests, avoid relevant testers from making mistakes in testing, and prevent irrelevant personnel from using the system.

S117:接收输入的对应用户名的参数,将参数设置为应用参数。因此,用户登陆后,可以重新设置应用参数。S117: Receive an input parameter corresponding to the user name, and set the parameter as an application parameter. Therefore, after the user logs in, the application parameters can be reset.

S119:根据用户名,获取存储的对应用户名的参数,将存储的参数中存储时间最新的参数设置为应用参数。即,可以调用对应用户名的参数设置为应用参数,具体为调用用户最近一次设置的应用参数。因此,当用户登陆系统后,可以继续进行上一次的测试工作。S119: According to the user name, acquire the stored parameters corresponding to the user name, and set the parameter with the latest storage time among the stored parameters as the application parameter. That is, the parameter corresponding to the user name may be called and set as an application parameter, specifically calling the application parameter last set by the user. Therefore, when the user logs in to the system, the last test can be continued.

在其中一实施例中,步骤S130中,与测试仪器进行通讯之后,驱动测试仪器根据应用参数向混频器输入对应的本振频率信号和射频信号之前,还包括:向测试仪器发送校准数据,接收测试仪器响应所述校准数据返回的数据,判断校准数据与返回的数据的误差是否小于或等于预设误差值,若是,则执行驱动测试仪器根据应用参数向混频器输入对应的本振频率信号和射频信号的步骤。若否,继续发送校准数据,直到校准数据与返回的数据的误差值小于或等于预设误差值。通过仪器校准,提高了数据传输的精确度。In one embodiment, in step S130, after communicating with the test instrument, before driving the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters, it also includes: sending calibration data to the test instrument, Receiving the data returned by the test instrument in response to the calibration data, judging whether the error between the calibration data and the returned data is less than or equal to the preset error value, and if so, executing the driving test instrument to input the corresponding local oscillator frequency to the mixer according to the application parameters Signal and RF signal steps. If not, continue to send the calibration data until the error value between the calibration data and the returned data is less than or equal to the preset error value. Through instrument calibration, the accuracy of data transmission is improved.

在其中一个实施例中,继续参考图2,步骤S170之后,还包括步骤S190:对变频损耗值和预设指标进行比较处理,得到混频器的性能分析报告。In one embodiment, referring to FIG. 2 , after step S170 , step S190 is further included: comparing the conversion loss value with a preset index to obtain a performance analysis report of the mixer.

预设指标指一个频率段的射频信号对应的理想变频损耗值。将测得的变频损耗值与预设指标中的变频损耗值进行比较,即可得出混频器的性能优劣。The preset index refers to the ideal frequency conversion loss value corresponding to a radio frequency signal in a frequency band. Comparing the measured frequency conversion loss value with the frequency conversion loss value in the preset index, the performance of the mixer can be obtained.

可以理解,步骤S110中设置的应用参数可以有多组,对应的,每一组应用参数可以得到步骤S170中的一个变频损耗值。通过多个变频损耗值的测试,可以得到各个频率段内的变频损耗情况,从而进行全面的性能评估。本实施例中,性能分析报告可以是以频率值为横轴、变频损耗值为纵轴的曲线图。It can be understood that there may be multiple sets of application parameters set in step S110, and correspondingly, one frequency conversion loss value in step S170 may be obtained for each set of application parameters. Through the test of multiple frequency conversion loss values, the frequency conversion loss in each frequency band can be obtained, so as to conduct a comprehensive performance evaluation. In this embodiment, the performance analysis report may be a graph with the frequency value on the horizontal axis and the frequency conversion loss value on the vertical axis.

在其中一个实施例中,步骤S190之后,还包括存储变频损耗值和/或性能分析报告的步骤。将测试得到的数据进行存储,方便以后工作人员查看统计。In one embodiment, after step S190, a step of storing frequency conversion loss values and/or performance analysis reports is further included. Store the data obtained from the test, so that the staff can check the statistics in the future.

上述的一种混频器变频损耗的测试方法,通过驱动测试仪器根据应用参数向混频器输入对应的射频信号和本振频率信号,获取测试仪器返回的混频器混频输出的测试数据,并计算应用参数对应的射频信号和测试数据的比值得到变频损耗值,实现了混频器变频损耗的自动测试,降低人工劳动强度,提高了效率。The above-mentioned method for testing the frequency conversion loss of a mixer, by driving the test instrument to input the corresponding radio frequency signal and the local oscillator frequency signal to the mixer according to the application parameters, to obtain the test data of the mixer output by the mixer returned by the test instrument, And calculate the ratio of the radio frequency signal corresponding to the application parameters and the test data to obtain the frequency conversion loss value, realize the automatic test of the frequency conversion loss of the mixer, reduce the labor intensity and improve the efficiency.

参考图4,本发明其中一实施例的一种混频器变频损耗的测试系统,包括参数设置模块110、驱动测试模块130、数据采集模块150和数据处理模块170。Referring to FIG. 4 , a test system for frequency conversion loss of a mixer according to an embodiment of the present invention includes a parameter setting module 110 , a driving test module 130 , a data acquisition module 150 and a data processing module 170 .

参数设置模块110用于设置混频器200(参见图5)的本振频率信号和射频信号对应的应用参数。例如,工作人员可以人工输入需要设置的对应本振频率信号和射频信号的频率点数,表示对应的本振频率信号和射频信号。The parameter setting module 110 is used to set the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer 200 (see FIG. 5 ). For example, the staff can manually input the number of frequency points corresponding to the local oscillator frequency signal and the radio frequency signal that need to be set, indicating the corresponding local oscillator frequency signal and radio frequency signal.

驱动测试模块130用于与测试仪器300(参见图5)进行通讯,驱动测试仪器300根据应用参数向混频器200输入对应的本振频率信号和射频信号。The drive test module 130 is used to communicate with the test instrument 300 (see FIG. 5 ), and the drive test instrument 300 inputs a corresponding local oscillator frequency signal and a radio frequency signal to the mixer 200 according to application parameters.

测试仪器300指用于测试混频器200变频损耗值的仪器。例如,参考图5,测试仪器300可以包括一台两端口的矢量网络分析仪301和一台信号源320。本实施例中,矢量网络分析仪301的一个端口连接混频器200的射频信号输入端口,用于提供射频信号,另一个端口连接混频器200的中频信号输出端口,信号源302连接本振频率信号,用于向混频器200提供本振频率信号。可以理解,在其他的实施例中,测试仪器300也可以是内含两激励源的四端口矢量网络分析仪,此时,四端口矢量网络分析仪既提供射频信号,又提供本振频率信号。The test instrument 300 refers to an instrument for testing the frequency conversion loss value of the mixer 200 . For example, referring to FIG. 5 , the test instrument 300 may include a two-port vector network analyzer 301 and a signal source 320 . In this embodiment, one port of the vector network analyzer 301 is connected to the radio frequency signal input port of the mixer 200 for providing radio frequency signals, the other port is connected to the intermediate frequency signal output port of the mixer 200, and the signal source 302 is connected to the local oscillator The frequency signal is used to provide a local oscillator frequency signal to the mixer 200 . It can be understood that, in other embodiments, the test instrument 300 may also be a four-port vector network analyzer with two excitation sources. In this case, the four-port vector network analyzer provides both radio frequency signals and local oscillator frequency signals.

数据采集模块150用于获取测试仪器300返回的测试数据,其中,测试数据为混频器200根据本振频率信号和射频信号混频处理后输出的中频信号功率。The data acquisition module 150 is used to acquire the test data returned by the test instrument 300, wherein the test data is the power of the intermediate frequency signal output by the mixer 200 after mixing according to the local oscillator frequency signal and the radio frequency signal.

数据处理模块170用于计算应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。The data processing module 170 is used to calculate the ratio of the radio frequency signal power corresponding to the application parameters and the test data to obtain the frequency conversion loss value.

在其中一实施例中,参考图6,上述混频器变频损耗的测试系统还包括通讯测试模块100,用于检测判断与测试仪器300的通讯是否正常。若通讯正常,则可以正常进行测试操作。若否,则可以发出报警信号告知工作人员通讯故障,以便及时处理。通过提前检测是否通讯连接正常,排除接收不到测试仪器300返回数据的可能,提高效率。In one embodiment, referring to FIG. 6 , the above-mentioned mixer frequency conversion loss testing system further includes a communication testing module 100 for detecting whether the communication with the testing instrument 300 is normal. If the communication is normal, the test operation can be performed normally. If not, an alarm signal can be sent to inform the staff of the communication failure, so as to deal with it in time. By detecting whether the communication connection is normal in advance, the possibility of not receiving the data returned by the testing instrument 300 is eliminated, and the efficiency is improved.

在其中一实施例中,参考图7,通讯测试模块100包括:In one of the embodiments, referring to FIG. 7, the communication test module 100 includes:

数据发送单元101,用于向测试仪器300发送检测数据。例如,检测数据可以是频率点数。The data sending unit 101 is configured to send detection data to the test instrument 300 . For example, detection data may be frequency points.

数据接收单元103,用于判断是否接收到测试仪器300响应检测数据得到的反馈数据。The data receiving unit 103 is used for judging whether to receive the feedback data obtained by the test instrument 300 in response to the detection data.

结果判定单元105,用于接收到反馈数据时,判定与测试仪器300的通讯正常。The result judging unit 105 is configured to judge that the communication with the testing instrument 300 is normal when the feedback data is received.

在其中一实施例中,参考图8,参数设置模块110包括用户标识采集单元111、用户标识识别单元113和用户参数设置单元115。In one of the embodiments, referring to FIG. 8 , the parameter setting module 110 includes a user ID collecting unit 111 , a user ID identifying unit 113 and a user parameter setting unit 115 .

用户标识采集单元111用于获取输入的用户名和用户口令。用户名和用户口令用于登陆系统时使用。The user identification collecting unit 111 is used to obtain the input user name and user password. The user name and user password are used when logging into the system.

用户标识识别单元113用于判断是否存储有输入的用户名,若是,判断输入的用户口令与存储的用户名对应的口令是否一致。存储有输入的用户名,表示该用户是允许登陆系统的。输入的用户口令与存储的用户名对应的口令一致时,表示用户通过验证,可以使用系统。具体地,若输入的用户口令与存储的用户名对应的口令不一致时,可以输出提示信息,通知用户重新输入用户口令。The user identification recognition unit 113 is used to determine whether the input user name is stored, and if so, determine whether the input user password is consistent with the password corresponding to the stored user name. The input user name is stored, indicating that the user is allowed to log in to the system. When the entered user password is consistent with the password corresponding to the stored user name, it means that the user has passed the authentication and can use the system. Specifically, if the input user password is inconsistent with the password corresponding to the stored user name, a prompt message may be output to notify the user to re-enter the user password.

通过用户名和用户口令的验证,一个用户名和用户口令对应一个文件夹,使得当有多人使用系统时,避免测试互相干扰,避免相关测试人员测试出错和防止无关人员使用系统。Through the verification of user name and user password, a user name and user password correspond to a folder, so that when multiple people use the system, it can avoid mutual interference of tests, avoid relevant testers from making mistakes in testing, and prevent irrelevant personnel from using the system.

用户参数设置单元115用于在输入的用户口令与存储的用户名对应的口令一致时,接收输入的对应用户名的参数,将参数设置为应用参数。因此,用户登陆后,可以重新设置应用参数。或者用户参数设置单元115也可以用于根据用户名,获取存储的对应用户名的参数,将存储的参数中存储时间最新的参数设置为应用参数。即,系统可以调用对应存储的用户名的参数设置为应用参数,具体为调用用户最近一次设置的应用参数。因此,当用户登陆系统后,可以继续进行上一次的测试工作。The user parameter setting unit 115 is configured to receive the input parameter corresponding to the user name when the input user password is consistent with the password corresponding to the stored user name, and set the parameter as an application parameter. Therefore, after the user logs in, the application parameters can be reset. Alternatively, the user parameter setting unit 115 may also be configured to obtain stored parameters corresponding to the user name according to the user name, and set the parameter with the latest storage time among the stored parameters as the application parameter. That is, the system may call the parameter corresponding to the stored user name and set it as an application parameter, specifically calling the application parameter last set by the user. Therefore, when the user logs in to the system, the last test can be continued.

在其中一实施例中,驱动测试模块130包括校准单元(图未示)和测试单元(图未示)。校准单元用于与测试仪器300进行通讯之后,向测试仪器300发送校准数据,接收测试仪器300响应校准数据返回的数据,判断校准数据与返回的数据的误差是否小于或等于预设误差值。测试单元用于在校准数据与返回的数据的误差小于或等于预设误差值时,驱动测试仪器300根据应用参数向混频器200输入本振频率信号和射频信号。具体地,若校准数据与返回的数据的误差大于预设误差值,则继续发送校准数据,直到校准数据与返回的数据的误差值小于或等于预设误差值。通过仪器校准,提高了数据传输的精确度。In one embodiment, the drive test module 130 includes a calibration unit (not shown) and a test unit (not shown). The calibration unit is used to communicate with the test instrument 300, send calibration data to the test instrument 300, receive the data returned by the test instrument 300 in response to the calibration data, and determine whether the error between the calibration data and the returned data is less than or equal to the preset error value. The test unit is used to drive the test instrument 300 to input the local oscillator frequency signal and the radio frequency signal to the mixer 200 according to the application parameters when the error between the calibration data and the returned data is less than or equal to the preset error value. Specifically, if the error between the calibration data and the returned data is greater than a preset error value, continue to send the calibration data until the error between the calibration data and the returned data is less than or equal to the preset error value. Through instrument calibration, the accuracy of data transmission is improved.

在其中一实施例中,继续参考图6,上述混频器变频损耗的测试系统还包括性能分析模块180,用于对变频损耗值和预设指标进行比较处理,得到混频器200的性能分析报告。预设指标指一个频率段的射频信号对应的理想变频损耗值。将测得的变频损耗值与预设指标中的变频损耗值进行比较,即可得出混频器200的性能优劣,从而可以对该测试的混频器200进行性能评估。In one embodiment, continue to refer to FIG. 6, the above-mentioned mixer frequency conversion loss testing system further includes a performance analysis module 180, which is used to compare the frequency conversion loss value with a preset index, and obtain the performance analysis of the mixer 200. Report. The preset index refers to the ideal frequency conversion loss value corresponding to a radio frequency signal in a frequency band. By comparing the measured frequency conversion loss value with the frequency conversion loss value in the preset index, the performance of the mixer 200 can be obtained, so that the performance evaluation of the tested mixer 200 can be performed.

可以理解,参数设置模块110中设置的应用参数可以有多组,对应的,每一组应用参数可以得到一个变频损耗值。通过多个变频损耗值的测试,可以得到各个频率段内的变频损耗情况,从而进行全面的性能评估。本实施例中,性能分析报告可以是以频率值为横轴、变频损耗值为纵轴的曲线图。It can be understood that there may be multiple sets of application parameters set in the parameter setting module 110, and correspondingly, a frequency conversion loss value may be obtained for each set of application parameters. Through the test of multiple frequency conversion loss values, the frequency conversion loss in each frequency band can be obtained, so as to conduct a comprehensive performance evaluation. In this embodiment, the performance analysis report may be a graph with the frequency value on the horizontal axis and the frequency conversion loss value on the vertical axis.

在其中一实施例中,上述混频器变频损耗的测试系统还包括输出模块(图未示),输出模块用于输出混频器200的性能分析报告。将测试得到的数据进行存储,方便以后工作人员查看统计。In one embodiment, the above-mentioned mixer frequency conversion loss testing system further includes an output module (not shown in the figure), and the output module is used to output a performance analysis report of the mixer 200 . Store the data obtained from the test, so that the staff can check the statistics in the future.

在其中一个实施例中,继续参考图6,上述混频器变频损耗的测试系统还包括存储模块190,用于存储变频损耗值和/或性能分析报告。In one embodiment, referring to FIG. 6 , the above-mentioned mixer frequency conversion loss testing system further includes a storage module 190 for storing frequency conversion loss values and/or performance analysis reports.

上述的一种混频器变频损耗的测试系统,通过驱动测试模块130驱动测试仪器300根据参数设置模块110设置的应用参数向混频器200输入对应的射频信号和本振频率信号,数据采集模块150获取测试仪器300返回的混频器200混频输出的测试数据,数据处理模块170计算应用参数对应的射频信号和测试数据的比值得到变频损耗值,实现了混频器200变频损耗的自动测试,降低人工劳动强度,提高了效率。The above-mentioned test system for frequency conversion loss of a mixer, drives the test instrument 300 through the drive test module 130 to input the corresponding radio frequency signal and local oscillator frequency signal to the mixer 200 according to the application parameters set by the parameter setting module 110, and the data acquisition module 150 obtains the test data outputted by the mixer 200 mixed frequency returned by the test instrument 300, and the data processing module 170 calculates the ratio of the radio frequency signal corresponding to the application parameter and the test data to obtain the frequency conversion loss value, thereby realizing the automatic test of the frequency conversion loss of the mixer 200 , Reduce labor intensity and improve efficiency.

以应用上述混频器变频损耗的测试系统为例,应用上述混频器变频损耗的测试系统的测试装置如图9所示。Taking the test system applying the frequency conversion loss of the above-mentioned mixer as an example, the test device of the test system using the above-mentioned frequency conversion loss of the mixer is shown in FIG. 9 .

混频器变频损耗的测试装置基于LabVIEW,主要有两大部分构成:硬件和软件。硬件部分包括相应的测试仪器、计算机和数据输出设备。测试仪器主要有两部分构成:具有频偏测试模块的矢量网络分析仪和具有扫频功能、设置扫频点数、扫频时间及接收外部触发信号功能的信号源。计算机使用的是能支持GPIB接口驱动程序的XP系统。数据输出设备是通过GPIB总线来完成数据输出设备和计算机之间的数据传送。具体地,数据输出设备可以是打印机设备。The test device for the frequency conversion loss of the mixer is based on LabVIEW, which mainly consists of two parts: hardware and software. The hardware part includes corresponding test instruments, computers and data output devices. The test instrument mainly consists of two parts: a vector network analyzer with a frequency offset test module and a signal source with the function of sweeping frequency, setting the number of sweeping points, sweeping time and receiving an external trigger signal. The computer uses the XP system that can support the GPIB interface driver. The data output device completes the data transmission between the data output device and the computer through the GPIB bus. Specifically, the data output device may be a printer device.

测试仪器主要指用来测量混频器变频损耗参数的硬件测试设备,可以由具有频偏功能的两端口矢量网络分析仪和具有扫频功能的信号源组合或者直接一台内部具有两激励源的四端口矢量网络分析仪完成。在本套装置中矢量网络分析仪选用了安捷伦的N5230A系列,该系列型号的具有高性能接收机,大测试动态范围,测试精度高,测试速度快,多通道测试功能,可灵活配置测试结构,多种总线测试控制方法。信号源选用的是安捷伦的E8257D系列,该信号源具有扫频速度快,精度高,可接收外部触发信号来驱动信号源。在测试时,矢量网络分析仪的P1端口作为矢量网络分析仪的输出端口,为混频器的射频端口输入信号,P2端口作为矢量网络分析仪的输入端口接到混频器的中频端口显示信号的变化,混频器的本振端口接入到信号源E8257D的输出端口。混频器的变频损耗测量必须保证两台仪器信号同频的前提下测试的结果才是准确可靠的,需要BNC线把矢量网络分析仪和信号源的外部触发输入连接起来,通过外部给予两台仪器运行的触发信号完成同频测量。The test instrument mainly refers to the hardware test equipment used to measure the frequency conversion loss parameters of the mixer. It can be composed of a two-port vector network analyzer with frequency offset function and a signal source with frequency sweep function, or a direct one with two excitation sources inside. Four-port vector network analyzer complete. In this set of devices, Agilent's N5230A series is selected as the vector network analyzer. This series of models has high-performance receivers, large test dynamic range, high test accuracy, fast test speed, multi-channel test function, and flexible configuration of test structures. A variety of bus test control methods. The signal source is selected from Agilent's E8257D series, which has fast frequency sweep speed and high precision, and can receive an external trigger signal to drive the signal source. During the test, the P1 port of the vector network analyzer is used as the output port of the vector network analyzer to input the signal for the RF port of the mixer, and the P2 port is connected to the IF port of the mixer as the input port of the vector network analyzer to display the signal Change, the local oscillator port of the mixer is connected to the output port of the signal source E8257D. The frequency conversion loss measurement of the mixer must ensure that the test results are accurate and reliable under the premise that the signals of the two instruments are at the same frequency. A BNC line is required to connect the vector network analyzer and the external trigger input of the signal source, and the two instruments are given externally. The trigger signal of the instrument operation completes the same frequency measurement.

计算机主要是为了让设计的软件正常运行及对测量仪器进行控制和数据的采集、存储等。计算机配置要求为操作系统为XP系统及以上,外部接口要支持GPIB总线及LPT端口。计算机支持GPIB接口是因为现在通用的仪器都配备了GPIB口,有利于进行仪器的扩展和联机测试,计算机支持GPIB接口也有利于降低测试成本,不需要额外添加其他通讯线,GPIB接口总线技术成本低,技术完整,开发简单,通用性强。LPT端口是计算机连接打印机设备,主要是为了测试数据处理后进行输出和显示,出具纸质版的测试数据载体,减少了测试人员的后期数据处理的工作量。The computer is mainly used to make the designed software run normally, control the measuring instrument and collect and store data. The computer configuration requires the operating system to be XP system and above, and the external interface should support GPIB bus and LPT port. The reason why the computer supports the GPIB interface is that the general-purpose instruments are equipped with a GPIB port, which is conducive to the expansion of the instrument and online testing. The computer supports the GPIB interface, which is also conducive to reducing the test cost, and does not need to add other communication lines. Low cost, complete technology, simple development, strong versatility. The LPT port is a computer connected to a printer device, mainly for output and display of test data after processing, and to issue a paper version of the test data carrier, reducing the workload of testers for later data processing.

基于LabVIEW(LaboratoryVirtualInstrumentationEngineeringWorkbench,实验室虚拟仪器工程平台)的混频器变频损耗测试装置的软件部分由四部分组成:与GPIB设备通讯的通讯子VI、仪器驱动子VI、信号采集与处理子VI、处理各层界面和实现多媒体技术的子VI。The software part of the mixer frequency conversion loss test device based on LabVIEW (LaboratoryVirtualInstrumentationEngineeringWorkbench, laboratory virtual instrument engineering platform) consists of four parts: communication subVI for communicating with GPIB equipment, instrument driver subVI, signal acquisition and processing subVI, processing Interfaces of each layer and subVIs for implementing multimedia technology.

参考图10,为通讯子VI的模块框图。在LabVIEW平台上的GPIB编程有两种方式,即传统的GPIB方式和针对即插即用协议(VXIplug&play)的VISA方式。本应用例中采用VISA方式编程。VISA是虚拟仪器软件结构体系的简称,它是在LabVIEW平台上控制VXI、GPIB、RS-232以及其他种类仪器的单接口程序库。采用VISA标准可以不考虑时间及仪器I/0选择项,驱动程序可以相互兼容使用。大多数VISA功能模块使用了VISAsession参数,VISAsession是每次程序操作过程的唯一逻辑标识符。它标识了与之通讯的设备名称以及进行I/0操作必需的配置信息。通讯子VI包括如下几个函数VISAOpen(打开通讯过程),VISAWrite(把数据串写入指定设备),VISARead(从指定设备中读入数据),VISAClose(关闭由VISAsession指定设备的通讯过程,释放系统资源)等功能模块。每个模块都由相应的函数构成,此函数在LabVIEW语言中的程序框图中的仪器I/O助手中的串口选项中直接调用上述四个函数,按照打开、写入、读取和关闭的顺序编程。参考图11,为通讯子VI的程序框图。Referring to Figure 10, it is a block diagram of the communication sub VI. There are two ways of GPIB programming on the LabVIEW platform, namely the traditional GPIB way and the VISA way for the plug and play protocol (VXIplug&play). In this application example, VISA programming is adopted. VISA is the abbreviation of virtual instrument software structure system, which is a single-interface program library that controls VXI, GPIB, RS-232 and other types of instruments on the LabVIEW platform. Adopting the VISA standard can ignore the time and instrument I/0 options, and the drivers can be used compatible with each other. Most VISA function modules use VISAsession parameters, and VISAsession is a unique logical identifier for each program operation. It identifies the name of the device to communicate with and the configuration information necessary for I/O operations. The communication sub-VI includes the following functions: VISAOpen (open the communication process), VISAWrite (write the data string into the specified device), VISARead (read the data from the specified device), VISAClose (close the communication process of the device specified by VISAsession, release the system resources) and other functional modules. Each module is composed of corresponding functions. This function directly calls the above four functions in the serial port option of the instrument I/O assistant in the program block diagram of the LabVIEW language, in the order of opening, writing, reading and closing programming. Referring to Figure 11, it is the program block diagram of the communication subVI.

参考图12,为仪器驱动子VI的界面示意图。虚拟仪器驱动程序是处理与特定仪器进行控制通讯的一种软件,是用户完成对仪器硬件控制的纽带和桥梁,仪器驱动器与GPIB接口及使用开发环境互相联系,提供了一种高级的、抽象的仪器映象。虚拟仪器驱动程序的核心是驱动程序函数VI集(即组成驱动程序模块化的子程序)。驱动程序一般分两层:底层是仪器的基本操作,如初始化仪器、配置仪器输入参数、收发数据、查看仪器状态;高层是应用函数/VI层,它根据具体测量要求调用底层的函数VI,相应的函数在程序框图编程选用,数值输入、初始化仪器等函数。使用计算机控制仪器的过程,实际上就是计算机与仪器在通讯过程中信息传递过程,是控制仪器的命令和仪器的反馈数据。每台仪器都有它特定的命令和发送命令格式,需要根据相应的仪器操作说明进行编写。每台不同间的仪器可以通过下载相应的驱动程序驱动。Referring to Figure 12, it is a schematic diagram of the interface of the instrument driver sub VI. Virtual instrument driver is a kind of software that handles control communication with specific instruments. It is the link and bridge for users to complete the control of instrument hardware. Instrument image. The core of the virtual instrument driver is the driver function VI set (that is, the subroutines that make up the driver module). The driver is generally divided into two layers: the bottom layer is the basic operation of the instrument, such as initializing the instrument, configuring the input parameters of the instrument, sending and receiving data, and checking the status of the instrument; the high layer is the application function/VI layer, which calls the bottom function VI according to the specific measurement requirements, and correspondingly The functions are selected in the program block diagram programming, such as numerical input, initialization of instruments and other functions. The process of using the computer to control the instrument is actually the process of information transmission between the computer and the instrument in the communication process, which is the command to control the instrument and the feedback data of the instrument. Each instrument has its specific command and sending command format, which need to be written according to the corresponding instrument operating instructions. Each different instrument can be driven by downloading the corresponding driver.

信号采集与处理子VI主要是根据用户的测试要求和仪器数据采集相关的命令格式,把所需要数据读出来。通过LabVIEW所具有的数据采集、将原始数据通过一定的函数VI转换成excel文档的功能,直接省去了数据处理的时间,有效的减轻了测试人员工作量。例如在采集变频损耗测量过程的数据时,首先设置需要采集的数据项,其次发送读数据命令进行数据采集,最后读出数据并通过GPIB传输到计算机进行后续处理。The signal acquisition and processing subVI mainly reads out the required data according to the user's test requirements and the command format related to instrument data acquisition. Through the data collection of LabVIEW and the function of converting the original data into an excel document through a certain function VI, the time of data processing is directly saved, and the workload of the testers is effectively reduced. For example, when collecting the data of the frequency conversion loss measurement process, first set the data items to be collected, then send the read data command to collect the data, and finally read the data and transmit it to the computer through GPIB for subsequent processing.

在虚拟仪器软件开发中,一般采用模块化程序设计方法。模块化程序设计的出发点是把一个复杂的系统软件分解为若干个功能模块,每个模块执行单一的功能。在本系统的编程设计中,处理各层界面和实现多媒体技术的子VI先依据功能编制各种底层的子程序VI,包括对仪器初始化、功能选择、数据采集及处理、错误查询等,再编制调用这些功能模块的高层子VI,完成复杂的数据采集和处理任务。In the development of virtual instrument software, the modular programming method is generally adopted. The starting point of modular programming is to decompose a complex system software into several functional modules, and each module performs a single function. In the programming design of this system, the sub VIs that deal with interfaces of various layers and realize multimedia technology first compile various subroutine VIs based on functions, including instrument initialization, function selection, data collection and processing, error query, etc., and then compile Call the high-level subVIs of these functional modules to complete complex data collection and processing tasks.

参考图13,为计算机上运行软件的登陆界面。用户登陆进入之后,可以通过软件实现与测试仪器的通讯和驱动测试仪器进行测试。Referring to FIG. 13 , it is the login interface of running software on the computer. After the user logs in, the software can realize the communication with the test instrument and drive the test instrument for testing.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1.一种混频器变频损耗的测试方法,其特征在于,包括如下步骤:1. a method for testing of mixer frequency conversion loss, is characterized in that, comprises the steps: 设置混频器的本振频率信号和射频信号对应的应用参数;Set the application parameters corresponding to the local oscillator frequency signal and radio frequency signal of the mixer; 与测试仪器进行通讯,驱动所述测试仪器根据所述应用参数向所述混频器输入对应的本振频率信号和射频信号;Communicating with the test instrument, driving the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters; 获取所述测试仪器返回的测试数据,其中,所述测试数据为所述混频器根据所述本振频率信号和射频信号混频处理后输出的中频信号功率;Obtain the test data returned by the test instrument, wherein the test data is the intermediate frequency signal power output by the mixer according to the local oscillator frequency signal and the radio frequency signal after mixing processing; 计算所述应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。Calculate the ratio of the radio frequency signal power corresponding to the application parameter to the test data to obtain a frequency conversion loss value. 2.根据权利要求1所述的混频器变频损耗的测试方法,其特征在于,所述设置混频器的本振频率信号和射频信号对应的应用参数之前,还包括:2. the test method of mixer frequency conversion loss according to claim 1, is characterized in that, before the local oscillator frequency signal of described setting mixer and the application parameter corresponding to radio frequency signal, also comprise: 检测判断与所述测试仪器的通讯是否正常;Detecting and judging whether the communication with the testing instrument is normal; 若是,则执行所述设置混频器的本振频率信号和射频信号对应的应用参数的步骤。If yes, execute the step of setting the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer. 3.根据权利要求2所述的混频器变频损耗的测试方法,其特征在于,所述检测判断与所述测试仪器的通讯是否正常,包括:3. the test method of mixer frequency conversion loss according to claim 2, is characterized in that, whether described detection judges and the communication of described testing instrument is normal, comprises: 向所述测试仪器发送检测数据;sending detection data to the testing instrument; 判断是否接收到所述测试仪器响应所述检测数据得到的反馈数据;judging whether the feedback data obtained by the test instrument in response to the detection data is received; 若是,判定与所述测试仪器的通讯正常。If yes, it is determined that the communication with the test instrument is normal. 4.根据权利要求1所述的混频器变频损耗的测试方法,其特征在于,所述设置混频器的本振频率信号和射频信号对应的应用参数包括:4. the method for testing of mixer frequency conversion loss according to claim 1, is characterized in that, the application parameter corresponding to the local oscillator frequency signal of described setting mixer and radio frequency signal comprises: 获取输入的用户名和用户口令;Obtain the entered username and password; 判断是否存储有输入的用户名;Determine whether the input username is stored; 若是,判断输入的用户口令与存储的用户名对应的口令是否一致;If so, determine whether the input user password is consistent with the password corresponding to the stored user name; 若一致,接收输入的对应所述用户名的参数,将所述参数设置为所述应用参数;或If they are consistent, receive input parameters corresponding to the user name, and set the parameters as the application parameters; or 根据所述用户名,获取存储的对应所述用户名的参数,将存储的参数中存储时间最新的参数设置为所述应用参数。According to the user name, the stored parameters corresponding to the user name are obtained, and the parameter with the latest storage time among the stored parameters is set as the application parameter. 5.根据权利要求1所述的混频器变频损耗的测试方法,其特征在于,所述计算所述应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值之后,还包括:5. the test method of frequency conversion loss of mixer according to claim 1, is characterized in that, described calculating the ratio of the radio frequency signal power corresponding to described application parameter and test data, after obtaining frequency conversion loss value, also comprises: 对所述变频损耗值和预设指标进行比较处理,得到所述混频器的性能分析报告。The frequency conversion loss value is compared with a preset index to obtain a performance analysis report of the mixer. 6.一种混频器变频损耗的测试系统,其特征在于,包括:6. A test system for frequency conversion loss of a mixer, characterized in that it comprises: 参数设置模块,用于设置混频器的本振频率信号和射频信号对应的应用参数;The parameter setting module is used to set the application parameters corresponding to the local oscillator frequency signal and the radio frequency signal of the mixer; 驱动测试模块,用于与测试仪器进行通讯,驱动所述测试仪器根据所述应用参数向所述混频器输入对应的本振频率信号和射频信号;The drive test module is used to communicate with the test instrument, and drive the test instrument to input the corresponding local oscillator frequency signal and radio frequency signal to the mixer according to the application parameters; 数据采集模块,用于获取所述测试仪器返回的测试数据,其中,所述测试数据为所述混频器根据所述本振频率信号和射频信号混频处理后输出的中频信号功率;The data acquisition module is used to obtain the test data returned by the test instrument, wherein the test data is the intermediate frequency signal power output by the mixer according to the local oscillator frequency signal and the radio frequency signal after mixing processing; 数据处理模块,用于计算所述应用参数对应的射频信号功率和测试数据的比值,得到变频损耗值。The data processing module is used to calculate the ratio of the radio frequency signal power corresponding to the application parameter and the test data to obtain the frequency conversion loss value. 7.根据权利要求6所述的混频器变频损耗的测试系统,其特征在于,还包括通讯测试模块,用于检测判断与所述测试仪器的通讯是否正常。7 . The test system for frequency conversion loss of the mixer according to claim 6 , further comprising a communication test module for detecting whether the communication with the test instrument is normal. 7 . 8.根据权利要求7所述的混频器变频损耗的测试系统,其特征在于,所述通讯测试模块包括:8. The test system of the frequency conversion loss of the mixer according to claim 7, wherein the communication test module comprises: 数据发送单元,用于向所述测试仪器发送检测数据;a data sending unit, configured to send detection data to the test instrument; 数据接收单元,用于判断是否接收到所述测试仪器响应所述检测数据得到的反馈数据;a data receiving unit, configured to determine whether the feedback data obtained by the test instrument in response to the detection data is received; 结果判定单元,用于在接收到所述反馈数据时,判定与所述测试仪器的通讯正常。The result judging unit is configured to judge that the communication with the test instrument is normal when the feedback data is received. 9.根据权利要求6所述的混频器变频损耗的测试系统,其特征在于,所述参数设置模块包括:9. the test system of mixer conversion loss according to claim 6, is characterized in that, described parameter setting module comprises: 用户标识采集单元,用于获取输入的用户名和用户口令;A user identification acquisition unit, configured to acquire an input user name and user password; 用户标识识别单元,用于判断是否存储有输入的用户名,若是,判断输入的用户口令与存储的用户名对应的口令是否一致;The user identification recognition unit is used to judge whether the input user name is stored, and if so, judges whether the input user password is consistent with the password corresponding to the stored user name; 用户参数设置单元,用于在输入的用户口令与存储的用户名对应的口令一致时,接收输入的对应所述用户名的参数,将所述参数设置为所述应用参数;或A user parameter setting unit, configured to receive an input parameter corresponding to the user name when the input user password is consistent with the password corresponding to the stored user name, and set the parameter as the application parameter; or 用于根据所述用户名,获取存储的对应所述用户名的参数,将存储的参数中存储时间最新的参数设置为所述应用参数。The method is used for obtaining the stored parameters corresponding to the user name according to the user name, and setting the parameter with the latest storage time among the stored parameters as the application parameter. 10.根据权利要求6所述的混频器变频损耗的测试系统,其特征在于,还包括性能分析模块,用于对所述变频损耗值和预设指标进行比较处理,得到所述混频器的性能分析报告。10. The test system of the frequency conversion loss of the mixer according to claim 6, further comprising a performance analysis module, which is used to compare and process the frequency conversion loss value and a preset index to obtain the frequency conversion loss of the mixer performance analysis report.
CN201510393775.4A 2015-07-03 2015-07-03 Method and system of testing frequency conversion loss of mixer Pending CN105067894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510393775.4A CN105067894A (en) 2015-07-03 2015-07-03 Method and system of testing frequency conversion loss of mixer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510393775.4A CN105067894A (en) 2015-07-03 2015-07-03 Method and system of testing frequency conversion loss of mixer

Publications (1)

Publication Number Publication Date
CN105067894A true CN105067894A (en) 2015-11-18

Family

ID=54497311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510393775.4A Pending CN105067894A (en) 2015-07-03 2015-07-03 Method and system of testing frequency conversion loss of mixer

Country Status (1)

Country Link
CN (1) CN105067894A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353259A (en) * 2015-12-09 2016-02-24 扬州海科电子科技有限公司 Automatic test system for frequency conversion assembly
CN106443548A (en) * 2016-11-15 2017-02-22 中国电子科技集团公司第四十研究所 Calibration method of using electronic calibration piece to measure frequency conversion loss of mixer by vector network analyzer
CN108614207A (en) * 2018-05-23 2018-10-02 中国电子科技集团公司第四十研究所 A kind of the signal source switching device and method of vector network analyzer
CN109196365A (en) * 2016-09-01 2019-01-11 多路径株式会社 Utilize the conductivity and non-conductor dielectric constant properties change detecting device of the cordless of radiofrequency signal
CN111880013A (en) * 2020-08-18 2020-11-03 中电科仪器仪表有限公司 Terahertz mixer frequency conversion loss testing method and system for eliminating radio frequency source influence
WO2021169927A1 (en) * 2020-02-29 2021-09-02 昆山普尚电子科技有限公司 Mixer effective supply voltage calculation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5089782A (en) * 1989-03-22 1992-02-18 Hewlett-Packard Company Vector network analyzer for swept frequency harmonic and mixer conversion loss measurements using either an internal or external signal source
KR100877997B1 (en) * 2007-08-08 2009-01-12 엘아이지넥스원 주식회사 Power conversion loss measuring apparatus and its measuring method of mixer with spectrum analyzer
CN203786213U (en) * 2014-04-24 2014-08-20 成都工业学院 EMI filter loading insertion loss automatic test system
CN104062620A (en) * 2014-07-16 2014-09-24 中国科学院上海微系统与信息技术研究所 Power calibration test system and power calibration measurement method
CN104698274A (en) * 2013-12-10 2015-06-10 苏州普源精电科技有限公司 Spectrum analyzer with local oscillator calibration function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5089782A (en) * 1989-03-22 1992-02-18 Hewlett-Packard Company Vector network analyzer for swept frequency harmonic and mixer conversion loss measurements using either an internal or external signal source
KR100877997B1 (en) * 2007-08-08 2009-01-12 엘아이지넥스원 주식회사 Power conversion loss measuring apparatus and its measuring method of mixer with spectrum analyzer
CN104698274A (en) * 2013-12-10 2015-06-10 苏州普源精电科技有限公司 Spectrum analyzer with local oscillator calibration function
CN203786213U (en) * 2014-04-24 2014-08-20 成都工业学院 EMI filter loading insertion loss automatic test system
CN104062620A (en) * 2014-07-16 2014-09-24 中国科学院上海微系统与信息技术研究所 Power calibration test system and power calibration measurement method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王耀光 等: "基于IVI技术的混频器自动测试系统设计", 《科技资讯》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105353259A (en) * 2015-12-09 2016-02-24 扬州海科电子科技有限公司 Automatic test system for frequency conversion assembly
CN105353259B (en) * 2015-12-09 2018-01-23 扬州海科电子科技有限公司 A kind of frequency conversion component Auto-Test System
CN109196365A (en) * 2016-09-01 2019-01-11 多路径株式会社 Utilize the conductivity and non-conductor dielectric constant properties change detecting device of the cordless of radiofrequency signal
CN106443548A (en) * 2016-11-15 2017-02-22 中国电子科技集团公司第四十研究所 Calibration method of using electronic calibration piece to measure frequency conversion loss of mixer by vector network analyzer
CN106443548B (en) * 2016-11-15 2019-01-22 中国电子科技集团公司第四十一研究所 A kind of vector network analyzer measures the calibration method of mixer conversion loss using Electronic Calibration part
CN108614207A (en) * 2018-05-23 2018-10-02 中国电子科技集团公司第四十研究所 A kind of the signal source switching device and method of vector network analyzer
WO2021169927A1 (en) * 2020-02-29 2021-09-02 昆山普尚电子科技有限公司 Mixer effective supply voltage calculation method
CN111880013A (en) * 2020-08-18 2020-11-03 中电科仪器仪表有限公司 Terahertz mixer frequency conversion loss testing method and system for eliminating radio frequency source influence
CN111880013B (en) * 2020-08-18 2021-10-26 中电科思仪科技股份有限公司 Terahertz mixer frequency conversion loss testing method and system for eliminating radio frequency source influence
WO2022036873A1 (en) * 2020-08-18 2022-02-24 中电科仪器仪表有限公司 Terahertz mixer frequency conversion loss test method and system capable of eliminating influence of radio frequency source

Similar Documents

Publication Publication Date Title
CN106059582B (en) A kind of Testing of mixed signal chipset system and method
CN105067894A (en) Method and system of testing frequency conversion loss of mixer
WO2017000424A1 (en) Protocol detection method and apparatus
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN106054058B (en) One kind can be to multiple sigma-delta ADC chip testings and temperature controlled system and method
CN102946616B (en) Internet of things middleware performance testing system and testing method
CN101206130A (en) Automatic verification/calibration/test platform for electronic instrument
CN104833944A (en) Large user electric energy meter on-site inspection system and method
CN105301481A (en) Circuit testing method and applicable testing system
CN108984403A (en) The verification method and device of FPGA logical code
TW201322687A (en) Test method of a wireless network device and test system thereof
CN114757135B (en) Programmable logic device verification method and system based on demand drive verification
CN105044513A (en) Quick frequency characteristic test system
CN108776723B (en) Test system self-checking adapter connection line generation method, device, equipment and storage medium
CN115201556A (en) An intelligent electromagnetic detection system
CN114578790A (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
CN113688039B (en) Digital twinning-based simulation verification method for automatic test system
CN201993421U (en) System for automatically testing front ends of millimeter waves
CN112179394B (en) Intelligent instrument and meter verification system and method
CN102879732A (en) Method and system for testing board card
CN116506007A (en) Optical module firmware testing system and method
CN106507407B (en) The cross-platform test macro of low-power consumption bluetooth and method based on windows system
CN115166568A (en) Remote magnitude transmission and tracing system and method for direct-current voltage source
CN105974221A (en) Universal adapter for multi-channel bus interface module testing
CN104748779A (en) Calibration system for signal detection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151118