Signal channel calibration method and device and electronic equipment

By acquiring and comparing the frequency response curve error coefficients of the signal channel for calibration, the complexity and cost of existing detection instrument calibration methods are solved, and the accuracy is improved without affecting the performance of the instrument.

CN120446846APending Publication Date: 2025-08-08UNIV OF SHANGHAI FOR SCI & TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510598399.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The calibration methods of existing inspection instruments often increase circuit complexity or require costly manufacturing process upgrades, affecting instrument performance and reliability.

Method used

By obtaining the output sample signal of the signal channel of the instrument to be calibrated, the frequency-scanning frequency obtains the signal frequency response curve, comparing with the ideal frequency response curve to determine the error coefficient, and calibrating using the error coefficient to avoid additional circuit and process changes.

Benefits of technology

A simple and low-cost calibration method is realized, which improves detection accuracy without affecting the performance of the instrument and reduces technical thresholds and equipment investment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120446846A_ABST
    Figure CN120446846A_ABST
Patent Text Reader

Abstract

The invention provides a signal channel calibration method, a signal channel calibration device and electronic equipment. The signal channel calibration method comprises the following steps: respectively acquiring sample signals output by each signal channel in a to-be-calibrated instrument; for each signal channel, frequency sweeping is carried out on frequency points in a sample signal target frequency range output by the signal channel, and a signal frequency response curve representing the response characteristic of the sample signal is obtained; and comparing the signal frequency response curve with a corresponding ideal frequency response curve, and determining a corresponding relationship between the frequency point corresponding to the signal channel and the error coefficient according to a comparison result. According to the method provided by the invention, the function relation expression representing the corresponding relation between the error coefficient and the frequency is determined for different signal channels in the instrument to be calibrated, and the error coefficient is used as the input signal for calibration according to the signal frequency, so that compared with an existing feedback mechanism method, no additional circuit needs to be added, and the performance of the instrument cannot be influenced; the method performs calibration based on the existing instrument without changing the existing element or the production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of instrumentation, and in particular to a signal channel calibration method, device, and electronic equipment. Background Art

[0002] The circuit design of existing detection instruments is generally more complicated and has high requirements for production processes. If the production process does not meet the standards, it may affect the performance of the circuit and the detection accuracy of the instrument. Existing methods to improve the accuracy of detection instruments generally include feedback mechanism methods or improving manufacturing processes. Among them, the feedback mechanism method will increase the complexity of the circuit and increase the difficulty of design and debugging. At the same time, it may introduce additional phase delays, which will have a negative impact on system performance. Improving the accuracy of the instrument by improving the manufacturing process requires the introduction of advanced manufacturing processes, which requires a large amount of R&D funds and equipment. The technical threshold is high and may be limited by factors such as equipment and materials, affecting the manufacturability and reliability of the system. In summary, there is an urgent need for a simple, convenient calibration method that does not introduce additional circuits and is low in cost. Summary of the Invention

[0003] The embodiments of the present disclosure provide a signal channel calibration method, device, and electronic device to solve the problems of complex circuits, impact on instrument performance, and high cost in existing methods for improving the accuracy of detection instruments.

[0004] In view of the above problems, in a first aspect, an embodiment of the present disclosure provides a signal channel calibration method, comprising:

[0005] Respectively obtain the sample signals output by each signal channel in the instrument to be calibrated;

[0006] The signal path is used to gain the input signal; the signal path includes a multi-stage signal path, and each stage of the signal path is used to provide corresponding processing for the input signal according to corresponding signal parameter characteristics;

[0007] For each signal channel, sweep the frequency points within the target frequency range of the sample signal output by the signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal;

[0008] Comparing the signal frequency response curve with the corresponding ideal frequency response curve, and determining the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel according to the comparison result;

[0009] The corresponding relationship is used to calibrate the signal to be calibrated input into the corresponding channel of the instrument to be calibrated.

[0010] In conjunction with the first aspect, in one possible implementation, respectively acquiring the sample signal output by each signal channel in the instrument to be calibrated includes:

[0011] Connecting the input terminal and the output terminal of the instrument to be calibrated to obtain a closed-loop test circuit;

[0012] Outputting the initial signal through the output end, and adjusting the initial signal according to the signal parameter characteristics corresponding to the signal paths included in each signal channel, to obtain the sample signals to be gained corresponding to each signal channel; and

