Method, device, equipment and media for dual-panel detection switching control of X-ray machine

By acquiring panel switching information and status judgment in the X-ray machine, controlling the opening and closing of the synchronization signal path, and setting the switching dead time, the problem of inaccurate status judgment during the switching process of multiple panel detectors is solved, and the reliability of synchronization control and image data integrity are improved.

CN122827722BActive Publication Date: 2026-11-17SHENZHEN BROWINER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611341557.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-17
Estimated Expiration
2046-09-01

AI Technical Summary

Technical Problem

Existing X-ray machines suffer from inaccurate status judgment during multi-panel detector switching, leading to signal conflicts, image acquisition interruptions, or invalid exposures, and insufficient reliability of synchronous control.

Method used

By acquiring the flat panel switching information, the original flat panel detector and the target flat panel detector and their corresponding synchronization signal paths are determined, the exposure and image acquisition status is judged, the synchronization signal paths are controlled to disconnect and connect, and the target switching dead zone time is set to ensure the synchronous exposure of the flat panel detector and the X-ray source assembly.

Benefits of technology

This improves the safety and reliability of the dual-plane detection switching process, reduces the risk of synchronization signal conflicts and invalid exposures, and ensures the integrity of image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122827722B_ABST
    Figure CN122827722B_ABST
Patent Text Reader

Abstract

This application relates to a dual-panel detector switching control method, apparatus, equipment, and medium for an X-ray machine. The control method includes acquiring panel switching information, determining the original panel detector and the target panel detector, determining the corresponding target switching dead time, controlling both the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time, controlling the target synchronization signal path to be connected, and determining whether the target synchronization signal path is in a valid connected state. If it is in a valid connected state, the exposure interlock of the X-ray source assembly is released; if it is not in a disconnected state or not in a valid connected state, the exposure interlock of the X-ray source assembly is maintained. This improves the accuracy of the dual-panel detector switching state judgment and the reliability of synchronous exposure control, and reduces the probability of synchronization conflicts, incomplete image data, and invalid exposure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of X-ray machine switching control, and in particular to a dual-panel detector switching control method, apparatus, equipment and medium for X-ray machines. Background Technology

[0002] Currently, with the increasing application of digital X-ray imaging equipment in various examination positions and imaging scenarios, some X-ray machines are equipped with multiple flat panel detectors, each suitable for different imaging positions, to reduce the disassembly and transfer of flat panel detectors. In actual use, it is necessary to switch between different flat panel detectors according to the current examination scenario, ensuring that the X-ray exposure process coordinates with the image acquisition process of the corresponding flat panel detector. However, due to potential differences in response speed, state changes, and signal stabilization time among different flat panel detectors and their associated signal paths, and because switching flat panel detectors may occur during exposure, image acquisition, or image reading, existing equipment struggles to accurately determine whether the original working path has completely exited, whether the target working path has been stably established, and whether safe exposure conditions are currently met. This can easily lead to overlapping signal states of different working paths, exposure starting before the target flat panel detector has entered an effective working state, and interruptions in the ongoing image acquisition process, resulting in abnormal synchronization control, incomplete image data, or invalid exposure. Summary of the Invention

[0003] To address the problems of inaccurate state judgment and insufficient reliability of synchronous control during the switching process of existing multi-panel detectors, which can easily lead to signal conflicts, image acquisition interruptions, or invalid exposures, this application provides a dual-panel detector switching control method, device, equipment, and medium for X-ray machines.

[0004] A dual-panel detector switching control method for an X-ray machine is provided, applied to a dual-panel detector switching control device for an X-ray machine. The control device includes a first panel detector, a second panel detector, an X-ray source assembly, and a synchronization signal switching control unit. The control method includes: Obtain the tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. The system acquires the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, it controls the original synchronization signal path to disconnect, and determines whether the original synchronization signal path is in a disconnected state. If it is in the disconnected state, the corresponding target switching dead time is determined, and the original synchronization signal path and the target synchronization signal path are kept disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, the target synchronization signal path is connected, and it is determined whether the target synchronization signal path is in the effective connection state. If it is in an active state, the exposure interlock of the X-ray source assembly is released so that the X-ray source assembly and the target flat panel detector are exposed synchronously. If it is not in a disconnected state or not in a valid connected state, the exposure interlock of the X-ray source assembly is maintained, and the synchronization signal paths corresponding to the first and second flat panel detectors are both disconnected.

[0005] By adopting the above technical solution, the original flat panel detector, the target flat panel detector, and their corresponding synchronization signal paths are determined based on the flat panel switching information. When the exposure state and image acquisition state meet the switching conditions, the original synchronization signal path is disconnected, the target switching dead zone is maintained, the target synchronization signal path is connected, and the effective connection is confirmed in sequence. This ensures that the two synchronization signal paths are not effective at the same time during the switching process. At the same time, the exposure interlock is only released after the target synchronization signal path is effectively connected. In case of switching abnormality, the exposure interlock is maintained and the two synchronization signal paths are controlled to be disconnected, thereby reducing the risk of synchronization signal conflict, erroneous exposure, and invalid exposure, and improving the safety and reliability of the dual flat panel detector switching process.

[0006] Preferably, the step of determining the target switching dead time includes: The duration of the synchronization signal held by the original flat panel detector, the duration of the path cutoff of the original synchronization signal path, and the duration of the signal input recovery of the X-ray source component are obtained. The corresponding reference switching dead time is determined based on the duration of the synchronization signal hold, the duration of the path shutdown, and the duration of the signal input recovery. Obtain the path status detection period and synchronization signal jitter duration corresponding to the original synchronization signal path, determine the corresponding safety margin based on the path status detection period and synchronization signal jitter duration, and generate the corresponding target switching dead time based on the reference switching dead time and safety margin.

[0007] By adopting the above technical solution, the target switching dead time can simultaneously adapt to different time characteristics such as residual synchronization signal of the flat panel, shutdown of the path device and recovery of the input state of the X-ray source, so as to avoid signal overlap caused by too short waiting time or reduced switching efficiency of the flat panel due to too long waiting time when using a fixed dead time.

[0008] Preferably, the steps of obtaining the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component include: Based on the detector identification information corresponding to the original flat panel detector, the synchronization signal holding parameters corresponding to the original flat panel detector are read from the preset flat panel parameter library, and the corresponding synchronization signal holding duration is determined based on the synchronization signal holding parameters. Based on the device identification information of the original solid-state relay set in the original synchronization signal path, the shutdown response parameters of the original solid-state relay are read from the preset relay parameter library, and the corresponding path shutdown duration is determined based on the shutdown response parameters. Based on the component identification information corresponding to the X-ray source component, the input recovery parameters corresponding to the X-ray source component are read from the preset X-ray source parameter library, and the corresponding signal input recovery time is determined based on the input recovery parameters; Based on the status detection configuration information corresponding to the synchronization signal switching control unit, the path status detection cycle is determined, and based on the synchronization signal change information collected during the disconnection of the original synchronization signal path, the corresponding synchronization signal jitter duration is determined.

[0009] By adopting the above technical solution, the calculation of target switching dead time has a clear and traceable parameter source, which can be adapted to the actual response characteristics of different flat panel detectors, solid-state relays and X-ray source components, and reduce the time deviation caused by uniformly adopting fixed parameters.

[0010] Preferably, the step of determining the corresponding reference switching dead time based on the synchronization signal holding time, the path shutdown time, and the signal input recovery time includes: Compare the duration of the synchronization signal hold-in, the duration of the path cut-off, and the duration of the signal input recovery to determine the corresponding maximum duration; The maximum duration is determined as the baseline handover dead time.

[0011] By adopting the above technical solution, the disappearance of the original flat panel detector's synchronization signal, the shutdown of the original synchronization signal path, and the restoration of the input state of the X-ray source component can all be completed within the reference time. At the same time, it avoids simply accumulating multiple parallel time processes, thereby reducing unnecessary waiting time and improving the switching efficiency of the synchronization signal path while ensuring switching safety.

