A nuclear magnetic resonance compatible medical equipment communication system

By using plastic optical fibers and photoelectric converters in nuclear magnetic resonance equipment, combined with FPGA and star topology, a high-speed and reliable communication system is realized, which solves the interference problem of the communication system in the strong magnetic field environment in the existing technology and ensures Proper operation of equipment and patient safety.

CN113595813BActive Publication Date: 2024-08-23SHANGHAI SHENDE MEDICAL TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110738073.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2024-08-23
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

Existing nuclear magnetic resonance equipment communication systems are susceptible to interference in strong magnetic field environments, with low communication speed and poor reliability, which may cause equipment abnormalities or damage, affecting nuclear magnetic resonance performance and patient safety.

Method used

Plastic optical fibers and photoelectric converters are used for communication, and a star topology is formed through the communication controller on the FPGA and the secondary equipment to achieve serial communication at a 50M baud rate. Tunnel information is added to transmit real-time status information in the communication package, simplifying Network protocols and topologies, reducing the number of fiber channels.

Benefits of technology

It has realized a communication system with strong anti-interference ability, high communication rate and strong reliability in the nuclear magnetic resonance environment, ensuring the normal operation of the equipment in a strong magnetic field environment, improving the communication connection performance of the system and the ease of use and reliability of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113595813B
    Figure CN113595813B
Patent Text Reader

Abstract

The present invention relates to a nuclear magnetic resonance compatible medical equipment communication system, comprising a lower computer and a secondary device, wherein the number of the secondary devices is one or more, the lower computer is connected to an FPGA, each secondary device is connected to the FPGA via two plastic optical fibers, and each plastic optical fiber is connected to the FPGA and the secondary device via a photoelectric converter at both ends, the FPGA is provided with a communication controller, the number of the communication controllers is the same as the number of the secondary devices, and the communication controller communicates with the secondary devices in a one-to-one correspondence via a serial communication protocol. Compared with the prior art, the present invention has the advantages of strong anti-interference ability, high communication rate, and strong reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a device communication technology, and in particular to a medical device communication system compatible with nuclear magnetic resonance. Background Art

[0002] With the increasing power of MRI and the gradual popularization of MRI equipment, more and more medical devices have emerged that are integrated with MRI and work under MRI monitoring, such as radiofrequency ablation therapy, ultrasonic nerve stimulation regulation, focused ultrasound non-invasive treatment, puncture robots, etc. When these devices are used in an MRI environment, they first face the strong magnetic field environment of 3.0T and the interference of the signal emitted by the MRI radio frequency coil, which may cause abnormal operation or even damage. Secondly, it is necessary to ensure that its own material properties and radiation emission characteristics do not have too much impact on the magnetic field uniformity and signal-to-noise ratio of the MRI, resulting in a decrease in MRI performance or even failure to work. Finally, the equipment directly acts on the human body. If it works abnormally, it may cause harm to the patient or even cause the patient's death, so it is necessary to ensure safety and reliability. As an important link in medical equipment, the communication control system is crucial for the equipment to meet the above three requirements.

[0003] The existing commonly used communication control systems often use low-speed serial interface communication systems or high-speed network communication systems. The former has low communication rate and poor communication protocol reliability, while the latter is complex to implement, has long frame length and high packet loss rate. Both are susceptible to interference in the magnetic resonance environment. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a medical equipment communication system compatible with nuclear magnetic resonance, which has strong anti-interference ability, high communication rate and high reliability.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A nuclear magnetic resonance compatible medical equipment communication system, comprising a lower computer and a secondary device, wherein the number of the secondary devices is one or more, the lower computer is connected to an FPGA, each secondary device is connected to the FPGA via two plastic optical fibers, and both ends of each plastic optical fiber are respectively connected to the FPGA and the secondary device via a photoelectric converter, the FPGA is provided with a communication controller, the number of the communication controllers is the same as the number of the secondary devices, the communication controllers communicate with the secondary devices in a one-to-one correspondence via a serial communication protocol, the lower computer is connected to an upper computer, software is stored in the lower computer and the upper computer, and the software reads and writes the contents of the internal registers of the secondary devices by reading and writing the registers of the communication controller, thereby realizing control of the communication system;