[0013] The sample signals to be amplified are respectively passed through corresponding signal channels, and sample signals corresponding to the respective signal channels are output.

[0014] In conjunction with the first aspect, in one possible implementation, for each signal channel, sweeping the frequency points within a target frequency range of the sample signal output by the signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal includes:

[0015] For the sample signal output by each signal channel, traverse the frequency points in the sample signal within the target frequency band according to the set step size, and determine the electrical signal value corresponding to the first frequency point;

[0016] determining a signal gain corresponding to the first frequency point according to the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal input into the signal channel;

[0017] According to the corresponding relationship between the first frequency point and the signal gain, a signal frequency response curve of the corresponding signal channel in the instrument to be calibrated is obtained.

[0018] In conjunction with the first aspect, in one possible implementation, comparing the signal frequency response curve with a corresponding ideal frequency response curve, and determining a correspondence between a frequency point and an error coefficient corresponding to the signal channel based on the comparison result, includes:

[0019] Determining an error coefficient corresponding to the frequency point based on a difference between the signal gain corresponding to the same frequency point in the signal frequency response curve and the corresponding ideal frequency response curve;

[0020] A preset fitting algorithm is used to obtain a functional relationship between the frequency points within the target frequency band and the error coefficient, with the frequency as the independent variable and the error coefficient as the dependent variable.

[0021] In combination with the first aspect, in a possible implementation, the signal channel includes three levels of signal paths, and the signal parameter characteristics corresponding to different levels of signal paths are: voltage, impedance, and frequency, respectively.

[0022] In conjunction with the first aspect, in a possible implementation, the method further includes:

[0023] Analyze the signal parameter characteristics of the signal to be calibrated to determine the first signal channel corresponding to the signal to be calibrated; the signal parameter characteristics include frequency;

[0024] Recalling a predetermined first correspondence between a frequency point and an error coefficient corresponding to the first signal channel;

[0025] Determine the frequency of the signal to be calibrated and the first corresponding relationship, and determine a first error coefficient corresponding to the current frequency of the signal to be calibrated;

[0026] The signal to be calibrated is calibrated according to the first error coefficient to obtain a target signal.

[0027] In a second aspect, an embodiment of the present disclosure provides a signal channel calibration device, comprising:

[0028] An acquisition module, configured to respectively acquire sample signals outputted by each signal channel in the instrument to be calibrated; wherein the signal channel is configured to amplify the input signal; the signal channel comprises a multi-stage signal path, each stage of the signal path being configured to provide corresponding processing for the input signal according to corresponding signal parameter characteristics;

[0029] The frequency sweep module is used to sweep the frequency points within the target frequency range of the sample signal output by each signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal;

[0030] A comparison module is used to compare the signal frequency response curve with the corresponding ideal frequency response curve, and determine the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel based on the comparison result; wherein the corresponding relationship is used to calibrate the signal to be calibrated input into the corresponding channel of the instrument to be calibrated.

[0031] In combination with the second aspect, in one possible implementation, the acquisition module is used to connect the input end and the output end of the instrument to be calibrated to obtain a closed-loop test circuit; output an initial signal through the output end, and adjust the initial signal according to the signal parameter characteristics corresponding to the signal paths contained in each signal channel to obtain the sample signals to be gained corresponding to each signal channel; and make the sample signals to be gained pass through the corresponding signal channels respectively, and output the sample signals corresponding to each signal channel.

[0032] In combination with the second aspect, in a possible implementation, the frequency scanning module is used to traverse the frequency points in the sample signal output by each signal channel within the target frequency band according to a set step size, and determine the electrical signal value corresponding to the first frequency point; determine the signal gain corresponding to the first frequency point based on the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal input into the signal channel; and obtain the signal frequency response curve of the corresponding signal channel in the instrument to be calibrated based on the correspondence between the first frequency point and the signal gain.

[0033] In a third aspect, an embodiment of the present disclosure provides an electronic device comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of a signal channel calibration method as described in any one of the first aspects are performed.

[0034] The beneficial effects of the embodiments of the present disclosure include:

