A clock distribution device and PET system
By designing a clock distribution device for the PET system, the problem that the PET system cannot output multiple synchronous reset and clock signals at the same time is solved, the data acquisition synchronization and electrophysiological signal gating imaging of the PET detector module are realized, and the imaging efficiency is improved. And save resources and costs.
Patent Information
- Application Number
- CN201810241103.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-03-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2038-03-22
AI Technical Summary
Existing PET systems cannot output multiple synchronous reset signals/clock signals at the same time, and gated imaging when specific electrophysiological signals appear is a waste of resources and costs.
A clock distribution device is designed, including a clock module and a physiological signal probe. The clock module is composed of an active crystal oscillator, a field programmable gate array chip, a clock fan-out buffer, a tact switch and a time measurement module, which can generate synchronous clock signals. and reset signal, and communicates with the PET detector module through the Gigabit Ethernet physical layer chip to achieve multi-channel clock signal output and data filtering.
It achieves data collection synchronization between PET detector modules, outputs multiple synchronous reset and clock signals, improves the imaging efficiency of the PET system, saves resources and costs, and can filter image data of interest based on specific electrophysiological signals.
Smart Images

Figure CN108494399B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a clock system in the field of positron emission tomography, and more particularly to a clock distribution device and a PET system having the clock distribution device. Background Art
[0002] PET (Positron Emission Tomography) imaging technology is a relatively advanced clinical examination imaging technology in the field of nuclear medicine. More and more hospitals have begun to use clinical PET whole machines for auxiliary diagnosis and treatment. In PET imaging technology, the clock signal under ideal conditions is a periodic square wave with a certain amplitude and frequency, which is used to drive various electronic chips containing timing logic, such as ARM (Acorn RISC Machine) processors, FPGAs and CPUs. The unit of measurement of the frequency of the clock signal adopts the international unit Hertz (Hz). The reset signal refers to a high or low level, which is used to reset the timing logic. For the PET detector module, the reset signal is necessary. When the reset signal is released, the working state of the PET detector module is initialized and the internal pulse counter is reset to zero. The clock distribution device of the PET detector module will generate hundreds or thousands of clock / reset signals. The synchronous clock / reset signals include two situations: the first is the synchronous clock signal, that is, all clock signals are synchronized, the waveforms of all clock signals are exactly the same, and the rising edges arrive at the same time; the second is the synchronous reset signal, that is, all reset signals are synchronized, the waveforms of all reset signals are exactly the same, and they start and end at the same time.
[0003] With the development of PET imaging technology, the solution of building a PET system using multiple PET detector modules has gradually matured. In this solution, a clinical PET system for whole-body scanning needs to use hundreds of PET detector modules to form a scanning ring. The timing logic inside the PET detector module is driven by a clock signal. Each PET detector module requires a clock signal drive and a reset signal to initialize the working state. If the clock signals used by the various PET detector modules are from different sources, or the counters inside the PET detector modules are not reset to zero at the same time, the working states of the PET detector modules will be out of sync, which requires the matching clock distribution device to have the ability to output multiple reliable and synchronized clock signals or reset signals.
[0004] Under the premise of data acquisition synchronization between various PET detector modules, the PET system reconstructs and processes images based on the data collected by the PET detector modules. However, since the data acquisition of the PET detector modules is continuous in time, if a certain organ in the patient's body has a lesion, and the symptoms of this lesion only appear at a specific moment, in order to obtain the imaging images that appear at these specific moments, the method adopted by the PET system in the prior art is to process and image all the data collected continuously on the time axis, and then filter out the images that the doctor is interested in from the imaging results. In this case, the processing of the imaging results is quite time-consuming and labor-intensive, resulting in a serious waste of resources and costs.
[0005] The electrophysiological signals of the human body reflect the metabolic status of the organs to a certain extent. Selecting appropriate electrophysiological signals and performing gated imaging when the electrophysiological signals of interest appear is a way to solve this problem, which is also the current development trend of PET imaging. Summary of the invention
[0006] The purpose of the present invention is to provide a clock distribution device for a PET system, thereby solving the problem in the prior art that the PET system cannot simultaneously output multiple synchronous reset signals / clock signals and perform gated imaging according to a specific electrophysiological signal waveform.
[0007] In order to solve the above technical problems, the technical solution of the present invention is to provide a clock distribution device for a PET system, the clock distribution device includes a clock module and a physiological signal probe, the physiological signal probe is communicatively connected to the clock module, wherein the clock module includes: an active crystal oscillator, the active crystal oscillator generates a first clock signal; a field programmable gate array chip, the field programmable gate array chip has a phase-locked loop and a time measurement module, the phase-locked loop is communicatively connected to the active crystal oscillator, the phase-locked loop receives and processes the first clock signal to form a second clock signal and a third clock signal; the time measurement module is communicatively connected to the phase-locked loop to receive the third clock signal; a clock fan-out buffer, the clock fan-out buffer is communicatively connected to the phase-locked loop, the clock fan-out buffer receives and processes the second clock signal to form a synchronous clock signal; a touch A switch, wherein the touch switch is connected to the field programmable gate array chip to send a reset signal to the field programmable gate array chip, and the reset signal is processed by the field programmable gate array chip to form a synchronous reset signal; an input connector, wherein the input connector has an input end and an output end, wherein the input end is communicatively connected to the physiological signal probe, and the output end is communicatively connected to the time measurement module, the physiological signal probe sends a trigger signal to the time measurement module through the input connector, and the time measurement module forms an enable signal according to the second clock signal and the trigger signal; at least two output connectors, wherein the output connector is communicatively connected to the clock fan-out buffer to receive a synchronous clock signal, and the output connector is simultaneously connected to the communication field programmable gate array chip to receive the synchronous reset signal and the enable signal.
[0008] The phase-locked loop is integrated on the field programmable gate array chip through a single-ended input pin and a pair of differential output pins, the active crystal oscillator is connected to the phase-locked loop through the single-ended input pin, and the phase-locked loop is connected to the differential input end of the clock fan-out buffer through the differential output pin.
[0009] The clock fan-out buffer is connected to at least two output connectors in the form of PCB differential routing.
[0010] The output connector has 12 outputs in total.
[0011] The touch switch includes two modes: pressing and releasing. When the touch switch is pressed, the reset signal generated by the field programmable gate array chip is a relatively high level. When the touch switch is released, the reset signal generated by the field programmable gate array chip is a relatively low level.
[0012] The corresponding logic inside the field programmable gate array chip generates the synchronous reset signal according to the change of the relative high and low levels, and the synchronous reset signal is output to each of the output connectors in the form of a low voltage differential signal.
[0013] The clock distribution device further comprises a Gigabit Ethernet physical layer chip and a socket, wherein the Gigabit Ethernet physical layer chip is communicatively connected with the field programmable gate array chip, and the socket is connected with the Gigabit Ethernet physical layer chip.
[0014] The time measurement module includes a coarse timer and a fine timer, the coarse timer calculates the coarse time of the trigger signal according to the third clock signal, the fine timer calculates the fine time of the trigger signal according to the third clock signal, and the time measurement module measures the edge arrival time of the trigger signal according to the coarse time and the fine time to form the enable signal.
[0015] The fine timer is a delay line inside the field programmable gate array chip that outputs a temperature code. The temperature code includes a number of consecutively arranged 0s and 1s. The fine timer calculates the edge arrival time of the trigger signal based on the arrangement order and number of the 0s and 1s.
[0016] The delay line of the fine timer includes a plurality of full adders connected in series, and the fine timer calculates the fine time according to the temperature code output by the full adder.
[0017] Each of the full adders has two input terminals, one of which is input with a binary constant from the field programmable gate array chip, and the other is input with the trigger signal.
[0018] The synchronous clock signal and the synchronous reset signal are in the form of differential levels, and the enable signal complies with the single-ended level standard.
[0019] The input connector is a self-locking connector, which includes a seat and a connector. The seat is connected to the field programmable gate array chip, and the connector is connected to the physiological signal probe.
[0020] The present invention also provides a PET system utilizing the clock distribution device, the PET system comprising the clock minute device, and the PET system further comprising: a plurality of PET detector modules, the PET detector modules being respectively connected to the output connectors of the clock distribution device; a switch, the switch being connected to the field programmable gate array chip of the clock distribution device via a Gigabit Ethernet physical layer chip and a socket to receive the first clock signal, the second clock signal, the third clock signal and the synchronization clock signal, the switch being communicatively connected to the PET detector modules; and a client, the client being communicatively connected to the switch to receive data sent by the switch.
[0021] There are twelve output connectors and twelve PET detector modules, and each output connector is connected to a corresponding PET detector module.
[0022] The PET detector module is provided with three line connectors, which match the output connector and are connected through cables to respectively receive the synchronous clock signal, the enable signal and the synchronous reset signal.
[0023] The PET detector module and the switch are connected to each other via a Category 6 network cable.
[0024] The synchronous clock signal and the synchronous reset signal are in the form of differential levels, and the enable signal complies with the single-ended level standard.
[0025] Each of the output connectors has five pins for data transmission, wherein a pair of the pins are connected to the clock fan-out buffer to receive the synchronous clock signal, another pair of the pins are connected to the field programmable gate array chip to receive the synchronous reset signal, and the field programmable gate array chip is also connected to the remaining one of the pins to transmit the enable signal.
[0026] The touch switch includes two modes: pressed and released. When the touch switch is pressed, the reset signal generated by the field programmable gate array chip is a relatively high level. When the touch switch is released, the reset signal generated by the field programmable gate array chip is a relatively low level.
[0027] The corresponding logic inside the field programmable gate array chip generates the synchronous reset signal according to the change of the relative high and low levels, and the synchronous reset signal is output to each of the output connectors in the form of a low voltage differential signal.
[0028] The time measurement module includes a coarse timer and a fine timer, wherein the coarse timer calculates the coarse time of the trigger signal according to the third clock signal, and the fine timer calculates the fine time of the trigger signal according to the third clock signal. The time measurement module measures the edge arrival time of the trigger signal according to the coarse time and the fine time to form the enable signal.
[0029] The fine timer is a delay line inside the field programmable gate array chip that outputs a temperature code. The temperature code includes a number of consecutively arranged 0s and 1s. The fine timer calculates the edge arrival time of the trigger signal based on the arrangement order and number of the 0s and 1s.
[0030] The delay line of the fine timer includes a plurality of full adders connected in series, and the fine timer calculates the fine time according to the temperature code output by the full adder.
[0031] Each of the full adders has two input terminals, one of which is input with a binary constant from the field programmable gate array chip, and the other is input with the trigger signal.
[0032] The multi-channel clock distribution device for PET system provided by the present invention solves the problem of data acquisition synchronization between various detectors in the digital PET system, and has two functions: first, outputting multi-channel synchronous reset signals and synchronous clock signals; second, screening the imaging data output by the PET detector module. For the first function, the clock distribution device continuously outputs multi-channel synchronous clock signals, each of which is connected to a digital PET detector module to drive the timing logic inside the digital PET detector module, so that the PET detector modules work synchronously. For the second function, the multi-channel clock distribution device of the present invention can filter the imaging data output by the PET detector module in two ways, and assist the digital PET system to obtain the image of interest more quickly: the first way: the multi-channel clock distribution device provides a reference clock for the digital PET system, and the clock distribution device itself also uses the clock as a reference to record the time when a specific electrophysiological signal appears, and then transmits this time information to the client. The client filters the data collected by the digital PET detector module on the time axis according to this time information, and only retains the data in the time interval when the electrophysiological signal appears. The PET system only processes the filtered data to obtain the image of interest; the second way: the data collection of the PET detector module is real-time, and the multi-channel clock distribution device sends an enable signal to the PET detector module. Only when the enable signal is "1", the PET detector module transmits data. The multi-channel clock distribution device sets the transmission enable signal to "1" in the time interval when the specific electrophysiological signal appears, and sets the transmission enable signal to "0" at other times, realizing the screening of PET imaging data at the detector level, greatly improving the imaging efficiency of the PET system and saving costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a schematic diagram of the structural arrangement of a clock distribution device according to a preferred embodiment of the present invention;
[0034] Figure 2 is a schematic diagram of the principle of reset signal sampling of a clock distribution device according to a preferred embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of the principle of delay line detection of a clock distribution device according to a preferred embodiment of the present invention, wherein the delay line detects a rising edge of a signal;
[0036] Figure 4 is a schematic diagram of the principle of delay line detection of a clock distribution device according to a preferred embodiment of the present invention, wherein the delay line detects a falling edge of a signal;
[0037] Figure 5 is based on Figure 1A schematic diagram of the measurement principle of a time measurement module of a clock distribution device;
[0038] Figure 6 is a schematic diagram of measuring the edge arrival time of a trigger signal of a clock distribution device according to a preferred embodiment of the present invention;
[0039] Figure 7 It is a connection diagram of a PET system with a clock distribution device according to a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0040] The present invention is further described below in conjunction with specific examples. It should be understood that the following examples are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0041] Figure 1 is a schematic diagram of a clock distribution device according to an embodiment of the present invention, Figure 1It can be seen that the clock distribution device 1 of the present invention includes a clock module, which includes an active crystal oscillator 10, a field programmable gate array (hereinafter referred to as FPGA) chip 20, a clock fan-out buffer 30, a touch switch 40, an output connector 50 and an input connector 60, wherein a phase-locked loop 21 and a time measurement module 22 are provided on the field programmable gate array chip 20, the active crystal oscillator 10 and the phase-locked loop 21 are connected through a pin of the field programmable gate array chip, the active crystal oscillator 10 generates a first clock signal a and sends the first clock signal a to the phase-locked loop 21; the phase-locked loop 21 is connected to a pair of differential input terminals of the clock fan-out buffer 30 through a pair of differential output pins of the field programmable gate array chip 20, and the phase-locked loop 21 receives the first clock signal a and performs frequency multiplication and frequency division processing to form a second clock signal b, and the second clock signal b is a low-voltage differential signal (Low-VoltageDifferential Signaling, LVDS), the phase-locked loop 21 sends the second clock signal b to the clock fan-out buffer 30; the phase-locked loop 21 is connected to the time measurement module 22 at the same time, and the phase-locked loop 21 can convert the first clock signal a into a third clock signal c and send it to the time measurement module 22; the touch switch 40 is connected to the field programmable gate array chip 20 through a pair of pins, and when the touch switch 40 is pressed and released, the output of the touch switch 40 can switch between relatively high and low levels f, and the field programmable gate array chip 20 can sample the high and low levels f output by the touch switch 40 through the first clock signal a received by the phase-locked loop 21; then, the field programmable gate array chip 20 can The corresponding logic inside the field programmable gate array chip 20 generates twelve reset signals, which are output to twelve output connectors 50 in the form of a second low-voltage differential signal n through the pins of the field programmable gate array chip 20; the input connector 60 is connected to the time measurement module 22 in communication, and the trigger signal s generated by the physiological signal probe 2 enters the time measurement module of the field programmable gate array chip 20 through the input connector 60; the clock fan-out buffer 30 is connected to at least two output connectors 50 in the form of PCB differential routing, and the clock fan-out buffer 30 forms a synchronous clock signal e according to the second clock signal b and outputs the synchronous clock signal e through the output connector 50;
[0042] It is worth noting that in Figure 1 In the embodiment, the phase-locked loop 21 is integrated on the field programmable gate array chip 20, the phase-locked loop 21 is connected between a single-ended input pin and a pair of differential output pins of the field programmable gate array chip 20, the active crystal oscillator 10 is connected to the phase-locked loop 21 through the single-ended input pin, and the phase-locked loop 21 is connected to one pair of differential input terminals of the clock fan-out buffer 30 through the differential output pin, so that the phase-locked loop 21 can output the second clock signal b to the clock fan-out buffer 30.
[0043] exist Figure 1 In the embodiment of the present invention, the clock distribution device 1 also includes a Gigabit Ethernet physical layer chip 70 and a socket 80, wherein the Gigabit Ethernet physical layer chip 70 is communicatively connected to the field programmable gate array chip, the socket 80 is communicatively connected to the Gigabit Ethernet physical layer chip 70, and the clock module is communicatively connected to the client through the socket 80, the Gigabit Ethernet physical layer chip 70, and the client, so that the user can send instructions from the client to the clock module through the matching host computer software, and modify the parameters of the phase-locked loop 21 in real time, so as to achieve the purpose of modifying the frequency, phase, duty cycle and other parameters of the clock signal. The communication connection between the Gigabit Ethernet physical layer chip 70 and the socket 80 and the field programmable gate array chip 20 can be completed in any form, for example, first connected to the communication chip through several pins of the field programmable gate array chip, and then connected to the Gigabit Ethernet port and the serial port by the communication chip, which will not be repeated here.
[0044] The following is combined with Figure 1 The working mode of the clock module of the present invention is described in detail with specific embodiments.
[0045] (I) Generation and output of clock signals:
[0046] The active crystal oscillator 10 generates a first clock signal a with a frequency of 50MHz and an amplitude of 3.3V. The first clock signal a is input into the phase-locked loop 21, and the phase-locked loop 21 performs frequency multiplication and frequency division on the first clock signal a, and then outputs it to the clock fan-out buffer 30 in the form of a second clock signal b through a pair of differential output pins of the field programmable gate array chip 20. The clock fan-out buffer 30 fans out the clock signal from the phase-locked loop 21 into twelve synchronous clock signals e. The synchronous clock signal e is in the form of low voltage positive emitter coupled logic (LVPECL), and then passes through some termination resistors and capacitors, and is finally connected to the twelve output connectors 50 through strict PCB (printed circuit board) differential routing. At the same time, the clock module can be connected through Figure 1 The socket 80, the Gigabit Ethernet physical layer chip 70 and the client communicate. The user uses the matching host computer software to send instructions from the client to the clock module to modify the parameters of the phase-locked loop 21 in real time, thereby achieving the purpose of modifying the frequency, phase, duty cycle and other parameters of the synchronous clock signal e.
[0047] (II) Generation and output of reset signal:
[0048] Since the phase-locked loop 21 is integrated on the field programmable gate array chip 20, the field programmable gate array chip 20 can sample the high and low levels f output by the touch switch 40 through the first clock signal a received by the phase-locked loop 21, such as Figure 2 As shown, the phase relationship between the first clock signal a and the high and low levels f before sampling is uncertain. After sampling by the field programmable gate array chip 20, the first clock signal a and the high and low levels f' can be adjusted to be consistent, that is, the first clock signal a and the high and low levels f' after sampling are synchronized. The high and low levels f' after sampling are further divided into 12 paths by the field programmable gate array chip 20, and then connected to 12 pairs of differential pins of the field programmable gate array chip 20 through 12 fast output registers, as 12 synchronous reset signals n, these synchronous reset signals n are output in the form of LVDS level through the pins of the field programmable gate array chip, and the synchronous reset signal n is then connected to twelve output connectors 50 through some termination resistors and capacitors. Finally, it is connected to the twelve output connectors 50 through strict PCB differential routing. The fast output register is a special trigger, and its function is to make the delay from the 12 synchronous reset signals n to the pins of the FPGA chip 20 to 0, so as to ensure the synchronization between the reset signals. The user can also use the matching host computer software to send a reset instruction from the client to the clock module. The reset instruction includes the reset duration, so the reset duration can be customized.
[0049] (III) Screening of digital PET detector output data
[0050] The clock distribution device 1 is provided with a physiological signal probe 2, and the physiological signal probe 2 and the clock module of the clock distribution device 1 are connected through an input connector 60. The input connector 60 can adopt a pair of self-locking connectors (self-locking connectors), and the self-locking connector includes a seat and a connector. The seat is installed on one side of the clock module, and the connector is installed on one side of the physiological signal probe 2. The connector of the self-locking connector is pushed into the seat axially, and the bayonet inside the self-locking connector is engaged together to connect the connector and the seat; press both sides of the connector and push out the connector of the self-locking connector to disconnect. The input connector 60 ensures a firm connection between the physiological signal probe 2 and the clock module, and also facilitates the disassembly and upgrade of the physiological signal probe 2. On the premise that the model of the input connector 60 is determined, the user can design a pluggable physiological signal probe 2 for different application scenarios.
[0051] When the clock distribution device 1 is working, the physiological signal probe 2 converts the electrophysiological signal of the object to be measured into a trigger signal s in real time. The trigger signal s is a single-channel square wave signal, which has only two relatively high and low states. When a specific electrophysiological signal, such as an electrocardiogram, an electroencephalogram, or an electromyogram signal, appears, the trigger signal s output by the physiological signal probe 2 becomes a high level, and in other cases, the trigger signal s maintains a low level state. The trigger signal s is connected to the time measurement module 22 of the field programmable gate array chip 20 through the input connector 60. The time measurement module 22 of the field programmable gate array chip 20 receives and processes the trigger signal s, and at the same time generates 12-way enable signals m inside the field programmable gate array chip. The enable signal m is connected to the corresponding PET detector module through the 12-way output detector 50, thereby controlling the PET detector module to collect data. The trigger signal s is any signal that meets the LVDS level standard, such as a gated signal generated by a signal generator. In the time interval when the trigger signal s is at a high level, the data collected by the PET detector module is valid, and in the time interval when the trigger signal s is at a low level, the data collected by the PET detector module is invalid.
[0052] The clock distribution device 1 of the present invention supports two modes of data screening:
[0053] In the first imaging data screening mode, the clock distribution device 1 uses the time measurement module 22 inside the field programmable gate array chip 20 as a time-to-digital converter. The function of the time-to-digital converter is to measure the edge arrival time (including the rising edge and the falling edge) of the trigger signal s and determine when the trigger signal s is at a high level and when it is at a low level, and then output an enable signal m and control the screening of imaging data. The time-to-digital converter includes a coarse counter and a fine counter 222. The coarse time value output by the coarse counter and the fine time value output by the fine counter 222 are combined according to a certain relationship to obtain the edge arrival time of the trigger signal s.
[0054] Since the phase-locked loop 21 can convert the first clock signal a into the third clock signal c and send it to the time measurement module 22, the third clock signal c is used to drive the coarse counter in the time measurement module 22. After each clock cycle, the count value output by the coarse counter is increased by 1. The coarse time under the current third clock signal c can be obtained by multiplying the current accumulated count value by one clock cycle. When the edge of the trigger signal s arrives, the time-to-digital converter records the coarse count output value of the coarse counter at this moment, which is recorded as N, where N is a natural number. If the clock cycle is recorded as Tc, then the coarse time when the edge of the trigger signal s arrives can be expressed as N*Tc. The time measurement accuracy of the coarse counter is one clock cycle, but for the field programmable gate array chip 20, the frequency of the third clock signal c cannot be increased indefinitely. If the time measurement accuracy is to be further improved, it needs to be achieved through a fine counter.
[0055] The fine counter 222 is a delay line for outputting a temperature code inside the field programmable gate array chip 20, wherein the temperature code is composed of a number of 0s and 1s. The characteristic of the temperature code is that one side along the delay line is all 0s, and the other side is all 1s, and the number of 0s and 1s is in a relationship of increase and decrease, and the sum of the number of 0s and the number of 1s is equal to the total length of the temperature code. For example, a temperature code is 11100000, which includes 3 1s and 5 0s. The intersection of 0 and 1 represents the edge of the trigger signal s to be tested. By counting the number of 0s or 1s and multiplying it by the time length represented by each 0 or 1, the time length of the edge of the trigger signal s to be tested on the delay line can be calculated, and this time length is the fine time. With the help of the delay line, the time measurement accuracy of the time-to-digital converter can be improved to less than 100 picoseconds.
[0056] like Figure 3 As shown, the clock distribution device 1 uses the logic unit inside the field programmable gate array chip 20 to form a delay line of a fine counter 222. The essence of the delay line is a serial adder composed of a plurality of full adders 223. Each full adder 223 has a carry input and a carry output port. The carry input port of the adjacent full adder 223 is connected to the carry output port of the previous full adder 223. For the convenience of description, Figure 3 Only one serial adder with a bit width of 8 bits is shown, and the serial adder includes 8 full adders 223. Each full adder 223 has two input terminals, one input terminal 224 is set to an 8-bit binary constant 11111111, and the other input terminal 225 is a digitized trigger signal s to be tested. When the rising edge of the trigger signal s to be tested is transmitted inside the serial adder through the input terminal 225, the digital level of the trigger signal s to be tested changes from 0 to 1, and the calculation result of the serial adder does not immediately become all 0, but the calculation result of the full adder 223 closest to the trigger signal s to be tested becomes 0, and the 0 is the temperature code corresponding to the full adder 223, and then the carry signal of the full adder 223 changes from 0 to 1, and is transmitted to the input port of the next-stage full adder 223 through the output port of the full adder 223; then the calculation result of the full adder 223 at the second stage becomes 0, and the carry signal of the second-stage full adder 223 changes from 0 to 1, and is then transmitted to the next-stage full adder 223, and so on, and the part less than 8 bits is padded with 0. The transmission of the carry signal takes time. The time interval from the Nth full adder generating the carry signal to the N+1th full adder generating the carry signal is usually less than 100 picoseconds, and the number of 0s in the temperature code increases by 1 every time the carry signal is transmitted one level.
[0057] Similarly, if Figure 4As shown, when the falling edge of the trigger signal s to be tested is transmitted inside the serial adder through the input terminal 225, the digital level of the trigger signal s to be tested changes from 1 to 0, and the calculation result of the serial adder does not immediately become all 1, but the calculation result of the full adder 223 closest to the trigger signal s to be tested becomes 1, and its carry signal changes from 1 to 0 and is transmitted to the next level until the calculation results of all full adders 223 become 1.
[0058] The time measurement module 22 uses the third clock signal c to sample the temperature code output by the delay line. Figure 3 As shown, when the highest bit (MSB) side of the temperature code on the delay line is 1 and the lowest bit (LSB) side is 0 at a certain moment, it indicates that the rising edge of the trigger signal s to be tested is detected. At this time, the time measurement module 22 counts the number of 0s in the temperature code output on the delay line as a detailed count output value. Figure 4 As shown in FIG. 1 , when the highest bit (MSB) side of the temperature code on the delay line is 0 and the lowest bit (LSB) side is 1 at a certain moment, it indicates that the falling edge of the trigger signal s to be tested is detected. At this time, the time measurement module 22 counts the number of 1s in the temperature code output on the delay line as the fine count output value. More specifically, for Figure 3 and Figure 4 In the 8-bit temperature code shown in FIG, the number of 1s or 0s contained in the temperature code is 0 to 8, which can be represented by a 4-bit binary number; however, in the present invention, the time-to-digital converter can also use a 128-bit temperature code, and the number of 1s or 0s contained in the temperature code is 0 to 128, which can be represented by an 8-bit binary number. The conversion process from the temperature code to the fine count output value is completed by an encoder in the time measurement module 22.
[0059] For each edge of the trigger signal s, the time measurement module 22 will give a coarse time and a fine time, such as Figure 5 As shown, the edge arrival time of the trigger signal s is T=Tc×N-To×M, wherein the coarse time is Tc×N, the fine time is To×M, Tc is a known clock cycle, N is the coarse count, To is the average time for the carry of the full adder 223 at each stage of the delay line, and M is the fine count output value.
[0060] The average time for the full adder 223 to carry in each stage of the delay line can be obtained in advance through a calibration step. Since the fine count output value is latched once every clock cycle, the maximum value of the fine time represented by the fine count output value is one cycle of the clock signal. Input enough random signals unrelated to the clock signal to the delay line, obtain the temperature code by statistics, and find the largest fine count output value. Then divide the maximum fine count output value by one clock cycle to obtain the average time for the full adder 223 to carry in each stage of the delay line.
[0061] like Figure 6 As shown, the time measurement module 22 measures the time when the trigger signal s switches between the low level and the high level. Each trigger time point occupies a data bit width of 56 bits. The trigger time points Pm and Nm (m=1, 2, 3), plus the 16-bit bit width flag, total 128 bits, can represent a period of trigger high level, and are output to the client as an event through the Gigabit Ethernet physical layer chip 70 and the socket 80. The data transmission complies with the TCP / IP protocol. The number of events contained in each TCP message is between 1 and 1000, which can be specified by modifying the parameters in the hardware description language code of the clock distribution device. The client receives the data packet sent by the clock distribution device, calculates the edge arrival time of the trigger signal, restores the shape of the trigger signal, and then filters out the data collected by the corresponding PET detector module during the time period when the trigger signal is at a high level.
[0062] In the second imaging data screening mode, the trigger signal s collected by the physiological signal probe 2 is sent to the field programmable gate array chip 20 through the input connector 60. The trigger signal s is synchronized with the second clock signal b and the third clock signal c under the action of the time measurement module 22. At the same time, the field programmable gate array chip 22 divides the trigger signal s into 12 enable signals m, which are output to the PET detector module through the output connector 50. The enable signal m controls the data transmission of the PET detector, so that the PET detector transmits data to the client only during the time period when the trigger signal s is at a high level (i.e., triggered), so that the imaging data is collected and screened at the same time.
[0063] Figure 7 FIG. 1 is a connection diagram of a PET system using the clock distribution device according to a preferred embodiment of the present invention. Figure 7 It can be seen that the PET system provided by the present invention includes Figure 1 The clock minute device 1, wherein the physiological signal probe 2 and the clock module of the clock distribution device 1 are connected via a pair of input connectors 60 ( Figure 1 ) communication connection, the clock module of the clock distribution device 1 is connected through the output connector 50 ( Figure 1 ) is communicatively connected with multiple PET detector modules 3, each output connector 50 is connected to a corresponding PET detector module 3, the PET detector module 3 is communicatively connected with the switch 4 via a network cable, the clock distribution device 1 is communicatively connected with the switch 4 via a Gigabit Ethernet physical layer chip and a socket 80, and the switch 4 is communicatively connected with the client 5.
[0064] When the clock distribution device 1 is working, the physiological signal probe 2 converts the electrophysiological signal of the biological body to be tested into a trigger signal s in real time. Only when a specific electrophysiological signal appears, the trigger signal s output by the physiological signal probe 2 is at a high level. The trigger signal s is a single-channel square wave signal with only two states, low level and high level. The trigger signal s is sent to the field programmable gate array chip 20 of the clock distribution device 1 through the input connector.
[0065] The clock distribution device 1 has 12 output connectors 50, each of which has 5 pins for data transmission. Since the synchronous clock signal e and the synchronous reset signal n are both output in the form of differential levels, the synchronous clock signal e occupies a pair of pins of the output connector 50; the synchronous reset signal n occupies a pair of pins of the output connector 50; and the enable signal m, since it complies with the single-ended level standard, uses the remaining pin of the output connector 50 to control the data transmission of the PET detector module 3. Specifically, three line connectors are provided on each PET detector module 3 for the transmission of the synchronous clock signal e, the synchronous reset signal n, and the enable signal m. These line connectors match the output connector 50 on the clock distribution device 1, that is, they are of the same model and have matching cables, such as Figure 7 As shown by the arrows, each cable can integrate three line connectors, so that one output connector 50 is connected to one PET detector module 3 through only one cable. The PET detector module 3 and the switch 4 can be connected through a Category 6 network cable to transmit data.
[0066] When the PET detector module 3 is working normally, the synchronous clock signal e output by the clock distribution device 1 is continuously sent to the PET detector module 3 through the output connector and the cable to drive the timing logic inside the PET detector module 3 to work. The synchronous reset signal n maintains a high level when the PET detector module 3 is working. Only when the working state of the PET detector module 3 needs to be initialized, the synchronous reset signal n will be changed to a low level to reset the timing logic inside the PET detector module 3. The synchronous reset signal n is released after a period of time and then becomes a high level again. If the number of PET detector modules 3 connected to the clock distribution device 1 is greater than 1, after experiencing the "high-low-high" change process of the synchronous reset signal n, the multiple PET detector modules 3 will be synchronized. The enable signal m output by the clock distribution device 1 to the PET detector module 3 is 1 by default.
[0067] The user controls the filtering mode of the output data of the fully digital PET detector module 3 through the upper computer software in the client 5, and the clock distribution device 1 adopts the first imaging data filtering mode mentioned above by default. At this time, the enable signal m output by the clock distribution device 1 is always 1, the PET detector module 3 continuously transmits data to the switch 4, and the switch 4 continuously transmits data to the client 5. After the client receives the edge arrival time information of the trigger signal s sent by the clock distribution device 1, it restores the shape of the trigger signal s, filters out the data collected by the PET detector module corresponding to the time period when the trigger signal s is high, and then uses the filtered data for imaging.
[0068] In the second imaging data screening mode, the clock distribution device 1 divides the trigger signal s into 12 enable signals m, and outputs them to the PET detector module 3 through the output connector, thereby controlling the data transmission of the PET detector module 3, so that the PET detector transmits data only during the time period when the trigger signal is at a high level, so that the imaging data is collected and screened simultaneously, and the client 5 directly uses the data transmitted by the PET detector 3 for imaging.
[0069] The multi-channel clock distribution device 1 for a digital PET system provided by the present invention has two functions at the same time: first, outputting multi-channel synchronous reset signals and synchronous clock signals; second, screening imaging data output by a PET detector module.
[0070] For the first function, the clock distribution device continuously outputs multiple synchronous clock signals, each of which is connected to a digital PET detector module to drive the timing logic inside the digital PET detector module to enable the PET detector module to work normally. The clock distribution device can also output multiple synchronous reset signals, each of which is also connected to a digital PET detector module, but the synchronous reset signal is not continuous. The reset signal only appears when the working state of the PET detector module needs to be initialized. The internal timers of all PET detector modules are reset to zero under the action of the synchronous reset signal, and the data cache is cleared. After the synchronous reset signal disappears, all PET detector modules resume working, the time axes of the PET detector modules are aligned, and the synchronous state is entered.
[0071] As for the second function, since the data acquisition of the traditional PET detector module is continuous in time, if a certain organ in the patient's body is diseased, but the symptoms only appear at a specific time, the PET system can only process all the acquired data, continuously image on the time axis, and then filter out the images that the doctor is interested in from the imaging results. In this case, the processing of the imaging results is time-consuming and laborious, and needs to be simplified to have practical value. The multi-channel clock distribution device of the present invention can filter the imaging data output by the PET detector module in two ways, and assist the digital PET system to obtain the image of interest more quickly.
[0072] The first method: A multi-channel clock distribution device provides a reference clock for the digital PET system. The clock distribution device itself also uses this clock as a reference to record the time when a specific electrophysiological signal occurs, and then transmits this time information to the client. The client filters the data collected by the digital PET detector module on the time axis based on this time information, and only retains the data in the time interval when the electrophysiological signal appears. The PET system only needs to process the filtered data to obtain the image of interest, which greatly improves the efficiency of imaging.
[0073] The second method: the data acquisition of the PET detector module is real-time, and the multi-channel clock distribution device sends an enable signal to the PET detector module. Only when the enable signal is "1", the PET detector module transmits data. The multi-channel clock distribution device sets the transmission enable signal to "1" during the time interval when a specific electrophysiological signal appears, and sets the transmission enable signal to "0" at other times, thereby realizing the screening of PET imaging data at the detector level.
[0074] The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The above embodiment of the present invention can also be modified in various ways. That is, all simple, equivalent changes and modifications made according to the claims and the description of the present invention fall within the scope of protection of the claims of the present invention. The contents not described in detail in the present invention are all conventional technical contents.
Claims
1. A clock distribution device, It is characterized in that The clock distribution device includes a clock module and a physiological signal probe, wherein the physiological signal probe is communicatively connected with the clock module, wherein the clock module includes: An active crystal oscillator, wherein the active crystal oscillator generates a first clock signal; A field programmable gate array chip, wherein the field programmable gate array chip has a phase-locked loop and a time measurement module, wherein the phase-locked loop is communicatively connected to the active crystal oscillator, and the phase-locked loop receives and processes the first clock signal to form a second clock signal and a third clock signal; and the time measurement module is communicatively connected to the phase-locked loop to receive the third clock signal; a clock fan-out buffer, the clock fan-out buffer being communicatively connected to the phase-locked loop, the clock fan-out buffer receiving and processing the second clock signal to form a synchronous clock signal; A touch switch, wherein the touch switch is connected to the field programmable gate array chip to send a reset signal to the field programmable gate array chip, and the reset signal is processed by the field programmable gate array chip to form a synchronous reset signal; an input connector, the input connector having an input end and an output end, wherein the input end is communicatively connected to the physiological signal probe, and the output end is communicatively connected to the time measurement module, the physiological signal probe sends a trigger signal to the time measurement module through the input connector, and the time measurement module forms an enable signal according to the second clock signal and the trigger signal; At least two output connectors, the output connectors are communicatively connected to the clock fan-out buffer to receive a synchronous clock signal, and the output connectors are simultaneously connected to the communication field programmable gate array chip to receive the synchronous reset signal and the enable signal; The time measurement module includes a coarse timer and a fine timer, the coarse timer calculates the coarse time of the trigger signal according to the third clock signal, the fine timer calculates the fine time of the trigger signal according to the third clock signal, and the time measurement module measures the edge arrival time of the trigger signal according to the coarse time and the fine time to form the enable signal.
2. The clock distribution device according to claim 1, It is characterized in that The phase-locked loop is integrated on the field programmable gate array chip through a single-ended input pin and a pair of differential output pins, the active crystal oscillator is connected to the phase-locked loop through the single-ended input pin, and the phase-locked loop is connected to the differential input end of the clock fan-out buffer through the differential output pin.
3. The clock distribution device according to claim 1, It is characterized in that The clock fan-out buffer is connected to at least two output connectors in the form of PCB differential routing.
4. The clock distribution device according to claim 3, It is characterized in that The output connector has 12 outputs in total.
5. The clock distribution device according to claim 1, It is characterized in that The touch switch includes two modes: pressing and releasing. When the touch switch is pressed, the reset signal generated by the field programmable gate array chip is a relatively high level. When the touch switch is released, the reset signal generated by the field programmable gate array chip is a relatively low level.
6. The clock distribution device according to claim 5, It is characterized in that The corresponding logic inside the field programmable gate array chip generates the synchronous reset signal according to the change of the relative high and low levels, and the synchronous reset signal is output to each of the output connectors in the form of a low voltage differential signal.
7. The clock distribution device according to claim 1, It is characterized in that The clock distribution device further comprises a Gigabit Ethernet physical layer chip and a socket, wherein the Gigabit Ethernet physical layer chip is communicatively connected with the field programmable gate array chip, and the socket is connected with the Gigabit Ethernet physical layer chip.
8. The clock distribution device according to claim 1, It is characterized in that The fine timer is a delay line inside the field programmable gate array chip that outputs a temperature code. The temperature code includes a number of consecutively arranged 0s and 1s. The fine timer calculates the edge arrival time of the trigger signal based on the arrangement order and number of the 0s and 1s.
9. The clock distribution device according to claim 8, It is characterized in that The delay line of the fine timer includes a plurality of full adders connected in series, and the fine timer calculates the fine time according to the temperature code output by the full adder.
10. The clock distribution device according to claim 9, It is characterized in that Each of the full adders has two input terminals, one of which is input with a binary constant from the field programmable gate array chip, and the other is input with the trigger signal.
11. The clock distribution device according to claim 1, It is characterized in that The synchronous clock signal and the synchronous reset signal are in the form of differential levels, and the enable signal complies with the single-ended level standard.
12. The clock distribution device according to claim 1, It is characterized in that The input connector is a self-locking connector, which includes a seat and a connector. The seat is connected to the field programmable gate array chip, and the connector is connected to the physiological signal probe.
13. A PET system using the clock distribution device according to claim 1, It is characterized in that The PET system includes the clock minute device, and the PET system also includes: A plurality of PET detector modules, wherein the PET detector modules are respectively connected to the output connectors of the clock distribution device; A switch, wherein the switch is connected to the field programmable gate array chip of the clock distribution device through a Gigabit Ethernet physical layer chip and a socket to receive the first clock signal, the second clock signal, the third clock signal and the synchronization clock signal, and the switch is communicatively connected to the PET detector module; and A client is connected to the switch for communication so as to receive data sent by the switch.
14. The PET system according to claim 13, It is characterized in that There are twelve output connectors and twelve PET detector modules, and each output connector is connected to a corresponding PET detector module.
15. The PET system according to claim 14, It is characterized in that The PET detector module is provided with three line connectors, which match the output connector and are connected through cables to respectively receive the synchronous clock signal, the enable signal and the synchronous reset signal.
16. The PET system according to claim 14, It is characterized in that The PET detector module and the switch are connected to each other via a Category 6 network cable.
17. The PET system according to claim 13, It is characterized in that The synchronous clock signal and the synchronous reset signal are in the form of differential levels, and the enable signal complies with the single-ended level standard.
18. The PET system according to claim 17, It is characterized in that Each of the output connectors has five pins for data transmission, wherein a pair of the pins are connected to the clock fan-out buffer to receive the synchronous clock signal, another pair of the pins are connected to the field programmable gate array chip to receive the synchronous reset signal, and the field programmable gate array chip is also connected to the remaining one of the pins to transmit the enable signal.
19. The PET system according to claim 13, It is characterized in that The touch switch includes two modes: pressing and releasing. When the touch switch is pressed, the reset signal generated by the field programmable gate array chip is a relatively high level. When the touch switch is released, the reset signal generated by the field programmable gate array chip is a relatively low level.
20. The PET system according to claim 13, It is characterized in that The corresponding logic inside the field programmable gate array chip generates the synchronous reset signal according to the changes of the relative high and low levels, and the synchronous reset signal is output to each of the output connectors in the form of a low voltage differential signal.
21. The PET system according to claim 13, It is characterized in that The fine timer is a delay line inside the field programmable gate array chip that outputs a temperature code. The temperature code includes a number of consecutively arranged 0s and 1s. The fine timer calculates the edge arrival time of the trigger signal based on the arrangement order and number of the 0s and 1s.
22. The PET system according to claim 21, It is characterized in that The delay line of the fine timer includes a plurality of full adders connected in series, and the fine timer calculates the fine time according to the temperature code output by the full adder.
23. The PET system according to claim 22, It is characterized in that Each of the full adders has two input terminals, one of which is input with a binary constant from the field programmable gate array chip, and the other is input with the trigger signal.