[0007] The lower computer and the secondary device convert the output electrical signals into optical signals through the photoelectric converter. The optical signals are transmitted through plastic optical fibers, and then converted into electrical signals through the photoelectric converter, and then transmitted to the secondary device and the lower computer accordingly. The optical signal transmission method is adopted, the hardware circuit is simple, and it is compatible with magnetic resonance, is not interfered by magnetic resonance, and does not affect the normal operation of magnetic resonance.

[0008] The communication controller on the FPGA and the secondary device form point-to-point communication, forming a star topology, simplifying the network communication protocol and network topology. The lower computer and the secondary device transmit real-time status information. The hardware, firmware and software of the communication system all support a serial communication rate of 50M baud, which is much greater than the commonly used serial communication rate below 1M baud.

[0009] Furthermore, the communication controller includes a communication control unit, a communication packet parsing unit and a serial port transceiver unit;

[0010] The communication process between the communication controller and the secondary device includes:

[0011] The communication control unit generates a communication instruction, the communication packet parsing unit generates a communication packet according to the communication instruction, and the serial port transceiver unit sends the generated communication packet to the secondary device;

[0012] The secondary device executes the task according to the communication packet, writes the execution result into the communication packet, and sends it back to the serial port transceiver unit. The communication packet parsing unit parses the returned communication packet to obtain the execution result.

[0013] Furthermore, the communication packets are divided into heartbeat packets, write packets and read packets, and each communication packet contains a packet header, verification information and tunnel information.

[0014] Further, the tunnel information in the communication packet sent by the serial port transceiver unit includes system control state information, and the tunnel information includes power supply state and system initialization state;

[0015] The tunnel information in the communication packet sent back by the secondary device includes the interruption and device operation status information of the corresponding secondary device;

[0016] Since the connection between the lower computer and the secondary device adopts a star topology structure, there is no communication between the secondary devices. By adding tunnel information in the communication package, the real-time status information can be transmitted between the lower computer and the secondary device. During the transmission process, there is no need for the intervention of the software in the lower computer, which greatly improves the communication connection performance of the system.

[0017] By using tunnel information, only two plastic optical fibers are used to transmit quasi-real-time status information between the lower computer and the secondary device, reducing the number of optical fiber channels. Existing 2-core optical fiber harnesses and connectors can be used, improving the usability and reliability of the product.

[0018] The secondary devices serve as the end points of the star connection. There is no direct communication connection between the secondary devices, but information can be diffused and transmitted in quasi-real time without the involvement of software through a tunnel protocol.

[0019] Furthermore, if the secondary device does not receive the communication package within the set time, it is determined that the secondary device and the lower computer are disconnected, and the secondary device performs tasks on its own, including output, entering protection state and recording the error site environment into the log.

[0020] Further, when the lower computer does not receive the control command from the upper computer, the communication system is in a communication idle state, at which time the communication control unit automatically generates a heartbeat communication instruction, the communication packet parsing unit receives the heartbeat communication instruction and generates a heartbeat packet, and the serial port transceiver unit sends the heartbeat packet to the secondary device;

[0021] When the lower computer receives the control command from the upper computer, the communication control unit generates a write communication instruction or a read communication instruction, the communication packet parsing unit generates a write packet or a read packet accordingly, and the serial port transceiver unit sends the generated write packet or read packet to the secondary device.

[0022] Furthermore, the heartbeat packet sent by the serial port transceiver unit further includes a heartbeat instruction, and the heartbeat packet sent back by the secondary device further includes response information generated by the secondary device according to the heartbeat instruction;

[0023] If the lower computer does not receive the correct response information, it reports an interrupt to its upper computer, and the upper computer performs a protection operation, which includes turning off the power supply of the corresponding secondary device.