[0035] The present disclosure provides a signal channel calibration method, apparatus, and electronic device, comprising: obtaining sample signals output from each signal channel of an instrument to be calibrated; wherein the signal channel is used to amplify the input signal; the signal channel includes multiple signal paths, each signal path being used to provide corresponding processing for the input signal based on corresponding signal parameter characteristics; for each signal channel, sweeping the frequency points within a target frequency range of the sample signal output by the signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal; comparing the signal frequency response curve with a corresponding ideal frequency response curve, and determining a corresponding relationship between the frequency points and error coefficients corresponding to the signal channel based on the comparison result; wherein the corresponding relationship is used to calibrate the signal to be calibrated input to the corresponding channel of the instrument to be calibrated. The method provided by the present disclosure determines a functional relationship representing the corresponding relationship between the error coefficient and frequency for different signal channels in the instrument to be calibrated, and calibrates the input signal using the error coefficients based on the signal frequency. Compared with existing feedback mechanism methods, this method does not require the addition of additional circuitry and does not affect instrument performance. The method is based on existing instruments and does not require changes to existing components or production processes. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flow chart of a signal channel calibration method provided in an embodiment of the present disclosure;

[0037] Figure 2 A schematic structural diagram of a signal channel of an impedance measuring instrument provided in an embodiment of the present disclosure;

[0038] Figure 3A schematic structural diagram of a current amplification channel of a lock-in amplifier provided in an embodiment of the present disclosure;

[0039] Figure 4 A schematic diagram of the corresponding relationship between error coefficient and frequency provided in an embodiment of the present disclosure;

[0040] Figure 5 A schematic diagram of calibration result errors provided by an embodiment of the present disclosure;

[0041] Figure 6 A schematic structural diagram of a signal channel calibration device provided in an embodiment of the present disclosure;

[0042] Figure 7 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] The present disclosure provides a signal channel calibration method, apparatus, and electronic device. Preferred embodiments of the present disclosure are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are intended only to illustrate and explain the present disclosure and are not intended to limit the present disclosure. Furthermore, the embodiments and features within the embodiments of the present disclosure may be combined with one another unless there is a conflict.

[0044] The present disclosure provides a signal channel calibration method, such as Figure 1 As shown, it can be implemented as follows:

[0045] S101, respectively obtaining sample signals output by each signal channel in the instrument to be calibrated;

[0046] The signal path is used to gain the input signal; the signal path includes multiple signal paths, each of which is used to provide corresponding processing for the input signal according to corresponding signal parameter characteristics;

[0047] S102 , for each signal channel, performing a frequency sweep on a sample signal output by the signal channel within a target frequency range to obtain a signal frequency response curve representing a response characteristic of the sample signal;

[0048] S103, comparing the signal frequency response curve with the corresponding ideal frequency response curve, and determining the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel according to the comparison result;

[0049] The corresponding relationship is used to calibrate the signal to be calibrated input into the corresponding channel of the instrument to be calibrated.

[0050] In the embodiments of the present disclosure, the instrument to be calibrated may be an impedance meter or a lock-in amplifier, such as an instrument with a preamplifier. The execution entity in the present disclosure may be a computing device with sampling, communication, calculation, and control functions that is communicatively connected to the instrument to be calibrated; or it may be a control unit within the instrument to be calibrated that has calculation, sampling, and other functions.

[0051] Depending on the signal parameter characteristics of the input signal to the instrument to be calibrated, the instrument to be calibrated can allocate the input signal to different signal channels for processing. Each signal channel is composed of multiple signal paths, each of which can have different signal processing functions (for example, signal amplification and filtering). Each signal path can input the signal into different lower-level signal paths based on the input signal parameter characteristics. By combining different signal paths, different signal channels can be obtained. In practical applications, different signal channels can be represented by different voltage ranges. The essence of voltage range is to control the strength of the signal input to the instrument to be calibrated, thereby adapting to different measurement ranges, protecting device safety, and ensuring measurement accuracy. Taking the 1V range of a lock-in amplifier as an example, the maximum voltage value of the signal input to this signal channel should not exceed 1V. If calibration is required in the 1V range, the voltage value of the signal input to this signal channel can be 500mV to ensure that the signal channel has sufficient dynamic range to calibrate the input signal and improve calibration accuracy.

[0052] The sample signal can be a signal obtained by sampling the execution subject provided by the present disclosure after the initial input signal has been processed through the signal channel. A frequency sweep operation is performed on the sample signal using a preset algorithm to obtain a signal frequency response curve for the signal. The signal frequency response curve can describe the response characteristics of the corresponding signal channel to input signals of different frequencies, reflecting the relationship between the gain of the corresponding signal channel and the input signal frequency.

