The utility model content
In view of this, the purpose of this utility model is to provide a kind of digitized device of scintillation pulse that can avoid usage comparison device, raising device integrated level, reduce system power dissipation.
For achieving the above object, this utility model provides following technical scheme:
The digitized device of a kind of scintillation pulse, it comprises:
The scintillation pulse converting unit, in order to realize the dc offset voltage V_bias output of scintillation pulse, described scintillation pulse converting unit comprises dc bias circuit, the described sampling pulse for the treatment of accesses an end of supporting the input and output pin able to programme of low-voltage differential signal transmission agreement in the field programmable gate array afterwards through the dc offset voltage V_bias that described dc bias circuit acquisition is divided into the m road, wherein, m is less than 512 integer greater than 1;
The threshold value comparing unit is in order to export a state transition and threshold voltage corresponding to this state transition when set any threshold voltage is crossed in scintillation pulse; This threshold value comparing unit is made of m Low Voltage Differential Signal input port, this Low Voltage Differential Signal input port is used for realizing treating the comparison of sampling pulse and threshold voltage V_th, exports saltus step and the corresponding threshold voltage of this state transition of a state when the amplitude for the treatment of sampling pulse is crossed threshold voltage;
The time figure unit, carry out digitized in order to the moment to state transition, p time figure transducer realized in the programmable gate array at the scene in described time figure unit, jumping moment to above-mentioned state carries out digitized and identifies threshold voltage corresponding to this state transition, obtain scintillation pulse to be sampled and cross the time of threshold voltage, wherein p is less than 512 integer greater than 1;
Date processing and transmission unit in order to integrate with transmission by the voltage time for the treatment of sampling pulse of threshold value comparing unit and the acquisition of time figure unit pair, are finished the digitized of scintillation pulse.
Preferably, in the digitized device of above-mentioned scintillation pulse, described threshold value comparing unit mesolow differential signal receiving port is formed by the input and output pin configuration able to programme in the field programmable gate array, wherein directly do not obtain to be further divided into the m road behind the direct current bias voltage V_bias through dc bias circuit along separate routes until sampling pulse, an end of Low Voltage Differential Signal receiving port is accessed respectively on every road, pin other end access reference voltage V_reference; Wherein, the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Preferably, in the digitized device of above-mentioned scintillation pulse, described threshold value comparing unit mesolow differential signal receiving port is formed by the input and output pin configuration able to programme in the field programmable gate array, treat that wherein sampling pulse is divided into first the m road, then every road obtains respectively an end of access Low Voltage Differential Signal receiving port behind the direct current bias voltage V_bias through dc bias circuit, pin other end access reference voltage V_reference; Wherein, the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Preferably, in the digitized device of above-mentioned scintillation pulse, described threshold value comparing unit mesolow differential signal receiving port is formed by the input and output pin configuration able to programme in the field programmable gate array, wherein after being divided into the m road, sampling pulse accesses an end of Low Voltage Differential Signal receiving port, pin other end access reference voltage V_reference; Wherein, the pass between described reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th.
Preferably, in the digitized device of above-mentioned scintillation pulse, described threshold value comparing unit mesolow differential signal receiving port can be also that positive polarity emitter-coupled logic receiver port or emitter-coupled logic receiver port or CML signal are accepted port or miniature low-voltage differential signal accepts port or low-swing difference signal is accepted port or the bus-type Low Voltage Differential Signal is accepted port.
Preferably, in the digitized device of above-mentioned scintillation pulse, described threshold value comparing unit mesolow differential signal receiving port also can be to have positive-negative input end and accepts port by the digital signal of positive-negative input end voltage difference judgement logic state signal.
Preferably, in the digitized device of above-mentioned scintillation pulse, the employed digital differential receiver port of the threshold value comparison circuit in the described threshold value comparing unit is made of special integrated chip.
Can find out from technique scheme, this utility model utilizes in the field programmable gate array digital differential Interface realization threshold ratio, obtain the voltage time pair of scintillation pulse, thereby realize the digitized of scintillation pulse, simplified greatly system structure, improve the integrated level of system, reduced system power dissipation.
Compared with prior art, the beneficial effects of the utility model are:
(1) avoids the usage comparison device, saved cost, improved the device integrated level, reduced system power dissipation.
(2) utilize in the field programmable gate array digital differential Interface realization threshold ratio, obtain the voltage time pair of scintillation pulse, thereby realize the digitized of scintillation pulse, simplified system structure.
The specific embodiment
The utility model discloses a kind of scintillation pulse method for digitizing and the device that can avoid usage comparison device, raising device integrated level, reduce system power dissipation.
Below in conjunction with the accompanying drawing among this utility model embodiment, the technical scheme among this utility model embodiment is described in detail, obviously, described embodiment only is this utility model part embodiment, rather than whole embodiment.Based on the embodiment in this utility model, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belongs to the scope that this utility model is protected.
As shown in Figure 1, the utility model discloses a kind of scintillation pulse method for digitizing, its step is as follows:
(1) according to the scintillation pulse characteristics n threshold voltage V_th is set, wherein, n is less than 512 integer greater than 1;
Wherein, the standard that arranges of described threshold voltage V_th is: determine scintillation pulse amplitude range to be sampled, select threshold voltage according to the amplitude for the treatment of sampling pulse, so that threshold voltage all is positioned within the amplitude range of scintillation pulse to be sampled.
The standard that arranges of described threshold voltage V_th can also for: determine scintillation pulse amplitude range to be sampled, select threshold voltage according to the amplitude for the treatment of sampling pulse, so that have at least a threshold value to be positioned within the amplitude range of scintillation pulse to be sampled in the set threshold voltage.
(2) consist of voltage comparison unit by n Low Voltage Differential Signal receiving port, when treating that sampling pulse is crossed any one threshold value that arranges in the step (1), this voltage comparison unit will be exported a state transition and the corresponding threshold voltage of this state transition; Wherein said Low Voltage Differential Signal receiving port is used for realizing the comparison of scintillation pulse and threshold voltage;
Wherein, described Low Voltage Differential Signal receiving port also can for positive polarity emitter-coupled logic receiver port or emitter-coupled logic receiver port or the CML signal accepts port or miniature low-voltage differential signal accepts port or low-swing difference signal is accepted port or the bus-type Low Voltage Differential Signal is accepted port.
Wherein, described Low Voltage Differential Signal receiving port can also be for having positive-negative input end and accepting port by the digital signal of positive-negative input end voltage difference judgement logic state signal.
Wherein, described voltage comparison unit also can be made of voltage comparator.
Wherein, the described concrete methods of realizing that consists of voltage comparison unit by the Low Voltage Differential Signal receiving port is: this voltage comparison unit is made of m Low Voltage Differential Signal receiving port; Directly do not obtain to be further divided into the m road behind the direct current bias voltage V_bias through dc bias circuit along separate routes wait the scintillation pulse of sampling, an end of Low Voltage Differential Signal receiving port is accessed respectively on every road; The other end access reference voltage V_reference of Low Voltage Differential Signal receiving port; Wherein, m is greater than 1 less than 512 integer, and the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Wherein, described by the Low Voltage Differential Signal receiving port consist of voltage comparison unit concrete methods of realizing can also for: this voltage comparison unit is made of m Low Voltage Differential Signal receiving port; Scintillation pulse to be sampled is divided into the m road, and the pulse of every road all obtains to access respectively behind the direct current bias voltage V_bias end of Low Voltage Differential Signal receiving port through dc bias circuit; The other end access reference voltage V_reference of Low Voltage Differential Signal receiving port; Wherein, m is greater than 1 less than 512 integer, and the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Wherein, described by the Low Voltage Differential Signal receiving port consist of voltage comparison unit concrete methods of realizing can also for: this voltage comparison unit is made of m Low Voltage Differential Signal receiving port; After being divided into the m road, the scintillation pulse of sampling accesses respectively an end of Low Voltage Differential Signal receiving port; The other end access reference voltage V_reference of Low Voltage Differential Signal receiving port; Wherein, m is greater than 1 less than 512 integer, and the pass between described reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th.
Wherein, described Low Voltage Differential Signal receiving port is to support the input and output pin configuration formation able to programme of digital differential signal agreement in the field programmable gate array or be special integrated chip.
(3) utilize time-to-digit converter that the time of the state transition in the step (2) is carried out digitized sampling; Identify simultaneously threshold voltage corresponding to this state transition, obtain scintillation pulse voltage time pair, finish the digitized of scintillation pulse.
The difference input pin that has at the scene One's name is legion in the logical device such as programmable gate array, the disclosed scintillation pulse method for digitizing of this utility model is by utilizing difference pin in the field programmable gate array can judge the characteristics of positive-negative input end voltage swing, scintillation pulse is input to by a plurality of digital differential input pins in the logical devices such as field programmable gate array, utilize this pin to realize the threshold value comparator, then for the characteristics of scintillation pulse, adopt this threshold value comparator that a plurality of threshold values are set, and can obtain the time of scintillation pulse when crossing threshold value by time-to-digit converter, reach and obtain the right purpose of scintillation pulse voltage time, finish the digitized of scintillation pulse.Realized that threshold voltage compares, and has simplified system structure greatly owing to adopt the difference input pin; Simultaneously, improve the integrated level of system, reduced system power dissipation.
As shown in Figure 2, provided digital differential Interface realization threshold ratio actual test result in the employing field programmable gate array among Fig. 2.Among Fig. 2,100 represent threshold voltage, and 200 represent scintillation pulse to be sampled, and 300 represent the differential interface output state.
As shown in Figure 3, the digitized device of the disclosed a kind of scintillation pulse of this utility model, it comprises:
The scintillation pulse converting unit, in order to realize the dc offset voltage V_bias output of scintillation pulse, described scintillation pulse converting unit comprises dc bias circuit, the described sampling pulse for the treatment of accesses an end of supporting the input and output pin able to programme of low-voltage differential signal transmission agreement in the field programmable gate array afterwards through the dc offset voltage V_bias that described dc bias circuit acquisition is divided into the m road, wherein, m is less than 512 integer greater than 1;
The threshold value comparing unit is in order to export a state transition and threshold voltage corresponding to this state transition when set any threshold voltage is crossed in scintillation pulse; This threshold value comparing unit is made of m Low Voltage Differential Signal input port, this Low Voltage Differential Signal input port is used for realizing treating the comparison of sampling pulse and threshold voltage V_th, exports saltus step and the corresponding threshold voltage of this state transition of a state when the amplitude for the treatment of sampling pulse is crossed threshold voltage;
The time figure unit, carry out digitized in order to the moment to state transition, p time figure transducer realized in the programmable gate array at the scene in described time figure unit, jumping moment to above-mentioned state carries out digitized and identifies threshold voltage corresponding to this state transition, obtain scintillation pulse to be sampled and cross the time of threshold voltage, wherein p is less than 512 integer greater than 1;
Date processing and transmission unit in order to integrate with transmission by the voltage time for the treatment of sampling pulse of threshold value comparing unit and the acquisition of time figure unit pair, are finished the digitized of scintillation pulse.
Wherein, described threshold value comparing unit mesolow differential signal receiving port also can be positive polarity emitter-coupled logic receiver port or emitter-coupled logic receiver port or CML signal and accepts port.
Wherein, described threshold value comparing unit mesolow differential signal receiving port also can be and has positive-negative input end and judge that by the positive-negative input end voltage difference digital signal of logic state signal is accepted port or miniature low-voltage differential signal accepts port or low-swing difference signal is accepted port or the bus-type Low Voltage Differential Signal is accepted port.
Wherein, the employed digital differential receiver port of threshold value comparison circuit in the described threshold value comparing unit is made of special integrated chip.
Wherein, described threshold value comparing unit mesolow differential signal receiving port is formed by the input and output pin configuration able to programme in the field programmable gate array.Using Low Voltage Differential Signal to accept port consists of the threshold value comparing unit and realizes treating that the purpose of the comparison of sampling pulse and threshold voltage can be by following three kinds of methods:
Method one: directly do not obtain to be further divided into the m road behind the direct current bias voltage V_bias through dc bias circuit along separate routes until sampling pulse, an end of Low Voltage Differential Signal receiving port is accessed respectively on every road, pin other end access reference voltage V_reference; Wherein, the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Method two: treat that sampling pulse is divided into first the m road, then every road obtains respectively an end of access Low Voltage Differential Signal receiving port behind the direct current bias voltage V_bias through dc bias circuit, pin other end access reference voltage V_reference; Wherein, the pass between described dc offset voltage V_bias, reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th+V_bais.
Method three a: end of access Low Voltage Differential Signal receiving port after sampling pulse is divided into the m road, pin other end access reference voltage V_reference; Wherein, the pass between described reference voltage V_reference and the threshold voltage V_th is: V_reference=V_th.
Described time figure unit and date processing and transmission unit are all realized in the programmable gate array at the scene, the time-to-digit converter of described time figure unit is made of time delay chain in the field programmable gate array, and the threshold value comparison circuit in the described threshold value comparing unit is employed to be made of digital differential receiver port special integrated chip.
In conjunction with specific embodiments this utility model is described further now:
(1) according to the scintillation pulse characteristics, select four threshold voltages, be respectively 20mV, 30mV, 40mV, 50mV.
(2) scintillation pulse is divided into four the tunnel, and every road obtains a direct current bias voltage V_bais=1.25V by discrete component.Have four tunnel scintillation pulses of dc offset voltage namely: Ch1, Ch2, Ch3, Ch4, access respectively the positive input terminal of the difference pin of field programmable gate array.This pin configuration is that Low Voltage Differential Signal (Low-Voltage Differential Signaling is called for short LVDS) is accepted port.
(3) bias voltage according to the threshold voltage of selecting and use calculates the reference voltage amplitude that difference pin negative terminal accesses.Amplitude is respectively 1.27mV in this example, 1.28mV, 1.29mV, 1.30mV.
(4) time-to-digit converter that carry chain is realized as core in the programmable gate array at the scene, and the time during to the difference input pin state generation saltus step of every road identify and identify simultaneously the corresponding threshold voltage of this state transition, obtain the voltage time pair of scintillation pulse.
(5) the scintillation pulse voltage time that obtains is spread out of the digital interface by field programmable gate array, finish the digitized of scintillation pulse.
This utility model utilizes in the field programmable gate array digital differential Interface realization threshold ratio, obtain the voltage time pair of scintillation pulse, thereby realize the digitized of scintillation pulse, simplified greatly system structure, improve the integrated level of system, reduced system power dissipation.
Compared with prior art, the beneficial effects of the utility model are:
(1) avoids the usage comparison device, saved cost, improved the device integrated level, reduced system power dissipation.
(2) utilize in the field programmable gate array digital differential Interface realization threshold ratio, obtain the voltage time pair of scintillation pulse, thereby realize the digitized of scintillation pulse, simplified system structure.
To those skilled in the art, obviously this utility model is not limited to the details of above-mentioned example embodiment, and in the situation that does not deviate from spirit of the present utility model or basic feature, can realize this utility model with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present utility model is limited by claims rather than above-mentioned explanation, therefore is intended to include in this utility model dropping on the implication that is equal to important document of claim and all changes in the scope.Any Reference numeral in the claim should be considered as limit related claim.
In addition, be to be understood that, although this description is described according to embodiment, but be not that each embodiment only comprises an independently technical scheme, this narrating mode of description only is for clarity sake, those skilled in the art should make description as a whole, and the technical scheme among each embodiment also can through appropriate combination, form other embodiments that it will be appreciated by those skilled in the art that.