[0024] Furthermore, the write packet sent by the serial port transceiver unit also includes a write instruction, a register address, a data length and write data, and the write packet returned by the secondary device also includes a write completion status generated by the secondary device according to the write instruction.

[0025] Furthermore, the read packet sent by the serial port transceiver unit also includes a read instruction, a register address and a data length, and the read packet returned by the secondary device also includes a read completion status and read data generated by the secondary device according to the read instruction.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] (1) The communication system of the present invention comprises a lower computer and a secondary device, wherein the number of the secondary devices is one or more, the lower computer is connected to an FPGA, each secondary device is connected to the FPGA via two plastic optical fibers, and each plastic optical fiber is connected to the FPGA and the secondary device at both ends via a photoelectric converter, the FPGA is provided with a communication controller, the number of the communication controllers is the same as the number of the secondary devices, the communication controllers communicate with the secondary devices in a one-to-one correspondence via a serial communication protocol, the lower computer is connected to an upper computer, the lower computer and the upper computer store software, the software reads and writes the registers of the communication controller and the internal registers of the secondary devices, thereby realizing control of the communication system, the lower computer and the secondary devices convert the output electrical signals into optical signals via the photoelectric converter, the optical signals are transmitted via the plastic optical fibers, and then converted into electrical signals via the photoelectric converter, and are correspondingly transmitted to the secondary devices and the lower computer, the optical signal transmission mode is adopted, the hardware circuit is simple, compatible with magnetic resonance, not interfered by magnetic resonance, and does not affect the normal operation of magnetic resonance, and has strong anti-interference ability;

[0028] (2) The communication controller on the FPGA of the present invention and the secondary device form a point-to-point communication, forming a star topology, simplifying the network communication protocol and network topology, transmitting real-time status information between the lower computer and the secondary device, and the hardware, firmware and software of the communication system all support a serial communication rate of 50M baud, which is much higher than the commonly used serial communication rate below 1M baud;

[0029] (3) The communication packet of the present invention includes tunnel information. The communication control unit can coordinate the automatic operation of the firmware and the intervention of the software. The communication packet parsing unit generates a communication packet of a specific format and parses the received communication packet. The serial port transceiver unit sends and receives the communication packet. By adding tunnel information to the communication packet, the real-time status information can be transmitted between the lower computer and the secondary device. During the transmission process, no software intervention in the lower computer is required, which greatly improves the communication connection performance of the system. At the same time, by using the tunnel information, only two plastic optical fibers are used to achieve the purpose of transmitting quasi-real-time status information between the lower computer and the secondary device, reducing the number of optical fiber channels. The structure is simple and the existing 2-core optical fiber harness and connector can be used, which improves the usability and reliability of the product.

[0030] (4) The secondary devices of the present invention serve as the end points of the star connection. There is no direct communication connection between the secondary devices, but information can be diffused and transmitted in quasi-real time without the involvement of software through the tunnel protocol. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is the connection diagram of the lower computer and the secondary equipment;

[0032] Figure 2 A circuit diagram for sending optical signals of a photoelectric converter;

[0033] Figure 3 Schematic diagram of the packaging format of each communication package;

[0034] Figure 4 is a control flow chart of the communication control unit;

[0035] Figure 5 It is a structural diagram of the communication controller. DETAILED DESCRIPTION

[0036] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0037] A nuclear magnetic resonance compatible medical equipment communication system includes a lower computer and a secondary device, wherein the number of the secondary devices is one or more, and the lower computer is connected to an FPGA, such as Figure 1 , each secondary device is connected to the FPGA through two plastic optical fibers, and both ends of each plastic optical fiber are respectively connected to the FPGA and the secondary device through a photoelectric converter. The FPGA is provided with a communication controller, and the number of the communication controllers is the same as the number of the secondary devices. The communication controller communicates with the secondary devices one by one through a serial communication protocol. The lower computer is connected to the upper computer, and software is stored in the lower computer and the upper computer. The software reads and writes the register of the communication controller and the internal register content of the secondary device, thereby realizing the control of the communication system;