[0053] By comparing the obtained signal frequency response curve with the predetermined ideal frequency response curve for that signal channel, the difference between the sample signal's frequency response curve and the ideal frequency response curve can be determined. Based on this difference, the error coefficient between the signal frequency response curve and the ideal frequency response curve at each frequency point can be obtained. Based on the correspondence between multiple frequency points and error coefficients, a fitting operation is performed to obtain a corresponding relationship between the frequency and error coefficient that can characterize the signal channel. This correspondence can then be used as a calibration basis for all signals input into the signal channel.

[0054] The method provided by the present disclosure determines the corresponding functional relationship between the error coefficient and the frequency correspondence for different signal channels in the instrument to be calibrated, and uses the error coefficient as the input signal for calibration according to the signal frequency. Compared with the existing feedback mechanism method, no additional circuit is required and there is no impact on the performance of the instrument. The present method is based on the calibration of existing instruments and does not require changes to existing components or production processes, thus saving costs.

[0055] In another embodiment provided by the present disclosure, the above step S101 of "respectively obtaining the sample signals output by each signal channel of the instrument to be calibrated" can be implemented as follows:

[0056] Step 1: Connect the input and output terminals of the instrument to be calibrated to obtain a closed-loop test circuit.

[0057] Step 2: outputting the initial signal through the output terminal, and adjusting the initial signal according to the signal parameter characteristics corresponding to the signal paths included in each signal channel, to obtain the sample signals to be gained corresponding to each signal channel; and

[0058] Step 3: Make the sample signals to be amplified pass through corresponding signal channels respectively, and output the sample signals corresponding to the respective signal channels.

[0059] In the disclosed embodiment, the closed-loop test circuit can eliminate the influence of environmental factors on the measurement results, improve the stability of the calibration, and simulate the dynamic load or feedback conditions in the real application scenario to ensure the improvement of the accuracy of the calibration.

[0060] In practical applications, a closed-loop test circuit can be formed by manually connecting the input and output terminals of the instrument to be calibrated; or a short-circuit circuit can be set in the instrument to be calibrated and a closed-loop test circuit can be obtained by controlling the on-off of the short-circuit circuit.

[0061] Furthermore, a digital-to-analog converter (DAC) of the instrument to be calibrated can output an electrical signal (i.e., an initial signal) from its output to its input. Based on the parameter characteristics of this electrical signal, the instrument to be calibrated can call the corresponding signal path to process the initial signal to obtain a sample signal to be amplified. Ultimately, this signal is processed through all signal paths in a signal channel, and the initial signal is output as a sample signal.

[0062] In one possible implementation, the signal finally obtained after signal channel processing can be acquired by the control unit of the instrument to be calibrated, and the signal can be converted into a digital signal by the analog-to-digital conversion unit inside the instrument to be calibrated, and output to the host computer (i.e., the execution subject in this method) that is communicatively connected to the instrument to be calibrated via the communication port.

[0063] In another embodiment provided by the present disclosure, the above-mentioned step S102 of "sweeping the frequency points within the target frequency range of the sample signal output by each signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal" can be implemented as follows:

[0064] Step 1: For the sample signal output by each signal channel, traverse the frequency points in the sample signal within the target frequency band according to the set step size, and determine the electrical signal value corresponding to the first frequency point;

[0065] Step 2: determining the signal gain corresponding to the first frequency point according to the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal of the input signal channel;

[0066] Step 3: According to the corresponding relationship between the first frequency point and the signal gain, a signal frequency response curve of the corresponding signal channel in the instrument to be calibrated is obtained.

[0067] In the disclosed embodiment, the target frequency band range may be the signal frequency range for which targeted calibration is desired. A certain frequency step size may be set within the target frequency band range, and according to this step size, electrical signal values corresponding to different frequencies (i.e., the first frequency point) in the sample signal may be sampled within the target frequency band range. In the case where high-precision calibration is required, a shorter step size may be set to sample more frequency points; in the case where fast calibration is required, a shorter step size may be set to sample fewer frequency points to ensure the speed of the operation.

[0068] By sampling the electrical signal values corresponding to different first frequency points in the sample signal and the electrical signal values of the initial signal (i.e., the first initial signal) input to the signal channel during this calibration process, the signal gain of the signal channel corresponding to the sample signal at different first frequency points can be obtained. Taking the input electrical signal as a voltage signal as an example, the signal gain V out is the voltage value of the sample signal at the first frequency point; V in is the voltage value of the first initial signal.