[0012] Preferably, the step of determining the corresponding safety margin based on the path status detection cycle and the jitter duration of the synchronization signal, and generating the corresponding target switching dead time based on the reference switching dead time and the safety margin, includes: Calculate the ratio of the jitter duration of the synchronization signal to the duration of the path status detection cycle, and round up the ratio to determine the corresponding number of jitter coverage detections. The corresponding target detection count is determined based on the number of jitter coverage detections and the preset number of stability confirmations; Multiply the number of target detections by the path status detection cycle to calculate the corresponding stable confirmation time; Obtain the disconnection confirmation time corresponding to the original synchronization signal path, as well as the next path status detection time after the disconnection confirmation time, and determine the corresponding detection blind zone compensation time based on the time difference between the disconnection confirmation time and the next path status detection time. Add the stability confirmation time and the detection blind zone compensation time to calculate the corresponding safety margin; The target switching dead time is calculated by adding the baseline switching dead time and the safety margin.

[0013] By adopting the above technical solution, the safety margin can cover the actual jitter process of the synchronization signal and ensure that continuous stable state confirmation is completed after the jitter ends. This avoids misjudging that the original synchronization signal path has been stably disconnected due to the omission of brief signal rebound during periodic sampling, and improves the accuracy of the target switching dead time calculation.

[0014] Preferably, the step of acquiring the current exposure state and current image acquisition state of the digital radiography X-ray machine, and controlling the original synchronization signal path to disconnect when the current exposure state and current image acquisition state meet preset switching conditions, includes: Based on the current exposure status, determine whether the X-ray source component is currently in the exposure preparation stage, the exposure execution stage, or the exposure end stage; Based on the current image acquisition status, determine whether the original flat panel detector is currently in the image processing stage. The image processing stage includes the image frame acquisition stage and the image reading stage. When the X-ray source component is in the exposure end stage and the original flat panel detector is not in the image processing stage, the corresponding switching permission information is generated. The switching permission information is used to determine that the current exposure state and the current image acquisition state meet the preset switching conditions, thereby controlling the original synchronization signal path to disconnect. When the X-ray source component is in the exposure preparation stage, or the original flat panel detector is in the image processing stage, it is determined that the current exposure state and the current image acquisition state do not meet the preset switching conditions, and thus the current path state of the original synchronization signal path is maintained.

[0015] By adopting the above technical solution, it is possible to avoid forcibly switching the synchronization signal path before exposure, image frame acquisition, or image reading is completed, thereby reducing the risk of exposure process interruption, incomplete image frames, or abnormal image data reading.

[0016] Preferably, the step of determining whether the target synchronization signal path is in a valid connected state includes: Obtain the path electrical detection information corresponding to the target synchronization signal path, and determine whether the target synchronization signal path meets the preset electrical conduction conditions based on the path electrical detection information; Acquire the target synchronization feedback signal output by the target flat panel detector, and determine whether the X-ray source component has received the target synchronization feedback signal through the target synchronization signal path; Obtain the current path status corresponding to the original synchronization signal path, and determine whether the original synchronization signal path remains disconnected; When the target synchronization signal path meets the preset electrical conduction conditions, the X-ray source component receives the target synchronization feedback signal, and the original synchronization signal path remains disconnected, the target synchronization signal path is determined to be in an effective connected state. When the target synchronization signal path does not meet the preset electrical conduction conditions, the X-ray source component does not receive the target synchronization feedback signal, or the original synchronization signal path is not kept disconnected, it is determined that the target synchronization signal path is not in an effective connected state.

[0017] By adopting the above technical solution, the system will not judge the switching completion solely based on the solid-state relay connection command; thus, it can simultaneously verify that the target path has formed a valid electrical connection, the synchronization signal has been successfully transmitted, and the original path has not been reconnected, avoiding the erroneous release of exposure interlock due to relay conduction abnormality, signal transmission failure, or both paths being valid at the same time.

[0018] A dual-panel detector switching control device for an X-ray machine includes: The first acquisition module is used to acquire the tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. The second acquisition module is used to acquire the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. The determination module is used to determine the corresponding target switching dead time if it is in the disconnected state, and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, the target synchronization signal path is controlled to be connected, and it is determined whether the target synchronization signal path is in a valid connection state. The release module is used to release the exposure interlock of the X-ray source assembly if it is in a valid on state, so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. The control module is used to maintain the exposure interlock of the X-ray source assembly if it is not in a disconnected state or not in a valid connected state, and to control the synchronization signal paths corresponding to the first flat panel detector and the second flat panel detector to be disconnected.

[0019] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a dual-panel detection switching control method for an X-ray machine.

[0020] A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a dual-panel detection switching control method for an X-ray machine.

[0021] In summary, this application includes at least one of the following beneficial technical effects: This application first identifies the original flat panel detector currently out of operation and the target flat panel detector ready to be put into operation based on the flat panel switching information, and then maps them to the original synchronization signal path and the target synchronization signal path, respectively. Based on this, it determines whether the switching conditions are met by combining the current exposure status and image acquisition status, avoiding direct changes to the synchronization relationship before the exposure is over or the image is still being acquired or read. When switching is allowed, it does not simply issue a command to disconnect the original path and immediately connect the target path, but further confirms that the original synchronization signal path has actually been disconnected, and then sets a target switching dead time to keep both synchronization signal paths disconnected at the same time, so as to reserve necessary time for the residual signal in the original path to disappear, for the path device to complete the shutdown, and for the X-ray source assembly to restore a stable input state. Only after the dead time ends and the target flat panel detector has met the connection conditions is the target synchronization signal path established, and the connection of the path is verified to be effectively connected. Only after successful verification is the exposure interlock of the X-ray source assembly released, so that the X-ray source assembly and the target flat panel detector can be synchronously exposed. If the original path fails to disconnect reliably or the target path fails to be effectively established, the exposure interlock is maintained and both synchronization signal paths are disconnected. Therefore, the entire switching process has changed from the original open-loop method that relied on control commands to estimate the success of the switching to a closed-loop control method that includes switching timing judgment, original path exit confirmation, two-path isolation waiting, target path establishment confirmation, and abnormal exposure prohibition. This can avoid problems such as overlapping of two synchronization signals, interruption of ongoing exposure or image acquisition, starting exposure before the target flat panel has entered an effective working state, and continuing exposure after switching failure. This improves the accuracy of the dual flat panel detector switching status judgment and the reliability of synchronous exposure control, and reduces the probability of synchronization conflicts, incomplete image data, and invalid exposure. Attached Figure Description

[0022] Figure 1 This is a flowchart of a dual-panel detection switching control method for an X-ray machine according to an embodiment of this application.

[0023] Figure 2 This is a schematic block diagram of a dual-flat panel detection switching control device for an X-ray machine according to one embodiment of this application; Figure 3 This is a schematic diagram of a device according to one embodiment of this application. Detailed Implementation

[0024] The present application will be further described in detail below with reference to the accompanying drawings.

[0025] In one embodiment, such as Figure 1As shown, this application discloses a dual-panel detector switching control method for an X-ray machine, applied to a dual-panel detector switching control device for an X-ray machine. The control device includes a first panel detector, a second panel detector, an X-ray source assembly, and a synchronization signal switching control unit. The control method includes: S10. Obtain the tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. S20. Obtain the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. S30. If it is in the disconnected state, determine the corresponding target switching dead time and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, control the target synchronization signal path to be connected and determine whether the target synchronization signal path is in the effective connection state. S40. If it is in an effective connected state, release the exposure interlock of the X-ray source assembly so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. S50. If it is not in the disconnected state or not in the effective connected state, maintain the exposure interlock of the X-ray source assembly and control the synchronization signal paths corresponding to the first flat panel detector and the second flat panel detector to be disconnected.

