Detection method and device of radio frequency board card, computer equipment and storage medium

文档序号:271213 发布日期:2021-11-19 浏览:2次 中文

阅读说明:本技术 射频板卡的检测方法、装置、计算机设备和存储介质 (Detection method and device of radio frequency board card, computer equipment and storage medium ) 是由 李建华 于 2021-07-26 设计创作,主要内容包括:本申请涉及一种射频板卡的检测方法、装置、计算机设备和存储介质。所述方法包括:按照预设的协议指令向射频板卡发送控制指令;控制指令用于指示射频板卡重复发送固定的射频信号;通过采集板卡获取反馈数据;反馈数据为射频信号对应的反馈数据;根据反馈数据,得到磁共振设备各通道的相位值和磁共振设备各通道的幅值;根据磁共振设备各通道的相位值和磁共振设备各通道的幅值,得到射频板卡的检测结果。采用本方法能够提高射频板卡的质量检测效率。(The application relates to a method and a device for detecting a radio frequency board card, computer equipment and a storage medium. The method comprises the following steps: sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal; acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal; according to the feedback data, obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment; and obtaining the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment. By adopting the method, the quality detection efficiency of the radio frequency board card can be improved.)

1. A method for detecting a radio frequency board card is characterized by comprising the following steps:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the feedback data;

and obtaining a detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

2. The method of claim 1, wherein obtaining the detection result of the rf board according to the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device comprises:

and obtaining a detection result of the radio frequency board card according to the phase value and the preset phase range of each channel of the magnetic resonance equipment and the amplitude and the preset amplitude range of each channel of the magnetic resonance equipment.

3. The method according to claim 2, wherein obtaining the detection result of the rf board according to the phase value and the preset phase range of each channel of the magnetic resonance device and the amplitude and the preset amplitude range of each channel of the magnetic resonance device comprises:

comparing the phase value of each channel of the magnetic resonance equipment with the preset phase range to obtain a first comparison result;

comparing the amplitude of each channel of the magnetic resonance equipment with the preset amplitude range to obtain a second comparison result;

and if the first comparison result indicates that the phase value of each channel of the magnetic resonance equipment is located in the preset phase range, and the second comparison result indicates that the amplitude of each channel of the magnetic resonance equipment is located in the preset amplitude range, determining that the detection result of the radio frequency board card is passed.

4. The method of claim 1, wherein obtaining phase values for channels of a magnetic resonance apparatus and amplitude values for channels of the magnetic resonance apparatus based on the feedback data comprises:

analyzing the feedback data to obtain sampling point data corresponding to the feedback data;

and obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the sampling point data.

5. The method of claim 4, wherein obtaining phase values for channels of the magnetic resonance device and amplitude values for channels of the magnetic resonance device from the sample point data comprises:

obtaining a phase value of each channel of the magnetic resonance equipment according to the sampling point data and a preset phase calculation formula;

and obtaining the amplitude of each channel of the magnetic resonance equipment according to the sampling point data and a preset amplitude calculation formula.

6. The method of claim 2, further comprising:

sending a sample control instruction to the sample radio frequency board card for multiple times according to the preset protocol instruction;

obtaining sample feedback data corresponding to the sample control instruction sent each time;

analyzing each sample feedback data to obtain sample sampling point data corresponding to each sample feedback data;

and obtaining the preset phase range and the preset amplitude range according to the sample sampling point data.

7. The method of claim 6, wherein said deriving the predetermined phase range and the predetermined amplitude range from each of the sample point data comprises:

determining the maximum phase value in the phase values corresponding to each sample sampling point data as the maximum boundary value of the preset phase range, and determining the minimum phase value in the phase values corresponding to each sample sampling point data as the minimum boundary value of the preset phase range;

and determining the maximum amplitude value of the amplitude values corresponding to the sample sampling point data as the maximum boundary value of the preset amplitude value range, and determining the minimum amplitude value of the amplitude values corresponding to the sample sampling point data as the minimum boundary value of the preset amplitude value range.

8. A detection device for a radio frequency board card is characterized by comprising:

the first sending module is used for sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

the first acquisition module is used for acquiring feedback data through the acquisition board card; the feedback data is corresponding to the radio frequency signal;

the second acquisition module is used for acquiring phase values of all channels of the magnetic resonance equipment and amplitude values of all channels of the magnetic resonance equipment according to the feedback data;

