Off-line debugging system of BNCT treatment control system

By designing an offline debugging system in the BNCT treatment control system, using cPCI chassis and functional boards to simulate the hardware interface and communication protocol of the real subsystem, the debugging problem that cannot be effectively tested by pure software methods is solved, and comprehensive debugging of the treatment equipment is achieved. and verification, improving the reliability and real-time performance of debugging.

CN118750796APending Publication Date: 2024-10-11CHINA INSTITUTE OF ATOMIC ENERGY
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410786273.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, pure software methods cannot effectively test the communication interface adaptation issues, communication and data real-time interaction issues between the treatment control system (TCS) and BNCT subsystems, and cannot simulate the actual subsystem communication timing and dynamic response time, resulting in debugging problems. There are gaps in the process.

Method used

A BNCT treatment control system offline debugging system is designed, including treatment planning system, tumor information system, host computer, treatment control system and treatment equipment offline debugging unit, which simulates the hardware interface and software of the real subsystem through cPCI chassis and functional boards. Communication protocol to realize offline debugging of treatment equipment.

Benefits of technology

It realizes a one-to-one simulation of the hardware interface and communication protocol between the TCS system and the BNCT subsystem, which can fully debug and verify the communication and data interaction of the treatment equipment, improves the reliability and real-time of debugging, and can be directly transferred to the actual equipment. Perform debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118750796A_ABST
    Figure CN118750796A_ABST
Patent Text Reader

Abstract

The invention discloses an off-line debugging system for a BNCT treatment control system. The system comprises a treatment planning system TPS, a tumor information system OIS, an upper computer, a treatment control system TCS and a treatment equipment off-line debugging unit. The treatment equipment off-line debugging unit is composed of a cPCI case, a zero slot controller and a plurality of functional board cards; the plurality of functional board cards respectively simulate hardware functions and software functions of each sub-unit in actual operation in a one-to-one manner, and execute off-line debugging of the treatment equipment; each sub-unit in actual operation comprises an accelerator interface sub-unit, a dose distribution sub-unit, a patient support sub-unit, a positioning verification sub-unit, an independent termination sub-unit and a medical interlocking sub-unit. According to the invention, all subsystem signals are simulated, so that offline debugging based on hardware communication and software data interaction becomes possible; an off-line analog simulation test system in a pure software form is abandoned, an interface is a soft-hard combination, and the interface is completely consistent with an actual subsystem equipment interface, so that the effect is more reliable and comprehensive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of BNCT radiotherapy, and in particular relates to an offline debugging system for a BNCT treatment control system. Background Art

[0002] The TCS debugging process is a necessary prerequisite for clinical trials and final treatment, and is a key link in the debugging and trial operation of the entire BNCT device and the final real-time treatment. Since the TCS is related to all subsystems of the BNCT device, its debugging process also requires coordinated control of all subsystems.

[0003] At present, the general practice in the debugging process is to use pure software to simulate the subsystem data information, that is, to use computer programs to simulate the working status and feedback data of each BNCT subsystem, so as to debug, upgrade and transform the TCS system and BNCT device.

[0004] However, the use of pure software means that the TCS system is separated from the actual subsystems of the BNCT device. The reason is that during the debugging process, all subsystems can only be implemented through software codes and data, that is, pure software implementation, and these codes and data often cannot fully represent the actual working status of each BNCT subsystem, which makes the debugging process of the TCS system and the BNCT device have a gap; the above method can only debug and verify the process part of the TCS system, and cannot debug and verify the interactive information between the treatment control system TCS and the treatment equipment terminal, and the interactive information between the treatment equipment terminals. For example:

[0005] 1. Pure software means cannot include testing the interface adaptation between the TCS system and the BNCT subsystem: Pure software means assume that the network connection is normal and give itself a normal network connection signal, assume that the upper and lower communication protocols are matched, and give itself a mutually matching communication protocol; but in actual work, the connection between the treatment equipment and the treatment control system TCS often has abnormalities, and the reasons are many, including communication protocol mismatch. The purpose of debugging is to discover the cause of the abnormality in advance and prevent interface adaptation problems between subsystems in advance, but pure software means cannot achieve the purpose of preventing interface adaptation problems in advance.