[0026] Specifically, in this embodiment, the first flat panel detector can be set at the supine radiography station corresponding to the examination bed, and the second flat panel detector can be set at the standing radiography station corresponding to the upright radiography gantry. The first and second flat panel detectors establish switchable signal connections with the X-ray source assembly through corresponding synchronization signal paths. The synchronization signal switching control unit is used to control the on / off state of the two synchronization signal paths. When the operator selects a new examination mode through the operation interface, or when the equipment generates a flat panel switching command based on the current radiography station, the system parses the flat panel identifier carried in the flat panel switching command, identifies the flat panel detector that has established a synchronization relationship with the X-ray source assembly as the original flat panel detector, and identifies the other flat panel detector corresponding to the current examination mode as the target flat panel detector, thereby determining the original synchronization signal path and the target synchronization signal path respectively. Subsequently, the system reads whether the X-ray source assembly is currently in the exposure preparation, exposure execution, or exposure end state, and reads whether the original flat panel detector is still in the image frame acquisition or image reading state. Only when the current exposure process has ended and the original flat panel detector has not continued to perform image acquisition or reading operations is the synchronization signal switching control unit allowed to output a disconnection control signal to the original synchronization signal path. After disconnecting the control signal output, the system confirms whether the original synchronization signal path has been electrically failed by reading the relay status feedback, path output voltage, or synchronization signal readback result of the original synchronization signal path. Once the original synchronization signal path is confirmed to be disconnected, the system determines the target switching dead time based on the synchronization signal holding characteristics of the original flat panel detector, the turn-off characteristics of the switching devices in the original synchronization signal path, and the input recovery characteristics of the X-ray source assembly. During this time, the system controls both synchronization signal paths to remain disconnected, allowing the residual synchronization signal and residual electrical state in the original path to be fully released. After the target switching dead time ends, the system further checks whether the target flat panel detector has completed power-on initialization, is in a fault-free state, and outputs a valid exposure preparation signal. When all the above conditions are met, the system controls the target synchronization signal path to be connected. The system then confirms whether the target synchronization signal path has truly established a valid connection by checking the electrical detection results of the target path, the transmission results of the target synchronization feedback signal, and the continued disconnection status of the original synchronization signal path. Once the target synchronization signal path is confirmed to be stably connected, the exposure interlock of the X-ray source assembly is released, allowing the X-ray source assembly to perform exposure according to the synchronization state of the target flat panel detector. If the original synchronization signal path is not completely disconnected within the predetermined confirmation time, or if the target synchronization signal path fails to form an effective synchronization connection after being connected, the system will not allow the exposure to continue. Instead, it will maintain the exposure interlock and output a disconnection control signal to both synchronization signal paths, so that the system enters a dual-path isolation state to avoid the two flat panel detectors participating in the synchronization control at the same time or generating invalid exposure before the target flat panel is ready.

[0027] Specifically, the control command for the synchronization signal path is not necessarily synchronized with the actual operating state of the path. After the control unit issues the original synchronization signal path disconnection command, the original synchronization signal path may remain effective for a short period of time due to factors such as solid-state relay turn-off delay, synchronization signal maintenance, residual line voltage, and signal jitter. Therefore, it is necessary to first determine whether it has been disconnected from the actual electrical state and signal transmission state to determine whether it can enter the subsequent dead zone waiting and target path connection process. Similarly, after issuing the connection command to the target synchronization signal path, it is not possible to determine that the switching has been completed based solely on the control command, because the target solid-state relay may not be conducting, the conduction may be unstable, or the synchronization signal may not have been successfully transmitted to the X-ray source component. Therefore, it is necessary to make a second determination to determine whether the target synchronization signal path has formed a stable, effective, and exclusive synchronization connection. By judging the exit status of the original synchronization signal path and the establishment status of the target synchronization signal path respectively, the entire switching process can be divided into two mutually restrictive control stages: "confirming that the original path has been safely exited" and "confirming that the target path has been reliably put into operation". This ensures that the target path can only be connected after the original path is indeed disconnected, and that the exposure interlock can only be released when the target path is actually effective and the original path is continuously disconnected. This avoids problems such as two synchronization signals being effective at the same time, exposure starting before the target tablet is properly connected, and exposure continuing after a switching failure due to path status lag, abnormal device operation, or signal residue.

[0028] Furthermore, the steps for determining the target switching dead time include: S3011. Obtain the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component. S3012. Determine the corresponding reference switching dead time based on the synchronization signal holding time, the path shutdown time, and the signal input recovery time. S3013. Obtain the path status detection period and synchronization signal jitter duration corresponding to the original synchronization signal path, determine the corresponding safety margin based on the path status detection period and synchronization signal jitter duration, and generate the corresponding target switching dead time based on the reference switching dead time and safety margin.

[0029] Furthermore, the steps of obtaining the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component include: S30111. Based on the detector identification information corresponding to the original flat panel detector, read the synchronization signal holding parameters corresponding to the original flat panel detector from the preset flat panel parameter library, and determine the corresponding synchronization signal holding duration based on the synchronization signal holding parameters. S30112. Based on the device identification information of the original solid-state relay set in the original synchronization signal path, read the shutdown response parameters of the original solid-state relay from the preset relay parameter library, and determine the corresponding path shutdown duration based on the shutdown response parameters. S30113. Based on the component identification information corresponding to the X-ray source component, read the input recovery parameters corresponding to the X-ray source component from the preset X-ray source parameter library, and determine the corresponding signal input recovery time based on the input recovery parameters; S30114. Based on the status detection configuration information corresponding to the synchronization signal switching control unit, determine the path status detection cycle, and based on the synchronization signal change information collected during the disconnection of the original synchronization signal path, determine the corresponding synchronization signal jitter duration.

[0030] Furthermore, the step of determining the corresponding reference switching dead time based on the synchronization signal hold duration, the path shutdown duration, and the signal input recovery duration includes: S30121. Compare the synchronization signal holding time, the path shutdown time, and the signal input recovery time to determine the corresponding maximum duration; S30122. The maximum duration is determined as the baseline switching dead time.

[0031] Furthermore, the steps of determining the corresponding safety margin based on the path status detection cycle and the jitter duration of the synchronization signal, and generating the corresponding target switching dead time based on the reference switching dead time and the safety margin, include: S30131. Calculate the duration ratio between the jitter duration of the synchronization signal and the path status detection period, and round up the duration ratio to determine the corresponding jitter coverage detection count. S30132. Determine the corresponding number of target detections based on the number of jitter coverage detections and the preset number of stability confirmations; S30133. Multiply the number of target detections and the path status detection cycle to calculate the corresponding stable confirmation time; S30134. Obtain the disconnection confirmation time corresponding to the original synchronization signal path, and the next path status detection time after the disconnection confirmation time, and determine the corresponding detection blind zone compensation time based on the time difference between the disconnection confirmation time and the next path status detection time. S30135. Add the stability confirmation time and the detection blind zone compensation time to calculate the corresponding safety margin; S30136. Add the baseline switching dead time and the safety margin to calculate the corresponding target switching dead time.

[0032] Specifically, the synchronization signal hold duration refers to the duration for which the synchronization interface of the original flat panel detector may continue to maintain an effective level, effective pulse, or internal latch state after it stops outputting the current synchronization control signal, cancels the synchronization active state, or receives a synchronization path disconnection command. The synchronization signal hold duration is not equivalent to the program execution time required for the controller to output the disconnection command; rather, it characterizes the time lag in the transition of the original flat panel detector's own synchronization interface from an active state to an inactive state. For example, after the original flat panel detector outputs the exposure preparation signal, even if the synchronization signal switching control unit has already started executing the path disconnection control, the exposure preparation signal may still be held for a period of time due to the interface hold circuit, output buffer circuit, pulse broadening circuit, or internal timing control logic. This duration can be provided by the flat panel detector manufacturer or obtained during equipment installation and commissioning by recording the time difference between the control moment when the flat panel detector stops outputting the synchronization signal and the moment when the synchronization interface actually returns to an inactive level.

[0033] Specifically, the path turn-off time refers to the time required for the original solid-state relay and its corresponding signal lines to transition from their original conducting state to a disconnected state, where they no longer have the ability to transmit effective signals, after the synchronous signal switching control unit issues a turn-off control to the original solid-state relay. The path turn-off time can include the response time required for the input-side driving devices of the original solid-state relay to stop operating, the turn-off time required for the internal optocouplers or semiconductor switching devices to exit the conducting state, and the decay time required for the parasitic capacitance, line capacitance, and input filter capacitor on the path output side to release residual charge. Because the internal components, driving methods, load conditions, and operating temperatures of different solid-state relay models may vary, the path turn-off time is not a fixed, uniform value but can be determined based on the original solid-state relay's device parameters, actual load conditions, and path detection results.