and the third acquisition module is used for acquiring the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The present application relates to the field of magnetic resonance system technologies, and in particular, to a method and an apparatus for detecting a radio frequency board, a computer device, and a storage medium.

Background

In a magnetic resonance system, a radio frequency board card has a fixed signal transmission interval under the same instruction, but very small errors of positions of the radio frequency board card, such as a production process, a capacitance resistor and the like can cause large deviation of the radio frequency signal interval, and the deviation of the signal transmission interval of the radio frequency board card can affect the safety of a patient, so that whether the radio frequency board card is in an expected signal transmission interval needs to be detected, and the quality of the radio frequency board card is ensured.

In the conventional technology, the main method for detecting the service of the radio frequency logic receiving/analyzing instruction and the radio frequency transmitting signal of the radio frequency board card is to execute normal protocol scanning by a magnetic resonance scanning device to obtain magnetic resonance data, convert the obtained magnetic resonance data into a radio frequency image, and then check whether the waveform of the radio frequency image is qualified or not by naked eyes so as to judge the quality of the radio frequency board card.

However, the conventional quality detection method for the radio frequency board card has the problem of low detection efficiency.

Disclosure of Invention

In view of the foregoing, it is necessary to provide a method and an apparatus for detecting a radio frequency board, a computer device, and a storage medium, which can improve the quality detection efficiency of the radio frequency board.

A method for detecting a radio frequency board card comprises the following steps:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the feedback data;

and obtaining a detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

In one embodiment, the obtaining a detection result of the radio frequency board according to the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device includes:

and obtaining a detection result of the radio frequency board card according to the phase value and the preset phase range of each channel of the magnetic resonance equipment and the amplitude and the preset amplitude range of each channel of the magnetic resonance equipment.

In one embodiment, the obtaining a detection result of the radio frequency board according to the phase value and the preset phase range of each channel of the magnetic resonance device and the amplitude and the preset amplitude range of each channel of the magnetic resonance device includes:

comparing the phase value of each channel of the magnetic resonance equipment with the preset phase range to obtain a first comparison result;

comparing the amplitude of each channel of the magnetic resonance equipment with the preset amplitude range to obtain a second comparison result;

and if the first comparison result indicates that the phase value of each channel of the magnetic resonance equipment is located in the preset phase range, and the second comparison result indicates that the amplitude of each channel of the magnetic resonance equipment is located in the preset amplitude range, determining that the detection result of the radio frequency board card is passed.

In one embodiment, the obtaining the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device according to the feedback data includes:

analyzing the feedback data to obtain sampling point data corresponding to the feedback data;

and obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the sampling point data.

In one embodiment, the obtaining the phase values of the channels of the magnetic resonance device and the amplitude values of the channels of the magnetic resonance device according to the sampling point data includes:

obtaining a phase value of each channel of the magnetic resonance equipment according to the sampling point data and a preset phase calculation formula;

and obtaining the amplitude of each channel of the magnetic resonance equipment according to the sampling point data and a preset amplitude calculation formula.

In one embodiment, the method further comprises:

sending a sample control instruction to the sample radio frequency board card for multiple times according to the preset protocol instruction;

obtaining sample feedback data corresponding to the sample control instruction sent each time;

analyzing each sample feedback data to obtain sample sampling point data corresponding to each sample feedback data;

and obtaining the preset phase range and the preset amplitude range according to the sample sampling point data.

In one embodiment, the obtaining the preset phase range and the preset amplitude range according to each sample sampling point data includes:

determining the maximum phase value in the phase values corresponding to each sample sampling point data as the maximum boundary value of the preset phase range, and determining the minimum phase value in the phase values corresponding to each sample sampling point data as the minimum boundary value of the preset phase range;

and determining the maximum amplitude value of the amplitude values corresponding to the sample sampling point data as the maximum boundary value of the preset amplitude value range, and determining the minimum amplitude value of the amplitude values corresponding to the sample sampling point data as the minimum boundary value of the preset amplitude value range.

An apparatus for detecting a radio frequency card, the apparatus comprising:

the first sending module is used for sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

the first acquisition module is used for acquiring feedback data through the acquisition board card; the feedback data is corresponding to the radio frequency signal;

the second acquisition module is used for acquiring phase values of all channels of the magnetic resonance equipment and amplitude values of all channels of the magnetic resonance equipment according to the feedback data;

and the third acquisition module is used for acquiring the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the feedback data;

and obtaining a detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the feedback data;

and obtaining a detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