[0006] 2. Pure software means cannot include testing the execution effect of commands issued by TCS; pure software means assume that the execution effect of the terminal treatment equipment is normal, and give itself a signal that the execution effect is normal, but in actual operation, the terminal treatment equipment often executes abnormally due to various reasons, especially abnormalities between device communications. One of the purposes of debugging is to verify the communication and data interaction process between the TCS system and many subsystems and the corresponding data timing, and then find out the reasons for the abnormal execution effect and prevent abnormal factors in the execution effect in advance. However, pure software means cannot achieve the purpose of preventing abnormal execution effects of treatment equipment in advance.

[0007] 3. Pure software means cannot include testing of the communication timing of each subsystem and the dynamic response time test. Pure software means assume that the communication timing of each subsystem is normal, and it gives itself a normal communication timing of each subsystem and a normal response time of each subsystem. However, in actual operation, due to various reasons, the communication timing of each subsystem may be delayed or even disordered, and the response time may not be within the specified range. The purpose of debugging is to find out the factors of abnormal communication timing of each subsystem and prevent abnormal factors of communication timing of each subsystem and abnormal factors of response time of each subsystem in advance. However, pure software means cannot achieve the purpose of simulating the abnormal factors of communication timing of each subsystem and abnormal factors of response time of each subsystem.

[0008] In short, pure software testing methods cannot test the communication interface adaptation problems between the TCS system and the BNCT subsystem, cannot test the communication and real-time data interaction problems of each system according to the actual subsystem conditions, but only transmit simple false data according to simple processes and logic, and cannot test the communication timing and dynamic response time of each subsystem. Summary of the invention

[0009] In view of the problems existing in the prior art, the present invention proposes an offline debugging system for a BNCT treatment control system, which aims to solve the problems that pure software testing means cannot test the communication interface adaptation problem between the TCS system and the BNCT subsystem, cannot test the communication and real-time data interaction of each system according to the actual situation of the subsystem, but only transmits simple false data according to simple processes and logic, and cannot test the communication timing and dynamic response time of each subsystem.

[0010] The present invention proposes the following technical solutions to solve the technical problems:

[0011] A BNCT treatment control system offline debugging system, the system includes a treatment planning system TPS, a tumor information system OIS, a host computer, a treatment control system TCS, and a treatment equipment offline debugging unit;

[0012] The treatment planning system TPS is used to generate treatment prescription data and store the treatment data in the tumor information system OIS system in DICOM format; the tumor information system OIS is used to receive the treatment data and send the treatment data to the treatment control system TCS; the treatment control system TCS converts the treatment data into electrical parameters of the treatment device and sends them to the treatment device offline debugging unit;

[0013] Its characteristics are: the offline debugging unit of the treatment equipment is composed of a cPCI chassis + a zero-slot controller + multiple functional boards; the multiple functional boards simulate the hardware interfaces and communication protocols of each sub-unit actually running on a one-to-one basis, thereby realizing the simulation of all hardware functions and software functions, and performing offline debugging of the treatment equipment; the sub-units actually running include an accelerator interface sub-unit, a dose delivery sub-unit, a patient support sub-unit, a positioning verification sub-unit, an independent termination sub-unit, and a medical interlocking sub-unit.

[0014] Furthermore, the cPCI chassis of the offline debugging unit of the therapeutic device has a bus backplane structure, and the bus backplane structure is used to install multiple functional boards, and the multiple functional boards are directly inserted into the bus backplane on the back of the cPCI chassis to facilitate the installation operation; the bus backplane structure of the cPCI chassis is also used to install and fix the zero-slot controller, and provide power supply and air cooling system;

[0015] The zero-slot controller of the offline debugging unit of the treatment equipment is used to receive the data sent down and collect the data of the bottom-level device: communicate and exchange data with the upper computer upward, and communicate with each functional board through the bus backplane downward; the received data includes the treatment prescription data, and the data collected from the bottom-level device includes the collection of treatment terminal data and accelerator data; the treatment prescription data includes dose, irradiation time, and neutron flux; the treatment terminal data includes the position coordinates of the treatment bed; the accelerator data includes beam energy and flux intensity;

[0016] The functional board of the offline debugging unit of the treatment equipment is connected and assembled in the form of cPCI chassis + board, and information and data are exchanged through the cPCI backplane bus, and finally communicate with the host computer and the treatment control system TCS; the functional board corresponds to the functions of 6 simulation subunits, including: accelerator interface simulation subunit function board, dose delivery simulation subunit function board, patient support simulation subunit function board, positioning verification simulation subunit function board, independent termination simulation subunit function board, and medical interlocking simulation subunit function board.