[0034] Specifically, signal input recovery time refers to the time required for the X-ray source component's synchronization signal input interface to recover from the input state corresponding to the previous flat panel detector to a stable state capable of reliably identifying the synchronization signal of the next flat panel detector after the original synchronization signal path stops inputting a valid synchronization signal to the X-ray source component. The synchronization input interface of the X-ray source component may include input isolation circuitry, filtering circuitry, level determination circuitry, edge detection circuitry, and state latching circuitry. After the original synchronization signal disappears, residual voltage in the filter capacitor, hysteresis state of the input comparator, held state in the software state register, or logic latching state corresponding to the previous synchronization pulse may still exist in the above circuitry. Therefore, a certain recovery time is required to avoid confusion between the synchronization signal output by the next flat panel detector and the residual input state of the previous flat panel detector. The signal input recovery time can be determined based on the interface design parameters of the X-ray source component, the input filter time constant, and the state reset period.

[0035] Specifically, the reference switching dead time refers to the basic waiting time set to cover the synchronization signal exit process of the original flat panel detector, the actual shutdown process of the original synchronization signal path, and the recovery process of the synchronization input terminal of the X-ray source component. The reference switching dead time is used to ensure that the above three processes have been completed, but it does not consider the detection gap that may occur when the path status detection uses periodic sampling, or the short-term jitter that may occur in the original synchronization signal during the exit process. Since the synchronization signal holding process, the solid-state relay shutdown process, and the X-ray source component input recovery process usually occur simultaneously after the original synchronization signal path is disconnected, the longest of the three durations can be used as the reference switching dead time to ensure that when the slowest process is completed, the other processes have also been completed, while avoiding unnecessary waiting caused by accumulating the times corresponding to multiple parallel processes.

[0036] Specifically, the path status detection cycle refers to the time period during which the synchronization signal switching control unit or the main controller connected to it repeatedly samples the electrical state and synchronization signal state of the original synchronization signal path at fixed time intervals. Path status detection may include reading the turn-off feedback of the original solid-state relay, detecting the output voltage of the original synchronization signal path, determining whether current exists in the path, and reading the high and low level states of the original synchronization signal. If the path status detection cycle is 4ms, it means that the controller performs a status sampling of the original synchronization signal path every 4ms. The shorter the path status detection cycle, the faster the system can detect changes in the path status, but it will consume more processing and communication resources; the longer the path status detection cycle, although it can reduce the controller load, it is easy to create a large status observation gap between two adjacent detections. Therefore, this detection cycle can be configured according to the synchronization signal pulse width, the controller refresh cycle, and the response capability of the status detection circuit.

[0037] Specifically, the jitter duration of a synchronization signal refers to the duration of unstable transitions between valid and invalid levels during the switching process from an effective to an invalid state in the original synchronization signal path. Synchronization signal jitter can be caused by edge oscillations during the turn-off process of a solid-state relay, electromagnetic interference in the line, slow attenuation of the interface level, repeated toggling near the comparator threshold, or short-term bounce at the output of the original flat panel detector. During the jitter period, the controller may read an invalid state in one detection and a valid state in the next. Therefore, it cannot be concluded that the original synchronization signal path has been stably disconnected based solely on a single instance of not detecting a synchronization signal. The jitter duration can be determined based on continuously acquired synchronization signal change information during the disconnection period of the original synchronization signal path. For example, the time difference between the first detection of the synchronization signal changing from an effective to an invalid state and the last detection of the synchronization signal returning to an effective state can be defined as the jitter duration.

[0038] Specifically, the safety margin refers to the additional waiting time added to the baseline switching dead time to compensate for synchronization signal jitter, periodic detection discreteness, and detection timing deviation. The safety margin is not simply a fixed empirical value, but is determined based on the duration of synchronization signal jitter, the path status detection cycle, stability confirmation requirements, and detection blind zone. By setting a safety margin, the synchronization signal switching control unit can continue to perform necessary status sampling and stability confirmation even after the original synchronization signal has theoretically exited, the original solid-state relay has theoretically turned off, and the X-ray source component input has theoretically recovered. This reduces the possibility of incorrectly judging that the original synchronization signal path has been stably disconnected due to a single accidental sampling result.

[0039] Specifically, the target switching dead time refers to the final waiting time during the switch from the original flat panel detector to the target flat panel detector, from the moment the original synchronization signal path is confirmed to be disconnected until the target synchronization signal path is allowed to be connected, during which both synchronization signal paths remain disconnected. The target switching dead time is composed of a baseline switching dead time and a safety margin. The baseline switching dead time covers the physical response process of the equipment and the path itself, while the safety margin covers the status detection and signal stability verification processes. Since the original flat panel detector, the original solid-state relay, the X-ray source components, and their synchronization signal states may change depending on the specific switching direction, the target switching dead time can be redefined for each flat panel switch, rather than using the same fixed time for both switching directions after the equipment leaves the factory.

[0040] Specifically, detector identification information refers to information that uniquely or classifies the original flat panel detector's model, installation location, communication address, manufacturer, or synchronization interface type. Detector identification information may include the device serial number, model code, network address, bus node address, or a pre-configured flat panel number. Using this detector identification information, synchronization control parameters corresponding to the current original flat panel detector can be matched from a preset flat panel parameter library, preventing the incorrect use of synchronization parameters from a second flat panel detector on the first. Detector identification information can be proactively reported by the flat panel detector during system initialization, or it can be determined by the main controller based on the interface location connected to the flat panel detector.

[0041] Specifically, the preset flat panel parameter library refers to a data set used to store the synchronization control parameters corresponding to different flat panel detectors. It can be stored in the non-volatile memory of the synchronization signal switching control unit, the local memory of the X-ray machine's main controller, or an external configuration file. The preset flat panel parameter library can be indexed according to detector identification information. Each detector identification corresponds to a set of synchronization parameters, which may include synchronization signal hold parameters, effective polarity of the synchronization signal, synchronization signal level range, synchronization pulse width, and exposure preparation response time. The preset flat panel parameter library can be established during the equipment's factory configuration or updated during installation and commissioning based on actual measurement results.

[0042] Specifically, the synchronization signal hold parameter refers to the parameter used to characterize the ability of the original flat panel detector's synchronization signal to remain valid after output control has stopped. The synchronization signal hold parameter can be a direct time value, or it can include parameters such as pulse broadening time, number of output hold cycles, synchronization interface shutdown delay, and internal state reset cycle. When the synchronization signal hold parameter consists of multiple sub-parameters, the synchronization signal hold duration can be determined based on the execution relationship of each sub-parameter. For example, if output hold and internal state reset are performed in parallel, the larger of the two values ​​can be taken; if they are performed sequentially, the corresponding duration can be determined based on their sum.

[0043] Specifically, device identification information refers to information that identifies the original solid-state relay model, channel number, rated parameters, and drive type used in the original synchronization signal path. Device identification information can consist of the device code, part number, control port number, or circuit board configuration data corresponding to the original solid-state relay. Using device identification information, turn-off response parameters compatible with the current original solid-state relay can be retrieved from a preset relay parameter library, thereby matching the path turn-off time with the actual device's turn-off performance.

[0044] Specifically, the preset relay parameter library refers to a data set used to store the dynamic response parameters corresponding to different models of solid-state relays or different switching channels. The preset relay parameter library can include the typical turn-off time, maximum turn-off time, leakage current range, output capacitance, temperature correction factor, and drive cancellation response time for each solid-state relay. To improve safety, when determining the actual path turn-off time, the maximum turn-off time can be used preferentially, or a correction time related to operating temperature and load conditions can be added to the typical turn-off time.

[0045] Specifically, the shutdown response parameters refer to the parameters that reflect the process of the internal semiconductor switch exiting the conducting state and the output signal attenuation after the original solid-state relay receives the shutdown control. The shutdown response parameters can include the shutdown delay time, fall time, output residual voltage attenuation time, and the time required for the output current to decrease to a preset threshold. When determining the path shutdown duration based on the shutdown response parameters, one can select the time parameter that characterizes the complete loss of effective signal transmission capability of the original synchronization signal path, or form a comprehensive duration based on the execution relationship of multiple shutdown stages.