According to the method and the device for detecting the radio frequency board card, the computer equipment and the storage medium, the control instruction is sent to the radio frequency board card according to the preset protocol instruction, the radio frequency board card can be instructed to repeatedly send fixed radio frequency signals, so that feedback data corresponding to the radio frequency signals can be acquired through the acquisition board card, phase values of all channels of the magnetic resonance equipment and amplitudes of all channels of the magnetic resonance equipment are acquired according to the feedback data, and further, detection results of the radio frequency board card can be obtained according to the phase values of all channels of the magnetic resonance equipment and the amplitudes of all channels of the magnetic resonance equipment.

Drawings

Fig. 1 is an application environment diagram of a detection method of a radio frequency board card in one embodiment;

fig. 2 is a schematic flow chart illustrating a method for detecting a radio frequency board card in one embodiment;

fig. 2a is a schematic flow chart illustrating a method for detecting a radio frequency board card in one embodiment;

fig. 2b is a schematic flow chart illustrating a method for detecting a radio frequency board card in one embodiment;

fig. 3 is a schematic flow chart illustrating a method for detecting a radio frequency board card in another embodiment;

fig. 4 is a schematic flow chart illustrating a method for detecting a radio frequency board card in another embodiment;

FIG. 4a is a graph of RF data relationships in another embodiment;

fig. 4b is a schematic flow chart illustrating a method for detecting a radio frequency board card in another embodiment;

fig. 5 is a schematic flow chart illustrating a method for detecting a radio frequency board card in another embodiment;

fig. 5a is a schematic flow chart illustrating a method for detecting a radio frequency board card in another embodiment;

fig. 6 is a block diagram of a detection apparatus for an rf board in an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The method for detecting the radio frequency board card provided by the embodiment of the application can be applied to computer equipment shown in fig. 1. The computer device comprises a processor and a memory connected by a system bus, wherein a computer program is stored in the memory, and the steps of the method embodiments described below can be executed when the processor executes the computer program. Optionally, the computer device may further comprise a network interface, a display screen and an input device. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a nonvolatile storage medium storing an operating system and a computer program, and an internal memory. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. Optionally, the computer device may be a server, a personal computer, a personal digital assistant, other terminal devices such as a tablet computer, a mobile phone, and the like, or a cloud or a remote server, and the specific form of the computer device is not limited in the embodiment of the present application.

In an embodiment, as shown in fig. 2, a method for detecting a radio frequency board is provided, which is described by taking the method as an example applied to the computer device in fig. 1, and includes the following steps:

s201, sending a control instruction to a radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal.

The fixed radio-frequency signals repeatedly sent by the radio-frequency board card are radio-frequency signals with the same signal waveform. It should be noted that the radio frequency board card has a fixed transmission signal interval under the same instruction, that is, the transmission signal intervals of the radio frequency board card under the same instruction are the same. Specifically, the computer device sends a control instruction to the radio frequency board card according to a preset protocol instruction, and instructs the radio frequency board card to repeatedly send a fixed radio frequency signal through the control instruction. Optionally, the preset protocol command may include information such as a time interval for sending the control command.

S202, acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal.

Specifically, the computer device acquires feedback data corresponding to the radio frequency signal through the acquisition board card. Optionally, the time interval for acquiring the feedback data can be written in the acquisition board card, that is, the acquisition of the feedback data is performed once according to the time interval. It will be appreciated that the radio frequency signals correspond to feedback data, i.e. one radio frequency signal corresponds to one feedback data. It should be noted that, as shown in fig. 2a, the feedback data refers to data generated by the acquisition board processing the received protocol command according to the service logic, once the data is generated, the acquisition board will modify the designated register to notify the upper layer software, and after the protocol command is issued, the detection program will read the designated register at a frequency of every 50us until all the data in the DMA of the acquisition board is transferred to the memory.

And S203, obtaining the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment according to the feedback data.

Specifically, the computer device obtains a phase value of each channel of the magnetic resonance device and an amplitude value of each channel of the magnetic resonance device according to the obtained feedback data. Optionally, the computer device may analyze the acquired feedback data through a preset algorithm to obtain a phase value of each channel of the magnetic resonance device and an amplitude value of each channel of the magnetic resonance device.

And S204, obtaining a detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