[0038] The lower computer and the secondary device convert the output electrical signal into an optical signal through the photoelectric converter. The optical signal is transmitted through the plastic optical fiber, and then converted into an electrical signal through the photoelectric converter. The optical signal is transmitted to the secondary device and the lower computer accordingly. The optical signal transmission method is adopted. The hardware circuit is simple, compatible with magnetic resonance, not interfered by magnetic resonance, and does not affect the normal operation of magnetic resonance.

[0039] The communication controller on the FPGA and the secondary devices form a point-to-point communication, forming a star topology, which simplifies the network communication protocol and network topology. The lower computer and the secondary devices transmit real-time status information. The hardware, firmware and software of the communication system all support a serial communication rate of 50M baud, which is much higher than the commonly used serial communication rate below 1M baud.

[0040] Plastic optical fiber is a type of optical fiber with a highly transparent polymer as the core material and plastic as the skin material. It is light and soft. Compared with optical fiber, it is more resistant to damage from vibration and bending. It has the characteristics of high tensile strength, durability and small space occupation. At the same time, plastic optical fiber is easy to cut, wire, bond, polish and other processes. It has the advantages of low cost and easy connection. Compared with copper wire, plastic optical fiber has the advantages of being insensitive to electromagnetic interference and not radiating. It is very suitable for use in the strong magnetic field interference environment of nuclear magnetic resonance. This embodiment uses plastic optical fiber with an inner diameter of 1mm, an outer diameter of 2.2mm and a wavelength of 650nm. The maximum communication distance supports 50 meters, which meets the needs of most hospital equipment installations.

[0041] The photoelectric conversion device used in this embodiment is the RedLink chip of Firecomms, and its optical signal transmission circuit is as follows: Figure 2 As shown in the figure, the maximum conversion rate supported by the RedLink chip is 50Mhz, and the delay is less than 1us. The communication rate and delay meet the requirements of system control.

[0042] like Figure 5 , the communication controller includes a communication control unit, a communication packet parsing unit and a serial port transceiver unit;

[0043] The communication process between the communication controller and the secondary device includes:

[0044] The communication control unit generates a communication instruction, the communication packet parsing unit generates a communication packet according to the communication instruction, and the serial port transceiver unit sends the generated communication packet to the secondary device;

[0045] The secondary device executes the task according to the communication package, writes the execution result into the communication package, and sends it back to the serial port transceiver unit. The communication package parsing unit parses the returned communication package to obtain the execution result.

[0046] Communication packets are divided into heartbeat packets, write packets and read packets. The packet format of each communication packet is as follows: Figure 3 As shown, each communication packet contains a packet header, verification information and tunnel information. The line starting with “>” represents the communication packet sent by the lower computer, and the line starting with “<” represents the communication packet returned by the secondary device.

[0047] The tunnel information in the communication packet sent by the serial port transceiver unit contains system control state information, and the tunnel information includes power supply state and system initialization state;

[0048] The tunnel information in the communication packet sent back by the secondary device contains the interruption and device operation status information of the corresponding secondary device;

[0049] Since the connection between the lower computer and the secondary device adopts a star topology structure, there is no communication between the secondary devices. By adding tunnel information in the communication package, real-time status information can be transmitted between the lower computer and the secondary device. During the transmission process, there is no need for the intervention of the software in the lower computer, which greatly improves the communication connection performance of the system. At the same time, by using the tunnel information method, only two plastic optical fibers are used to achieve the purpose of transmitting quasi-real-time status information between the lower computer and the secondary device, reducing the number of optical fiber channels, and the existing 2-core optical fiber harness and connector can be used, which improves the usability and reliability of the product;

[0050] The secondary devices serve as the end points of the star connection. There is no direct communication connection between the secondary devices. However, the tunnel protocol can be used to diffuse and transmit information in quasi-real time without the involvement of software. The minimum delay of quasi-real-time status information transmitted between non-cross-linked secondary devices through tunnel technology is 10us, and the maximum delay depends on the frequency of sending heartbeat packets.