[0046] Specifically, component identification information refers to information that identifies the current X-ray source component model, synchronous input interface type, interface channel number, or high-voltage generator control version. Component identification information can be read from the high-voltage generator during device initialization or pre-specified in the system configuration file. Using component identification information, input recovery parameters matching the current X-ray source component can be found in the preset X-ray source parameter library, preventing different high-voltage generators from using the same recovery time due to differences in input filtering structures or state reset cycles.

[0047] Specifically, the preset X-ray source parameter library refers to a data set used to store the corresponding synchronous input response parameters of different X-ray source components. The preset X-ray source parameter library may include synchronous input filtering time, effective level determination delay, state latch clear time, input recovery time, and high-voltage generator synchronous interface refresh cycle. This parameter library can be established by the equipment manufacturer based on the interface circuit design parameters, or it can be modified during system debugging based on the actual synchronous input recovery process.

[0048] Specifically, input recovery parameters refer to parameters characterizing the time required for the X-ray source component's synchronization input interface to recover from the previous signal state to a state capable of reliably receiving the next synchronization signal after the original synchronization signal disappears. Input recovery parameters may include the discharge time of the input filter circuit, the digital input debounce time, the input state latch clear time, and the high-voltage generator control program refresh time. If multiple recovery processes are executed in parallel, the longest time can be selected as the signal input recovery duration; if they must be executed sequentially, the signal input recovery duration can be synthesized according to the corresponding execution order.

[0049] Specifically, the status detection configuration information refers to the configuration data used to define how the synchronization signal switching control unit collects and judges the status of the synchronization signal path. The status detection configuration information may include the sampling period, sampling channels, input threshold, number of filters, number of consecutive acknowledgments, and detection task priority. The synchronization signal switching control unit can initiate periodic detection tasks based on the status detection configuration information and determine the path status detection period according to the sampling period set therein. The status detection configuration information can be loaded during device initialization or switched according to the current operating mode.

[0050] Specifically, synchronization signal change information refers to timing data formed by continuously collecting the level value, pulse state, or validity judgment result of the original synchronization signal during the disconnection of the original synchronization signal path. Synchronization signal change information can represent the high level, low level, valid signal, invalid signal, or abnormal transition state corresponding to each sampling moment. By analyzing synchronization signal change information, it is possible to identify whether there are repeated transitions during the transition from a stable valid state to a stable invalid state, and to determine the duration range of such repeated transitions.

[0051] Specifically, the maximum duration refers to the largest value among the synchronization signal hold duration, path shutdown duration, and signal input recovery duration. The maximum duration is used to determine the reference switching dead time because the three processes can occur in parallel after the original synchronization signal path begins to disconnect. Only when the longest-lasting process completes can the three basic exit or recovery processes be considered complete. For example, when the synchronization signal hold duration is 6ms, the path shutdown duration is 9ms, and the signal input recovery duration is 7ms, the maximum duration is 9ms. This avoids using 6ms or 7ms, which could result in one process not completing, and also avoids accumulating the three to 22ms, resulting in an excessively long waiting time.

[0052] Specifically, the duration ratio refers to the numerical ratio between the jitter duration of the synchronization signal and the path status detection period, used to indicate approximately how many status detection periods the synchronization signal jitter process spans. The duration ratio can be an integer or a non-integer. If the jitter duration of the synchronization signal is 9ms and the path status detection period is 4ms, then the duration ratio is 2.25, indicating that the jitter process of the synchronization signal spans two complete detection periods and continues into the third detection period.

[0053] Specifically, rounding up means that when the duration ratio has a decimal part, the duration ratio is adjusted to the smallest integer greater than the original ratio; when the duration ratio itself is an integer, it remains unchanged. Rounding up is used to ensure that the converted number of detection cycles completely covers the jitter duration of the synchronization signal, avoiding omissions of the jitter's final segment during rounding down. For example, 2.25 becomes 3 after rounding up, but cannot be rounded to 2, because two detection cycles can only cover 8ms, which is insufficient to completely cover the 9ms jitter duration.

[0054] Specifically, the jitter coverage detection count refers to the minimum number of detections required to cover the entire jitter duration of the synchronization signal when periodically sampling the synchronization signal according to the path status detection cycle. The jitter coverage detection count is obtained by rounding up the ratio between the jitter duration of the synchronization signal and the duration of the path status detection cycle. This number of detections is mainly used to ensure that the controller continuously observes the status throughout the entire time range during which unstable transitions in the synchronization signal may occur, rather than to directly determine that the synchronization signal has stabilized and disappeared.

[0055] Specifically, the preset stability confirmation count refers to the additional number of consecutive checks set after the synchronization signal jitter process has been completely covered, to confirm that the original synchronization signal remains in an invalid state. The preset stability confirmation count can be configured according to the anti-interference requirements of the synchronization signal interface, the allowable false alarm probability, the path status detection cycle, and the equipment security level. For example, setting the preset stability confirmation count to 2 means that after covering the synchronization signal jitter duration, two consecutive checks must not find a valid synchronization signal before the state can be considered a stable disconnection. If a valid synchronization signal is found again in either check, the stability confirmation count can be restarted.

[0056] Specifically, the target detection count refers to the total number of state checks required to determine the safety margin. This includes jitter coverage checks to cover the jittering process of the synchronization signal, and a preset stability confirmation count to confirm that the synchronization signal has stabilized and disappeared. The target detection count reflects how many valid state checks the controller needs to complete before allowing the target synchronization signal path to be connected. For example, if the jitter coverage check count is 3 and the preset stability confirmation count is 2, then the target detection count is 5.

[0057] Specifically, the stable confirmation time refers to the time required to complete the target number of detections according to the path status detection cycle. The stable confirmation time can be obtained by multiplying the target number of detections by the path status detection cycle. This time covers both the time interval during which the synchronization signal may jitter and the time interval during which the synchronization signal is continuously confirmed to be in an invalid state after the jitter ends. The stable confirmation time matches the jitter process of the synchronization signal, which was originally expressed as continuous time, with the discrete periodic detection mechanism actually used by the controller.

[0058] Specifically, the disconnection confirmation moment refers to the time point at which the synchronization signal switching control unit first confirms that the original synchronization signal path meets the preset disconnection conditions based on the electrical detection results or synchronization signal readback results of the original synchronization signal path. The disconnection confirmation moment can be recorded by the controller's internal timer, system clock, or timestamp counter. This moment does not necessarily coincide with the start time of the status detection cycle; it may lie between two adjacent detection moments. Therefore, the time difference between this moment and the next detection moment needs to be further considered.

[0059] Specifically, the next path status detection time refers to the time point after the disconnection confirmation time when the synchronization signal switching control unit performs the next sampling of the original synchronization signal path status according to the status detection configuration information. The next path status detection time can be obtained from the periodic scheduling schedule of the detection task, or it can be calculated based on the previous detection time and the path status detection cycle. Since the disconnection confirmation time may be exactly after a detection or close to the next detection, the interval between it and the next detection time is not fixed.

[0060] Specifically, the detection blind zone compensation time refers to the unobservable time of the state between the disconnection confirmation time and the next path state detection time, due to the lack of new state sampling. Without compensation for this time, the stable confirmation time, starting from the disconnection confirmation time, may not guarantee the actual completion of the target number of detections. The detection blind zone compensation time is determined based on the time difference between the disconnection confirmation time and the next path state detection time, and can dynamically change with the phase position of the disconnection confirmation time within the detection cycle. For example, if the detection cycle is 4ms, and the next detection is performed 1ms after the disconnection confirmation time, then the detection blind zone compensation time is 1ms; if a detection is just missed, and another approximately 4ms is required, then the corresponding compensation time is approximately 4ms.