Specifically, the computer device obtains the detection result of the radio frequency board according to the obtained phase value of each channel of the magnetic resonance device and the obtained amplitude value of each channel of the magnetic resonance device, that is, the computer device may obtain the detection result of the radio frequency board by using the method shown in fig. 2 b. Optionally, the computer device may compare the phase value of each channel of the magnetic resonance device with a preset phase threshold, and compare the amplitude of each channel of the magnetic resonance device with a preset amplitude threshold, to obtain the detection result of the radio frequency board. It can be understood that the detection result of the radio frequency board card obtained here includes whether the hardware device of the radio frequency board card is intact, whether the service function of the radio frequency logic receiving/analyzing instruction and the radio frequency transmitting signal is intact, and the like, and the detection range of the radio frequency board card may include whether the power supply voltage state of the hardware device of the radio frequency board card is normal, whether the temperature heat dissipation is abnormal, whether the calibration parameter is matched, whether the radio frequency transmitting link path is abnormal, and the like.

According to the detection method of the radio frequency board card, the computer device sends the control instruction to the radio frequency board card according to the preset protocol instruction, and can instruct the radio frequency board card to repeatedly send the fixed radio frequency signal, so that feedback data corresponding to the radio frequency signal can be acquired through the acquisition board card, the phase value of each channel of the magnetic resonance device and the amplitude of each channel of the magnetic resonance device can be acquired according to the feedback data, and further, the detection result of the radio frequency board card can be acquired according to the phase value of each channel of the magnetic resonance device and the amplitude of each channel of the magnetic resonance device.

In the scenario that the detection result of the radio frequency board is obtained according to the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device, in an embodiment, the step S204 includes: and obtaining a detection result of the radio frequency board card according to the phase value and the preset phase range of each channel of the magnetic resonance equipment and the amplitude and the preset amplitude range of each channel of the magnetic resonance equipment.

Specifically, the computer device obtains the detection result of the radio frequency board card according to the obtained phase value and preset phase range of each channel of the magnetic resonance device, and the obtained amplitude value and preset amplitude range of each channel of the magnetic resonance device. Optionally, the computer device may compare the phase value of each channel of the magnetic resonance device with a preset phase range to obtain a first comparison result, compare the amplitude value of each channel of the magnetic resonance device with a preset amplitude range to obtain a second comparison result, and if the first comparison result indicates that the phase value of each channel of the magnetic resonance device is within the preset phase range and the second comparison result indicates that the amplitude value of each channel of the magnetic resonance device is within the preset amplitude range, the computer device determines that the detection result of the radio frequency board card passes. It can be understood that, if one of the phase values of each channel of the magnetic resonance device is not within the preset phase range, or if one of the amplitude values of each channel of the magnetic resonance device is not within the preset amplitude range, the computer device determines that the detection result of the radio frequency board is failed, and exemplarily, the computer device may obtain the detection result of the radio frequency board according to the phase value and the preset phase range of each channel of the magnetic resonance device, and the amplitude value and the preset amplitude range of each channel of the magnetic resonance device by using the method shown in fig. 3.

In this embodiment, the process of obtaining the detection result of the radio frequency board card by the computer device according to the phase value and the preset phase range of each channel of the magnetic resonance device and the amplitude and the preset amplitude range of each channel of the magnetic resonance device is relatively simple, and other operations are not required, so that the detection result of the radio frequency board card can be quickly obtained, and the efficiency of obtaining the detection result of the radio frequency board card is improved.

In the above scenario of obtaining the phase values of the channels of the magnetic resonance apparatus and the amplitude values of the channels of the magnetic resonance apparatus according to the feedback data, in an embodiment, as shown in fig. 4, the step S203 includes:

s401, analyzing the feedback data to obtain sampling point data corresponding to the feedback data.

Specifically, the computer device analyzes the feedback data corresponding to the radio frequency signal to obtain sampling point data corresponding to the feedback data. It should be noted that, as shown in fig. 4a, the format of the rf data is composed of several rows, each row represents data of two sampling points, each two rows of data form a line, and each 128 lines form data of one channel. For example, as shown in fig. 4b, the computer device may first read a row of data, determine which line the current data belongs to, then determine which channel the current line belongs to, and then analyze a specific sampling point of the current row of data to obtain sampling point data corresponding to the feedback data.

S402, obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment according to the sampling point data.

Specifically, the computer device obtains the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device according to the sampling point data corresponding to the obtained feedback data. Optionally, the computer device may obtain the phase value of each channel of the magnetic resonance device according to the sampling point data corresponding to the obtained feedback data and a preset phase calculation formula, and obtain the amplitude value of each channel of the magnetic resonance device according to the sampling point data corresponding to the obtained feedback data and a preset amplitude calculation formula. Alternatively, the computer device may obtain the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device by using a phase calculation formula and an amplitude calculation formula shown in the following table.