[0017] Furthermore, the accelerator interface simulates the subunit function board, simulates the accelerator control system interaction information, uses a gigabit network cable for communication, and uses TCP / IP as the communication protocol. The interaction information includes: beam switch control information, accelerator working status information, and accelerator output beam current intensity information.

[0018] Furthermore, the dose distribution simulation subunit functional board simulates dose information + simulates boron medicine monitoring information; the simulated dose information is a simulation of dose information based on beam current intensity and neutron flux.

[0019] Furthermore, the patient support simulation subunit functional board simulates the actual position of the treatment bed and feeds back six-dimensional coordinates, as well as digital quantities including limit positions and current states.

[0020] Furthermore, the communication protocol of the positioning verification simulation subunit functional board is based on the OPC UA protocol adopted by real device digital X-ray photography, and the specific communication data includes: the two imaging flat panels arrive at the working position, the imaging flat panels arrive at the zero position, the system working status, enable, and emergency stop.

[0021] Furthermore, the independent termination simulation subunit function board simulates dose data independent of the dose delivery system, and sends out a stop irradiation signal when the dose error exceeds a threshold value.

[0022] Furthermore, the medical interlock simulation subunit functional board communicates with all the above units through a bus backplane, and when an error occurs in any unit or the error exceeds a threshold, a safety interlock signal is issued to stop the irradiation process.

[0023] Advantages and effects of the present invention

[0024] 1. All subsystem signals are simulated, making offline debugging based on hardware communication and software data interaction possible;

[0025] 2. Abandoning the offline simulation test system in pure software form, the effect is more reliable and comprehensive.

[0026] 3.cPCI chassis + functional board, using bus form instead of industrial Ethernet, faster speed, better real-time performance, better information synchronization, and more convenient information and data interaction between different units. Each functional board has the same architecture: FPGA + DSP, plus FMC and rear IO board to realize their own functions and external interfaces, modular upgrade and replacement are more convenient.

[0027] 4. The interface is not a pure software interface, but a combination of software and hardware, that is, it is completely consistent with the actual subsystem device interface. Therefore, when the actual equipment is in place or meets the test conditions, it can be directly transferred to the TCS system for debugging. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is the overall structure diagram of the offline debugging unit of the therapeutic device of the present invention;

[0029] Figure 2 The overall architecture of the BNCT treatment device and treatment control system of the present invention;

[0030] Figure 3 It is a cPCI chassis and bus backplane structure;

[0031] Figure 4 It is the functional board structure design of the present invention. DETAILED DESCRIPTION

[0032] Design principle of the present invention

[0033] 1. Innovation of the present invention: The innovation lies in simulating the hardware interface, software communication protocol and core data of the real subsystem one-to-one. So far, almost all test systems use the method of partially simulating the real scene, which cannot achieve one-to-one restoration of the hardware interface and all software communication protocols of the real subsystem. The method of simulating the real scene one-to-one of the present invention has not been achieved yet.

[0034] 2. One-to-one restoration of the hardware interface and software protocol of each subsystem

[0035] First, through the design of the accelerator interface simulation unit function board, the dose delivery simulation unit function board, the patient support simulation unit function board, and the positioning verification simulation unit function board, the communication interface adaptation between the TCS system and the BNCT related subsystems was simulated one-to-one: the accelerator interface simulation unit (board 1) simulated the interaction between the accelerator system and the beam line subsystem and the TCS system; the dose delivery simulation unit (board 2) simulated the information interaction between the metering and delivery subsystem and the TCS system; the patient support simulation unit (board 3) simulated the information interaction between the treatment bed subsystem and the TCS system; the positioning verification simulation unit (board 4) simulated the information interaction between the positioning verification subsystem and the TCS system;

[0036] Second, through the design of the accelerator interface simulation unit function board, the dose delivery simulation unit function board, the patient support simulation unit function board, the positioning verification simulation unit function board, the target system and independent termination simulation unit function board (board 5), and the medical interlock simulation unit function board 6, the execution of all subsystems was simulated one-to-one:

[0037] The accelerator interface simulation unit function board 1 is used to simulate the execution of the communication with the accelerator interface: after the TCS system sends the beam application command, the medical interlock simulation unit function board 6 confirms that all interlocking information is satisfied and sends the interlock OK before proceeding, and the accelerator interface simulation unit function board 1 returns the beam OK status to the TCS;