[0061] For example, when switching from a first flat panel detector installed in the examination bed to a second flat panel detector installed in the vertical imaging gantry, the first flat panel detector is identified as the original flat panel detector. Based on the detector identification information of the first flat panel detector, the system reads the synchronization signal holding parameter of that flat panel detector from the preset flat panel parameter library as 7ms; based on the device identification information of the original solid-state relay in the first synchronization signal path, it reads its maximum shutdown response time as 9ms from the preset relay parameter library; based on the component identification information corresponding to the high-voltage generator, it reads its synchronization input recovery time as 8ms from the preset X-ray source parameter library. Since the above three processes occur synchronously after the original synchronization signal path begins to disconnect, the system determines 9ms as the baseline switching dead time. The status detection configuration information of the synchronization signal switching control unit indicates that it collects the original synchronization signal status every 4ms, and during the disconnection of the original synchronization signal path, based on the continuously collected synchronization signal change information, it determines that the synchronization signal still experiences a short-term rebound after the first drop, lasting a total of 9ms from the first invalid state to the end of the last rebound. The system calculates the ratio between 9ms and 4ms to be 2.25, rounds up to obtain the number of jitter coverage detections (3). If the preset number of stable confirmations is 2, then the target detection count is 5, resulting in a stable confirmation duration of 20ms. Assuming the original synchronization signal path is confirmed to be disconnected at 100ms of the system clock, and the next path status detection is scheduled to be performed at 103ms, then the detection blind zone compensation duration is 3ms, and the safety margin is determined by the 20ms stable confirmation duration and the 3ms detection blind zone compensation duration, totaling 23ms. The system further combines the 9ms baseline switching dead time and the 23ms safety margin to obtain the target switching dead time corresponding to this switch. During this time, both synchronization signal paths are disconnected, and the residual synchronization signal of the first flat panel detector, the turn-off process of the original solid-state relay, and the recovery process of the high-voltage generator input interface are fully completed. At the same time, the synchronization signal switching control unit completes the periodic confirmation of signal jitter and the disappearance of stable state. Only after the time has elapsed and it is confirmed that the second flat panel detector has completed its exposure preparation can the system allow the second synchronization signal path to be activated, thereby avoiding the original synchronization signal from briefly recovering during the periodic detection interval and overlapping with the synchronization signal of the second flat panel detector.

[0062] Specifically, after receiving the disconnect command, the original synchronization signal path does not immediately complete the entire exit process at the same time. The original flat panel detector may continue to maintain the synchronization signal, the solid-state relay needs a certain amount of time to complete the actual shutdown, and the input interface of the X-ray source component also needs to recover from the previous synchronization state. Moreover, the periodic state detection may miss the short-term signal rebound that occurs between adjacent detection times. Therefore, the maximum value among the synchronization signal holding time, the path shutdown time, and the signal input recovery time is first used as the benchmark switching dead time. This can cover the three parallel basic response processes and avoid directly accumulating the durations, which would cause excessive waiting time. Then, a safety margin is determined based on the complete detection cycle spanned by the signal jitter, the additional number of stable confirmations, and the detection blind zone between the disconnection confirmation time and the next detection time. This ensures that the final target switching dead time can guarantee that the original synchronization signal has stably disappeared, the original path has been reliably disconnected, and the X-ray source component has completed input recovery, while avoiding the use of a uniformly large fixed delay. This balances the safety, judgment accuracy, and switching efficiency of the dual-flat panel switching process.

[0063] Furthermore, the step of acquiring the current exposure state and current image acquisition state of the digital X-ray imaging machine, and controlling the original synchronization signal path to disconnect when the current exposure state and current image acquisition state meet preset switching conditions, includes: S201. Based on the current exposure status, determine whether the X-ray source component is currently in the exposure preparation stage or the exposure end stage; S202. Based on the current image acquisition status, determine whether the original flat panel detector is currently in the image processing stage. The image processing stage includes the image frame acquisition stage and the image reading stage. S203. When the X-ray source component is in the exposure end stage and the original flat panel detector is not in the image processing stage, the corresponding switching permission information is generated. The switching permission information is used to determine that the current exposure state and the current image acquisition state meet the preset switching conditions, thereby controlling the original synchronization signal path to disconnect. S204. When the X-ray source component is in the exposure preparation execution stage, or the original flat panel detector is in the image processing stage, determine that the current exposure state and the current image acquisition state do not meet the preset switching conditions, and thus maintain the current path state of the original synchronization signal path.

[0064] Furthermore, the step of determining whether the target synchronization signal path is in a valid connected state includes: S3021. Obtain the path electrical detection information corresponding to the target synchronization signal path, and determine whether the target synchronization signal path meets the preset electrical conduction conditions based on the path electrical detection information. S3022. Obtain the target synchronization feedback signal output by the target flat panel detector, and determine whether the X-ray source component has received the target synchronization feedback signal through the target synchronization signal path; S3023. Obtain the current path status corresponding to the original synchronization signal path, and determine whether the original synchronization signal path remains disconnected; S3024. When the target synchronization signal path meets the preset electrical conduction conditions, the X-ray source component receives the target synchronization feedback signal, and the original synchronization signal path remains disconnected, it is determined that the target synchronization signal path is in an effective connected state. S3025. When the target synchronization signal path does not meet the preset electrical conduction conditions, the X-ray source component does not receive the target synchronization feedback signal, or the original synchronization signal path is not kept disconnected, it is determined that the target synchronization signal path is not in an effective connected state.

[0065] Specifically, the current exposure status refers to the operational stage of the X-ray source component when it receives the flat panel switching request, which can be determined based on the exposure enable signal, exposure trigger signal, and exposure end feedback signal of the high-voltage generator. The exposure preparation stage refers to the stage where the system has completed the exposure parameter configuration and is waiting for the formal triggering of exposure; the exposure execution stage refers to the stage where the high-voltage generator is driving the X-ray tube to output X-rays; the exposure end stage refers to the stage where the high-voltage output has stopped and the current exposure process has been completed.

[0066] Specifically, the current image acquisition status refers to the current image acquisition and data output status of the original flat panel detector, which can be determined based on the acquisition busy signal, frame readout signal, or data transmission status output by the original flat panel detector. The image processing stage refers to the process in which the original flat panel detector is still completing the image data corresponding to this exposure, which includes the image frame acquisition stage and the image readout stage; the image frame acquisition stage refers to the original flat panel detector receiving X-rays and forming the current image frame, and the image readout stage refers to the original flat panel detector reading image data from the pixel array and transmitting it to external control equipment.

[0067] Specifically, the switching permission information refers to control information indicating that there is currently no ongoing exposure process or incomplete image processing process, and that the switching of the synchronization signal path can begin. The preset switching conditions refer to pre-defined combinations of states that allow the original synchronization signal path to be disconnected, such as the X-ray source assembly having entered the exposure completion stage, and the original flat panel detector having exited the image frame acquisition and image readout stages. When both of these states are met simultaneously, the switching permission information is set to valid; if any state is not met, no valid switching permission information is generated.

[0068] Specifically, the current path status refers to the current electrical connection status of the original synchronization signal path or the target synchronization signal path, which can include a conducting state, a disconnected state, and an abnormal state. Maintaining the current path status of the original synchronization signal path means not changing the control state of the solid-state relay corresponding to the original synchronization signal path before the preset switching conditions are met, so as to avoid interruption of the ongoing exposure or image processing process due to premature disconnection of the synchronization connection.

[0069] Specifically, the path electrical detection information refers to the detection data used to reflect the actual electrical connection status of the target synchronization signal path, which may include the output voltage of the target synchronization signal path, the path current, the conduction feedback of the target solid-state relay, and the synchronization signal level. The preset electrical conduction conditions refer to the preset conditions used to determine that the target synchronization signal path has formed a valid electrical connection, such as the target path output voltage being within a preset effective voltage range and the target solid-state relay returning to the conduction state.

[0070] Specifically, the target synchronization feedback signal refers to the status signal output by the target flat panel detector after completing synchronization preparation, indicating that the target flat panel detector is ready to perform synchronized exposure with the X-ray source assembly. The target synchronization feedback signal can be an exposure preparation completion signal, an exposure permission signal, or an acquisition ready signal. When the X-ray source assembly receives the target synchronization feedback signal through the target synchronization signal path, it means that the feedback signal has actually been transmitted to the high-voltage generator or its synchronization control interface through the target synchronization signal path, rather than being output locally by the target flat panel detector alone.

[0071] Specifically, a valid connection state means that the target synchronization signal path is electrically connected, the target synchronization feedback signal output by the target flat panel detector can be transmitted to the X-ray source component, and the original synchronization signal path remains disconnected. Only when all of the above conditions are met can the flat panel switching be considered complete; if the target path does not meet the electrical connection condition, the target synchronization feedback signal does not reach the X-ray source component, or the original synchronization signal path is reconnected, the target synchronization signal path is considered not to be in a valid connection state.