[0069] By fitting the relationship between the plurality of first frequency points and their corresponding signal gains, a signal frequency response curve representing the response characteristics of the signal channel to input signals of different frequencies can be obtained.

[0070] In another embodiment provided by the present disclosure, the above-mentioned step S103 of “comparing the signal frequency response curve with the corresponding ideal frequency response curve, and determining the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel according to the comparison result” can be implemented as follows:

[0071] Step 1: Determine the error coefficient corresponding to the frequency point based on the difference between the signal gain corresponding to the same frequency point in the signal frequency response curve and the corresponding ideal frequency response curve;

[0072] Step 2: Using a preset fitting algorithm, a functional relationship between the frequency points within the target frequency band and the error coefficient is obtained, with the frequency being the independent variable and the error coefficient being the dependent variable.

[0073] In the disclosed embodiment, the ideal frequency response curve and the signal frequency response curve may be compared to determine the difference in signal gain at different frequencies. The difference here may be the ratio of the gains between frequency response signals at the same frequency, and this ratio may be used as the error coefficient corresponding to the frequency.

[0074] The ideal frequency response curve can be a theoretically optimal frequency response curve drawn based on the calibration target, or it can be a frequency response curve obtained by sampling a signal channel with the same gain in a calibration instrument (i.e., a similar instrument that has been calibrated). For example, if the 1V range of a lock-in amplifier requires calibration, the ideal frequency response curve can be obtained by sampling the 1V range of another lock-in amplifier that has been confirmed to be in a calibrated state (i.e., executing steps S101-S102 above for the calibration instrument).

[0075] By selecting multiple frequency points and the error coefficients corresponding to the frequency points and substituting them into the fitting algorithm, a functional relationship with the frequency as the independent variable and the error coefficient as the dependent variable can be obtained.

[0076] In another embodiment provided by the present disclosure, the signal channel includes three levels of signal paths, and the signal parameter characteristics corresponding to different levels of signal paths are: voltage, impedance and frequency.

[0077] In the disclosed embodiments, different paths can be selected for input signals based on different signal parameter characteristics, thereby allowing the input signals to be transmitted along different signal paths to form different signal channels. Taking an impedance meter with three signal paths as an example, the first-level signal path can include two paths, with signal directions allocated based on signal voltage values; the second-level signal path can include two paths, with paths allocated based on the impedance of the device under test; and the third-level path can include two paths, with paths allocated based on signal frequency.

[0078] Here is one such Figure 2 The signal channel structure diagram of the impedance measuring instrument shown is used as an example. Figure 2Each signal path includes two paths. The signal is input into the first-level signal path from the input end of the signal channel. The first-level signal path can allocate the signal direction according to the voltage value of the input signal. Here, it can be judged based on whether it is greater than 1V or less than 1V. If it is less than 1V, it can be switched to a gain of one, otherwise it can be switched to a ten-fold attenuation; the second-level signal path can allocate the path according to the impedance of the device under test. For example, if the impedance resistance is greater than 10Ω, it can be switched to a gain of one, otherwise it can be switched to a gain of five; the third-level signal path can allocate the path according to the frequency of the signal. For example, if the measured frequency is greater than 500Hz, the signal is input into the pass-through filter, otherwise it is input into the high-pass filter.

[0079] Here is also provided a Figure 3 The current amplification channel structure diagram of the lock-in amplifier is shown as an example. Figure 3 The current amplification channel provided in the invention may include a three-stage signal path. When the signal path is operating normally, the input signal passes through the floating / grounded circuit and enters the first-stage signal path. The first-stage signal path can achieve different current gains according to the current value range of the input signal. For example, the first-stage signal path can achieve four types of amplification of the input signal. If the current value range of the input signal is within 1mA-10mA, the transimpedance gain for the signal can be 100V / A; if the current value range of the input signal is within 10μA-100μA, the transimpedance gain for the signal can be 10kV / A; if the current value range of the input signal is within 100nA-1μA, the transimpedance gain for the signal can be 1MV / A; if the current value range of the input signal is within 1nA-10nA, the transimpedance gain for the signal can be 100MV / A.