Preconditions The radio frequency emission flip angle is 90 degrees
Breadth table adopted range Starting from the 50 th point
Range of phase meter Starting from the 50 th point
Formula for calculating amplitude Real square + imaginary square, and result re-squared
Formula for phase calculation atan2 (imaginary part, real part 180/pi), (-pi.)

For example, assuming that the expression of the sampling point data is a + ib, where a represents the real part of the sampling point data and b represents the imaginary part of the sampling point data, the phase value of each channel of the magnetic resonance apparatus can be expressed as c ═ atan as shown by the amplitude calculation formula and the phase calculation formula in the above table2(a, b 180/pi), wherein c represents the phase value of each channel of the magnetic resonance equipment, and a represents the real part of the sampling point dataB denotes the imaginary part of the sampling point data, and the amplitude of each channel of the magnetic resonance apparatus can be expressed asIn the formula, f represents a phase value of each channel of the magnetic resonance device, a represents a real part of the sampling point data, and b represents an imaginary part of the sampling point data.

In this embodiment, the computer device may analyze the feedback data corresponding to the radio frequency signal, and quickly obtain sampling point data corresponding to the feedback data, and further quickly obtain the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device according to the sampling point data corresponding to the feedback data, so that the efficiency of obtaining the phase value of each channel of the magnetic resonance device and the amplitude value of each channel of the magnetic resonance device is improved.

In the above scenario where the detection result of the radio frequency board is obtained according to the phase value and the preset phase range of each channel of the magnetic resonance device, and the amplitude and the preset amplitude range of each channel of the magnetic resonance device, it is necessary to first determine the preset phase range and the preset amplitude range, and in an embodiment, as shown in fig. 5, the method further includes:

s501, sending a sample control instruction to a sample radio frequency board card for multiple times according to a preset protocol instruction;

optionally, the computer device may select a radio frequency board card which is scanned for a preset time length in a scanning environment and is not abnormal as a sample radio frequency board card, and send a sample control instruction to the sample radio frequency board card for multiple times according to the preset protocol instruction, so as to instruct the sample radio frequency board card to repeatedly send a fixed sample radio frequency signal. It should be noted that, in this embodiment, the sample control instruction instructs the sample rf board to repeatedly send the fixed sample rf signal as the sample rf signal with the same waveform.

And S502, acquiring sample feedback data corresponding to the sample control command sent each time.

Specifically, the computer device obtains sample feedback data corresponding to the sample control instruction sent each time. Optionally, the computer device may obtain, through the acquisition board card, sample feedback data corresponding to the sample control instruction sent each time. It is to be understood that the sample feedback data corresponds to the sample control commands one to one, i.e. one sample control command corresponds to one sample feedback data.

And S503, analyzing the sample feedback data to obtain sample sampling point data corresponding to the sample feedback data.

Specifically, the computer device analyzes the sample feedback data corresponding to the sample control instruction sent each time to obtain sample sampling point data corresponding to each sample feedback data. Optionally, the computer device may first read a line of data in the sample feedback data, determine which line the current sample feedback data belongs to, determine which channel the current line belongs to, and then analyze a specific sampling point of the current line of data to obtain sample sampling point data corresponding to the sample feedback data.

S504, obtaining a preset phase range and a preset amplitude range according to the sampling point data of each sample.

Specifically, the computer device obtains the preset phase range and the preset amplitude range according to the obtained data of each sample sampling point. Optionally, as shown in fig. 5a, the computer device may determine a maximum phase value in the phase values corresponding to the sample sampling point data as a maximum boundary value of the preset phase range, and determine a minimum phase value in the phase values corresponding to the sample sampling point data as a minimum boundary value of the preset phase range; and determining the maximum amplitude value of the amplitude values corresponding to the sample sampling point data as the maximum boundary value of the preset amplitude value range, and determining the minimum amplitude value of the amplitude values corresponding to the sample sampling point data as the minimum boundary value of the preset amplitude value range.

In this embodiment, the computer device can send the sample control instruction to the sample radio frequency board card for multiple times according to the preset protocol instruction, so that sample feedback data corresponding to the sample control instruction sent each time can be quickly obtained, and then each sample feedback data can be analyzed, sample sampling point data corresponding to each sample feedback data can be quickly obtained, then the preset phase range and the preset amplitude range can be quickly obtained according to each sample sampling point data, and the efficiency of obtaining the preset phase range and the preset amplitude range is improved.