[0038] The execution of uploading the final position coordinates of the treatment bed is simulated by using the patient support simulation unit function board 3: when the TCS system issues a command to move the treatment bed, the patient support simulation unit function board 3 sends the final version of the treatment position coordinates to the TCS system after a delay of 3s;

[0039] The positioning verification simulation unit function board 4 is used to simulate the execution of the image-guided system IGRT that it replaces, and to provide communication and data interaction; the TCS system sends the currently loaded patient information to the positioning verification simulation unit function board 4 to replace the IGRT system; the TCS system controls the digital X-ray imaging system (actually DR, the positioning verification simulation unit function board 4 in the present invention) to complete the image acquisition function;

[0040] The target system and the independent termination simulation unit function board 5 are used to simulate the target state and the execution of sending a stop irradiation signal when the dose error exceeds a threshold.

[0041] The medical interlock simulation unit function board 6 is used to simulate the execution of the safety interlock: the medical interlock simulation unit function board 6 communicates with all sub-units through the backplane bus, simulating that when any unit has an error or the error exceeds the threshold, a safety interlock signal is issued to stop the irradiation process.

[0042] Third, through the synchronous control design of CPU0, the communication timing and dynamic response of all subsystems are simulated one-to-one: a synchronization mechanism is set between each simulation unit, and the synchronization mechanism reflects the communication timing and dynamic response of each subsystem. CPU0 is used as the synchronous control master, and the others are used as slaves to achieve synchronization of the entire simulated irradiation treatment process, thereby testing the communication timing and dynamic response of each subsystem.

[0043] The present invention will be further explained below in conjunction with the accompanying drawings:

[0044] A BNCT treatment control system offline debugging system Figure 1 , Figure 2 As shown, the system includes a treatment planning system TPS, a tumor information system OIS, a host computer, a treatment control system TCS, and an offline debugging unit for treatment equipment;

[0045] The treatment planning system TPS is used to generate treatment prescription data and store the treatment data in the tumor information system OIS system in DICOM format; the tumor information system OIS is used to receive the treatment data and send the treatment data to the treatment control system TCS; the treatment control system TCS converts the treatment data into electrical parameters of the treatment device and sends them to the treatment device offline debugging unit;

[0046] It is characterized in that: the offline debugging unit of the therapeutic equipment is composed of a cPCI chassis + a zero-slot controller + multiple functional boards; the multiple functional boards simulate the hardware functions and software functions of each subunit actually running one by one, and perform offline debugging of the therapeutic equipment; the subunits actually running include an accelerator interface subunit, a dose delivery subunit, a patient support subunit, a positioning verification subunit, an independent termination subunit, and a medical interlocking subunit.

[0047] Furthermore, the cPCI chassis of the offline debugging unit of the therapeutic device has a bus backplane structure, and the bus backplane structure is used to install multiple functional boards, and the multiple functional boards are directly inserted into the bus backplane on the back of the cPCI chassis to facilitate the installation operation; the bus backplane structure of the cPCI chassis is also used to install and fix the zero-slot controller, and provide power supply and air cooling system;

[0048] The zero-slot controller of the offline debugging unit of the treatment equipment is used to receive the data sent down and collect the data of the bottom-level device: communicate and exchange data with the upper computer upward, and communicate with each functional board through the bus backplane downward; the received data includes the treatment prescription data, and the data collected from the bottom-level device includes the collection of treatment terminal data and accelerator data; the treatment prescription data includes dose, irradiation time, and neutron flux; the treatment terminal data includes the position coordinates of the treatment bed; the accelerator data includes beam energy and flux intensity;

[0049] The functional board of the offline debugging unit of the treatment equipment is connected and assembled in the form of cPCI chassis + board, and information and data are exchanged through the cPCI backplane bus, and finally communicate with the host computer and the treatment control system TCS; the functional board corresponds to the functions of 6 simulation subunits, including: accelerator interface simulation subunit function board, dose delivery simulation subunit function board, patient support simulation subunit function board, positioning verification simulation subunit function board, independent termination simulation subunit function board, and medical interlocking simulation subunit function board.

[0050] like Figure 2As shown, the accelerator interface simulation subunit functional board is board 1, which simulates the accelerator control system interaction information, adopts gigabit network cable communication, and the communication protocol adopts TCP / IP. The interaction information includes: beam switch control information, accelerator working status information, and accelerator extraction beam current intensity information.