[0080] After being processed by the first-stage signal path, the signal is transmitted to the second-stage signal path. The second-stage signal path can have a single-ended to differential conversion function and can further amplify the signal based on the current value. For example, the second-stage signal path can be composed of a single-ended to differential programmable amplifier circuit and can achieve four types of amplification for the input signal: if the input current value range is between 100μA and 1mA, the transimpedance gain for this signal can be 1kV / A; if the input current value range is between 1μA and 10μA, the transimpedance gain for this signal can be 100kV / A; if the input current value range is between 10nA and 100nA, the transimpedance gain for this signal can be 10MV / A; if the input current value range is between 1nA and 10nA, the transimpedance gain for this signal can be 1GV / A.

[0081] The signal processed by the second-stage signal path is then fed into a third-stage signal path. This third-stage signal path can include filtering capabilities. Through these three stages, the input initial signal is conditioned, amplified, and filtered. The filtered signal is then output to the main control unit of the instrument being calibrated and then transmitted as a sample signal to a host computer that communicates with the instrument being calibrated.

[0082] In another embodiment provided by the present disclosure, the signal channel calibration method further includes the following steps:

[0083] Step 1: Analyze the signal parameter characteristics of the signal to be calibrated to determine the first signal channel corresponding to the signal to be calibrated; the signal parameter characteristics include frequency;

[0084] Step 2: calling a predetermined first correspondence between a frequency point and an error coefficient corresponding to a first signal channel;

[0085] Step 3: Determine the frequency of the signal to be calibrated and the first corresponding relationship, and determine the first error coefficient corresponding to the current frequency of the signal to be calibrated;

[0086] Step 4: Calibrate the signal to be calibrated according to the first error coefficient to obtain the target signal.

[0087] In an embodiment of the present disclosure, the signal to be calibrated may be a signal input to a measuring instrument (i.e., the instrument to be calibrated in the present disclosure). Based on the signal parameter characteristics of the signal to be calibrated, a suitable signal channel (i.e., the first signal channel) is selected for the signal to be calibrated, and the signal to be calibrated is introduced into the first signal channel.

[0088] While the signal to be calibrated is being processed by the first signal channel, a first correspondence relationship representing the relationship between the mid-frequency point and the error coefficient in the first signal channel is called. Furthermore, the host computer can sample the frequency of the signal to be calibrated in real time and, based on the frequency of the signal to be calibrated and the first correspondence relationship, determine the current first error coefficient of the signal to be calibrated. Based on the first error coefficient, the current signal to be calibrated can be calibrated to obtain a calibrated target signal.

[0089] Here is a calibration process for a phase-locked amplifier as an example. First, the input and output of the phase-locked amplifier to be calibrated can be connected, and the output signal of the phase-locked amplifier can be selected as a voltage signal. The DAC of the phase-locked amplifier is controlled to output the corresponding voltage value. Taking the calibration of the 100mV gear as an example, the output voltage value can be set to 50mV, and the frequency range of the signal can be set to between 100Hz and 5MHz. This signal is input into the signal channel corresponding to the 100mV gear. After processing the corresponding signal channel, the sample signal corresponding to the signal can be obtained. This sample signal is sampled, and through the voltage sweep method, the signal frequency response curve of this signal in the range of 100Hz-5MHz under the signal channel corresponding to the 100mV gear can be determined.

[0090] The obtained signal frequency response curve is compared with the ideal frequency response curve with frequency as a reference to obtain the error coefficient corresponding to the preset frequency point in the range of 100Hz-5MHz.

[0091] By fitting the frequency points and the corresponding error coefficients, a functional relationship can be obtained with the frequency as the independent variable and the error coefficient as the dependent variable.

[0092] Here is a Figure 4 The possible error coefficients versus frequency are shown as examples. Figure 4 The vertical axis is the error coefficient, and the horizontal axis is the signal frequency. The functional relationship can be shown as follows.

[0093] y=-3.98×10 -8 X+1.1×10 -13 X 2 -1.75×10 -19 X 3 +1.54×10 -25 X 4

[0094] -8.14×10 -32 X 5 +2.61×10 -38 X 6 -4.94×10 -45 X 7 +5.12

[0095] ×10 -52 X 8 -2.23×10 -59 X 9 +0.9797

[0096] Where X is the current frequency of the signal, and y is the error coefficient corresponding to the current frequency. Assuming the current input signal is u(t), the target signal after calibration is u(t) × y.

[0097] The error between the target signal and the ideal signal after calibration is as follows: Figure 5 As shown, it can be seen that the method provided by the present disclosure can control the error of the output signal (i.e., the target signal) within ±0.15%, indicating that the method provided by the present disclosure can effectively improve the accuracy and control the output error. The ideal signal can be the theoretical value of the signal obtained by amplifying the initial signal.

