Background technology
CT (computedtomography, computer tomography) equipment is a kind of multiple functional state of an illness detection instrument. The CT equipment of X ray mainly comprises consisting of part: X ray bulb, X-ray detector, scanning control system, image acquisition and process system. In medical application, by the certain thickness aspect in human body portion is scanned, received the x-ray through this layer by detector and be converted into energy intensity signal, data Collection & Processing System energy intensity signal being acquired, and rebuilding original image in conjunction with certain algorithm. Utilizing CT equipment, doctor can be clearly observed the body tissue situation that common X-ray is difficult to show, such as cerebral hemorrhage, various minimal neoplastic etc. so that clinical diagnosis level is significantly improved.
As it is shown in figure 1, X-ray detector system includes several detector cells independently worked (for for convenience of exposition, being referred to herein as DBB, DetetorBuildingBlock). DBB is grouped and is connected to corresponding data-interface (DIF, DataInterface), multiple DIF and then be connected to Data Control plate (DCB, DataControlBoard), DCB is controlled by the main control unit (GPC, GeneralPurposeComputer) on upper strata.
GPC, as the main control unit of CT system, carries the control task of all devices in system. In prior art, the troubleshooting of detector is generally by the unified monitoring of GPC and process, and it is heavy that this makes GPC data process, it is easy to makes a mistake. Additionally, when breaking down in system, current way is to point out to make mistakes in scanning process, follow-up allow system enter factory repair pattern, GPC send order to DCB and DBB and carry out fault diagnosis obtaining corresponding states. But due to the Numerous of detector cells, once go wrong during system scans, scanning control system is difficult to be quickly and accurately positioned the source of trouble.
Summary of the invention
For the deficiencies in the prior art, it is an object of the invention to provide a kind of solution that detector is carried out rapid failure diagnosis.
Specifically, the present invention adopts the state by DIF and the DBB hung under DCB real-time collecting to have monitored whether that fault occurs, and thus alleviates the burden of GPC largely. When breaking down, by the grading diagnosis of two-layer link, the source of trouble can be quickly and accurately positioned. Further, method for diagnosing faults provided by the present invention is without making equipment enter factory mode, but can be in operation and find that fault positions in real time, which thereby enhances the efficiency of detector system.
For solving above-mentioned technical problem, the invention provides a kind of breakdown detector detection method, including: sent to its data-interface being associated and detector in real time when system is run by Data Control plate and adopt number order; Process from the data of data-interface and detector to determine whether that fault occurs; If it is determined that break down, then responded information gathering by Data Control plate; And send response message to main control unit, and carried out fault location by main control unit.
Further, respond information gathering described in include: sent Fisrt fault detection request by Data Control plate to its associated plurality of data-interface; For each data-interface in these multiple data-interfaces, it is determined whether receive the Fisrt fault from this data-interface and detect response; If receiving the Fisrt fault from this data-interface to detect response, then send the second fault detect request to the associated plurality of detector of this data-interface; For each in these multiple detectors, it is determined whether receiving the second fault detect response from this detector, wherein said response message includes Fisrt fault detection response and the second fault detect response.
Another aspect provides a kind of breakdown detector detecting device, including: for making Data Control plate send, to its data-interface being associated and detector, the module adopting number order in real time when system is run; For processing data from described data-interface and detector to determine whether the module that fault occurs; For if it is determined that break down, then making Data Control plate respond the device of information gathering; And for sending described response message to main control unit, and main control unit is made to carry out the device of fault location.
Detailed description of the invention
For the above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing, the specific embodiment of the present invention is elaborated.
Elaborating a lot of detail in the following description so that fully understanding the present invention, but the present invention can also adopt other to be different from alternate manner described here to be implemented, therefore the present invention is not by the restriction of following public specific embodiment.
The present invention provides one fault diagnosis flow scheme efficiently, and system is divided into DCB-DIF link layer and DIF-DBB link layer, the two link layer carries out fault detect respectively, improves speed and the accuracy of fault diagnosis.
As in figure 2 it is shown, the breakdown detector detection method of the present invention comprises the following steps:
Step S1:DCB adopts broadcast mode to send data acquisition command to its lower DIF and DBB hung, and the response from each DIF and DBB is processed. Such as, the response from DIF and DBB can be carried out time-out detection, CRC check and other process by DCB.
By the data processed from DIF and DBB, step S2:DCB determines whether that fault occurs. For example, DCB can be determined whether that response timeout or CRC check mistake occurs in DIF and DBB. If having, it is determined that its lower DIF and DBB hung and link therebetween are likely to have fault to occur.
If DCB determines have fault to occur in step S2, then send alarm signal to have fault to occur to GPC report in step S3 to GPC. If determining do not have fault to occur in step S2, then return step S1 and continue to gather and process data.
Step S4:DCB receives stop data collection order and startup separator sense command from GPC, stops data collection and sends DCB-DIF fault detect request to each DIF.
Step S5: determine whether that the DCB-DIF fault detect received from this DIF responds for each DIF, DCB. Such as, DCB can start timer, it is determined that whether receives the DCB-DIF fault detect from DIF in the given time and responds.
If the DCB-DIF fault detect that DCB does not receive from a DIF responds, then in step S6, it is determined that the DCB-DIF link to this DIF breaks down and reports to GPC. The information that this DCB-DIF link breaks down also can be stored in its depositor for subsequent treatment by DCB.
If the DCB-DIF fault detect that DCB receives from DIF responds, then in step S7, DCB, this DCB-DIF fault detect response report is carried out preliminary accident analysis to GPC for GPC.
Step S8:DCB sends DIF-DBB fault detect request to DBB. Specifically, DCB sends, to receiving the DBB hung under the DIF of its DCB-DIF fault detect response in step s 5, the DIF-DBB Link State that DIF-DBB fault detect asks to be associated with further detection.
Step S9: determine whether that the DIF-DBB fault detect received from this DBB responds for each DBB, DCB.
If the DIF-DBB fault detect that DCB does not receive from a DBB responds, then in step S10, it is determined that the DIF-DBB link of this DBB breaks down and reports to GPC. The information that this DIF-DBB link also can be broken down by DCB stores in a register.
Step S11:DCB sends DIF-DBB fault detect response to GPC.
Step S12:GPC is according to the link detecting result location source of trouble received the fault determining generation. Specifically, the content that GPC can comprise in responding in conjunction with DIF-DBB fault detect on the basis of preliminary accident analysis, it is determined that the fault occurred, and point out on a user interface.
The type of fault for example has DCB-DIF link to connect fault, DIF-DBB link connects fault, DIF fault and DBB fault, its link connects fault and can determine according to response timeout, DIF/DBB fault can be determined according to the fault message (abnormal data that such as, DIF/DBB interior veneer fault, DIF/DBB gather) that DIF/DBB reports.
Such as, if the fault detect response timeout of a certain bar link, then GPC can determine that this link fails, it is necessary to checks and change the connecting line of correspondence; When receiving DCB-DIF fault detect response, GPC can infer the state of DIF according to the information comprised in this response, by that analogy.
Should be understood that the concrete order of each step in disclosed method or stratum are the explanations of example process. Based on design preference, it should be appreciated that in these methods, each step can layout order or combination again. For example, DCB-DIF fault detect response also can be sent jointly to GPC to carry out accident analysis together with DIF-DBB fault detect response by DCB after receiving DIF-DBB fault detect response.
Compared with prior art, invention achieves following beneficial effect:
1, played the advantage of FPGA parallel processing on DCB, DCB the state of DIF and DBB is to have detected whether that fault occurs, and which reduces the processing load of GPC, enables the system to more efficiently run to replace GPC to monitor.
2, the invention provides the hierarchical detection method of fault, it is achieved the grading diagnosis to two-layer link, the source of trouble can be quickly and accurately positioned.
3, without entering factory repair pattern, but can be in operation monitoring fault and location fault in real time.
Skilled artisans will appreciate that, the various illustrative logical blocks, module, circuit and the algorithm steps that describe in conjunction with the embodiments described herein can be implemented as electronic hardware, computer software or both combinations. For clearly explaining orally this interchangeability of hardware and software, various illustrative components, block, module, circuit and step are done vague generalization with its functional form herein above and are described. This type of is functional is implemented as hardware or software depends on specifically applying and putting on the design constraint of total system. Technical staff can realize described functional for every kind of application-specific by different modes, but such realize decision-making and should not be interpreted to and cause departing from the scope of the present invention.
Although the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiments is intended merely to the explanation present invention, change or the replacement of various equivalence also can be made when without departing from spirit of the present invention, therefore, as long as to the change of above-described embodiment, modification all by the scope dropping on following claims in the spirit of the present invention.