It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.

In an embodiment, as shown in fig. 6, there is provided a device for detecting a radio frequency board, including: the device comprises a first sending module, a first obtaining module, a second obtaining module and a third obtaining module, wherein:

the first sending module is used for sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal.

The first acquisition module is used for acquiring feedback data through the acquisition board card; the feedback data is corresponding to the radio frequency signal.

And the second acquisition module is used for acquiring the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment according to the feedback data.

And the third acquisition module is used for acquiring the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the third obtaining module includes: a first acquisition unit, wherein:

the first acquisition unit is used for acquiring a detection result of the radio frequency board card according to the phase value and the preset phase range of each channel of the magnetic resonance equipment and the amplitude and the preset amplitude range of each channel of the magnetic resonance equipment.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the first obtaining unit is configured to compare the phase value of each channel of the magnetic resonance apparatus with a preset phase range, so as to obtain a first comparison result; comparing the amplitude of each channel of the magnetic resonance equipment with a preset amplitude range to obtain a second comparison result; and if the first comparison result indicates that the phase value of each channel of the magnetic resonance equipment is within the preset phase range, and the second comparison result indicates that the amplitude of each channel of the magnetic resonance equipment is within the preset amplitude range, determining that the detection result of the radio frequency board card is passed.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the second obtaining module includes: the device comprises an analysis unit and a second acquisition unit, wherein:

and the analysis unit is used for analyzing the feedback data to obtain sampling point data corresponding to the feedback data.

And the second acquisition unit is used for acquiring the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment according to the sampling point data.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the second obtaining unit is configured to obtain a phase value of each channel of the magnetic resonance device according to the sampling point data and a preset phase calculation formula; and obtaining the amplitude of each channel of the magnetic resonance equipment according to the sampling point data and a preset amplitude calculation formula.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the apparatus further includes: the second sending module, the fourth obtaining module, the analyzing module and the fifth obtaining module, wherein:

the second sending module is used for sending a sample control instruction to the sample radio frequency board card for multiple times according to a preset protocol instruction; the sample radio frequency board card is a radio frequency board card which is scanned for a preset time length in a scanning environment and is not abnormal; the sample control instruction is used for instructing the sample radio frequency board to repeatedly send a fixed sample radio frequency signal.

And the fourth obtaining module is used for obtaining sample feedback data corresponding to the sample control instruction sent each time.

And the analysis module is used for analyzing the feedback data of each sample to obtain the data of the sample sampling point corresponding to the feedback data of each sample.

And the fifth acquisition module is used for acquiring a preset phase range and a preset amplitude range according to the data of each sample sampling point.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

On the basis of the foregoing embodiment, optionally, the fifth obtaining module includes: a first determination unit and a second determination unit, wherein:

the first determining unit is used for determining the maximum phase value in the phase values corresponding to the sample sampling point data as the maximum boundary value of the preset phase range, and determining the minimum phase value in the phase values corresponding to the sample sampling point data as the minimum boundary value of the preset phase range.

And the second determining unit is used for determining the maximum amplitude value in the amplitude values corresponding to the sample sampling point data as the maximum boundary value of the preset amplitude value range, and determining the minimum amplitude value in the amplitude values corresponding to the sample sampling point data as the minimum boundary value of the preset amplitude value range.

The detection apparatus for a radio frequency board card provided in this embodiment may implement the above method embodiments, and its implementation principle and technical effect are similar, which are not described herein again.

For specific limitations of the detection device for the radio frequency board card, reference may be made to the above limitations on the detection method for the radio frequency board card, and details are not described here. All or part of the modules in the detection device of the radio frequency board card can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

according to the feedback data, obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment;

and obtaining the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.

In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:

sending a control instruction to the radio frequency board card according to a preset protocol instruction; the control instruction is used for instructing the radio frequency board card to repeatedly send a fixed radio frequency signal;

acquiring feedback data through an acquisition board card; the feedback data is corresponding to the radio frequency signal;

according to the feedback data, obtaining a phase value of each channel of the magnetic resonance equipment and an amplitude value of each channel of the magnetic resonance equipment;

and obtaining the detection result of the radio frequency board card according to the phase value of each channel of the magnetic resonance equipment and the amplitude value of each channel of the magnetic resonance equipment.

The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种直流互感器阶跃响应特性评价方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!