[0072] For example, when the system prepares to switch from the first flat panel detector to the second flat panel detector, the first flat panel detector is the original flat panel detector, and the second flat panel detector is the target flat panel detector. The system first confirms, based on the status information of the high-voltage generator and the first flat panel detector, that the previous exposure has ended and the first flat panel detector has completed image reading, and then allows the original synchronization signal path to be disconnected. After the target synchronization signal path is connected, the system detects that the second solid-state relay is conducting, the target path voltage is within the effective range, and confirms that the high-voltage generator has received the exposure preparation completion signal output by the second flat panel detector. Simultaneously, the first synchronization signal path remains disconnected. Only then is the target synchronization signal path considered effectively connected. If any condition is not met, the exposure interlock remains in place, and the X-ray source assembly is not allowed to perform exposure.

[0073] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0074] In one embodiment, a dual-panel detector switching control device for an X-ray machine is provided, which corresponds one-to-one with the dual-panel detector switching control method for an X-ray machine described in the above embodiments. For example... Figure 2 As shown, this dual-panel detector switching control device for an X-ray machine includes a first acquisition module, a second acquisition module, a determination module, a release module, and a control module. Detailed descriptions of each functional module are as follows: The first acquisition module is used to acquire tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. The second acquisition module is used to acquire the current exposure state and the current image acquisition state of the digital X-ray machine, and when the current exposure state and the image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. The determination module is used to determine the corresponding target switching dead time if it is in a disconnected state, and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, the module controls the target synchronization signal path to be connected and determines whether the target synchronization signal path is in a valid connection state. The release module is used to release the exposure interlock of the X-ray source assembly if it is in a valid on state, so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. The control module is used to maintain the exposure interlock of the X-ray source assembly if it is not in a disconnected state or not in a valid connected state, and to control the synchronization signal paths corresponding to the first flat panel detector and the second flat panel detector to be disconnected.

[0075] Optionally, the determination module includes: The first acquisition unit is used to acquire the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component. The first determining unit is used to determine the corresponding reference switching dead time based on the synchronization signal holding time, the path shutdown time, and the signal input recovery time. The second acquisition unit is used to acquire the path status detection period and the jitter duration of the original synchronization signal path, determine the corresponding safety margin based on the path status detection period and the jitter duration of the synchronization signal, and generate the corresponding target switching dead time based on the reference switching dead time and the safety margin.

[0076] Optionally, the first acquisition unit includes: The first reading subunit is used to read the synchronization signal holding parameters corresponding to the original flat panel detector from the preset flat panel parameter library according to the detector identification information corresponding to the original flat panel detector, and determine the corresponding synchronization signal holding duration according to the synchronization signal holding parameters. The second reading subunit is used to read the shutdown response parameters corresponding to the original solid-state relay from the preset relay parameter library according to the device identification information of the original solid-state relay set in the original synchronization signal path, and determine the corresponding path shutdown duration according to the shutdown response parameters. The third reading subunit is used to read the input recovery parameters corresponding to the X-ray source component from the preset X-ray source parameter library according to the component identification information corresponding to the X-ray source component, and determine the corresponding signal input recovery time according to the input recovery parameters; The first determining subunit is used to determine the path status detection cycle based on the status detection configuration information corresponding to the synchronization signal switching control unit, and to determine the corresponding synchronization signal jitter duration based on the synchronization signal change information collected during the disconnection of the original synchronization signal path.

[0077] Optionally, the determining unit includes: The second determining subunit is used to compare the synchronization signal holding time, the path disconnection time, and the signal input recovery time to determine the corresponding maximum duration. The third determining subunit is used to determine the maximum duration as the reference switching dead time.

[0078] Optionally, the second acquisition unit includes: The first calculation subunit is used to calculate the duration ratio between the jitter duration of the synchronization signal and the path status detection period, and to round up the duration ratio to determine the corresponding jitter coverage detection count. The fourth determining subunit is used to determine the corresponding number of target detections based on the number of jitter coverage detections and the preset number of stability confirmations; The second calculation subunit is used to multiply the number of target detections and the path status detection cycle to calculate the corresponding stable confirmation time. The acquisition subunit is used to acquire the disconnection confirmation time corresponding to the original synchronization signal path, as well as the next path status detection time after the disconnection confirmation time, and determine the corresponding detection blind zone compensation time based on the time difference between the disconnection confirmation time and the next path status detection time. The third calculation subunit is used to add the stability confirmation time and the detection blind zone compensation time to calculate the corresponding safety margin; The fourth calculation subunit is used to add the baseline switching dead time and the safety margin to calculate the corresponding target switching dead time.

[0079] Optionally, the second acquisition module includes: The second determining unit is used to determine whether the X-ray source component is currently in the exposure preparation stage or the exposure end stage based on the current exposure status. The third determining unit is used to determine whether the original flat panel detector is currently in the image processing stage based on the current image acquisition status. The image processing stage includes the image frame acquisition stage and the image reading stage. The generation unit is used to generate corresponding switching permission information when the X-ray source component is in the exposure end stage and the original flat panel detector is not in the image processing stage. The switching permission information is used to determine that the current exposure state and the current image acquisition state meet the preset switching conditions, thereby controlling the original synchronization signal path to disconnect. The fourth determining unit is used to determine that the current exposure state and the current image acquisition state do not meet the preset switching conditions when the X-ray source component is in the exposure preparation execution stage or the original flat panel detector is in the image processing stage, thereby maintaining the current path state of the original synchronization signal path.

[0080] Optionally, the determination module includes: The third acquisition unit is used to acquire the path electrical detection information corresponding to the target synchronization signal path, and to determine whether the target synchronization signal path meets the preset electrical conduction conditions based on the path electrical detection information. The fourth acquisition unit is used to acquire the target synchronization feedback signal output by the target flat panel detector and determine whether the X-ray source component has received the target synchronization feedback signal through the target synchronization signal path. The fifth acquisition unit is used to acquire the current path status corresponding to the original synchronization signal path and determine whether the original synchronization signal path remains disconnected. The fifth determining unit is used to determine that the target synchronization signal path is in an effective connected state when the target synchronization signal path meets the preset electrical conduction conditions, the X-ray source component receives the target synchronization feedback signal, and the original synchronization signal path remains disconnected. The sixth determining unit is used to determine that the target synchronization signal path is not in an effective connected state when the target synchronization signal path does not meet the preset electrical conduction conditions, the X-ray source component does not receive the target synchronization feedback signal, or the original synchronization signal path is not kept disconnected.

[0081] For specific limitations regarding the dual-panel detector switching control device for an X-ray machine, please refer to the limitations of the dual-panel detector switching control method for an X-ray machine described above, which will not be repeated here. Each module in the aforementioned dual-panel detector switching control device for an X-ray machine can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0082] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 3 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a dual-panel detection switching control method for an X-ray machine.

