Test method and related device
By measuring the analog link input power and output power of the magnetic resonance receiver link, and combining the output noise power spectral density of the analog-to-digital converter, the overall noise figure is calculated, which solves the problem of inaccurate noise figure evaluation in traditional testing methods and improves the accuracy of performance evaluation.
Patent Information
- Application Number
- CN202511419456.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2025-12-02
AI Technical Summary
Traditional methods only test the simulated link noise figure of the magnetic resonance receiver link, which cannot reflect the overall noise performance, resulting in low accuracy of performance evaluation, and the ADC noise and connection mismatch issues are not reflected.
The analog gain is obtained by measuring the analog link input power and output power of the magnetic resonance receiver link. The overall noise figure is then calculated by combining the output noise power spectral density of the analog-to-digital converter, including the determination of the noise figure and performance evaluation.
It enables accurate testing of the overall noise figure of the magnetic resonance receiver link, improves the accuracy of performance evaluation, and avoids the effects of ADC noise and connection mismatch.
Smart Images

Figure CN121049596A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of testing technology, and in particular to a testing method and related apparatus. Background Technology
[0002] The magnetic resonance receiver link is a core component of an MRI system, responsible for capturing, amplifying, and processing the weak magnetic resonance signals emitted by human tissue. The noise performance of the receiver link directly affects imaging resolution and signal detection sensitivity. Currently, noise figure tests are typically performed on analog links of the MRI receiver link to evaluate its performance. Summary of the Invention
[0003] In view of the above problems, this application provides a testing method and related apparatus. The specific solution is as follows:
[0004] The first aspect of this application provides a testing method, comprising:
[0005] The analog gain of the magnetic resonance receiving link is obtained by measuring the input power and output power of the analog link of the magnetic resonance receiving link; wherein the magnetic resonance receiving link is composed of the analog link and the analog-to-digital converter connected in sequence, and the input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with noise power spectral density equal to a first noise power spectral density;
[0006] The noise power spectral density of the output signal of the analog-to-digital converter is obtained to obtain the second noise power spectral density.
[0007] The noise figure of the magnetic resonance receiving link is determined based on the analog gain, the first noise power spectral density, and the second noise power spectral density.
[0008] In one possible implementation, the analog gain of the magnetic resonance receiving link is obtained based on the input power and output power of the analog link of the magnetic resonance receiving link, including:
[0009] After the analog signal is emitted by the signal source, the power of the analog signal emitted by the signal source is obtained to obtain the input power of the analog link;
[0010] The power of the output signal of the analog link is collected by a power meter to obtain the output power of the analog link.
[0011] The ratio of the output power to the input power of the analog link is calculated to obtain the analog gain.
[0012] In one possible implementation, obtaining the noise power spectral density of the output signal of the analog-to-digital converter to obtain a second noise power spectral density includes:
[0013] Obtain the output signal of the analog-to-digital converter;
[0014] The output signal of the analog-to-digital converter is segmented and windowed to obtain multiple output data segments;
[0015] Perform a Fast Fourier Transform on each of the output data segments to obtain the spectral data of each of the output data segments;
[0016] After performing power compensation on the spectral data of each output data segment, the ratio of the spectral data of the output data segment to the frequency resolution is calculated to obtain the noise power spectral density of the output data segment.
[0017] The average noise power spectral density of each of the output data segments is calculated to obtain the second noise power spectral density.
[0018] In one possible implementation, determining the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density includes:
[0019] The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain.
[0020] The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
[0021] In one possible implementation, the testing method also includes:
[0022] Determine whether the noise figure of the magnetic resonance receiving link exceeds a preset first noise threshold; if so, obtain the noise figure of the analog link.
[0023] Determine whether the noise figure of the simulated link exceeds a preset second noise threshold; if yes, determine that the performance evaluation result is that the simulated link noise is abnormal; if no, determine that the performance evaluation result is that the matching network between the simulated link and the analog-to-digital converter is abnormal.
[0024] A second aspect of this application provides a testing apparatus, comprising:
[0025] The analog gain determination unit is used to obtain the analog gain of the magnetic resonance receiving link based on the input power and output power of the analog link of the magnetic resonance receiving link; wherein the magnetic resonance receiving link is composed of the analog link and the analog-to-digital converter connected in sequence, and the input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with noise power spectral density equal to a first noise power spectral density;
[0026] The spectral density determination unit is used to obtain the noise power spectral density of the output signal of the analog-to-digital converter, and to obtain the second noise power spectral density.
[0027] The noise figure determination unit is used to determine the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density.
[0028] In one possible implementation, when the noise figure determination unit determines the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density, it is specifically used for:
[0029] The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain.
[0030] The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
[0031] A third aspect of this application provides a computer program product including computer-readable instructions that, when executed on an electronic device, cause the electronic device to implement the test method described in the first aspect or any implementation thereof.
[0032] A fourth aspect of this application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0033] The memory is used to store computer programs;
[0034] The processor is used to execute the computer program so that the electronic device can implement the test method of the first aspect or any implementation thereof.
[0035] The fifth aspect of this application provides a computer storage medium carrying one or more computer programs, which, when executed by an electronic device, enable the electronic device to perform the test method described in the first aspect or any implementation thereof.
[0036] By employing the above technical solution, the testing method and related apparatus provided in this application obtain the analog gain of the magnetic resonance receiving link based on the input power and output power of the analog link. The input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with a noise power spectral density of a first noise power spectral density. The noise power spectral density of the output signal of the analog-to-digital converter is obtained, resulting in a second noise power spectral density. Based on the analog gain, the first noise power spectral density, and the second noise power spectral density, the noise figure of the magnetic resonance receiving link is determined. Therefore, this solution enables the testing of the overall noise figure of the magnetic resonance receiving link, thereby improving the accuracy of performance evaluation of the magnetic resonance receiving link. Attached Figure Description
[0037] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0038] Figure 1 This is a schematic diagram of the specific structure of a magnetic resonance receiving link provided in an embodiment of this application;
[0039] Figure 2 A flowchart of a testing method provided in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of the specific structure of a testing system provided in an embodiment of this application;
[0041] Figure 4 A flowchart illustrating another testing method provided in an embodiment of this application;
[0042] Figure 5 A flowchart illustrating another testing method provided in an embodiment of this application;
[0043] Figure 6 A flowchart illustrating another testing method provided in an embodiment of this application;
[0044] Figure 7 A flowchart illustrating another testing method provided in an embodiment of this application;
[0045] Figure 8 This is a schematic diagram of the structure of a testing device provided in an embodiment of this application;
[0046] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0047] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0048] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0049] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0050] This application can be applied in the field of magnetic resonance technology, specifically in the performance evaluation of magnetic resonance receiving links, to test the noise figure. A magnetic resonance receiving link consists of an analog link and an analog-to-digital converter. Figure 1 This is a schematic diagram of a specific structure of a magnetic resonance receiving link provided in an embodiment of this application, as shown below. Figure 1 As shown, the magnetic resonance receiving link includes an analog link 101 and a spectrometer receiver 102. The analog link mainly consists of a low-noise amplifier (LNA), a second-stage amplifier (Amp2), and a band-pass filter (BPF). Specifically, the LNA (low-noise amplifier) is located at the far left of the analog front end and is the first station for the signal entering the system. Its main function is to amplify the weak input signal while minimizing the introduction of noise to improve the signal-to-noise ratio. Amp2 (amplifier) follows immediately after the LNA, further amplifying the signal to ensure the signal strength meets the requirements of subsequent processing modules. The BPF (band-pass filter) is located after Amp2 and is used to filter out noise and interference outside the signal band, allowing only signals within a specific frequency range to pass through, thereby improving the signal quality and purity.
[0051] The spectrometer receiver mainly consists of an analog-to-digital converter (ADC) and a signal processor. The ADC is located at the junction of the analog front-end and the digital processor, converting the analog signal processed by the analog front-end into a digital signal for subsequent digital signal processing.
[0052] In summary, the magnetic resonance receiving link, through the coordinated work of its various modules, amplifies, filters, and digitizes the weak magnetic resonance signal to extract useful information, which serves as the basis for generating high-quality magnetic resonance images.
[0053] Traditional testing methods for noise figure measurement of analog links to evaluate the performance of magnetic resonance receiver links suffer from low accuracy. The reasons for this are as follows:
[0054] 1. The quantization noise and thermal noise of the ADC will be directly superimposed on the signal. In particular, the magnetic resonance signal itself is extremely weak (usually at the microvolt or even nanovolt level). The noise floor of the ADC has a much greater impact on the signal than that of ordinary radio frequency systems. Under these circumstances, the ADC noise may become the dominant noise source. Therefore, the noise figure of the obtained analog link cannot reflect the overall noise characteristics of the magnetic resonance receiving link. In other words, the performance evaluation results cannot reflect the actual impact of the overall system noise on imaging.
[0055] 2. The connection between the ADC and the analog link may have problems such as impedance mismatch and gain mismatch, which will lead to the introduction of additional noise (such as reflection noise and nonlinear distortion noise). These noises cannot be reflected by analog link testing alone.
[0056] In summary, testing only the noise figure of the analog link before the ADC in the magnetic resonance receiver link will fragment the overall noise of the system and cannot reflect the noise performance of the magnetic resonance receiver link when it is actually working, which may lead to deviations in design, debugging or performance evaluation.
[0057] In this regard, this application provides a testing method to test the overall noise figure of the magnetic resonance receiving link, thereby improving the accuracy of the performance evaluation of the magnetic resonance receiving link.
[0058] See Figure 2 , Figure 2 A flowchart of a testing method provided in an embodiment of this application is shown below. Figure 2 As shown, this method includes:
[0059] S201. Based on the input power and output power of the analog link of the magnetic resonance receiving link, obtain the analog gain of the magnetic resonance receiving link.
[0060] In this embodiment, the magnetic resonance receiving link consists of an analog link and an analog-to-digital converter connected in sequence. The input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with a noise power spectral density equal to a first noise power spectral density.
[0061] S202. Obtain the noise power spectral density of the output signal of the analog-to-digital converter to obtain the second noise power spectral density.
[0062] In this embodiment, the output signal of the analog-to-digital converter refers to the digital signal that has undergone analog-to-digital conversion via an ADC and passed through a preset signal processor, that is, the output signal of the magnetic resonance receiving link.
[0063] S203. Based on the analog gain, the first noise power spectral density, and the second noise power spectral density, determine the noise figure of the magnetic resonance receiving link.
[0064] It should be noted that the noise figure F is generally defined as the ratio of the input signal-to-noise ratio (SNRin) to the output signal-to-noise ratio (SNRout), i.e., F = SNRin / SNRout. The input and output signals of a magnetic resonance receiver link consist of two parts: the input signal includes the useful signal (power Sin) and noise (power Nin), and the output signal includes the useful signal (power Sout) and noise (power Nout). Therefore, SNRin = Sin / Nin, SNRout = Sout / Nout, and F = (Sin / Nin) / (Sout / Nout). The analog gain of the analog link in the magnetic resonance receiver link is G, i.e., Sout = Sin × G. Therefore, the output signal-to-noise ratio Sout / Nout = Sin × G / Nout, and thus F = Nout / Nin × G. In other words, the noise figure is the ratio of the output noise power to the product of the input noise power and the gain of the device under test.
[0065] In this embodiment, the input noise power metric Nin×G can be obtained using the first noise power spectral density PSDin, and the output noise power metric Nout can be obtained using the second noise power spectral density PSDout. Furthermore, the noise figure of the magnetic resonance receiving link is obtained by dividing the output noise power metric by the input noise power metric. Optionally, the input noise power and output noise power can be determined based on the noise power spectral density and bandwidth.
[0066] As can be seen from the above technical solution, the testing method provided in this application provides an analog gain of the magnetic resonance receiving link based on the input power and output power of the analog link of the magnetic resonance receiving link. The input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with a noise power spectral density of a first noise power spectral density. The noise power spectral density of the output signal of the analog-to-digital converter is obtained, resulting in a second noise power spectral density. Based on the analog gain, the first noise power spectral density, and the second noise power spectral density, the noise figure of the magnetic resonance receiving link is determined. Therefore, this solution only needs to test the analog gain of the receiving link and calculate the noise power spectral density of the output digital signal to calculate the overall noise figure of the magnetic resonance receiving link. This enables the testing of the overall noise figure of the magnetic resonance receiving link, avoids ignoring the influence of ADC noise, better reflects the actual working scenario of magnetic resonance equipment, and thus improves the accuracy of performance evaluation of the magnetic resonance receiving link.
[0067] See Figure 3 , Figure 3 This is a schematic diagram of the specific structure of a testing system provided in an embodiment of this application, as shown below. Figure 3 As shown, the test system includes a magnetic resonance receiving link and a test controller. The test controller includes a signal source, a noise simulator, a power meter, and a data processing module. The data processing module includes a gain calculation module, a PSD calculation module, and a noise figure calculation module. The signal source and noise simulator are connected to the input of the magnetic resonance receiving link, i.e., the input of the LNA in the analog link. The power meter is connected to the output of the analog link, i.e., the output of the BPF. The data processing module is connected to the output of the power meter and the spectrometer receiver of the magnetic resonance receiving link (i.e., the output of the signal processor located after the ADC).
[0068] In this embodiment, the noise simulator emits thermal noise with a noise power spectral density (PSD) equal to a first noise power spectral density to the input of the analog link. For example, a 50Ω load is connected to the input of the LNA of the analog link, generating thermal noise with a noise power spectral density of PSDin = -174 dBm / Hz. The characteristic of this thermal noise is that its noise power spectral density is constant throughout the entire frequency band. The signal source emits an analog signal with a power equal to the input power Pin (denoted as analog input power) to the LNA of the analog link. The power meter collects the output power Pout of the output signal of the analog link. The data processing module executes steps S201~S203 to calculate the noise figure.
[0069] Based on the above testing system, referring to Figure 4 , Figure 4 This is a flowchart illustrating another testing method provided in an embodiment of this application. Figure 4The diagram illustrates the specific implementation process of S201, which involves obtaining the analog gain of the magnetic resonance receiving link based on the input and output power of the analog link. Figure 4 As shown, the method may include steps S401 to S403, which are described in detail below.
[0070] S401. Obtain the power of the analog signal emitted by the signal source to obtain the input power of the analog link.
[0071] In this embodiment, an analog signal for testing is emitted by a signal source, and the output signal power configuration data of the signal source is directly obtained to obtain the input power of the analog link. Alternatively, a power meter (or other instrument with power measurement function) connected to the output of the signal source is used to measure and display the power value of the analog signal in real time to obtain the input power of the analog link.
[0072] S402. Read the power of the output signal of the analog link collected by the power meter to obtain the output power of the analog link.
[0073] In this embodiment, a power meter (such as one connected to the output of the signal source) is used. Figure 3 The power meter shown is connected to the output of the BPF and measures and displays the power value of the analog signal output by the BPF in real time, thus obtaining the output power of the analog link.
[0074] S403. Calculate the ratio of the output power to the input power of the analog link to obtain the analog gain.
[0075] In this embodiment, the analog gain G = Pout / Pin is calculated based on the ratio of the output power Pout to the input power Pin of the analog link.
[0076] It should be noted that this method is implemented through a gain calculation module, which quantitatively measures the amplification capability of the analog link by calculating the ratio of output power to input power. The magnitude of the analog gain directly reflects the degree to which the analog link enhances the signal power.
[0077] Reference Figure 5 , Figure 5 This is a flowchart illustrating another testing method provided in an embodiment of this application. Figure 5 The following illustrates the specific implementation process of S202, which involves obtaining the noise power spectral density of the output signal of the analog-to-digital converter and then deriving the second noise power spectral density. Figure 5 As shown, the method may include steps S501 to S505, which are described in detail below.
[0078] S501, Obtain the output signal of the analog-to-digital converter.
[0079] In this embodiment, the output signal of the analog-to-digital converter refers to the digital signal that has undergone analog-to-digital conversion via an ADC and signal processing via a signal processor.
[0080] S502. The output signal of the analog-to-digital converter is segmented and windowed to obtain multiple output data segments.
[0081] In this embodiment, the output signal of the analog-to-digital converter is evenly segmented according to a preset number of segments to obtain multiple data segments. Then, each data segment is windowed based on a preset window function (such as Hanning window, Hamming window, etc.) to obtain multiple output data segments.
[0082] It should be noted that the choice of window function should be determined based on the specific application scenario and requirements, as different window functions have different spectral characteristics.
[0083] S503. Perform a Fast Fourier Transform on each output data segment to obtain the spectral data of each output data segment.
[0084] In this embodiment, the Fast Fourier Transform (FFT) algorithm is used to perform a frequency domain transformation on each output data segment. Optionally, the corresponding FFT function library can be called to complete the FFT calculation for each output data segment.
[0085] S504. After performing power compensation on the spectral data of each output data segment, calculate the ratio of the spectral data of the output data segment to the frequency resolution to obtain the noise power spectral density of the output data segment.
[0086] In this embodiment, based on the power compensation characteristics of the window function, corresponding power compensation calculations are performed on each segment of spectrum data. Different window functions have different compensation coefficients or calculation methods. The amplitude of the spectrum data needs to be adjusted according to the corresponding formulas or rules. The purpose is to correct the loss caused by the windowing operation so that the spectrum data can accurately reflect the power characteristics of the original signal.
[0087] In this embodiment, when calculating the ratio of the spectral data of the output data segment to the frequency resolution after power compensation, the frequency resolution is determined at least based on the parameters of the FFT.
[0088] S505. Calculate the average value of the noise power spectral density of each output data segment to obtain the second noise power spectral density.
[0089] In this embodiment, the noise power spectral density of each output data segment is accumulated and then divided by the number of segments to obtain the average noise power spectral density, which is also the second noise power spectral density PSDout.
[0090] As can be seen from the above technical solutions, the test method provided in this application uses FFT to convert the time-domain data output by the spectrometer receiver into frequency-domain data in order to analyze the frequency components and characteristics of the data. Furthermore, by averaging the noise power spectral density of multiple output data segments, a more stable and representative noise power spectral density value is obtained, reducing the influence of random errors and local fluctuations.
[0091] Reference Figure 6 , Figure 6 This is a flowchart illustrating another testing method provided in an embodiment of this application. Figure 6 The diagram illustrates S203, which details the implementation process for determining the noise figure of the magnetic resonance receiver link based on analog gain, the first noise power spectral density, and the second noise power spectral density. Figure 6 As shown, the method may include steps S601 to S602, which are described in detail below.
[0092] S601. Calculate the product of the linear value of the first noise power spectral density and the analog gain to obtain the ideal power parameters.
[0093] In this embodiment, the logarithmic forms of the first and second noise power spectral densities are converted into linear forms.
[0094] Specifically, since both the first noise power spectral density PSDin and the second noise power spectral density PSDout are logarithmic values in dBm / Hz, for both PSDin and PSDout, the logarithmic form of the noise power spectral density is converted to a linear form by dividing the noise power spectral density by 10 and using the result as the exponent of 10, thus obtaining the linear value of the noise power spectral density and converting the power spectral density value from the logarithmic domain to the linear domain.
[0095] It should be noted that the ideal power parameter is the power spectral density (in linear form) at the system output after amplification of the input noise under ideal noise-free conditions. In other words, if the system is ideally noise-free, the output noise power spectral density is equal to the input noise power spectral density multiplied by the gain.
[0096] S602. Calculate the ratio of the actual power parameter to the ideal power parameter to obtain the noise figure of the magnetic resonance receiving link.
[0097] Wherein, the actual power parameter is the linear value of the second noise power spectral density. That is, the noise figure F of the magnetic resonance receiver link is calculated as: F = (10 (PSDout / 10) ) / ( 10 (PSDin / 10) ×G). Where G represents the analog gain.
[0098] In this embodiment, the noise figure of the magnetic resonance receiving link is the ratio of the actual output noise power spectral density to the ideal output noise power spectral density, reflecting the degree to which the output signal-to-noise ratio deteriorates relative to the input signal-to-noise ratio due to the influence of its own noise during actual operation.
[0099] Furthermore, it should be noted that the operating bandwidth of the magnetic resonance receiving link is B, PSDin = -174, then Nin = 10. (-174 / 10) ×B. Nout=10 (PSDout / 10) ×B. Since the link bandwidth is not rectangular but approximately trapezoidal, the value of B will introduce errors. Therefore, this scheme uses noise power spectral density to determine the power parameters, thus based on F=(10 (PSDout / 10) ) / (10 (-174 / 10) ×G) determines the noise figure without requiring precise bandwidth information, thus improving the accuracy of the noise figure in the magnetic resonance receiver link.
[0100] As can be seen from the above embodiments, the testing method provided by the embodiments of this application can solve the technical problem of poor accuracy of evaluation results when evaluating magnetic resonance receiving links using traditional testing methods.
[0101] Based on the above embodiments, the testing method provided in this application further includes a step of determining the performance evaluation result of the magnetic resonance receiving link based on the noise figure of the simulated link and the noise figure of the magnetic resonance receiving link. (Refer to...) Figure 7 , Figure 7 This is a flowchart illustrating another testing method provided in an embodiment of this application. Figure 7 The document illustrates the specific implementation process for determining the performance evaluation results of the magnetic resonance receiving link based on the noise figure of the analog link and the noise figure of the magnetic resonance receiving link, as follows: Figure 7 As shown, the method may include steps S701 to S705, which are described in detail below.
[0102] S701. Determine whether the noise figure of the magnetic resonance receiving link exceeds the preset first noise threshold.
[0103] S702, If so, obtain the noise figure of the analog link.
[0104] In this embodiment, the noise figure of the simulated link section can be measured using a dedicated noise testing instrument, referring to the traditional noise figure testing method.
[0105] S703. Determine whether the noise figure of the analog link exceeds the preset second noise threshold.
[0106] S704. If so, determine that the performance evaluation result is an anomaly in the simulated link noise.
[0107] S705. If not, the performance evaluation result indicates a mismatch network between the analog link and the analog-to-digital converter.
[0108] As can be seen from the above technical solutions, the low-noise design of the analog link needs to match the noise performance of the ADC (e.g., the equivalent input noise of the ADC needs to be less than 1 / 10 of the output noise of the analog link); otherwise, the low-noise advantage of the analog link will be canceled out by the ADC noise. Therefore, this solution compares the noise figure F of the analog link separately. a The relationship between the noise figure F of the magnetic resonance receiving link and the noise threshold is used to determine whether the noise matching between the ADC and the analog link meets the requirements, thereby achieving performance matching evaluation. Furthermore, based on the performance matching evaluation, the connection structure between the analog link and the analog-to-digital converter is readjusted until the abnormal matching network phenomenon between the analog link and the analog-to-digital converter is eliminated.
[0109] The above describes a testing method provided by an embodiment of this application. The following will describe the related apparatus for performing the above testing method.
[0110] Please see Figure 8 , Figure 8 This is a schematic diagram of a testing device provided in an embodiment of this application. Figure 8 As shown, the testing apparatus 800 includes:
[0111] The analog gain determination unit 801 is used to obtain the analog gain of the magnetic resonance receiving link based on the input power and output power of the analog link of the magnetic resonance receiving link; wherein the magnetic resonance receiving link is composed of the analog link and the analog-to-digital converter connected in sequence, and the input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with noise power spectral density equal to a first noise power spectral density;
[0112] The spectral density determination unit 802 is used to obtain the noise power spectral density of the output signal of the analog-to-digital converter and obtain the second noise power spectral density.
[0113] The noise figure determination unit 803 is used to determine the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density and the second noise power spectral density.
[0114] In one possible implementation, when the noise figure determination unit determines the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density, it is specifically used for:
[0115] The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain.
[0116] The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
[0117] In one possible implementation, the analog gain determination unit, when obtaining the analog gain of the magnetic resonance receiving link based on the input and output power of the analog link, is specifically used for:
[0118] After the analog signal is emitted by the signal source, the power of the analog signal emitted by the signal source is obtained to obtain the input power of the analog link;
[0119] The power of the output signal of the analog link is collected by a power meter to obtain the output power of the analog link.
[0120] The ratio of the output power to the input power of the analog link is calculated to obtain the analog gain.
[0121] In one possible implementation, the spectral density determination unit is used to obtain the noise power spectral density of the output signal of the analog-to-digital converter, and when obtaining the second noise power spectral density, it is specifically used for:
[0122] Obtain the output signal of the analog-to-digital converter;
[0123] The output signal of the analog-to-digital converter is segmented and windowed to obtain multiple output data segments;
[0124] Perform a Fast Fourier Transform on each of the output data segments to obtain the spectral data of each of the output data segments;
[0125] After performing power compensation on the spectral data of each output data segment, the ratio of the spectral data of the output data segment to the frequency resolution is calculated to obtain the noise power spectral density of the output data segment.
[0126] The average noise power spectral density of each of the output data segments is calculated to obtain the second noise power spectral density.
[0127] In one possible implementation, when the noise figure determination unit determines the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density, it is specifically used for:
[0128] The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain.
[0129] The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
[0130] In one possible implementation, the testing apparatus further includes a performance evaluation unit for:
[0131] Determine whether the noise figure of the magnetic resonance receiving link exceeds a preset first noise threshold; if so, obtain the noise figure of the analog link.
[0132] Determine whether the noise figure of the simulated link exceeds a preset second noise threshold; if yes, determine that the performance evaluation result is that the simulated link noise is abnormal; if no, determine that the performance evaluation result is that the matching network between the simulated link and the analog-to-digital converter is abnormal.
[0133] Reference Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, illustrating a structure suitable for implementing the electronic device in the embodiment of this application. The electronic device in the embodiment of this application may include, but is not limited to, fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 9 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0134] like Figure 9 As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. When the electronic device is powered on, the RAM 903 also stores various programs and data required for the operation of the electronic device. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0135] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, memory cards, hard drives, etc.; and communication devices 909. Communication device 909 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 9Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0136] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the testing methods provided in this application.
[0137] This application also provides a computer-readable storage medium that carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the testing methods provided in this application.
[0138] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0139] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0140] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0141] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A testing method, characterized in that, include: The analog gain of the magnetic resonance receiving link is obtained by measuring the input power and output power of the analog link of the magnetic resonance receiving link; wherein the magnetic resonance receiving link is composed of the analog link and the analog-to-digital converter connected in sequence, and the input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with noise power spectral density equal to a first noise power spectral density; Obtain the noise power spectral density of the output signal of the analog-to-digital converter to obtain the second noise power spectral density; The noise figure of the magnetic resonance receiving link is determined based on the analog gain, the first noise power spectral density, and the second noise power spectral density.
2. The test method according to claim 1, characterized in that, The analog gain of the magnetic resonance receiving link is obtained by measuring the input power and output power of the analog link based on the magnetic resonance receiving link, including: After the analog signal is emitted by the signal source, the power of the analog signal emitted by the signal source is obtained to obtain the input power of the analog link; The power of the output signal of the analog link is collected by a power meter to obtain the output power of the analog link; The ratio of the output power to the input power of the analog link is calculated to obtain the analog gain.
3. The test method according to claim 1, characterized in that, Obtaining the noise power spectral density of the output signal of the analog-to-digital converter to obtain the second noise power spectral density includes: Obtain the output signal of the analog-to-digital converter; The output signal of the analog-to-digital converter is segmented and windowed to obtain multiple output data segments; Perform a Fast Fourier Transform on each of the output data segments to obtain the spectral data of each of the output data segments; After performing power compensation on the spectral data of each output data segment, the ratio of the spectral data of the output data segment to the frequency resolution is calculated to obtain the noise power spectral density of the output data segment. The average noise power spectral density of each of the output data segments is calculated to obtain the second noise power spectral density.
4. The test method according to claim 1, characterized in that, Determining the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density includes: The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain. The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
5. The test method according to claim 1, characterized in that, The testing method also includes: Determine whether the noise figure of the magnetic resonance receiving link exceeds a preset first noise threshold; if so, obtain the noise figure of the analog link. Determine whether the noise figure of the simulated link exceeds a preset second noise threshold; if yes, determine that the performance evaluation result is that the simulated link noise is abnormal; if no, determine that the performance evaluation result is that the matching network between the simulated link and the analog-to-digital converter is abnormal.
6. A testing apparatus, characterized in that, include: The analog gain determination unit is used to obtain the analog gain of the magnetic resonance receiving link based on the input power and output power of the analog link of the magnetic resonance receiving link; wherein the magnetic resonance receiving link is composed of the analog link and the analog-to-digital converter connected in sequence, and the input signal of the analog link includes an analog signal with power equal to the input power and analog thermal noise with noise power spectral density equal to a first noise power spectral density; The spectral density determination unit is used to obtain the noise power spectral density of the output signal of the analog-to-digital converter, and to obtain the second noise power spectral density. The noise figure determination unit is used to determine the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density.
7. The testing apparatus according to claim 6, characterized in that, When the noise figure determination unit determines the noise figure of the magnetic resonance receiving link based on the analog gain, the first noise power spectral density, and the second noise power spectral density, it is specifically used for: The ideal power parameters are obtained by multiplying the linear value of the first noise power spectral density and the analog gain. The ratio of the actual power parameter to the ideal power parameter is calculated to obtain the noise figure of the magnetic resonance receiving link, wherein the actual power parameter is a linear value of the second noise power spectral density.
8. A computer program product, characterized in that, Includes computer-readable instructions that, when executed on an electronic device, cause the electronic device to perform the test method as described in any one of claims 1 to 5.
9. An electronic device, characterized in that, It includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program to enable the electronic device to implement the test method as described in any one of claims 1 to 5.
10. A computer storage medium, characterized in that, The storage medium carries one or more computer programs that, when executed by an electronic device, enable the electronic device to perform the test method as described in any one of claims 1 to 5.