[0051] If the secondary device does not receive the communication package within the set time, it will determine that the secondary device and the lower computer are disconnected and execute tasks on its own, including output, entering the protection state and recording the error site environment in the log.

[0052] When the lower computer does not receive the control command from the upper computer, the communication system is in a communication idle state. At this time, the communication control unit automatically generates a heartbeat communication instruction, the communication packet parsing unit receives the heartbeat communication instruction and generates a heartbeat packet, and the serial port transceiver unit sends the heartbeat packet to the secondary device;

[0053] When the lower computer receives the control command from the upper computer, the communication control unit first sends the ongoing communication packet, and then generates the corresponding write communication instruction or read communication instruction according to the control command of the upper computer. The communication packet parsing unit generates the corresponding write packet or read packet, and the serial port transceiver unit sends the generated write packet or read packet to the secondary device. The control flow chart of the communication control unit is as follows: Figure 4 shown.

[0054] The heartbeat packet sent by the serial port transceiver unit also includes a heartbeat instruction, and the heartbeat packet sent back by the secondary device also includes a response message generated by the secondary device according to the heartbeat instruction;

[0055] If the lower computer does not receive the correct response information, it reports an interrupt to its upper computer, and the upper computer performs protection operations, including turning off the power supply of the corresponding secondary device.

[0056] The write packet sent by the serial port transceiver unit also includes a write instruction, a register address, a data length and write data, and the write packet returned by the secondary device also includes a write completion status generated by the secondary device according to the write instruction.

[0057] The read packet sent by the serial port transceiver unit also includes a read instruction, a register address and a data length, and the read packet returned by the secondary device also includes a read completion status and read data generated by the secondary device according to the read instruction.

[0058] The communication control unit can coordinate the automatic operation of the firmware and the intervention of the software. The communication packet parsing unit generates a communication packet in a specific format and parses the received communication packet. The serial port transceiver unit sends and receives the communication packet.

[0059] The communication system supports a maximum baud rate of 50M, but actually uses a baud rate of 25M. The serial port sends 12 bits per byte, and each communication packet requires 20 to 80 bytes. Based on the shortest communication packet, each communication packet takes 10us, and based on the longest communication packet, each communication packet takes 40us. It only takes 10 to 40us for the lower computer to read the register of a single address of the secondary device. Between the interconnected network composed of the secondary device and the lower computer, the minimum delay of the quasi-real-time transmission and diffusion of tunnel information is 80us, which can meet the system requirements.

[0060] The software controls the communication system by reading and writing the registers of the communication controller and the contents of the internal registers of the secondary device. The software adds a mutex that supports atomic operations to prevent multiple threads from accessing the communication controller at the same time.

[0061] The architecture of the communication system is shown in Table 1:

[0062] Table 1 Architecture of the communication system

[0063]

[0064] It is very important for medical devices to ensure the security of the communication system. The communication system has taken security protection measures at all levels of the communication architecture. The list of security protection measures is shown in Table 2:

[0065] Table 2 List of safety protection measures

[0066]

[0067] The medical equipment using the communication system proposed in this embodiment measures the EMC radiation emission performance in a 10-meter darkroom, and the maximum value is less than 30dBuV / m, which is better than the GB4824 Group 1 Class A standard and has a margin of more than 10dBuV / m. At the same time, the equipment is used in a nuclear magnetic resonance environment, and its normal function is not affected by nuclear magnetic resonance interference, while the radiation emission level is low.

[0068] This embodiment proposes a medical equipment communication system compatible with nuclear magnetic resonance, which communicates through plastic optical fiber and photoelectric converter, is compatible with magnetic resonance, has strong anti-interference ability, reduces the number of optical fiber channels, has a simple structure, is easy to use and has high reliability. The communication controller and the secondary equipment form point-to-point communication. The hardware, firmware and software of the communication system all support a serial communication rate of 50M baud. By adding tunnel information to the communication package, real-time status information can be transmitted between the lower computer and the secondary equipment. During the transmission process, there is no need for the intervention of the software in the lower computer, which greatly improves the communication connection performance of the system and meets the needs of most hospital equipment.

