Board card calibration method and device and computer equipment
Through parallel calibration and multi-frequency point detection technology, the problem of insufficient calibration efficiency and accuracy of analog signal test boards is solved, and efficient and accurate calibration of multiple boards in the test machine is achieved.
Patent Information
- Application Number
- CN202411042452.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-08-27
AI Technical Summary
The calibration efficiency and accuracy of analog signal test boards in the existing technology are insufficient, and traditional methods cannot effectively cover the entire signal frequency band, resulting in insufficient calibration accuracy at some frequency points.
Using a parallel calibration method, multiple boards to be calibrated are tested at multiple frequencies by sending calibration instructions, polynomial curve fitting is used to determine calibration parameters, and the boards are calibrated based on these parameters to improve calibration efficiency and accuracy.
It achieves parallel calibration of multiple boards to be calibrated in the test machine, improves calibration efficiency, and covers the entire signal frequency band through multi-frequency point detection, significantly improving calibration accuracy.
Smart Images

Figure CN118549875A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of test machine calibration, and in particular to a board calibration method, device, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] With the rapid development of chip testing technology, the demand for testing analog signal chips is also increasing. In order to meet the requirements of chip testing, the boards in the tester usually need to be calibrated before use. The board calibration method is usually closely related to the tester, board structure and calibration instrument. The appropriate calibration method can not only improve the accuracy of the calibrated data, but also reduce the calibration time in mass production.
[0003] Taking the analog signal test board as an example, since it contains two modules, DAC (Digital-to-Analog Converter) and ADC (Analog-to-Digital Converter), in traditional technology, the calibration scheme for the analog signal test board is to calibrate each module independently or serially, and the calibration efficiency is not high; while for the gain error and offset error of the analog signal, segmented calibration or frequency point calibration is usually adopted. Since the calibration frequency points of segmented calibration or frequency point calibration cannot cover the entire signal frequency band well, the calibration accuracy of some frequency points after calibration is insufficient. Summary of the invention
[0004] Based on this, it is necessary to provide a board calibration method, device, computer equipment, computer-readable storage medium and computer program product that can improve calibration efficiency and calibration accuracy in response to the above technical problems.
[0005] In a first aspect, the present application provides a board calibration method, comprising:
[0006] In response to a calibration request for a plurality of boards to be calibrated in a test machine, a calibration instruction is sent to the plurality of boards to be calibrated, wherein the calibration request carries calibration items and corresponding calibration channels for parallel calibration of the plurality of boards to be calibrated; the calibration instruction is used to instruct the boards to be calibrated to conduct corresponding transmission links according to the calibration items and the calibration channels;
[0007] According to the transmission link and the calibration item, a plurality of boards to be calibrated are subjected to multi-frequency point detection at a plurality of preset frequency points to be detected, so as to obtain multi-frequency point detection data of each board to be calibrated, wherein the plurality of frequency points to be detected are determined according to the frequency range of the test machine;
[0008] Performing polynomial curve fitting on the multi-frequency point detection data of each of the boards to be calibrated to determine the calibration parameters of the boards to be calibrated for the calibration items;
[0009] The board to be calibrated is calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
[0010] In one of the embodiments, before performing multi-frequency detection on multiple boards to be calibrated at multiple preset frequency points to be detected, the method also includes: obtaining calibration configuration parameters, the calibration configuration parameters including a configured sampling frequency step and multiple set points; traversing the frequency range of the test machine according to the sampling frequency step to determine the multiple frequencies to be detected; and determining the multiple frequency points to be detected according to the multiple frequencies to be detected and the multiple set points.
[0011] In one of the embodiments, performing polynomial curve fitting on the multi-frequency detection data of each of the boards to be calibrated to determine the calibration parameters of the boards to be calibrated for the calibration item includes: determining a plurality of frequencies corresponding to each set point and corresponding actual values based on the multi-frequency detection data of the boards to be calibrated; performing polynomial curve fitting on the plurality of frequencies corresponding to the set points and corresponding actual values to determine the calibration parameters of the boards to be calibrated for the calibration item.
[0012] In one of the embodiments, performing polynomial curve fitting on the multiple frequencies corresponding to the set points and the corresponding actual values to determine the calibration parameters of the board to be calibrated for the calibration item includes: determining a polynomial fitting equation based on the relationship between the multiple frequencies corresponding to at least two set points and the actual values; and solving the polynomial fitting equation by the least squares method to obtain the calibration parameters of the board to be calibrated for the calibration item.
[0013] In one of the embodiments, after obtaining the calibration parameters of the board to be calibrated for the calibration item, the method further includes: obtaining the signal error of the board to be calibrated for the calibration item according to the calibration parameters; and storing the calibration parameters in the board to be calibrated when the signal error is less than or equal to a preset signal error threshold.
[0014] In one of the embodiments, according to the transmission link and the calibration item, multi-frequency point detection is performed on multiple boards to be calibrated at multiple preset frequency points to be detected to obtain multi-frequency point detection data of each board to be calibrated, including: when the calibration item for the board to be calibrated is DAC calibration, based on the multiple frequency points to be detected, driving the DAC module of the corresponding board to be calibrated to output a corresponding first waveform signal; obtaining multiple first actual values of the first waveform signal of the board to be calibrated at the multiple frequency points to be detected through the transmission link to obtain the first multi-frequency point detection data of the board to be calibrated.
[0015] In one of the embodiments, according to the transmission link and the calibration item, multi-frequency point detection is performed on multiple boards to be calibrated at multiple preset frequency points to be detected to obtain multi-frequency point detection data of each board to be calibrated, including: when the calibration item for the board to be calibrated is ADC calibration, outputting a corresponding second waveform signal to the corresponding board to be calibrated through the transmission link based on the multiple frequency points to be detected; obtaining multiple second actual values of the second waveform signal at the multiple frequency points to be detected by the ADC module of the board to be calibrated, to obtain second multi-frequency point detection data of the board to be calibrated.
[0016] In one of the embodiments, the board to be calibrated is calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item, including: determining at least two output amplitudes of the board to be calibrated at the set frequency for at least two set points based on the calibration parameters; performing linear regression fitting according to the at least two set points of the board to be calibrated at the set frequency and the corresponding at least two output amplitudes to determine the linear error of the board to be calibrated at the set frequency; and adjusting the actual output amplitude of the board to be calibrated at the set frequency for the target set point according to the linear error.
[0017] In one of the embodiments, the board to be calibrated includes a DAC module and an ADC module; the method further includes: obtaining a calibration mode for parallel calibration of multiple boards to be calibrated, the calibration mode including a mode for parallel calibration of the same modules of the multiple boards to be calibrated, and a mode for parallel calibration of different modules of the multiple boards to be calibrated; based on the calibration mode, determining calibration items and corresponding calibration channels for parallel calibration of the multiple boards to be calibrated; generating calibration requests for the multiple boards to be calibrated according to the calibration items and corresponding calibration channels for parallel calibration of the multiple boards to be calibrated.
[0018] In a second aspect, the present application further provides a board calibration device, the device comprising:
[0019] A response module, configured to respond to a calibration request for a plurality of boards to be calibrated in a test machine and send a calibration instruction to the plurality of boards to be calibrated, wherein the calibration request carries calibration items and corresponding calibration channels for parallel calibration of the plurality of boards to be calibrated; the calibration instruction is used to instruct the boards to be calibrated to conduct corresponding transmission links according to the calibration items and the calibration channels;
[0020] A detection module, configured to perform multi-frequency point detection on a plurality of boards to be calibrated at a plurality of preset frequency points to be detected according to the transmission link and the calibration item, and obtain multi-frequency point detection data of each board to be calibrated, wherein the plurality of frequency points to be detected are determined according to the frequency range of the test machine;
[0021] A calibration parameter determination module, used for performing polynomial curve fitting on the multi-frequency point detection data of each of the boards to be calibrated, and determining the calibration parameters of the boards to be calibrated for the calibration items;
[0022] The calibration module is used to calibrate the board to be calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
[0023] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0024] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0025] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0026] The above-mentioned board calibration method, device, computer equipment, computer-readable storage medium and computer program product, the calibration terminal sends calibration instructions to multiple boards to be calibrated in response to calibration requests for multiple boards to be calibrated in the test machine, performs multi-frequency point detection on multiple boards to be calibrated at preset multiple frequencies to be detected according to the transmission link and the calibration project, obtains the multi-frequency point detection data of each board to be calibrated, and performs polynomial curve fitting on the multi-frequency point detection data of each board to be calibrated, determines the calibration parameters of the board to be calibrated for the calibration project, and calibrates the board to be calibrated at the set frequency based on the calibration parameters to complete the calibration of the board to be calibrated for the calibration project at the set frequency. Since its calibration instructions are for multiple boards to be calibrated in the test machine, parallel calibration of multiple boards to be calibrated in the test machine can be achieved, so the calibration efficiency can be improved. And since the calibration parameters are obtained by polynomial curve fitting based on the multi-frequency point detection data of multiple frequencies to be detected determined based on the frequency range of the test machine, it can cover the entire signal frequency band of the test machine, and then calibrate according to the frequency point based on the calibration parameters, so that the calibration accuracy can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 A diagram showing an application environment of a board calibration method in an embodiment;
[0029] Figure 2 A schematic diagram of a process flow of a board calibration method in one embodiment;
[0030] Figure 3 A schematic diagram of a board calibration principle in an embodiment;
[0031] Figure 4 A schematic diagram of a flow chart of a step of determining a frequency point to be detected in an embodiment;
[0032] Figure 5 A schematic diagram of a flow chart of a step of determining calibration parameters in one embodiment;
[0033] Figure 6 A schematic diagram of multi-frequency point detection data in an embodiment;
[0034] Figure 7 A schematic diagram of a calibration frequency response curve in one embodiment;
[0035] Figure 8 A schematic diagram of a single frequency input and output curve in an embodiment;
[0036] Fig. 9 is a structural block diagram of a board calibration device in one embodiment;
[0037] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] The board calibration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the calibration terminal 102 is connected to the backplane of the test machine 104 via PCIe (peripheral component interconnect express, a high-speed serial computer expansion bus standard). Specifically, the calibration terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, etc. The backplane of the test machine 104 is connected to a plurality of test boards (such as board 1, board 2, board 3, ... board N), and the plurality of test boards are connected one by one to a plurality of calibration sub-boards (such as calibration sub-board 1, calibration sub-board 2, calibration sub-board 3, ... calibration sub-board N), and the type of the calibration sub-board matches the type of the corresponding test board. Multiple calibration sub-boards are connected to the calibration motherboard through a standardized interface.
[0040] The calibration terminal 102 sends a calibration instruction to the backplane of the test machine 104. The backplane parses the calibration instruction and distributes it to the corresponding test board. The test board controls the IIC (Inter-Integrated Circuit, an integrated circuit bus, which is a serial communication bus) on the calibration motherboard and the calibration daughter board through the communication bus to achieve relay switching on the calibration motherboard and the calibration daughter board, so that the channel link on the test board that needs to be calibrated is connected to the corresponding calibration instrument (including but not limited to a power meter, a signal generator, and a standard digital multimeter). The calibration terminal 102 calibrates the test board corresponding to the channel link based on the calibration instrument.
[0041] In an exemplary embodiment, Figure 2 As shown, a board calibration method is provided, which is applied to Figure 1 The calibration terminal in the example is used as an example to illustrate, and the specific steps may include:
[0042] Step 202: In response to calibration requests for multiple boards to be calibrated in a test machine, a calibration instruction is sent to the multiple boards to be calibrated.
[0043] Among them, the calibration request is an instruction or command for parallel calibration of multiple boards to be calibrated in the test machine. The calibration request carries the calibration items and corresponding calibration channels for parallel calibration of multiple boards to be calibrated. The board to be calibrated is the test board that needs to be calibrated. Since each test board includes a DAC module and an ADC module, the DAC module is used to output analog signals, and the ADC module is used to collect analog signals, and the DAC module and ADC module on the test board have multiple channels, and due to the limitation of the calibration instrument, usually one module only calibrates one channel at a time. Specifically, the calibration item refers to the DAC calibration or ADC calibration item of the board to be calibrated, and the calibration channel refers to the specific channel that needs to be calibrated. The purpose of DAC calibration is to minimize the error of AC (Alternating Current) output. The calibration instrument generally uses a standard instrument with analog signal acquisition function, such as an oscilloscope, a power meter, etc. The purpose of ADC calibration is to minimize the error of AC measurement. The calibration instrument generally uses a standard instrument with analog signal output function, such as an arbitrary waveform generator, a signal generator, etc. The calibration command is used to instruct the board to be calibrated to conduct the corresponding transmission link according to the calibration item and the calibration channel for calibration.
[0044] In this embodiment, when the calibration terminal receives a calibration request for multiple boards to be calibrated in the test machine, it responds to the calibration request and sends a calibration instruction to the multiple boards to be calibrated. Specifically, the calibration request can be a request for simultaneous calibration of the same calibration item of multiple boards to be calibrated, or a request for simultaneous calibration of different calibration items of multiple boards to be calibrated. It can be understood that, since only one channel of a board to be calibrated can be connected to the calibration instrument at a time, when the calibration request is a request for simultaneous calibration of different calibration items of multiple boards to be calibrated, it can specifically be a request for DAC calibration of a part of the boards to be calibrated, and ADC calibration of another part of the boards to be calibrated at the same time.
[0045] Step 204 , performing multi-frequency point detection on multiple boards to be calibrated at multiple preset frequency points to be detected according to the transmission link and the calibration items, and obtaining multi-frequency point detection data of each board to be calibrated.
[0046] Among them, multiple frequency points to be detected are determined according to the frequency range of the test machine, which can be evenly distributed within the frequency range of the test machine, so as to cover the entire signal frequency band of the test machine. Multi-frequency detection data is the detection data obtained by performing frequency detection on multiple frequency points to be detected, which can specifically include the expected value and actual value of each board to be calibrated at multiple frequency points to be detected.
[0047] Specifically, when the calibration item for the board to be calibrated is DAC calibration, the DAC module of the board to be calibrated is driven to output a corresponding first waveform signal based on multiple frequency points to be detected, and multiple first actual values of the first waveform signal of the board to be calibrated at multiple frequency points to be detected are obtained through a transmission link to obtain the first multi-frequency point detection data of the board to be calibrated.
[0048] When the calibration item for the board to be calibrated is ADC calibration, a corresponding second waveform signal is output to the corresponding board to be calibrated through a transmission link based on multiple frequency points to be detected; multiple second actual values of the second waveform signal at multiple frequency points to be detected of the ADC module of the board to be calibrated are obtained to obtain second multi-frequency point detection data of the board to be calibrated.
[0049] Step 206 , performing polynomial curve fitting on the multi-frequency point detection data of each board to be calibrated, and determining the calibration parameters of the board to be calibrated for the calibration item.
[0050] The calibration parameter is a correction parameter used to calibrate the error between the actual value and the expected value so that the actual value is close to the expected value. Polynomial curve fitting refers to fitting a polynomial through the original data to describe the data characteristics in order to solve the polynomial function, i.e., the calibration parameter. In this embodiment, the original data may specifically be a plurality of frequency points to be detected under at least two expected values and the corresponding actual values.
[0051] Specifically, the calibration terminal can determine the calibration parameters of the board to be calibrated for the calibration items by performing polynomial curve fitting on the multi-frequency detection data of each board to be calibrated. It can be understood that since each board to be calibrated includes a DAC module and an ADC module, and the DAC module and the ADC module each have multiple channels, the corresponding calibration parameters can be obtained for different calibration items and calibration channels of each board to be calibrated after the above processing.
[0052] Step 208 , calibrating the board to be calibrated at the set frequency based on the calibration parameters, so as to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
[0053] The set frequency may be a specific frequency that needs to be used for chip testing by a tester, and the set frequency may be any frequency within the frequency range of the tester.
[0054] In this embodiment, the calibration terminal can calibrate the board to be calibrated at the set frequency based on the calibration parameters determined above to complete the calibration of the board to be calibrated for the calibration item at the set frequency, so that the error between the actual value and the expected value of the corresponding channel of the board to be calibrated at the set frequency can be within an acceptable range.
[0055] In the above-mentioned board calibration method, the calibration terminal sends calibration instructions to the multiple boards to be calibrated in response to the calibration request for the multiple boards to be calibrated in the test machine, performs multi-frequency point detection on the multiple boards to be calibrated at the preset multiple frequencies to be detected according to the transmission link and the calibration project, obtains the multi-frequency point detection data of each board to be calibrated, and performs polynomial curve fitting on the multi-frequency point detection data of each board to be calibrated, determines the calibration parameters of the board to be calibrated for the calibration project, and calibrates the board to be calibrated at the set frequency based on the calibration parameters to complete the calibration of the board to be calibrated for the calibration project at the set frequency. Since the calibration instructions are for the multiple boards to be calibrated in the test machine, the parallel calibration of the multiple boards to be calibrated in the test machine can be realized, so the calibration efficiency can be improved. And since the calibration parameters are obtained by polynomial curve fitting of the multi-frequency point detection data of the multiple frequencies to be detected determined based on the frequency range of the test machine, it can cover the entire signal frequency band of the test machine, and then calibrate by frequency based on the calibration parameters, so that the calibration accuracy can be effectively improved.
[0056] In an exemplary embodiment, Figure 3 As shown, each board to be calibrated includes a DAC module and an ADC module, and the above method may further include: obtaining a calibration mode for performing parallel calibration on the multiple boards to be calibrated, determining calibration items and corresponding calibration channels for performing parallel calibration on the multiple boards to be calibrated based on the calibration mode, and generating calibration requests for the multiple boards to be calibrated according to the calibration items and corresponding calibration channels for performing parallel calibration on the multiple boards to be calibrated.
[0057] The calibration mode includes a mode for calibrating the same modules of multiple boards to be calibrated in parallel, and a mode for calibrating different modules of multiple boards to be calibrated in parallel. Since only one channel of a board to be calibrated can be connected to the calibration instrument at a time, the calibration mode carries the boards to be calibrated, the corresponding calibration items and the calibration channels selected by the user.
[0058] Specifically, when the number of calibration instruments for each module is sufficient, such as the number of calibration instruments for DAC modules is greater than or equal to the number of corresponding boards to be calibrated, and the number of calibration instruments for ADC modules is greater than or equal to the number of corresponding boards to be calibrated, a mode of parallel calibration of the same modules of multiple boards to be calibrated can be adopted. Then the user can choose to first calibrate the specific channels of the DAC modules of the multiple boards to be calibrated, and then calibrate the specific channels of the ADC modules of the multiple boards to be calibrated. The calibration terminal can determine the calibration items (such as DAC calibration or ADC calibration) and the corresponding calibration channels for parallel calibration of the multiple boards to be calibrated based on the calibration mode, so as to generate calibration requests for the multiple boards to be calibrated, and send corresponding calibration instructions to the multiple boards to be calibrated. Multiple boards to be calibrated can first conduct the specific channels of the DAC modules with the transmission links of the corresponding calibration instruments according to the calibration instructions, that is, the transmission links are conducted and switched through the calibration daughter board relay and the calibration mother board relay, so as to calibrate the DAC modules of the multiple boards to be calibrated in parallel; after the calibration of the DAC modules is completed, the calibration mother board relay and the calibration daughter board relay are switched to conduct the transmission links of the ADC modules of the multiple boards to be calibrated with the corresponding calibration instruments, so as to calibrate the ADC modules of the multiple boards to be calibrated in parallel.
[0059] For example, there are boards 1, 2, ... N in the test machine, and the calibration terminal controls power meter 1, 2, ... M (where M = N) to calibrate the DAC modules of boards 1, 2, ... N in the test machine. After the calibration of the DAC modules of boards 1, 2, ... N is completed, the calibration motherboard and the calibration daughterboard link are switched to calibrate the ADC modules of boards 1, 2, ... N. This enables parallel calibration of multiple boards and improves calibration efficiency.
[0060] When the number of calibration instruments for each module is insufficient, such as the number of calibration instruments for DAC modules is less than the number of corresponding boards to be calibrated, or the number of calibration instruments for ADC modules is less than the number of corresponding boards to be calibrated, a mode of parallel calibration of different modules of multiple boards to be calibrated can be adopted. Then the user can select a part of the boards to be calibrated from the multiple boards to be calibrated to calibrate the specific channels of their DAC modules, and select another part of the boards to be calibrated to perform parallel calibration of the specific channels of their ADC modules, and then calibrate the specific channels of the DAC modules of the other part of the boards to be calibrated, and calibrate the specific channels of the ADC modules of the part of the boards to be calibrated. The calibration terminal can determine the calibration items (such as DAC calibration or ADC calibration) and corresponding calibration channels for calibrating a part of the boards to be calibrated among the multiple boards to be calibrated based on the calibration mode, and determine the calibration items (such as ADC calibration or DAC calibration) and corresponding calibration channels for calibrating another part of the boards to be calibrated, so as to generate calibration requests for the multiple boards to be calibrated, and send corresponding calibration instructions to the multiple boards to be calibrated. Multiple boards to be calibrated can connect the specific channels of the corresponding modules (DAC modules or ADC modules) and the transmission links of the corresponding calibration instruments according to the calibration instructions, that is, the transmission links are connected and switched through the calibration daughter board relays and the calibration mother board relays, so as to calibrate the DAC modules and ADC modules of multiple boards to be calibrated in parallel.
[0061] For example, there are boards 1, 2, ..., N (N is an even number) in the test machine. The calibration terminal controls power meters 1, 2, ..., M (M=N / 2) to calibrate the DAC modules of boards 1, 2, ..., N / 2 in the test machine, and controls signal generators 1, 2, ..., M to calibrate the ADC modules of boards N / 2+1, N / 2+2, ..., N. After the calibration of the DAC modules of boards 1, 2, ..., N / 2 and the ADC modules of boards N / 2+1, N / 2+2, ..., N is completed, the calibration motherboard and the calibration daughterboard link are switched (e.g. Figure 3 For example, for the calibration of the DAC module of board 1, the relay is switched so that the DAC module of board 1 is connected to the calibration daughter board relay 1, the calibration mother board relay 1, and the power meter), and the ADC modules of board 1, board 2...board N / 2 and the DAC modules of board N / 2+1, board N / 2+2...board N are calibrated. This realizes parallel calibration of multiple boards and improves calibration efficiency. Compared with the above-mentioned mode of parallel calibration of different modules of multiple boards, this mode can save half of the calibration instruments.
[0062] In an exemplary embodiment, Figure 4As shown, in step 204, before performing multi-frequency point detection on the multiple boards to be calibrated at the preset multiple frequency points to be detected, the above method may further include:
[0063] Step 402: Obtain calibration configuration parameters.
[0064] Among them, the calibration configuration parameters include the configured sampling frequency step and multiple set points. Specifically, the sampling frequency step can be the sampling frequency interval during calibration, which can be determined based on the frequency range of the test machine and the number of sampling points of the frequency. For example, it can be the average value of the frequency range to the number of sampling points. The multiple set points can be preset signal values. For example, when calibrating the DAC, the set point can be a preset value of the DAC module drive signal, and the actual value is the actual signal value obtained by measuring the output signal of the DAC module through the calibration instrument, such as measuring the power output of the DAC module through a power meter, and converting the power into a corresponding voltage amplitude. When calibrating the ADC, the set point can be a preset value of the output signal of the calibration instrument (such as a signal generator), and the actual value is the actual value of the signal measured by the ADC module.
[0065] Step 404, traverse the frequency range of the test machine according to the sampling frequency step size to determine multiple frequencies to be tested.
[0066] Specifically, the calibration terminal traverses the frequency range of the test machine with a sampling frequency step based on the above calibration configuration parameters, thereby determining multiple frequencies to be detected. Specifically, the first frequency to be detected can be determined based on the lower limit of the frequency range of the test machine, and the subsequent frequencies to be detected can be determined one by one based on the sampling frequency step until the entire frequency range of the test machine is traversed to obtain multiple frequencies to be detected.
[0067] Step 406, determining a plurality of frequency points to be detected according to the plurality of frequencies to be detected and the plurality of set points.
[0068] That is, the multiple frequencies to be detected and the multiple set points determined above are determined as multiple frequency points to be detected, and then multi-frequency point detection can be performed on the multiple boards to be calibrated at the multiple frequency points to be detected to obtain multi-frequency point detection data of each board to be calibrated, and polynomial curve fitting is performed on the multi-frequency point detection data of each board to be calibrated to determine the calibration parameters of the board to be calibrated for the calibration item, so that the calibration parameters can cover the entire signal frequency band of the test machine to improve the calibration accuracy.
[0069] In an exemplary embodiment, Figure 5 As shown, in step 206, polynomial curve fitting is performed on the multi-frequency point detection data of each board to be calibrated to determine the calibration parameters of the board to be calibrated for the calibration item, which may specifically include:
[0070] Step 502: Determine multiple frequencies and corresponding actual values corresponding to each set point according to the multi-frequency point detection data of the board to be calibrated.
[0071] Since the multi-frequency detection data is the detection data obtained by performing frequency detection on multiple frequency points to be detected, it can specifically include the expected value and actual value of each board to be calibrated at multiple frequency points to be detected, and the multiple frequency points to be detected are determined based on the multiple frequencies to be detected and multiple set points. For example, when calibrating the DAC, the set point can be a pre-set value of the DAC module drive signal, and the actual value is the actual signal value obtained by measuring the output signal of the DAC module through the calibration instrument, such as measuring the power output of the DAC module through a power meter and converting the power into the corresponding voltage amplitude. When calibrating the ADC, the set point can be a pre-set value of the output signal of the calibration instrument (such as a signal generator), and the actual value is the actual value of the signal measured by the ADC module.
[0072] Specifically, the calibration terminal can determine multiple frequencies corresponding to each set point and corresponding actual values according to the multi-frequency point detection data of the board to be calibrated.
[0073] Step 504 , performing polynomial curve fitting on multiple frequencies corresponding to the set points and corresponding actual values, and determining calibration parameters of the board to be calibrated for the calibration item.
[0074] Specifically, a polynomial fitting equation can be determined based on the relationship between multiple frequencies corresponding to at least two set points and actual values, and then the polynomial fitting equation is solved by the least squares method to obtain the calibration parameters of the board to be calibrated for the calibration item.
[0075] Furthermore, after obtaining the calibration parameters of the board to be calibrated for the calibration item, the method may further include: obtaining the signal error of the board to be calibrated for the calibration item according to the calibration parameters; when the signal error is less than or equal to a preset signal error threshold, storing the calibration parameters in the board to be calibrated. The signal error refers to the error between the actual value and the expected value after the calibration parameters are applied to correct the actual value. The signal error threshold may be a preset maximum acceptable error, which may be specifically set according to the actual scenario.
[0076] Specifically, the actual value is corrected by applying the calibration parameter, and the signal error between the corrected value and the expected value is calculated. If the signal error is less than or equal to the preset signal error threshold, it means that the calibration parameter can meet the corresponding accuracy requirement. Therefore, the calibration parameter can be stored in the corresponding board to be calibrated, so that the board to be calibrated can correct the actual value based on the calibration parameter in actual use. If the calculated signal error is greater than the preset signal error threshold, it means that the calibration parameter does not meet the corresponding accuracy requirement. Therefore, the board to be calibrated needs to be recalibrated on the calibration item until the calibration parameter that meets the corresponding accuracy requirement is found and stored in the corresponding board to be calibrated.
[0077] In one embodiment, Figure 6 As shown in FIG. 1 , it is the multi-frequency detection data of a board to be calibrated obtained by performing multi-frequency detection on a preset multiple frequency points to be detected for a certain calibration item. Among them, the row 10 of the table header corresponds to multiple set points, the column 20 of the table header corresponds to multiple frequencies, and each of the remaining elements represents the actual value at the corresponding point and frequency.
[0078] Figure 7 The corresponding calibration frequency response curve is shown in Figure 1. Taking DAC calibration as an example, the horizontal axis represents the DAC signal frequency and the vertical axis represents the measured amplitude. The legend Vpg-0.633333 indicates that the set point is 0.633333, assuming it is a constant , the legend Vpg-1.43333 means the set point is 1.43333, assuming it is a constant For the example Vpg-0.633333, assume that the set frequency is , where n=1,2,…,N, the signal amplitude (i.e. actual value) measured and calculated by the power meter is , n=1,2,…,N, assuming the corresponding polynomial fitting equation For the example Vpg-1.43333, if the signal amplitude measured by the power meter is , n=1,2,…,N, assuming that the corresponding polynomial fitting equation is determined , based on the above polynomial fitting equation and , by using the least squares method, we can get (n=1,2,…,M) and (n=1,2,…,M), and is the corresponding calibration parameter.
[0079] Since the calibration parameters are determined based on a finite number of frequencies to be detected, and in the actual application of the board, the frequency points to be applied are infinite, for example, the frequency range of the test machine is 1khz to 10khz, and the detection frequency points selected during calibration may be 1khz, 5khz, 10khz, and the application frequency during application may be any value between 1khz and 10khz, such as 5.5khz. Therefore, in order to further improve the accuracy of the board at the set frequency, the board to be calibrated can also be calibrated at the set frequency based on the above calibration parameters. Specifically, at least two output amplitudes of the board to be calibrated at the set frequency for at least two set points can be determined based on the calibration parameters; linear regression fitting is performed based on at least two set points of the board to be calibrated at the set frequency and the corresponding at least two output amplitudes to determine the linear error of the board to be calibrated at the set frequency; and the actual output amplitude of the board to be calibrated at the set frequency for the target set point is adjusted according to the linear error.
[0080] in, Figure 8 This is a schematic diagram of the input and output curve of a single frequency point, that is, a schematic diagram of the input and output curve at a fixed frequency (such as freq-40000 in the figure). Among them, the horizontal axis represents the DAC signal set amplitude (i.e., the set point), assuming it is x, and the vertical axis represents the output amplitude measured by the power meter (i.e., the actual value), assuming it is y, then y and x satisfy a univariate linear relationship: By performing linear regression fitting on at least two set points of the calibrated board at the set frequency and the corresponding at least two output amplitudes, the linear errors k and b of the calibrated board at the set frequency can be obtained, and then the actual output amplitude of the calibrated board at the set frequency for the target set point can be adjusted according to the linear error, that is, x=(yb) / k.
[0081] Exemplarily, based on the linear relationship and the calibration parameters, the board to be calibrated is calibrated at a set frequency, which may specifically include: assuming that the expected DAC output signal amplitude is s (i.e., the expected value), if the set frequency is f, according to the polynomial fitting equation , the frequency can be obtained as f, and the set point is Output amplitude at (i.e. actual value), according to , the frequency can be obtained as f, and the set point is Output amplitude at ,according to Figure 8 It can be seen that the set point position ( ) and output amplitude ( ) satisfies a univariate linear relationship , can be obtained , , coefficients k and b are obtained by solving the equation. Then the expected DAC output signal amplitude s Based on this, when the frequency is set to f and the expected DAC output signal amplitude is s, the actual signal amplitude set by the DAC can be adjusted to x The obtained k and b are the gain error and offset error of the DAC module of the board to be calibrated when the set frequency is f. Based on k and b, the set signal amplitude of the DAC module of the board to be calibrated can be adjusted when the set frequency is f and the expected DAC output signal amplitude is s, so that the final DAC output signal amplitude is s.
[0082] In one scenario, taking ADC calibration as an example, Figure 7 The horizontal axis in can also be the signal frequency of the signal emitted by the signal generator, and the vertical axis represents the signal amplitude measured by the ADC module. The legend Vpg-0.633333 means that the set point is 0.633333, assuming it is a constant The legend Vpg-1.43333 indicates that the set point of the signal generator is 1.43333, assuming it is a constant For the example Vpg-0.633333, assume that the set frequency is , where n=1,2,…,N, the signal amplitude (i.e. actual value) measured and calculated by the ADC module is , n=1,2,…,N, assuming the corresponding polynomial fitting equation For the example Vpg-1.43333, if the signal amplitude measured and calculated by the ADC module is , n=1,2,…,N, assuming that the corresponding polynomial fitting equation is determined , based on the above polynomial fitting equation and , by using the least squares method, we can get (n=1,2,…,M) and (n=1,2,…,M), and is the corresponding calibration parameter.
[0083] Similarly, Figure 8 The horizontal axis can also represent the set amplitude (i.e., the set point) of the signal emitted by the signal generator, assuming it is x, and the vertical axis represents the output amplitude (i.e., the actual value) measured by the ADC module, assuming it is y. Then y and x satisfy a univariate linear relationship: By performing linear regression fitting on at least two set points of the calibrated board at the set frequency and the corresponding at least two output amplitudes, the linear errors k and b of the calibrated board at the set frequency can be obtained, and then the actual output amplitude of the calibrated board at the set frequency for the target set point can be adjusted according to the linear error, that is, x=(yb) / k.
[0084] Based on the linear relationship and the calibration parameters, the board to be calibrated is calibrated at the set frequency. Specifically, it may include: assuming that the expected ADC module output signal amplitude is s (i.e., the expected value), if the set frequency is f, according to the above polynomial fitting equation , the frequency can be obtained as f, and the set point is Output amplitude at (i.e. actual value), according to , the frequency can be obtained as f, and the set point is Output amplitude at ,according to Figure 8 It can be seen that the set point position ( ) and output amplitude ( ) satisfies a univariate linear relationship , can be obtained , , coefficients k and b are obtained by solving the equation. Then the expected ADC module output signal amplitude s Based on this, when the frequency is set to f and the expected ADC module output signal amplitude is s, the signal amplitude of the signal generator can be adjusted to x The obtained k and b are the gain error and offset error of the ADC module of the board to be calibrated when the set frequency is f. Based on k and b, the signal amplitude of the signal emitted by the signal generator can be adjusted when the set frequency of the ADC module of the board to be calibrated is f and the expected ADC output signal amplitude is s, so that the ADC finally measures a signal amplitude of s.
[0085] The above embodiment calibrates the corresponding modules of the board to be calibrated by combining polynomial curve fitting and frequency point calibration, which can not only cover the entire signal frequency of the test machine, but also effectively improve the calibration accuracy.
[0086] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0087] Based on the same inventive concept, the embodiment of the present application also provides a board calibration device for implementing the board calibration method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more embodiments of the board calibration device provided below can refer to the limitations of the board calibration method above, and will not be repeated here.
[0088] In an exemplary embodiment, Fig. 9 As shown, a board calibration device is provided, including: a response module 902, a detection module 904, a calibration parameter determination module 906 and a calibration module 908, wherein:
[0089] The response module 902 is used to respond to the calibration request for the multiple boards to be calibrated in the test machine, and send a calibration instruction to the multiple boards to be calibrated, wherein the calibration request carries the calibration items and corresponding calibration channels for parallel calibration of the multiple boards to be calibrated; the calibration instruction is used to instruct the boards to be calibrated to conduct the corresponding transmission links according to the calibration items and the calibration channels;
[0090] The detection module 904 is used to perform multi-frequency point detection on multiple boards to be calibrated at multiple preset frequency points to be detected according to the transmission link and the calibration item, and obtain multi-frequency point detection data of each board to be calibrated, wherein the multiple frequency points to be detected are determined according to the frequency range of the test machine;
[0091] A calibration parameter determination module 906 is used to perform polynomial curve fitting on the multi-frequency point detection data of each of the boards to be calibrated to determine the calibration parameters of the boards to be calibrated for the calibration items;
[0092] The calibration module 908 is used to calibrate the board to be calibrated at a set frequency based on the calibration parameters, so as to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
[0093] In one embodiment, the device also includes a module for determining a frequency point to be detected, which is used to: obtain calibration configuration parameters, the calibration configuration parameters including a configured sampling frequency step and multiple set points; traverse the frequency range of the test machine according to the sampling frequency step to determine a plurality of frequencies to be detected; and determine the plurality of frequency points to be detected according to the plurality of frequencies to be detected and the plurality of set points.
[0094] In one embodiment, the calibration parameter determination module is specifically used to: determine the multiple frequencies corresponding to each set point and the corresponding actual values based on the multi-frequency point detection data of the board to be calibrated; perform polynomial curve fitting on the multiple frequencies corresponding to the set point and the corresponding actual values to determine the calibration parameters of the board to be calibrated for the calibration item.
[0095] In one embodiment, the calibration parameter determination module is specifically used to: determine a polynomial fitting equation based on the relationship between multiple frequencies corresponding to at least two set points and actual values; solve the polynomial fitting equation by the least squares method to obtain the calibration parameters of the board to be calibrated for the calibration item.
[0096] In one embodiment, the device further includes a calibration parameter verification module, which is used to: obtain the signal error of the board to be calibrated for the calibration item according to the calibration parameter; and store the calibration parameter in the board to be calibrated when the signal error is less than or equal to a preset signal error threshold.
[0097] In one embodiment, the detection module is also used for: when the calibration item for the board to be calibrated is DAC calibration, driving the DAC module of the corresponding board to be calibrated based on the multiple frequency points to be detected to output a corresponding first waveform signal; acquiring multiple first actual values of the first waveform signal of the board to be calibrated at the multiple frequency points to be detected through the transmission link to obtain the first multi-frequency point detection data of the board to be calibrated.
[0098] In one embodiment, the detection module is also used for: when the calibration item for the board to be calibrated is ADC calibration, outputting a corresponding second waveform signal to the corresponding board to be calibrated through the transmission link based on the multiple frequency points to be detected; obtaining multiple second actual values of the second waveform signal at the multiple frequency points to be detected of the ADC module of the board to be calibrated, to obtain second multi-frequency point detection data of the board to be calibrated.
[0099] In one embodiment, the calibration module is also used to: determine at least two output amplitudes of the board to be calibrated at the set frequency for at least two set points based on the calibration parameters; perform linear regression fitting according to the at least two set points of the board to be calibrated at the set frequency and the corresponding at least two output amplitudes to determine the linear error of the board to be calibrated at the set frequency; and adjust the actual output amplitude of the board to be calibrated at the set frequency for the target set point according to the linear error.
[0100] In one embodiment, the device further includes a calibration request generating module, which is used to: obtain a calibration mode for performing parallel calibration on multiple boards to be calibrated, wherein the calibration mode includes a mode for performing parallel calibration on the same modules of the multiple boards to be calibrated and a mode for performing parallel calibration on different modules of the multiple boards to be calibrated; based on the calibration mode, determine calibration items and corresponding calibration channels for performing parallel calibration on the multiple boards to be calibrated; and generate calibration requests for the multiple boards to be calibrated according to the calibration items and corresponding calibration channels for performing parallel calibration on the multiple boards to be calibrated.
[0101] Each module in the above-mentioned board calibration device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0102] In an exemplary embodiment, a computer device is provided. The computer device may be a calibration terminal, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a board calibration method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0103] Those skilled in the art will understand that Fig.10The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0104] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0105] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0106] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0107] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0108] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0109] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0110] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A board calibration method, characterized in that: The method comprises: In response to a calibration request for a plurality of boards to be calibrated in a test machine, a calibration instruction is sent to the plurality of boards to be calibrated, wherein the calibration request carries calibration items and corresponding calibration channels for parallel calibration of the plurality of boards to be calibrated; the calibration instruction is used to instruct the boards to be calibrated to conduct corresponding transmission links according to the calibration items and the calibration channels; According to the transmission link and the calibration item, a plurality of boards to be calibrated are subjected to multi-frequency point detection at a plurality of preset frequency points to be detected, so as to obtain multi-frequency point detection data of each board to be calibrated, wherein the plurality of frequency points to be detected are determined according to the frequency range of the test machine; Performing polynomial curve fitting on the multi-frequency point detection data of each of the boards to be calibrated to determine the calibration parameters of the boards to be calibrated for the calibration items; The board to be calibrated is calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
2. The method according to claim 1, characterized in that Before performing multi-frequency point detection on the plurality of boards to be calibrated at the plurality of preset frequency points to be detected, the method further comprises: Acquire calibration configuration parameters, wherein the calibration configuration parameters include a configured sampling frequency step and a plurality of set point positions; Traversing the frequency range of the test machine according to the sampling frequency step size to determine a plurality of frequencies to be detected; The multiple frequency points to be detected are determined according to the multiple frequencies to be detected and the multiple set points.
3. The method according to claim 2, characterized in that The performing polynomial curve fitting on the multi-frequency point detection data of each of the to-be-calibrated boards to determine the calibration parameters of the to-be-calibrated boards for the calibration items includes: Determine multiple frequencies and corresponding actual values corresponding to each set point according to the multi-frequency point detection data of the board to be calibrated; Polynomial curve fitting is performed on multiple frequencies corresponding to the set points and corresponding actual values to determine calibration parameters of the board to be calibrated for the calibration item.
4. The method according to claim 3, characterized in that The performing polynomial curve fitting on the multiple frequencies corresponding to the set point positions and the corresponding actual values to determine the calibration parameters of the to-be-calibrated board for the calibration item includes: Determining a polynomial fitting equation based on a relationship between a plurality of frequencies corresponding to at least two set points and actual values; The polynomial fitting equation is solved by the least square method to obtain the calibration parameters of the board to be calibrated for the calibration item.
5. The method according to claim 4, characterized in that After obtaining the calibration parameters of the board to be calibrated for the calibration item, the method further includes: Acquire the signal error of the board to be calibrated for the calibration item according to the calibration parameter; When the signal error is less than or equal to a preset signal error threshold, the calibration parameter is stored in the board to be calibrated.
6. The method according to claim 2, characterized in that The step of performing multi-frequency point detection on a plurality of boards to be calibrated at a plurality of preset frequency points to be detected according to the transmission link and the calibration item to obtain multi-frequency point detection data of each board to be calibrated includes: In the case where the calibration item for the board to be calibrated is DAC calibration, driving a DAC module of the corresponding board to be calibrated to output a corresponding first waveform signal based on the multiple frequency points to be detected; A plurality of first actual values of the first waveform signal of the to-be-calibrated card at the plurality of to-be-detected frequency points are acquired through the transmission link to obtain first multi-frequency point detection data of the to-be-calibrated card.
7. The method according to claim 2, characterized in that The step of performing multi-frequency point detection on a plurality of boards to be calibrated at a plurality of preset frequency points to be detected according to the transmission link and the calibration item to obtain multi-frequency point detection data of each board to be calibrated includes: In a case where the calibration item for the board to be calibrated is ADC calibration, outputting a corresponding second waveform signal to the corresponding board to be calibrated through the transmission link based on the multiple frequency points to be detected; A plurality of second actual values of the second waveform signal at the plurality of frequency points to be detected are acquired by the ADC module of the board to be calibrated, so as to obtain second multi-frequency point detection data of the board to be calibrated.
8. The method according to any one of claims 1 to 7, characterized in that: Calibrate the board to be calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item, including: Determine at least two output amplitudes of the board to be calibrated at a set frequency for at least two set points based on the calibration parameters; Performing linear regression fitting according to at least two set points of the board to be calibrated at the set frequency and the corresponding at least two output amplitudes to determine the linear error of the board to be calibrated at the set frequency; The actual output amplitude of the board to be calibrated at a set frequency for a target set point is adjusted according to the linear error.
9. The method according to any one of claims 1 to 7, characterized in that: The board to be calibrated includes a DAC module and an ADC module; the method further includes: Acquire a calibration mode for parallel calibration of a plurality of boards to be calibrated, wherein the calibration mode includes a mode for parallel calibration of the same modules of the plurality of boards to be calibrated and a mode for parallel calibration of different modules of the plurality of boards to be calibrated; Based on the calibration mode, determining calibration items and corresponding calibration channels for parallel calibration of multiple boards to be calibrated; A calibration request for the multiple boards to be calibrated is generated according to calibration items and corresponding calibration channels for parallel calibration of the multiple boards to be calibrated.
10. A board calibration device, characterized in that: The device comprises: A response module, configured to respond to a calibration request for a plurality of boards to be calibrated in a test machine and send a calibration instruction to the plurality of boards to be calibrated, wherein the calibration request carries calibration items and corresponding calibration channels for parallel calibration of the plurality of boards to be calibrated; the calibration instruction is used to instruct the boards to be calibrated to conduct corresponding transmission links according to the calibration items and the calibration channels; A detection module, configured to perform multi-frequency point detection on a plurality of boards to be calibrated at a plurality of preset frequency points to be detected according to the transmission link and the calibration item, and obtain multi-frequency point detection data of each board to be calibrated, wherein the plurality of frequency points to be detected are determined according to the frequency range of the test machine; A calibration parameter determination module, used for performing polynomial curve fitting on the multi-frequency point detection data of each of the boards to be calibrated, and determining the calibration parameters of the boards to be calibrated for the calibration items; The calibration module is used to calibrate the board to be calibrated at a set frequency based on the calibration parameters to complete the calibration of the board to be calibrated at the set frequency for the calibration item.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Cited By
Signal source measurement error detection model construction and measurement error correction method and device, medium and equipment
CN119692038A