[0098] The present disclosure also provides a signal channel calibration device, such as Figure 6 Shown, including:

[0099] An acquisition module 601 is configured to acquire sample signals outputted by each signal channel of the instrument to be calibrated. The signal channel is configured to amplify the input signal. The signal channel includes multiple signal paths, each of which is configured to process the input signal according to corresponding signal parameter characteristics.

[0100] The frequency sweep module 602 is configured to sweep the frequency points within the target frequency range of the sample signal output by each signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal;

[0101] The comparison module 603 is used to compare the signal frequency response curve with the corresponding ideal frequency response curve, and determine the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel based on the comparison result; wherein the corresponding relationship is used to calibrate the signal to be calibrated of the corresponding channel input into the instrument to be calibrated.

[0102] In another embodiment provided by the present disclosure, an acquisition module is used to connect the input end and the output end of the instrument to be calibrated to obtain a closed-loop test circuit; output an initial signal through the output end, and adjust the initial signal according to the signal parameter characteristics corresponding to the signal paths included in each signal channel to obtain sample signals to be gained corresponding to each signal channel; and make the sample signals to be gained pass through the corresponding signal channels respectively, and output sample signals corresponding to each signal channel.

[0103] In another embodiment provided by the present disclosure, a frequency sweep module is used to traverse the frequency points in the sample signal output by each signal channel within a target frequency band according to a set step size, and determine the electrical signal value corresponding to the first frequency point; determine the signal gain corresponding to the first frequency point based on the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal of the input signal channel; and obtain the signal frequency response curve of the corresponding signal channel in the instrument to be calibrated based on the correspondence between the first frequency point and the signal gain.

[0104] In another embodiment provided by the present disclosure, a comparison module is configured to determine an error coefficient corresponding to a frequency point based on a difference between a signal frequency response curve and a signal gain corresponding to the same frequency point in a corresponding ideal frequency response curve; and to employ a preset fitting algorithm to obtain a functional relationship between the frequency point within a target frequency band and the error coefficient, with the frequency being the independent variable and the error coefficient being the dependent variable.

[0105] In another embodiment provided by the present disclosure, a signal channel calibration device further includes:

[0106] An analysis module, configured to analyze signal parameter characteristics of the signal to be calibrated and determine a first signal channel corresponding to the signal to be calibrated;

[0107] A calling module, configured to call a predetermined first correspondence between a frequency point and an error coefficient corresponding to a first signal channel;

[0108] a determination module, configured to determine the frequency of the signal to be calibrated and the first corresponding relationship, and determine a first error coefficient corresponding to the current frequency of the signal to be calibrated;

[0109] The calibration module is used to calibrate the signal to be calibrated according to the first error coefficient to obtain a target signal.

[0110] The present disclosure also provides an electronic device, such as Figure 7 As shown, it is characterized in that it includes: a processor 701, a memory 702 and a bus 703, the memory 702 stores machine-readable instructions executable by the processor 701, and when the electronic device is running, the processor 701 and the memory 702 communicate through the bus 703, and when the machine-readable instructions are executed by the processor, the steps of a signal channel calibration method provided in any embodiment of the above-mentioned signal channel calibration method are performed.

[0111] Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments of the present disclosure can be implemented through hardware or by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present disclosure.

[0112] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes in the accompanying drawings are not necessarily required for implementing the present disclosure.

[0113] Those skilled in the art will appreciate that the modules in the devices of the embodiments may be distributed in the devices of the embodiments as described in the embodiments, or may be located in one or more devices different from the embodiments with corresponding changes. The modules of the above embodiments may be combined into one module or further split into multiple submodules.

[0114] The serial numbers of the above-mentioned embodiments of the present disclosure are for description only and do not represent the advantages or disadvantages of the embodiments.

[0115] Obviously, those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.

Claims

1. A signal channel calibration method, characterized in that: include: Respectively obtain the sample signals output by each signal channel in the instrument to be calibrated; The signal path is used to gain the input signal; the signal path includes a multi-stage signal path, and each stage of the signal path is used to provide corresponding processing for the input signal according to corresponding signal parameter characteristics; For each signal channel, sweep the frequency points within the target frequency range of the sample signal output by the signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal; Comparing the signal frequency response curve with the corresponding ideal frequency response curve, and determining the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel according to the comparison result; The corresponding relationship is used to calibrate the signal to be calibrated input into the corresponding channel of the instrument to be calibrated.