[0051] like Figure 2 As shown, the dose distribution simulation subunit functional board is board 2, which simulates dose information + simulates boron medicine monitoring information; the simulated dose information is the simulation of dose information based on beam current intensity and neutron flux.

[0052] like Figure 2 As shown, the patient support simulation subunit functional board is board 3, which simulates the actual position of the treatment bed and feeds back six-dimensional coordinates, as well as digital quantities including limit and current status.

[0053] like Figure 2 As shown, the positioning verification simulation subunit functional board is board 4, which simulates the information interaction between the positioning verification system and the TCS system to assist in completing the patient positioning process. The communication protocol is based on the OPC UA protocol adopted by real equipment digital X-ray photography. The specific communication data includes: the two imaging flat panels arrive at the working position, the imaging flat panels arrive at the zero position, the system working status, enable, emergency stop, etc.

[0054] like Figure 2 As shown, the independent termination simulation subunit functional board is board 5, which simulates target state information and dose data independent of the dose delivery system, and sends a stop irradiation signal when the dose error exceeds a threshold.

[0055] like Figure 2 As shown, the medical interlock simulation subunit functional board is board 6, which communicates with all the above units through the bus backplane. When any unit has an error or the error exceeds a threshold, a safety interlock signal is issued to stop the irradiation process.

[0056] like Figure 2 As shown in the figure, there is a synchronization mechanism between the simulation units, with CPU0 as the synchronization control master and the others as slaves to achieve synchronization of the entire simulation irradiation treatment process. In addition, CPU0 also achieves the functions of receiving, converting, sending and uploading treatment data through data communication with the host computer.

[0057] Embodiment 1: Hardware preparation for offline debugging device

[0058] 1. Hardware requirements

[0059] Board type: 6U CompactPCI single board computer;

[0060] Processor frequency: 1GHz;

[0061] Flash memory 512KB NOR FLASH + 64MB NOR FLASH

[0062] Network interface: 3 10 / 100 / 1000 triple-speed Gigabit Ethernet interfaces

[0063] Serial communication port: 4

[0064] Other IO interfaces: 8 GPIOs, support interrupts.

[0065] Other onboard features: Real-time clock: Watchdog circuit; CompactPCI interface: Complies with PICMG 2.0 core specification. Complies with PICMG 2.1 hot-swap specification, complies with PICMG 2.16 specification and supports Universal working mode; 2. Software supports FT-Loader onboard firmware operating system provides VxWorks5.5.1 BSP 3. Environmental adaptability is less than 20W; whole board power consumption: operating temperature -20°C~ 70°C 4. Offline test: In response to the above problems, Use Figure 1 , Figure 2 The system architecture shown in the figure completes the offline test of the TCS system. The hardware of the invention device consists of a cPCI chassis + zero-slot controller (CPU0) + functional boards (1~6, corresponding to 6 simulation units respectively). The chassis adopts a standard 6U 8-slot cPCI chassis, such as Figure 3 The cPCI chassis and bus backplane structure are shown. The zero-slot controller (CPU0) is used to realize communication and data exchange with the host computer, and to realize information exchange with the functional board through the backplane bus. The FTC7121 6U4HP cPCI single-board computer is used, which complies with the PICMG 2.0 / 2.1 / 2.16 specification and is 32 / 64-bit compatible. The functional board adopts a standard 6U structure and is divided into three parts: main board + FMC board + rear IO board. like Figure 4 As shown in the figure, the hardware structure of all functional boards is the same, which is convenient for unified design and design maintenance. This system uses a 32MHz, 32bit cPCI bus with a maximum data transfer rate of 132MB / s, which has certain advantages over the 10Mbps inter-device interconnection communication rate of general distributed controllers. The standard 6U board size is 233.35mm×160mm. Figure 3The following are the dimensions of the 6U board and the connectors: J1 to J5. J1 is used as a 32-bit PCI interface, J2 is used as a 64-bit PCI interface, rear panel I / O, or system slot function. J3, J4, and J5 can be used as rear panel I / O.

