Utility model content
This utility model provides a kind of simulated photoelectric device for quantum key distribution system, test device, it is not necessary to
Any optics, it is achieved the simulation of optical signal, utilizes analog optical signal to test, and shortens system development cycle, tests into
This is low and realizes simple, it is easy to the reason gone wrong in assignment test.
This utility model provides a kind of simulated photoelectric device for quantum key distribution system, including:
Optical signal modular converter, for driving signal to be converted to the simulated light letter of predetermined pulse width, predetermined form by flashlight
Number;
Path attenuation analog module, for according to the part arteries and veins in analog optical signal described in predetermined attenuation rate random loss
Punching, to obtain the voltage signal after decaying;
Detection efficient analog module, is used for according to predetermined detection efficient at random by the voltage signal after described decay
Partial pulse, to obtain detectable voltage signal;
Error rate analog module, for carrying out described for part detectable voltage signal according to predetermined error rate at random
Upset, to obtain the voltage signal after overturning;
Time delay module, for the voltage signal after described upset being carried out delay process according to predetermined transmission delay, with
Obtaining analog detection signal, described analog detection signal is used for basic vector comparison.
Alternatively, the LVDS signal that described flashlight drives signal to be the first pulsewidth, described analog optical signal is the second arteries and veins
Wide LVTTL signal, in described optical signal modular converter, is converted to the CML of the first pulsewidth by the LVDS signal of the first pulsewidth
Signal, is converted to the LVPECL signal of the first pulsewidth by the CML signal of the first pulsewidth, is changed by the LVPECL signal of the first pulsewidth
It is the LVPECL signal of the second pulsewidth, the LVPECL signal of the second pulsewidth is converted to the LVTTL signal of the second pulsewidth.
Alternatively, described optical signal modular converter includes being sequentially connected with comparator, ac-coupled circuit, d type flip flop and
Electrical level transferring chip, described flashlight drives signal to sequentially pass through comparator, ac-coupled circuit, d type flip flop and level conversion
The conversion of chip, it is thus achieved that described analog optical signal.
Alternatively, also include: synchronizing signal modular converter, for driving signal to be converted to the mould of predetermined form synchronizable optical
Intending synchronizing signal, described analogue synchronization signal is used for system synchronization.
Alternatively, described synchronizing signal is LVDS signal, and described analogue synchronization signal is LVTTL signal, in described synchronization
In signal conversion module, LVDS signal is converted to CML signal, CML signal is converted to LVPECL signal, by LVPECL signal
Be converted to LVTTL signal.
Alternatively, described synchronizing signal modular converter includes that the comparator being sequentially connected with, ac-coupled circuit and level turn
Changing chip, described synchronizable optical drives signal to sequentially pass through the conversion of comparator, ac-coupled circuit and electrical level transferring chip, it is thus achieved that
Described analogue synchronization signal.
Alternatively, also include: analog photoelectricity detecting signal unit, for described analog optical signal and/or simulation are synchronized
Signal detects.
Alternatively, described path attenuation analog module, detection efficient analog module and error rate analog module are by FPGA core
Sheet realizes.
This utility model additionally provides a kind of test device for quantum key distribution system, for quantum key distribution
The test of circuit part in system, this test device includes:
Any of the above-described described simulated photoelectric device, is used for producing analog detection signal, and analog detection signal is used for circuit
Part carries out basic vector comparison, and circuit part is according to basic vector comparison, growing amount sub-key;
Judge module, the most correct for decision content sub-key.
The simulated photoelectric device for quantum key distribution system of this utility model embodiment offer and test device, light
Flashlight is driven signal to be converted to the voltage signal of analog optical signal, further to this voltage signal successively by signal conversion module
Carry out impulse attenuation according to attenuation rate, after detection efficient carries out pulse minimizing and error rate overturns, prolong further
Time process, so, flashlight drives signal convert for analog detection signal, flashlight drives signal to be for driving quantum
Light source produces the signal of quantum optical signal, by this driving signal is simulated conversion, is further used for basic vector comparison, and then
Can be further used for the generation of key and the test of circuit part, whole process need not optics, can be at opticator
Having designed the test carrying out circuit part before, testing cost is low and realizes simple, it is easy to go wrong in assignment test
Reason, shortens the construction cycle.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Describe, it is clear that described embodiment is only some embodiments of the present application rather than whole embodiments wholely.Based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of the application protection.
Quantum key distribution system, i.e. QKD system, generally include circuit part and light path part, and circuit part is mainly
Including producing the driving module of optical drive signal, control signal module and key generation module etc., it is respectively used to produce driving
Signal, control signal and generation key, light path part mainly includes that laser instrument, quantum state coding module, quantum state decode mould
Block and single-photon detector etc..The circuit part of QKD system includes sender and recipient, and QKD system produces the process of key
For: sender produces the driving signal of synchronizable optical and flashlight, and this driving signal drives laser instrument to produce optical signal, optical signal warp
After crossing coding, fiber-optic transfer and decoding, giving single-photon detector, detector produces specific telecommunications after particular procedure
Number, and sending the recipient of circuit part to, sender and recipient are connected with each other, then enter the data of sender and recipient
After row basic vector is than peer processes, consult to produce quantum key.
As the description in background technology, the circuit part of QKD system has the most first been developed, in order to shorten exploitation week
Phase, before light path part has been developed, carry out the test of circuit part, the utility model proposes one and divide for quantum key
The simulated photoelectric device of the system of sending out, below with reference to specific embodiment, to the simulated photoelectric for quantum key distribution system
Device is described in detail.
With reference to shown in Fig. 1, described simulated photoelectric device 300 includes:
Optical signal modular converter 310, for driving signal to be converted to the simulated light of predetermined pulse width, predetermined form flashlight
Signal;
Path attenuation analog module 320, for according to the portion in analog optical signal described in predetermined attenuation rate random loss
Sectors rushes, to obtain the voltage signal after decaying;
Detection efficient analog module 330, for believing by the voltage after described decay at random according to predetermined detection efficient
Number partial pulse, to obtain detectable voltage signal;
Error rate analog module 340, for carrying out described for part detectable voltage signal according to predetermined error rate
Random upset, to obtain the voltage signal after overturning;
Time delay module 350, for the voltage signal after described upset being carried out delay process according to predetermined transmission delay,
To obtain analog detection signal, described analog detection signal is used for basic vector comparison.
This simulated photoelectric device 300 is for simulating the function of the light path part of QKD system, by QKD system circuit part 200
The flashlight that sends of sender 210 drive signal after this simulated photoelectric device, the analog detection signal of acquisition is sent out
Deliver to the recipient 220 of QKD system circuit part 200.
All can be different according to different circuit design, the composition of flashlight driving signal and the characteristic of signal, need
After conversion, can be only used for follow-up signal processing and application.
Signal is driven for synchronizable optical, is for producing synchronous reference signal.As required, this synchronizable optical is driven signal
Be converted to the analogue synchronization signal of predetermined form, send to recipient, for the system synchronization of receiving-transmitting sides.
In this specific embodiment, light source drive signal is differential signal, drives signal and 4 tunnels including 1 tunnel synchronizable optical
Flashlight drives signal.Wherein, the signal that flashlight drives signal to be high speed narrow spaces, for LVDS (Low Voltage
Differential Signaling) i.e. Low Voltage Differential Signal, flashlight drives the frequency of signal to be 100KHz, pulsewidth is
400ps, amplitude are 350mV, need this LVDS signal to be converted into single-ended LVTTL signal and pulsewidth not less than 5ns, it is simple to its
His chip uses this signal, and carries out the process of signal further.Synchronizable optical drives signal to be low-voltage signal at a high speed, for
LVDS (Low Voltage Differential Signaling) i.e. Low Voltage Differential Signal, the frequency of synchronizable optical driving signal is
100KHz, pulsewidth are 10ns, amplitude is 350mV, need to be converted into this LVDS signal single-ended LVTTL signal, and pulsewidth keeps
Constant.
With reference to shown in Fig. 2, the flashlight of LVDS drive signal be converted into LVTTL and the pulsewidth signal not less than 5ns,
In concrete signal conversion, described flashlight drives signal to sequentially pass through comparator 110, ac-coupled circuit 120, d type flip flop
130 and electrical level transferring chip 140, thus the pulsewidth needed for obtaining and the voltage signal of form, in order to make it easy to understand, after converting
Voltage signal be denoted as analog optical signal.Concrete, first, the LVDS signal of the first pulsewidth is converted to the CML of the first pulsewidth
(Current Mode Logic) signal, the first pulsewidth for example, 400ps, CML signal can be changed by comparator 110,
After changing, the pulsewidth of CML signal is still into 400ps;Then, the CML signal by the first pulsewidth is converted to the LVPECL of the first pulsewidth
(Low Voltage Positive Emitter-Couple Logic, low positive pressure emitter coupled logic (ECL)) signal, can pass through
CML signal is converted into LVPECL signal by ac-coupled circuit 120, and the pulsewidth after changing is still into 400ps;Then, by the first arteries and veins
Wide LVPECL signal is converted to the LVPECL signal of the second pulsewidth, can be carried out the conversion of pulsewidth by d type flip flop 130, turn
Becoming being not less than the pulsewidth of 5ns after changing, the time delayed signal of d type flip flop 130 can be provided by delay circuit 150, time delay electricity
The delay value on road 150 can as desired to set, delay circuit 150 as a part for d type flip flop 130, structure together
Become stretch circuit;Finally, electrical level transferring chip 140 can be passed through, signal is further converted to LVTTL (Low
Voltage Transistor-Transistor Logic) signal, now the pulsewidth of signal is still the pulsewidth being not less than 5ns
Single-ended signal.
Additionally, with reference to shown in Fig. 3, drive signal to be converted into the analogue synchronization signal of LVTTL the synchronizable optical of LVDS, due to
Synchronizable optical drives the pulsewidth of signal without broadening, in concrete transformation process, signal can be driven to depend on the synchronizable optical of LVDS
Secondary through comparator, ac-coupled circuit and electrical level transferring chip, thus, drive signal to be converted into the synchronizable optical of LVDS
LVTTL, in transformation process, only changes the form of signal, and need not change the pulsewidth of signal, LVDS signal is converted to CML
Signal, is converted to LVPECL signal by CML signal, and LVPECL signal is converted to LVTTL signal.
Additionally, may further comprise: analog photoelectricity detecting signal unit, for described analog optical signal and/or simulation
Synchronizing signal detects.This detector unit can be the emulation testing unit in oscillograph or host computer, in the detection, if mould
Intend optical signal and can not meet requirement, can be by changing the setting of sender, output signal optical drive signal again, until meeting
Requirement;If analogue synchronization signal can not meet requirement, can be by changing the setting of sender, output synchronizable optical drives letter again
Number, until meeting requirement.
Obtain required for pulsewidth and form analog optical signal after, these signals are voltage pulse signal, utilize
This analog optical signal carries out the simulation of optical signal transmission and detection process, normally, in quantum optical signal transmission, it may appear that letter
Number the problem of decay, and be only capable of the optical signal of a detection part when detection, the problem that i.e. there is detection efficient during detection;
Simultaneously as the noise that the imperfection of optics and detector itself exist, certain error rate can be introduced.For these
Problem, carries out the simulation of optical signal, it is thus achieved that the signal after analogue transmission and detection.
Voltage signal is declined by path attenuation analog module, detection efficient analog module and error rate analog module respectively
Subtracting, detect and simulation in terms of error rate, these analog modules can be realized by logic circuit, such as can be by random
Clock generation circuit and realizing with circuit, these circuit can be hardware circuit or logic circuit.
In the particular embodiment, these analog modules can be realized by the logic circuit in fpga chip.By light
The described analog optical signal that signal conversion module 310 obtains is supplied to fpga chip and uses, for being applicable to the specific of fpga chip
Pulsewidth and the voltage signal of form, this fpga chip can by interface be provided with parameter setting module 370 host computer or
Other control units connect, and attenuation rate, detection efficient and error rate can be set by parameter setting module 370 and be sent to
In fpga chip.
In the particular embodiment, wherein, path attenuation analog module, for according to predetermined attenuation rate random loss institute
Stating the partial pulse in analog optical signal, to obtain the voltage signal after decaying, this predetermined attenuation rate can be entered as required
Row is arranged, and it is 20% that attenuation rate simulates the ratio of optical signal signal attenuation in the transmission, such as attenuation rate, then mean mould
Intending having the pulse of 20% to be lost in optical signal, the segment pulse being lost is random loss, and namely the pulse of 20% is random
Disappearing, the voltage signal after decay includes the pulse of analog optical signal 80%.When needing the pulse lost to pass through random
Clock produces logic circuit and produces, this random pulse signal and analog optical signal by with logic circuit after obtain decay after
Voltage signal.
Detection efficient analog module, is used for according to predetermined detection efficient at random by the voltage signal after described decay
Partial pulse, to obtain detectable voltage signal, this predetermined detection efficient can also be configured as required, detection effect
The signal proportion that rate effectively detects when simulating optical signal detection, such as detectivity are 70%, then mean the electricity after decay
Pressure signal in have the pulse of 70% to be detected, it is thus achieved that detectable voltage signal include decay after voltage signal in have
The pulse of 70%, this pulse of 70% is the pulse of pass through at random from the voltage signal after decay 70%.The most detected
To pulse can by random clock produce logic circuit produce, this random pulse signal and decay after voltage signal
By obtaining detectable voltage signal after logic circuit.
Error rate analog module, for carrying out described for part detectable voltage signal according to predetermined error rate at random
Upset, can also be configured as required with this predetermined error rate of voltage signal after obtaining upset, and error rate simulates
The error probability that imperfect and detector itself the noise of optics causes.Such as error rate is 10%, then mean detection
To detectable voltage signal in have 10% error rate, the random signal by 10% in detectable voltage signal
Overturning, upset refers to overturn by the high potential in detectable voltage signal as electronegative potential or electronegative potential is converted to high electricity
Position, thus obtains the voltage signal after upset.Pulse to be overturn can produce logic circuit by random clock and produce
Raw, this random pulse signal and detectable voltage signal are by obtaining the voltage signal after overturning after logic circuit.
Due to the difference of transmission range, optical signal is after being transferred to destination, it will usually there is time delay, for the light of multichannel
, can there is different time delays relative to synchronizable optical in signal, according to the situation of time delay, according to predetermined transmission delay, obtain above-mentioned
To upset after voltage signal carry out delay process, so, just obtain the signal of analog prober output, be denoted as simulation and visit
Surveying signal, this analog detection signal is sent to recipient, carries out basic vector comparison with the signal of transmitting terminal, and then produces through consultation
Quantum key.
Time delay module 350 can be delay chip, completes the time delay of each road detectable signal.
Optical signal modular converter 310 can pass through to connect with the sender 210 of the circuit part 200 of quantum key distribution system
Mouth connects, and time delay module 350 can be connected by interface with the recipient 220 of the circuit part 200 of quantum key distribution system.
Additionally, this utility model additionally provides the test device for quantum key distribution system, divide for quantum key
The test of circuit part in the system of sending out, this test device includes above-mentioned simulated photoelectric device, and simulated photoelectric device is used for producing
Analog detection signal, analog detection signal carries out basic vector comparison for circuit part, and circuit part is according to basic vector comparison, growing amount
Sub-key;Also include: judge module, the most correct for decision content sub-key.
This test device utilizes simulated photoelectric device to provide analog detection signal, verifies quantum by analog detection signal
The function of the design of the circuit part in key distribution system, in order to carry out the tune of circuit part before light path part has designed
Examination and design, reduce the design time, improves design efficiency.
System embodiment described above is only schematically, the wherein said module illustrated as separating component or
Unit can be or may not be physically separate.Can select therein some or all of according to the actual needs
Module realizes the purpose of the present embodiment scheme.Those of ordinary skill in the art are not in the case of paying creative work, i.e.
It is appreciated that and implements.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.