[0083] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps: S10. Obtain the tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. S20. Obtain the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. S30. If it is in the disconnected state, determine the corresponding target switching dead time and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, control the target synchronization signal path to be connected and determine whether the target synchronization signal path is in the effective connection state. S40. If it is in an effective connected state, release the exposure interlock of the X-ray source assembly so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. S50. If not in a disconnected state or not in a valid connected state, maintain the exposure interlock of the X-ray source assembly and control the synchronization signal paths corresponding to the first and second flat panel detectors to be disconnected. In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it performs the following steps: S10. Obtain the tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. S20. Obtain the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. S30. If it is in the disconnected state, determine the corresponding target switching dead time and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, control the target synchronization signal path to be connected and determine whether the target synchronization signal path is in the effective connection state. S40. If it is in an effective connected state, release the exposure interlock of the X-ray source assembly so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. S50. If not in a disconnected state or not in a valid connected state, maintain the exposure interlock of the X-ray source assembly and control the synchronization signal paths corresponding to the first and second flat panel detectors to be disconnected. Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0084] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0085] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method of switching control of a dual flat panel detector of an X-ray machine, characterized by, A dual-panel detector switching control device for an X-ray machine, the control device comprising a first panel detector, a second panel detector, an X-ray source assembly, and a synchronization signal switching control unit, the control method comprising: Obtain tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. The system acquires the current exposure state and current image acquisition state of the digital X-ray imaging machine, and controls the original synchronization signal path to disconnect when the current exposure state and image acquisition state meet the preset switching conditions, and determines whether the original synchronization signal path is in a disconnected state. If it is in the disconnected state, the corresponding target switching dead time is determined, and the original synchronization signal path and the target synchronization signal path are both kept disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, the target synchronization signal path is connected, and it is determined whether the target synchronization signal path is in a valid connection state. If it is in a valid connected state, the exposure interlock of the X-ray source assembly is released so that the X-ray source assembly and the target flat panel detector are exposed synchronously. If it is not in a disconnected state or not in a valid connected state, the exposure interlock of the X-ray source assembly is maintained, and the synchronization signal paths corresponding to the first flat panel detector and the second flat panel detector are both disconnected. The step of determining the corresponding target switching dead time includes: The duration of the synchronization signal held by the original flat panel detector, the duration of the path cutoff of the original synchronization signal path, and the duration of the signal input recovery of the X-ray source component are obtained. The corresponding reference switching dead time is determined based on the synchronization signal holding duration, the path shutdown duration, and the signal input recovery duration. Obtain the path status detection period and synchronization signal jitter duration corresponding to the original synchronization signal path, determine the corresponding safety margin based on the path status detection period and the synchronization signal jitter duration, and generate the corresponding target switching dead time based on the reference switching dead time and the safety margin.

2. The dual-panel detection switching control method for an X-ray machine according to claim 1, characterized in that, The steps of obtaining the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component include: Based on the detector identification information corresponding to the original flat panel detector, the synchronization signal holding parameters corresponding to the original flat panel detector are read from the preset flat panel parameter library, and the corresponding synchronization signal holding duration is determined based on the synchronization signal holding parameters. Based on the device identification information corresponding to the original solid-state relay set in the original synchronization signal path, the shutdown response parameters corresponding to the original solid-state relay are read from the preset relay parameter library, and the corresponding path shutdown duration is determined based on the shutdown response parameters. Based on the component identification information corresponding to the X-ray source component, the input recovery parameters corresponding to the X-ray source component are read from the preset X-ray source parameter library, and the corresponding signal input recovery time is determined based on the input recovery parameters; Based on the status detection configuration information corresponding to the synchronization signal switching control unit, the path status detection cycle is determined, and based on the synchronization signal change information collected during the disconnection of the original synchronization signal path, the corresponding synchronization signal jitter duration is determined.

3. The dual-panel detection switching control method for an X-ray machine according to claim 2, characterized in that, The step of determining the corresponding reference switching dead time based on the synchronization signal holding duration, the path shutdown duration, and the signal input recovery duration includes: The duration of the synchronization signal hold-in, the duration of the path shutdown, and the duration of the signal input recovery are compared to determine the corresponding maximum duration. The maximum duration is determined as the baseline switching dead time.

4. The dual-panel detection switching control method for an X-ray machine according to claim 3, characterized in that, The step of determining the corresponding safety margin based on the path status detection period and the synchronization signal jitter duration, and generating the corresponding target switching dead time based on the reference switching dead time and the safety margin, includes: Calculate the duration ratio between the jitter duration of the synchronization signal and the path status detection period, and round the duration ratio up to determine the corresponding jitter coverage detection count; The corresponding target detection count is determined based on the number of jitter coverage detections and the preset number of stability confirmations; Multiply the number of target detections by the path status detection period to calculate the corresponding stable confirmation time; Obtain the disconnection confirmation time corresponding to the original synchronization signal path, and the next path status detection time after the disconnection confirmation time, and determine the corresponding detection blind zone compensation time based on the time difference between the disconnection confirmation time and the next path status detection time. The stability confirmation time and the detection blind zone compensation time are added together to calculate the corresponding safety margin; The target switching dead time is calculated by adding the baseline switching dead time and the safety margin.

5. The dual-panel detection switching control method for an X-ray machine according to claim 1, characterized in that, The step of acquiring the current exposure state and current image acquisition state of the digital radiography X-ray machine, and controlling the original synchronization signal path to disconnect when the current exposure state and current image acquisition state meet preset switching conditions, includes: Based on the current exposure status, determine whether the X-ray source component is currently in the exposure preparation stage or the exposure end stage; Based on the current image acquisition status, it is determined whether the original flat panel detector is currently in the image processing stage, which includes an image frame acquisition stage and an image reading stage; When the X-ray source component is in the exposure end stage and the original flat panel detector is not in the image processing stage, corresponding switching permission information is generated. The switching permission information is used to determine that the current exposure state and the current image acquisition state meet the preset switching conditions, thereby controlling the original synchronization signal path to disconnect. When the X-ray source component is in the exposure preparation stage or the original flat panel detector is in the image processing stage, it is determined that the current exposure state and the current image acquisition state do not meet the preset switching conditions, thereby maintaining the current path state of the original synchronization signal path.

6. The dual-panel detection switching control method for an X-ray machine according to claim 1, characterized in that, The step of determining whether the target synchronization signal path is in a valid connected state includes: Obtain the path electrical detection information corresponding to the target synchronization signal path, and determine whether the target synchronization signal path meets the preset electrical conduction conditions based on the path electrical detection information; Acquire the target synchronization feedback signal output by the target flat panel detector, and determine whether the X-ray source component receives the target synchronization feedback signal through the target synchronization signal path; Obtain the current path status corresponding to the original synchronization signal path, and determine whether the original synchronization signal path remains disconnected; When the target synchronization signal path meets the preset electrical conduction condition, the X-ray source component receives the target synchronization feedback signal, and the original synchronization signal path remains disconnected, the target synchronization signal path is determined to be in the effective connection state. When the target synchronization signal path does not meet the preset electrical conduction conditions, the X-ray source component does not receive the target synchronization feedback signal, or the original synchronization signal path is not kept disconnected, it is determined that the target synchronization signal path is not in the effective connection state.

7. A dual-panel detector switching control device for an X-ray machine, characterized in that, include: The first acquisition module is used to acquire tablet switching information, and based on the tablet switching information, determine the original tablet detector and the target tablet detector in the first tablet detector and the second tablet detector, and determine the original synchronization signal path corresponding to the original tablet detector and the target synchronization signal path corresponding to the target tablet detector. The second acquisition module is used to acquire the current exposure state and current image acquisition state of the digital X-ray machine, and when the current exposure state and image acquisition state meet the preset switching conditions, control the original synchronization signal path to disconnect, and determine whether the original synchronization signal path is in a disconnected state. The determination module is used to determine the corresponding target switching dead time if it is in a disconnected state, and control the original synchronization signal path and the target synchronization signal path to remain disconnected during the target switching dead time. When the target switching dead time is reached and the target flat panel detector meets the preset connection conditions, the module controls the target synchronization signal path to be connected and determines whether the target synchronization signal path is in a valid connection state. The release module is used to release the exposure interlock of the X-ray source assembly if it is in a valid on state, so that the X-ray source assembly and the target flat panel detector can be exposed synchronously. The control module is used to maintain the exposure interlock of the X-ray source assembly if it is not in a disconnected state or not in a valid connected state, and to control the synchronization signal paths corresponding to the first flat panel detector and the second flat panel detector to be disconnected. The module to be determined includes: The first acquisition unit is used to acquire the synchronization signal holding time corresponding to the original flat panel detector, the path shutdown time corresponding to the original synchronization signal path, and the signal input recovery time corresponding to the X-ray source component. The first determining unit is used to determine the corresponding reference switching dead time based on the synchronization signal holding time, the path shutdown time, and the signal input recovery time. The second acquisition unit is used to acquire the path status detection period and the jitter duration of the original synchronization signal path, determine the corresponding safety margin based on the path status detection period and the jitter duration of the synchronization signal, and generate the corresponding target switching dead time based on the reference switching dead time and the safety margin.

8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the dual-panel detection switching control method for an X-ray machine as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the dual-panel detection switching control method for an X-ray machine as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Flat panel detector synchronous signal intelligent identifying system and method

    CN110946601A

  • Movable roentgenography apparatus

    JP2003334184A