[0073] The main board of the functional board adopts FPGA+DSP architecture, and realizes communication with CPU0 and other functional boards through the backplane bus. There are a large number of logic gates and triggers in the FPGA chip, and it has high integration, fast processing speed, high execution efficiency, can complete complex sequential logic design, and is convenient and flexible to program, and can be repeatedly programmed. As a special microprocessor, DSP is mainly used for calculation and is suitable for conditional processes, especially complex multi-algorithm tasks; however, due to the limitation of the clock cycle of the instruction set, DSP cannot process signals with too high speed. In addition, the main board is equipped with Ethernet interface, USB interface, SFP interface, etc., and communicates with the treatment control system TCS through multiple protocols such as TCP / IP / OPC UA / Snap7 / USB (simulating the corresponding communication protocol of the subsystem, and keeping consistent with the communication protocol of the subsystem). The FPGA part mainly realizes the cPCI bus driver and fast real-time data processing, and is composed of Xilinx Artix-7 series FPGA (FPGA uses XC7A100T-2FGG484I of ARTIX-7 series 100T of XILINX), DDR chip, Flash chip, power supply circuit, Ethernet PHY chip, crystal oscillator, JTAG interface, SD card interface, Ethernet interface, GPIO digital interface, etc.; the DSP is mainly used for complex data processing / conversion and GPIO communication with FPGA, and is mainly composed of TMS320F28335 DSP chip, EEPROM module, SRAM module, power supply module, crystal oscillator module, JTAG interface, etc. FPGA mainly realizes fast logic function and cPCI bus communication function, and DSP mainly realizes digital signal processing and corresponding digital algorithms.

[0074] FMC mainly includes ADC module, DAC module and optical fiber module, etc.

[0075] The latter IO half mainly includes hardware interfaces for communicating with the treatment subsystem, such as hardware communication interfaces for digital quantity, analog quantity and safety interlock.

[0076] Example 2: Detailed description of each simulated subsystem

[0077] The accelerator interface simulation unit (board 1) simulates the interaction between the accelerator system and beam line system information and the TCS system, using gigabit network cable communication and TCP / IP as the communication protocol. Specific information includes: beam switch control, accelerator working status, and accelerator output beam current intensity.

[0078] Dose distribution simulation unit (board 2), simulates the information interaction between the irradiation dose detection system and the TCS system, dose information simulation (simulation of beam current intensity and neutron flux) + boron medicine monitoring information.

[0079] The patient support simulation unit (board 3) simulates the information interaction between the treatment bed system and the TCS system, and simulates the position feedback of the actual treatment bed in the form of six-dimensional coordinates (float) (x, y, z, u, v, w), as well as digital quantities such as limit (bool) and status (bool).

[0080] The positioning verification simulation unit (board 4) simulates the information interaction between the positioning verification system and the TCS system to assist in completing the patient positioning process. The communication protocol is based on the OPC UA protocol adopted by the real device digital radiography (DR). The specific communication data includes: the two imaging flat panels reach the working position (bool), the imaging flat panels reach the zero position, the system working status (bool), enable, emergency stop, etc.

[0081] The target system and independent termination simulation unit (board 5) simulate the target status information and the dose data (float) independent of the dose delivery system, and send a stop irradiation signal (bool) when the dose error exceeds the threshold. These two functions are relatively few and therefore integrated into one board to save resources.

[0082] The medical interlock simulation unit (board 6) communicates with all the above units through the backplane bus, simulating the issuance of a safety interlock signal (bool) to stop the irradiation process when an error occurs in any unit or the error exceeds a threshold.

[0083] In addition, there is a synchronization mechanism between the simulation units, with CPU0 as the synchronization control master and the others as slaves to achieve synchronization of the entire simulation irradiation treatment process. In addition, CPU0 also achieves functions such as receiving, converting, sending and uploading treatment data through data communication with the host computer.

[0084] Example 3: Using an offline debugging device to simulate a real treatment process and perform corresponding data interaction For a single treatment process, the offline debugging device workflow and interaction data are as follows:

[0085] 1) Determine the first blood boron concentration before injection and inject the boron drug (about 100 minutes before the patient is positioned (the specific time is adjusted based on clinical needs))

[0086] This process requires TCS to confirm the patient information.

[0087] 2) Select the treatment plan to be performed (patient verification)

[0088] The treatment plan for each patient is realized through the information interaction between TCS and OIS, and then the patient to be treated is selected through the TCS upper interface and the corresponding treatment plan is loaded, and the beam line to be transmitted is selected. The treatment control system (TCS) communicates with the tumor information module to receive treatment parameters and reference images.

[0089] 3) Determination of the patient's blood boron concentration

[0090] After measurement, the data is recorded and uploaded to the TCS system.

[0091] 4) Patients are placed on the treatment bed (treatment accessories verification) and positioned