2. The method according to claim 1, wherein The step of respectively obtaining the sample signals output by each signal channel in the instrument to be calibrated comprises: Connecting the input terminal and the output terminal of the instrument to be calibrated to obtain a closed-loop test circuit; Outputting the initial signal through the output end, and adjusting the initial signal according to the signal parameter characteristics corresponding to the signal paths included in each signal channel, to obtain the sample signals to be gained corresponding to each signal channel; and The sample signals to be amplified are respectively passed through corresponding signal channels, and sample signals corresponding to the respective signal channels are output.

3. The method according to claim 1, wherein The method of sweeping the frequency points within the target frequency range of the sample signal output by each signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal includes: For the sample signal output by each signal channel, traverse the frequency points in the sample signal within the target frequency band according to the set step size, and determine the electrical signal value corresponding to the first frequency point; determining a signal gain corresponding to the first frequency point according to the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal input into the signal channel; According to the corresponding relationship between the first frequency point and the signal gain, a signal frequency response curve of the corresponding signal channel in the instrument to be calibrated is obtained.

4. The method according to claim 1, wherein The comparing the signal frequency response curve with the corresponding ideal frequency response curve, and determining the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel according to the comparison result, includes: Determining an error coefficient corresponding to the frequency point based on a difference between the signal gain corresponding to the same frequency point in the signal frequency response curve and the corresponding ideal frequency response curve; A preset fitting algorithm is used to obtain a functional relationship between the frequency points within the target frequency band and the error coefficient, with the frequency as the independent variable and the error coefficient as the dependent variable.

5. The method according to claim 1, wherein The signal channel includes three levels of signal paths, and the signal parameter characteristics corresponding to different levels of signal paths are: voltage, impedance and frequency.

6. The method according to claim 1, wherein Also includes: Analyze the signal parameter characteristics of the signal to be calibrated to determine the first signal channel corresponding to the signal to be calibrated; The signal parameter characteristics include frequency; Recalling a predetermined first correspondence between a frequency point and an error coefficient corresponding to the first signal channel; Determine the frequency of the signal to be calibrated and the first corresponding relationship, and determine a first error coefficient corresponding to the current frequency of the signal to be calibrated; The signal to be calibrated is calibrated according to the first error coefficient to obtain a target signal.

7. A signal channel calibration device, characterized in that: include: An acquisition module is configured to respectively acquire sample signals outputted by each signal channel in the instrument to be calibrated; wherein the signal channel is configured to amplify the input signal; the signal channel comprises a multi-stage signal path, each stage of the signal path being configured to provide corresponding processing for the input signal according to corresponding signal parameter characteristics; The frequency sweep module is used to sweep the frequency points within the target frequency range of the sample signal output by each signal channel to obtain a signal frequency response curve representing the response characteristics of the sample signal; A comparison module is used to compare the signal frequency response curve with the corresponding ideal frequency response curve, and determine the corresponding relationship between the frequency point and the error coefficient corresponding to the signal channel based on the comparison result; wherein the corresponding relationship is used to calibrate the signal to be calibrated input into the corresponding channel of the instrument to be calibrated.

8. The device according to claim 7, wherein The acquisition module is configured to connect the input and output ends of the instrument to be calibrated to obtain a closed-loop test circuit; output an initial signal through the output end, and adjust the initial signal according to the signal parameter characteristics corresponding to the signal paths included in each signal channel to obtain sample signals to be gained corresponding to each signal channel; and pass the sample signals to be gained through the corresponding signal channels to output sample signals corresponding to each signal channel.

9. The device according to claim 7, wherein The frequency sweep module is used to traverse the frequency points in the sample signal output by each signal channel within the target frequency band according to a set step size, and determine the electrical signal value corresponding to the first frequency point; determine the signal gain corresponding to the first frequency point based on the electrical signal value corresponding to the first frequency point and the electrical signal value of the first initial signal input to the signal channel; and obtain the signal frequency response curve of the corresponding signal channel in the instrument to be calibrated based on the corresponding relationship between the first frequency point and the signal gain.

10. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate via the bus. When the machine-readable instructions are executed by the processor, the steps of a signal channel calibration method according to any one of claims 1 to 6 are performed.