[0069] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A nuclear magnetic resonance compatible medical equipment communication system, characterized in that: It includes a lower computer and secondary devices, the number of the secondary devices is one or more, the lower computer is connected to an FPGA, each secondary device is connected to the FPGA through two plastic optical fibers, and the two ends of each plastic optical fiber are respectively connected to the FPGA and the secondary device through a photoelectric converter, the FPGA is provided with a communication controller, the number of the communication controllers is the same as the number of the secondary devices, the communication controller includes a communication control unit, a communication packet parsing unit and a serial port transceiver unit, the communication controller communicates with the secondary devices one by one through a serial port communication protocol, wherein the communication controller on the FPGA and the secondary devices form a point-to-point communication to form a star topology structure, and the secondary devices realize message transmission through a tunnel protocol, and the architecture of the communication system includes a transport layer and a network layer, the transport layer is used to report an interrupt to the upper computer after an error occurs, shut down the device operation, and the network layer is used to realize point-to-point communication between the lower computer and the secondary devices; The communication controller sends tunnel information to the secondary device; The tunnel information in the communication packet sent by the serial port transceiver unit includes system control status information; The tunnel information in the communication packet sent back by the secondary device includes the interruption and device operation status information of the corresponding secondary device; The heartbeat packet sent by the serial port transceiver unit also includes a heartbeat instruction, and the heartbeat packet sent back by the secondary device also includes response information generated by the secondary device according to the heartbeat instruction. If the lower computer does not receive the correct response information, an interrupt is reported to its upper computer, and the upper computer performs a protection operation.

2. A nuclear magnetic resonance compatible medical equipment communication system according to claim 1, characterized in that: The communication process between the communication controller and the secondary device includes: The communication control unit generates a communication instruction, the communication packet parsing unit generates a communication packet according to the communication instruction, and the serial port transceiver unit sends the generated communication packet to the secondary device; The secondary device executes the task according to the communication packet, writes the execution result into the communication packet, and sends it back to the serial port transceiver unit. The communication packet parsing unit parses the returned communication packet to obtain the execution result.

3. A nuclear magnetic resonance compatible medical equipment communication system according to claim 2, characterized in that: The communication packets are divided into heartbeat packets, write packets and read packets.

4. The nuclear magnetic resonance compatible medical equipment communication system according to claim 3, characterized in that: Each communication packet contains a packet header, checksum information and tunnel information.

5. The nuclear magnetic resonance compatible medical equipment communication system according to claim 4, characterized in that: If the secondary device does not receive the communication package within the set time, it will execute the task by itself.

6. The nuclear magnetic resonance compatible medical equipment communication system according to claim 4, characterized in that: When the lower computer does not receive the control command from the upper computer, the communication control unit automatically generates a heartbeat communication instruction, the communication packet parsing unit receives the heartbeat communication instruction and generates a heartbeat packet, and the serial port transceiver unit sends the heartbeat packet to the secondary device; When the lower computer receives the control command from the upper computer, the communication control unit generates a write communication instruction or a read communication instruction, the communication packet parsing unit generates a write packet or a read packet accordingly, and the serial port transceiver unit sends the generated write packet or read packet to the secondary device.

7. The nuclear magnetic resonance compatible medical equipment communication system according to claim 4, characterized in that: The write packet sent by the serial port transceiver unit also includes a write instruction, a register address, a data length and write data, and the write packet returned by the secondary device also includes a write completion status generated by the secondary device according to the write instruction.

8. The nuclear magnetic resonance compatible medical equipment communication system according to claim 4, characterized in that: The read packet sent by the serial port transceiver unit also includes a read instruction, a register address and a data length, and the read packet returned by the secondary device also includes a read completion status and read data generated by the secondary device according to the read instruction.