[0092] This part uses the "Patient Support Simulation Subunit Function Board 3" to simulate the treatment bed system and provide corresponding interactive data. The treatment control system (TCS) moves the robotic treatment bed to a convenient position for the patient to get on the bed. The treatment control system (TCS) provides a graphical user interface and a remote control handle, allowing the user to start and control the movement of the robotic treatment bed.

[0093] The patient is placed on the treatment bed and initially positioned in the preparation room. The patient positioning system uses a laser positioning system to identify the isocenter position in the treatment room, and positions the patient's treatment area near the isocenter through the six-dimensional robotic treatment bed (simulated position data provided by board 3).

[0094] The specific process is:

[0095] a) After the patient is positioned, the current coordinates of the patient support device are obtained. At this time, the patient support simulation subunit function board 3 sends the following 6-dimensional position information (float) (x, y, z, u, v, w) to the TCS system;

[0096] Limit information for each direction (bool) (limit1, limit2, ... limit6), 1 if the limit is reached, 0 if the limit is not reached;

[0097] Treatment bed system status (bool)(state), 1 for normal, 0 for abnormal;

[0098] b) After the patient is positioned, the current coordinates of the patient support device are stored. At this time, the coordinate data stored by the TCS system is the analog data sent by board 3.

[0099] c) If the current coordinates deviate greatly from the coordinates of the last treatment, the TCS system will give a prompt to the operator;

[0100] d) Patient support device coordinate monitoring during treatment. This part requires the patient support simulation subunit function board 3 to continuously send the above data to the TCS system. During the simulation process, we use the DSP in the patient support simulation subunit function board 3 to generate 6-dimensional coordinate data and set random weak disturbances (±0.2mm) near the target value to simulate the actual situation.

[0101] 5) Perform imaging registration and verification to correct positioning errors

[0102] This part uses the "position verification simulation subunit function board 4" to simulate the image guidance system IGRT and provide communication and data interaction. The TCS system sends the currently loaded patient information to the position verification simulation subunit function board 4 to replace the IGRT system; the TCS system controls the digital X-ray imaging system (actually DR, the position verification simulation subunit function board 4 in the present invention) to complete the image acquisition function; since the invention device needs to provide image data at this time, this part is communicated by the position verification simulation subunit function board 4 with CPU0 through the cpci bus, and then CPU0+host computer realizes the sending of image data to the TCS system; when the image data shows that repositioning is required, repeat step 4.

[0103] The positioning verification process mainly includes:

[0104] DR sports;

[0105] Image acquisition;

[0106] Image upload and storage.

[0107] 6) Move the robot treatment bed to the final treatment position

[0108] This part uses the patient support simulation subunit function board 3 to upload the final position coordinates of the treatment bed. When the TCS system issues a treatment bed movement command, the patient support simulation subunit function board 3 sends the final version of the treatment position coordinates to the TCS system after a delay of 3s.

[0109] 7) Open the screen

[0110] 8) Blood boron concentration measurement and neutron flux confirmation

[0111] The TCS system confirms the above parameters.

[0112] 9) Video positioning confirmation

[0113] TCS system confirms video information

[0114] 10) Confirm that the treatment room is safe

[0115] TCS system confirms safety information

[0116] 11) Apply for beam current

[0117] This part uses the "Accelerator Interface Simulation Subunit Function Board 1" to simulate the communication with the accelerator interface. After the TCS system sends the beam application command, the medical interlock simulation unit board 6 confirms that all interlocking information is met and sends the interlock OK before proceeding. The accelerator interface simulation subunit function board 1 returns the beam OK status to TCS.

[0118] 12) Start irradiation therapy

[0119] After the start treatment button on the treatment control panel is pressed, the treatment begins and the TCS system displays data and monitors status in real time.

[0120] 13) Monitor the exposure and patient condition.

[0121] In this process, the target system and the independent termination simulation subunit function board 5 simulate the target state information and the dose data (float) independent of the dose delivery system, and send out a stop irradiation signal (bool) when the dose error exceeds the threshold.

[0122] 14) After treatment, measure blood boron concentration

[0123] When the irradiation time / dose is reached, the treatment will be automatically stopped, and the blood boron concentration will be measured and recorded in the TCS system.

[0124] 15) Create treatment report

[0125] After a treatment procedure is performed, the TCS automatically creates and stores a treatment report. The TCS allows the user to store additional information and comments. The TCS can update the treatment results to the Oncology Information System (OIS) and store the generated report in the Picture Archiving and Communication System (PACS).

[0126] The above contents are merely examples and explanations of the concept of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A BNCT treatment control system offline debugging system, the system includes a treatment planning system TPS, a tumor information system OIS, a host computer, a treatment control system TCS, and a treatment equipment offline debugging unit; The treatment planning system TPS is used to generate treatment prescription data and store the treatment data in the tumor information system OIS system in DICOM format; the tumor information system OIS is used to receive the treatment data and send the treatment data to the treatment control system TCS; the treatment control system TCS converts the treatment data into electrical parameters of the treatment device and sends them to the treatment device offline debugging unit; Features: The offline debugging unit of the therapeutic device is composed of a cPCI chassis + a zero-slot controller + a plurality of functional boards; the plurality of functional boards respectively simulate the hardware functions and software functions of each sub-unit in actual operation in a one-to-one ratio, and perform offline debugging of the therapeutic device; The various subunits in actual operation include an accelerator interface subunit, a dose delivery subunit, a patient support subunit, a positioning verification subunit, an independent termination subunit, and a medical interlocking subunit.

2. According to claim 1, a BNCT treatment control system offline debugging system is characterized in that: The cPCI chassis of the offline debugging unit of the therapeutic device has a bus backplane structure. When installing multiple function boards, the multiple function boards are directly inserted into the bus backplane on the back of the cPCI chassis to facilitate installation operations. The bus backplane structure of the cPCI chassis is also used to install and fix the zero-slot controller and provide power supply and air cooling system; The zero-slot controller of the offline debugging unit of the therapeutic device is used to receive the data sent down and collect the data of the bottom-level device: communicate and exchange data with the host computer upward, and communicate with each functional board through the bus backplane downward; The received and sent data includes the treatment prescription data, and the data collected from the underlying device includes the collection of treatment terminal data and accelerator data; the treatment prescription data includes the dose, irradiation time, and neutron flux; the treatment terminal data includes the position coordinates of the treatment bed; and the accelerator data includes the beam energy and flux intensity; The functional board of the offline debugging unit of the treatment equipment is connected and assembled in the form of cPCI chassis + board, and information and data are exchanged through the cPCI backplane bus, and finally communicate with the host computer and the treatment control system TCS; The functional boards correspond to the functions of six simulation sub-units, including: accelerator interface simulation sub-unit functional board, dose delivery simulation sub-unit functional board, patient support simulation sub-unit functional board, positioning verification simulation sub-unit functional board, independent termination simulation sub-unit functional board, and medical interlocking simulation sub-unit functional board.

3. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The accelerator interface simulates the subunit function board and the accelerator control system interaction information, adopts Gigabit network cable communication, and the communication protocol adopts TCP / IP. The interaction information includes: beam switch control information, accelerator working status information, and accelerator output beam current intensity information.

4. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The dose distribution simulation subunit functional board simulates dose information and boron medicine monitoring information; the simulated dose information is a simulation of dose information based on beam current intensity and neutron flux.

5. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The patient support simulation subunit functional board simulates the actual position of the treatment bed and feeds back six-dimensional coordinates, as well as digital quantities including limit positions and current states.

6. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The positioning verification simulation subunit functional board simulates the information interaction between the positioning verification system and the TCS system to assist in completing the patient positioning process. The communication protocol is based on the OPC UA protocol adopted by real equipment digital X-ray photography. The specific communication data includes: the two imaging flat panels arrive at the working position, the imaging flat panels arrive at the zero position, the system working status, enable, emergency stop, etc.

7. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The independent termination simulation subunit function board simulates target status information and dose data independent of the dose delivery system, and sends out a stop irradiation signal when the dose error exceeds a threshold value.

8. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: The medical interlock simulation subunit functional board communicates with all the above units through a bus backplane. When an error occurs in any unit or the error exceeds a threshold, a safety interlock signal is issued to stop the irradiation process.

9. According to claim 2, a BNCT treatment control system offline debugging system is characterized in that: There is also a synchronization mechanism between the various simulation units, with CPU0 acting as the synchronization control master and the others acting as slaves to achieve synchronization of the entire simulated irradiation treatment process. In addition, CPU0 also achieves functions such as receiving, converting, sending and uploading treatment data through data communication with the host computer.

Citation Information

Cited By

  • AB-BNCT accelerator ACI control device and method

    CN120491525A

  • An accelerator control interface system (ACI) and control method applied to AB-BNCT

    CN120491525B

  • Beam control system for BNCT treatment

    CN121003779A