The present disclosure relates to methods and devices for encoding and decoding complex numbers and performing arithmetic using optical circuits.
Optical computing approaches promise to perform mathematical operations at much higher speed whilst consuming much lower energy compared with performing similar operations using digital electronics. Nevertheless, optical computing systems are typically designed to be compatible with integer numbers only and are limited by the digital interface with existing hardware.
An invention is defined in the appended independent claims.
This overview introduces concepts that are described in more detail in the detailed description. It should not be used to identify essential features of the claimed subject matter, nor to limit the scope of the claimed subject matter.
The present disclosure is directed methods and devices for encoding and decoding complex elements (complex numbers or components of complex numbers) in the optical domain using photonic modulators.
The encoding and decoding of complex elements allows optical arithmetic operations, optical Fourier transform (OFT) and convolution to be performed on complex mathematical numbers that are the basis for numerous computing intensive applications such as cryptography, artificial intelligence, and scientific simulations. The photonic architecture natively operates on multi-bits of information and is suited not only for Silicon Photonics (SiPh) platform but also III-V semiconductor material systems or any integration of the two.
The present disclosure provides an encoder for encoding a complex element (complex number or component of a complex number) onto light on the basis of a received digital signal. The encoder takes a digital electronic signal encoded with a complex element and splits up the digital data into two or more parts. Each of the parts of the data is then fed through a separate controller (or electrical circuit). Each controller then controls a photonic device (modulator) to apply an element of modulation to the same optical input signal (an input stream of light). Each element of modulation is operable to encode the respective part of the complex element (split out from the digital electronic signal) onto the optical signal so that the whole complex element encoded onto the digital electronic signal is encoded onto the optical input signal. In other words, a digital word carrying the information defining the complex element is split into segments, with each segment being used to control a separate modulator. The modulators all act on one optical input signal (or stream of light) to encode the complex element and thereby produce an encoded optical signal. Optionally, the digital word segments are used to create pulse amplitude modulated (PAMx or NRZ) analogue electronic signals. The quantised nature of the analogue electronic signals allows for greater fidelity of encoding.
There is therefore provided, an electronic to optical encoder comprising: a first modulator; a second modulator; a first controller configured to receive a first digital electronic signal, and a second controller configured to receive a second digital electronic signal. Both of a first value of the first digital electronic signal and a second value of the second digital electronic signal are based on a first complex element. The first controller is configured to control the first modulator to apply a first element of modulation to an optical input signal based on the first value. The second controller is configured to control the second modulator to apply a second element of modulation to the optical input signal based on the second value. The first element of modulation and second element of modulation are together operable to encode the first complex element onto the optical input signal to produce an encoded optical signal.
Optionally, the first element of modulation is amplitude modulation and the second element of modulation is phase modulation.
Optionally, the first complex element is a first component of a first complex number, the first value of the first digital electronic signal is based on the absolute value of the first component of the first complex number, the second value of the second digital electronic signal is based on the sign of the first component of the first complex number, the first modulator is a first intensity modulator, and the first element of modulation is operable to encode the absolute value of the first component of the first complex number onto the optical input signal; the second modulator is a first phase switch, and the second element of modulation is operable to encode the sign of the first component of the first complex number onto the optical input signal, wherein the first intensity modulator and first phase switch are optically connected to each other in a first series branch.
Optionally, the first complex element is a first complex number encoded in polar form, wherein the first value of the first digital electronic signal is based on the magnitude of the first complex number, and the second value of the second digital electronic signal is based on the argument of the first complex number. The first modulator is a first intensity modulator, and the first element of modulation is operable to encode a magnitude of the first complex number onto the optical input signal; the second modulator is a first phase shifter, and the second element of modulation is operable to encode an argument of the first complex number onto the optical input signal. The first intensity modulator and first phase shifter are optically connected to each other in a first series branch.
Optionally, the first element of modulation is phase modulation and the second element of modulation is phase modulation.
Optionally, the first complex element is a first complex number encoded in polar form. The controller is configured to obtain the values of the first and second digital electronic signals digitally from a look up table, function or graph defining complex numbers as a function of phase perturbation. The first modulator is a first phase shifter in a first branch of a Mach-Zehnder interferometer; the second modulator is a second phase shifter in a second branch of the Mach-Zehnder interferometer, the optical input signal is input into the first and second branches of the Mach-Zehnder interferometer, the encoded optical signal is the combined signal output from the first branch and second branch of the Mach-Zehnder interferometer.
Optionally, the first complex element is a first component of a first complex number and the encoder further comprises: a second intensity modulator; a second phase switch; and a phase shifter; a third controller configured to receive a third digital electronic signal; and a fourth controller configured to receive a fourth digital electronic signal. A third value of the third digital electronic signal is based on the absolute value of a second component of the first complex number, and a fourth value of the fourth digital electronic signal is based on the sign of the second component of the first complex number. The third controller is configured to control the second intensity modulator to encode the absolute value of the second component of the first complex number onto the optical input signal. The fourth controller is configured to control the second phase switch to encode the sign of the second component of the first complex number onto the optical input signal. The second intensity modulator and second phase switch are optically connected to each other in a second series branch. The encoder further comprises: a combiner configured to combine the optical output from the first series branch with the optical output from the second series branch to produce a combined optical signal encoded with the first complex number, and a phase shifter configured to encode a phase shift between an optical output from the first series branch and an optical output from the second series branch, optionally wherein the phase shifter is part of the first phase switch and/or second phase switch.
Optionally, each controller is configured to: transform the respective digital electronic signal into at least one pulse amplitude modulated analogue signal, and supply the at least one pulse amplitude modulated analogue signal to at least one terminal of the respective modulator to cause the modulator to apply the respective element of modulation to the optical input signal.
Optionally, each of the controllers is configured to: receive a feedback signal based on a phase drift associated with the respective modulator; modify the respective analogue signal based on the received feedback signal to generate a modified analogue signal; and supply the modified analogue signal to the at least one terminal of the respective modulator to apply the respective element of modulation to the optical input signal.
Optionally, there is also provided an optical circuit including any of the above mentioned encoders. The optical circuit is configured to perform at least one mathematical operation on the first complex element by transforming the optical input signal to produce a modified optical signal encoded with a second complex element. The at least one mathematical operation comprises one or more of the following: multiplication, addition, Fourier transform, or convolution.
The optical circuit can include a first encoder, and a second encoder. The first encoder may be arranged in series with the second encoder so that the encoded optical signal from the first encoder is input to the second encoder. Alternatively, the first encoder is arranged in parallel with the second encoder so that the encoded optical signals from the first and second encoders are combined.
There is also provided a system comprising the above described optical circuit, the system further comprising a decoder configured to: combine the optical output signal with a reference signal to produce a difference signal, detect at least one characteristic of the difference signal, and output a digital electronic signal encoded with the second complex element based the at least one characteristic of the difference signal. The at least one characteristic is phase and/or amplitude.
The above described decoder may comprise at least one balanced detector, optionally a first and a second balanced detector. The first balanced detector is configured to receive the optical output signal and the optical input signal, and the second balanced detector is configured to receive the optical output signal and the optical input signal phase shifted by nπ/2, where n is an odd integer.
There is also provided an optical computer comprising the above described encoder, optical circuit or system.
There is also provided a method for encoding a first complex element onto an optical input signal on the basis of received digital electronic signals. The method comprises: receiving a first digital electronic signal, and receiving a second digital electronic signal. Both of a first value of the first digital electronic signal and a second value of the second digital electronic signal are based on a first complex element. The method also comprises applying a first element of modulation to an optical input signal based on the first value; and applying a second element of modulation to the optical input signal based on the second value. The first element of modulation and second element of modulation together encode the first complex element onto the optical input signal to produce an encoded optical signal.
Encoding in these ways allows an improved (e.g. more efficient, more streamlined) digital data input and rapid/efficient encoding of the input streams/optical signals with complex elements. A photonic integrated circuit employing encoders as described above is better suited to interfacing with external electronic components, for example a computer processor or memory.
Specific embodiments are described below by way of example only and with reference to the accompanying drawings in which:
In the Figures, like reference numerals refer to like parts.
The present disclosure begins, with reference to
Following this,
Following description of these optical computing systems, methods and devices are then described with reference to
A complex mathematical number can be encoded onto an optical signal emanating from a coherent light source. A complex number is encoded either using cartesian coordinates by defining the complex number using its real
and imaginary
components (equation 1a), or using polar coordinates by defining the complex number using its magnitude |
| and phase (henceforth referred to as ‘argument’) φ (equation 1 b).
As shown in
It is helpful to define the complex number 104 and its position on the Argand diagram 100 using a vector 105 which originates at the origin 103 and terminates at the point representing the complex number 104. The vector can be defined by the vector sum of its projections onto first and second axes 101, 102. The projections respectively define the real (
) and imaginary (
) components in cartesian coordinates. Alternatively, the vector 105 can be defined as having a magnitude (or modulus or absolute value) |
| measured as the length of the vector 105 and argument φ measured as the angle swept out from the first axis 101 to the vector 105.
Each of the real and imaginary components ,
can be simplified into its absolute value abs(
), abs(
) multiplied by its the polarity (or sign) sign(
), sign(
), as shown in equations 2a and 2b, respectively:
in polar coordinates (
| of the complex number
increases. Although not discussed in detail here, another prominent space on which the coordinates may be projected is the two-dimensional surface of a Riemann sphere. However, this can also present problems with uniform resolution when using fixed intervals in quantisation level. Therefore, although encoding in each of these spaces is possible, encoding in cartesian co-ordinates has advantages in a quantised (or digital) encoding system which has a fixed interval in quantisation level N of the components.
Although the complex domain as shown in
The inventors have recognised that, by manipulating one or a combination of photonic devices based on a quantised (or digital) electronic signal, an optical signal modulated by the photonic devices can be encoded with a mathematical complex number (or at least a component of a complex number). The complex number (or component thereof) originates in the digital electronic domain but is encoded in the optical domain for processing there. For example, the constituent terms on the right hand sides of equations 1a-2b can be represented in the optical domain by encoding the terms onto an optical signal. A digital electronic signal having values based on said terms is converted into an analogue signal to drive one or a combination of photonic devices to modulate an optical input signal to produce an optical signal encoded with said terms. The use of a received digital electronic signal encoded with complex numbers and the subsequent transmutation of the data onto an optical signal output by photonic devices (which typically operate in an analogue manner) creates an improved interface between the digital signal domain used in electronic computing, and the optical domain used in optical computing. In particular, the splitting up of a digital word defining a complex element into segments, then the separate use of these segments to control separate modulators to encode the whole complex element onto the optical stream, is a more efficient and controllable means of encoding optical signals with complex elements. This allows optical computer processors to be integrated more easily, efficiently and effectively with electronic computer processors.
Photonic circuit components (also referred to herein as photonic devices or modulators) are used to modulate the phase or amplitude of an optical signal to encode a complex element (e.g. a complex number or a component thereof) onto the optical signal, and/or to combine or otherwise process optical signals to perform mathematical operations such as addition, multiplication, Fourier transform and convolution on complex numbers or components thereof.
As illustrated in
A phase shift of π/2 (for example to introduce orthogonality between real and imaginary terms ,
in different branches of an optical circuit) by a π/2 phase shifter 220 can be encoded onto an optical signal using either current/voltage driven phase shifters 221 exploiting thermal effects, plasma dispersion effects, Franz-Keldysh effects, or electro-absorption effects; or by delay lines 222, or a combination of both.
Multiplication of complex numbers, or components thereof, already encoded onto an optical signal can be performed in the optical domain by simply cascading photonic elements representing numbers in series in a branch 231 of an optical circuit.
The polarity or sign of a complex number (or component thereof) can be encoded onto an optical signal by imparting a fixed phase shift of π by a phase shifter 240, for example using any one or more of a thermal phase shifter 241, a carrier depletion phase shifter 242 or an electro absorption phase shifter 243. Phase shifters may also be phase switches.
The absolute value or modulus of a complex number (or component thereof) can be encoded onto an optical signal by an intensity modulator 250, such as micro-ring resonator (MRR) 251, Mach-Zehnder interferometer (MZI) 252 operating in push-pull mode, electro-absorption modulator (EAM) or direct intensity modulated laser (DIML) 253.
The devices listed above and shown in
Moreover, PIC architectures are made modular by:
A complex number represented in cartesian coordinates is encoded in the optical domain by encoding the signed real and the signed imaginary terms of the complex number separately and adding the two together.
In all figures showing the encoding circuits, the optical signal propagation is from left to right.
in the optical domain by modulating and combining input optical signals to form an optical output signal.
A first optical input signal 331 is received in a first series branch 311 of an optical circuit and a second optical input signal 332 is simultaneously received in a second series branch 312 of the optical circuit. In a first step S301, the first input signal 331 is encoded with an absolute value || of a first component
of a complex number
to produce a first amplitude modulated signal 361. In a second step S302, the first amplitude modulated signal 361 is encoded with a polarity (or sign) to produce a first intermediate signal 362. In a third step S303, the second input signal 332 is encoded with an absolute value |
| of a second component
of a complex number
to produce a second amplitude modulated signal 363. In a fourth step S304, the second amplitude modulated signal is encoded with a polarity or sign to produce a second intermediate signal 364. In a fifth step S305, the second intermediate signal 364 is encoded with a phase shift to produce a phase shifted signal 365, the phase shifted signal being orthogonal to the first intermediate signal 362. In a sixth step S306, the first intermediate signal 362 and the phase shifted signal 365 are added together to form an output signal 333.
The output signal 333 is encoded with a complex number of the form shown in equation 1a. The first amplitude modulated signal 361 represents an unsigned real component of a complex number |
|, constituting the modulus of the real part
of the complex number
. The first intermediate signal 362 represents a real number [with a sign (+ or −)] +
or −
constituting the real part (or component)
of the complex number
. The second amplitude modulated signal 363 represents an unsigned imaginary component |
|, constituting the modulus of the imaginary part
of the complex number
. The second intermediate signal 364 represents a real number [with a sign (+ or −)] +
or −
constituting the imaginary part
of the complex number
. The phase shifted signal 365 represents the imaginary part
multiplied by the indeterminate j, where j=√{square root over (−1)} (i.e. j is a complex number whose square is −1).
In mathematical terms, the absolute values of the real and imaginary terms are multiplied by the polarity of the real and imaginary terms, respectively. A relative argument of (2n−1)π/2 the real and imaginary terms is offset by (2n−1)π/2, where n is an integer. The real and imaginary terms are then added together to form the complex number.
The first input signal 331 and second input signal 332 are coherent. This ensures the output signal 333 can be accurately encoded with the complex number E.
Although
The third and fourth steps S303, S304 are optional since the real and imaginary parts ,
of the complex number
may both be positive. That is, in the case of a positive value for the encoded real and imaginary parts
,
there is no further modulation of the first and second amplitude modulated signals 361, 363 necessary in the second and fourth steps S302, S304, which steps therefore become redundant. As will be described later with reference to
Although the fifth step S305 is shown as occurring in the second series branch 312, this step can occur in the first series branch 311 instead, or otherwise can occur in part in the first series branch 311 and in part in the second series branch 312. The purpose of the fifth step S305 is to provide orthogonality (in the complex domain in e.g.
Furthermore, although the fifth step S305 is shown as occurring between the fourth step S304 and the sixth step S306, the fifth step S305 may be performed at any stage before the sixth step S306, for example the fifth step S305 may be performed in the first series branch 311 before the first step S301 or in the second series branch 312 between the second and fourth step S302, S304. As the reader will understand, the nomenclature first, second, etc. when used with respect to the steps is a convenient labelling convention but is not necessarily limiting as to when steps can be performed relative to each other.
Further still, although orthogonality (provided by the phase shift of (2n−1)π/2) radians provides a convenient convention or mathematical construct for encoding the complex number , it is possible to encode a complex number
without a phase shift of (2n−1)π/2 radians provided that there is an angle between the axes of the complex domain which is greater than zero and less than π (as explained earlier with reference to a skewed version of the Argand diagram in which the angle between the real and imaginary axes is greater than zero but less than π radians). Detecting a complex number
encoded in this way is more difficult than if an orthogonal relationship exists between the real and imaginary axes. This is because compensation, usually involving application of a scale factor between the two axes, must be employed to take into account the new angular relationship between the axes in the chosen (non-conventional) complex plane.
The method of from the first series branch 321 and a second output
from the second series branch 322 to produce the optical signal encoded with the complex number
. The second series branch 322 may further include a phase shifter 320 arranged to encode the second output with a phase shift to produce a phase shifted signal j
so that the first output and second output are orthogonal.
In the encoder 300 of
The encoder 300 of
A passive encoder can be useful where the same complex number must always be encoded by the encoder 300. However, as will be described with reference to
,
of the complex numbers
to have different values.
encoded onto the optical signal output 430 from the encoder.
A digital word contains the sign and magnitude of either the real or imaginary component of a complex number, or sign and magnitude of both of the real and imaginary components thereby forming the full complex number. The received digital signals in all of the encoders described herein are segments of that digital word. The controllers generate PAMx, NRZ, DC, or any combination of these signals to control the components 351, 341, 352, 342 of the encoder. The controller may do so by creating PAMx, NRZ or DC analogue electronic signals based on the received digital data (i.e. the segments of the digital word) and supplying the analogue electronic signals to the modulators. The PAMx, NRZ and DC signals may be described as quantised analogue signals.
Therefore, the controller 460 is configured to supply: based on a value of a first digital electronic signal, a first electronic signal 461 via at least one first line 401 to the first intensity modulator 351; based on the value of a second digital electronic signal, a second electronic signal 462 via at least one second line 402 to the first phase switch 341; based on the value of a third digital electronic signal, a third electronic signal 463 via at least one third line 403 to the second intensity modulator 352; and, based on the value of a fourth digital electronic signal, a fourth electronic signal 464 via at least one fourth line 404 to the second phase switch 342. Optionally, the controller 460 can supply a DC electronic signal 465 via at least one fifth line 405 to the phase shifter 320. Alternatively, no signal is supplied to the phase shifter 320, and a passive component (such as a (phase) delay line 222) is used instead.
The first and third electronic signals 461, 463 are PAMx (pulse amplitude modulation) signals, where x is greater than 2 (i.e. a 4-level PAM (PAM4) or above). That is, the first and third electronic signal 461, 463 are multi-bit signals. The PAMx signals are single polarity signals. The higher the value of x, the greater the resolution of the first and second intensity modulators 351, 352 and the greater the accuracy of encoding of the absolute value of the first and second components ,
of the complex number
.
The second and fourth electronic signals 462, 464 are NRZ (non-return-to-zero) signals (PAMx signals, where x is equal to 2). That is, the second and fourth electronic signals 462, 464 are single-bit, or binary, signals. This is because the first and second phase switches 341, 342 need only be toggled between two possible states. Each of the first and second phase switches 341, 342 are configured to: add a phase of 2nπ when the sign of the respective encoded component is positive; and add a phase of (2n−1)π when the sign of the respective encoded component is negative; where n is an integer. That is, each of the first and second phase switches 341, 342 adds a phase of zero or an even number of π when encoding positive values and adds an odd number of π when encoding positive values. Although not ideal, it is possible to encode positive and negative signals using other added phase values as long as the difference between the phase used to encode positive values and the phase used to encode negative values is π. Such a system would shift the overall output in terms of phase. If such a phase shift is undesirable, a phase compensator can be added elsewhere in the circuit to ensure that the signal encoded with a positive value is in phase with the input signal.
The format of signals controlling the photonic devices can be summarised as follows
The method of
The encoder 411 of ,
. Carrier depletion phase shifters 242 are used as phase switches 441, 442 to encode the polarity (or sign) of the real and imaginary components,
,
. The phase separation between the first series branch 311 and second series branch 312 is provided by a phase shifter 221 exploiting thermal effects which is used as a phase switch 420 to phase shift the imaginary component by π/2; and a Y-branch 211 or 2×1 MMI 212 (not shown) acts as the combiner 410 to add the real and imaginary components
,
.
Similarly, the encoder 412 of ,
. Thermal phase shifters 241 are used as phase switches 443, 444 to encode the polarity (or sign) of the real and imaginary components
,
. In this case, one of the phase switches 444 also performs the function of shifting the phase of the imaginary component by π/2 and so the controller 460 sends a DC signal overlaid with an NRZ signal to control the phase switch. A Y-branch 211 or 2×1 MMI 212 acts as the combiner 410 to add the real and imaginary components
,
.
The encoder 413 of ,
. Carrier depletion phase shifters 242 are used as phase switches 441, 442 to encode the polarity (or sign) of the real and imaginary components
,
. The phase separation between the first series branch 311 and second series branch 312 is provided by a phase shifter 221 exploiting thermal effects which is used as a phase switch 420 to phase shift the imaginary component by π/2; and a Y-branch 211 or 2×1 MMI 212 (not shown) acts as the combiner 410 to add the real and imaginary components
,
.
Similarly, the encoder 414 of ,
. Thermal phase shifters 241 are used as phase switches 443, 444 to encode the polarity (or sign) of the real and imaginary components
,
. One of the phase switches 444 is also used to phase shift the imaginary component by π/2 by application of a DC+NRZ signal as described with reference to
,
.
The encoder 415 of ,
. Electro absorption phase shifters 243 are used as phase switches 445, 446 to encode the polarity (or sign) of the real and imaginary components
,
. A delay line 222 is used as a phase shifter 421 to phase shift the imaginary component by π/2. A Y-branch 211 or 2×1 MMI 212 (not shown) acts as the combiner 410 to add the real and imaginary components
,
.
Similarly, the encoder 416 of ,
. Electro absorption phase shifters 243 are used as phase switches 445, 447 to encode the polarity (or sign) of the real and imaginary components
,
. One of the phase shifters 447 is also used to phase shift the imaginary component by π/2 by application of a DC+NRZ signal as described with reference to
,
.
For both
It can be useful to encode only a part (i.e. component) of a complex number. For example, the real and imaginary components of the complex number can be independently encoded. This can be useful for performing mathematical operations on a complex number because operations can be performed on components of the complex number independently.
,
of a complex number
onto the first input signal 331. The encoder 500 shown in
The encoders 511, 512, 513, 514, 515 shown in
,
; the MRR 251 connected in series with a carrier depletion phase shifter 242 used as a phase switch 441 to encode the polarity (or sign) of the real or imaginary component
,
.
,
; the MRR 251 connected in series with a thermal phase shifter 241 used as a phase switch 443 to encode the polarity (or sign) of the real or imaginary component
,
.
,
; the MZI 252 connected in series with a carrier depletion phase shifter 242 used as a phase switch 441 to encode the polarity (or sign) of the real or imaginary component
,
.
,
; the MZI 252 connected in series with a thermal phase shifter 241 used as a phase switch 443 to encode the polarity (or sign) of the real or imaginary component
,
.
,
; the DIML 253 connected in series with an electro absorption phase shifter 243 used as a phase switch 445 to encode the polarity (or sign) of the real or imaginary component
,
.
Although ,
including the polarity or sign thereof, it is possible to encode an unsigned real or imaginary component
,
by encoding the absolute value of the component using an intensity modulator 250 only (without a phase shifter and/or phase switch 220, 240). Suitable intensity modulators 250 are shown in
A complex number represented in polar coordinates can be encoded in the optical domain by modulating the magnitude and phase of an input signal simultaneously while exploiting the physics of the encoding circuit. in this manner. The encoder 600 includes a controller 660 arranged to provide electronic signals 661, 662 to optical (photonic) components of the encoder 600 to encode a complex number
in polar form onto an optical input signal. The electronic signals are based on digital signals carrying data representing components of the complex number
.
The optical part of the encoder 600 is in the form of an MZI in which a first phase shifter 641 is included in a first branch 611 thereof and a second phase shifter 642 is included in the second branch 612 thereof. An input channel 630 is operatively connected to a splitter 605, which is in turn operatively connected to input ends of the first and second branches 631, 632 of the MZI 252. Output ends of the first and second branches 633, 634 are operatively connected to a combiner 610, and the combiner 610 is operatively connected to an output line 635. The controller 660 is connected to the first phase shifter 641 via at least one first line 601, and to the second phase shifter 642 via at least one second line 602.
In operation, an optical input signal is provided through the input channel 630, which input channel is split by the splitter 605 into the first and second branches 631, 632 of the MZI 252. The controller 660 supplies at least one first electronic signal 661 via the at least one first line 601 to the first phase shifter 641; and at least one second electronic signal 662 via the at least one second line 602 to the second phase shifter 642. The at least one first electronic signal and second electronic signal are respectively based on at least one value of a first and second digital electronic signal received by the controller. The digital data received by the controller is calibrated against (or obtained from) a digital look up table. The digital lookup table contains data words required for precise encoding of a complex number, more specifically the phase and magnitude encoding in polar co-ordinates. This way the controller accurately supplies necessary first and second electronic signals to the phase shifters to accurately represent a given complex number. The first and second phase shifters 641, 642 introduce independent phase shifts to the first and second branches 611, 612 of the MZI 252, for example by each exploiting plasma dispersion effects, Franz-Keldysh effects, electro-absorption effects; or thermal effects. The outputs from the first and second branches 633, 634 are then combined by the combiner 610 (a Y-branch 211 or 2×1 MMI 212) to provide an optical signal encoded with the complex number represented in polar form, i.e. in the form of equation 1b.
In more detail, the amplitude and phase of the photonic signal at the combiner 610 is controlled by controlling the phase shifts (ϕ1), (ϕ2) at the first and second phase shifters 641, 642 relative to the phase at the splitter 605.
More particularly, a first lookup table (or function or graph) contains a master data of phase and magnitude (of the output signal at the combiner 610) as a function of phase perturbation in both arms of the MZI. A native digital data (complex number—magnitude and argument) is checked against the first look up table or equivalent phase and magnitude graphs of
In the encoder 600 of
In an alternative arrangement described with reference to represented in polar coordinates can be encoded in the optical domain by modulating the magnitude and phase of an input optical signal separately in a single series branch, thereby effectively multiplying the magnitude and phase values. Such a method can be carried out using the system of
The controller described with reference to
Encoding in these ways allows an improved (e.g. more efficient, more streamlined) digital data input and rapid/efficient encoding of the input streams/optical signals with complex elements. A photonic integrated circuit employing encoders as described above is better suited to interfacing with external electronic components, for example a computer processor or memory.
Performing Mathematical Operations on Complex Numbers Encoded onto Optical Signals
There is provided a method of performing mathematical operations (e.g. arithmetic) on complex mathematical numbers using photonics.
Multiplication of complex elements (complex numbers or components of complex numbers) can be performed by cascading encoders that represent each of the multiplicands successively in series. For example, 1=g onto an optical input signal to provide a first encoded optical signal. The second encoder 712 is configured to encode a second complex number
2=h onto an optical signal to provide a second encoded optical signal. The output of the first encoder 711 is connected via a connecting branch 730 to the input of the second encoder 712 so that the optical signal input into the second encoder 712 is encoded with the first complex number
1. The optical output signal 731 from the second encoder 712 is then encoded with a third complex number
=g·h being the multiple of the first and second complex numbers
1,
2. Using the principle of
Addition of complex elements can be performed by placing encoders that represent each of the multiplicands in parallel. For example, 1=g onto an optical input signal to provide a first encoded optical signal. The second encoder 714 is configured to encode a second complex number
2=h onto an optical signal to provide a second encoded optical signal. A Y-branch 211 acts as a combiner 715 which combines the output of the first encoder 713 with the output of the second encoder 714 so that the optical output signal 732 output from the combiner 715 encoded with a third complex number
=g+h being the sum of the first and second complex numbers
1,
2. Using the principle of
There is provided a method of detecting a complex mathematical number, or a component of the complex mathematical number, from characteristics of an optical signal that has been previously encoded with a complex number (or component of a complex number) by any of the methods and apparatuses described herein. This can include detecting a second complex mathematical number, or a component of thereof, from the properties of an optical signal that has been previously encoded with a first complex number (or component thereof) and modified to perform a mathematical (e.g. arithmetic, OFT or convolution) operation on the first complex number to produce the second complex number.
Decoding the Absolute Value or Modulus of a Complex Mathematical Number Encoded onto an Optical Signal
An intensity detector such as a photodiode can be used to natively detect the absolute value or modulus of a complex mathematical number encoded onto an optical signal by detecting the amplitude of the optical signal.
Homodyne detection using balanced detectors can be used to natively decode real or imaginary numbers (that is, the real or imaginary component of a complex number including its modulus and sign) which have been encoded onto an optical signal. A schematic of a balanced detector 800 configured to decode in this way is shown in
A full complex number can be decoded from an optical signal by performing two detections (or measurements) using balanced detector—one to decode the real part of the complex number and another to decode the imaginary part; by suitably adjusting a phase shifter 806 (e.g. a thermal heater or a delay line). The real part of the complex number is decoded from the optical signal by selecting the reference input to the balanced detector to be in phase with the light used to encode the real part. The imaginary part of the complex number is decoded if the phase of the reference input to the balanced detector is selected to be in phase with the light used to encode the imaginary part. The full complex number in cartesian coordinate (cartesian form) is recovered by adding the decoded real and imaginary parts. For a polar co-ordinate, the magnitude and argument are calculated digitally from the real and imaginary terms using equations 3a and 3b, respectively.
Decoding a Complex Mathematical Number Encoded onto an Optical Signal
Two balanced detectors and a π/2 (90 degree) optical hybrid can be used to natively detect a complex number encoded onto an optical signal.
In operation, the encoded optical signal (encoded with a full complex number) is input to the signal branch 865 while a reference input signal is simultaneously input into the reference branch 860. The reference input signals 861 and 862 are selected to be in phase with the light used to encode the real and imaginary part, respectively, of the complex number when the complex number was encoded onto the optical signal. The first and second phase shifters 891, 892 allow the phase of the reference input signals 861 and 862 to be adjusted in the first input branch 861 and second input branch 862, respectively. The first phase shifter 891 is configured to cause the signal in the first input branch 861 to be in phase with the light encoded with the real part of the complex number. For example, if the encoder 300 described with reference to
In other words, the 90 degree optical hybrid splits the reference input signal into two. The imaginary part of the encoded complex number is recovered from the encoded optical signal using the second balanced detector 852 where the phase of the reference input signal is shifted by π/2 to be in phase with the light used to encode the imaginary part. The real part of the encoded complex number is recovered from the encoded optical signal using the first balanced detector 851 where the phase of the reference input signal remains unchanged.
Details of electronic decoder circuits connected to the balanced detectors shown in
Once the real and imaginary parts of the complex number have been decoded, the full complex number is recovered by adding the decoded real and imaginary parts.
In more general terms, there is provided a decoder arranged to: produce a first difference signal based on an output stream of an optical Fourier transform stage and a first reference stream, and produce a second difference signal based on the output stream and a second reference stream. The output stream is encoded with a full complex number (e.g. the aforementioned second complex element). The decoder is also arranged to detect at least one first characteristic of the first difference signal, detect at least one second characteristic of the second difference signal, output a first digital electronic signal encoded with a first component of the second complex element based on the at least one first characteristic, and output a second digital electronic signal encoded with a second component of the full complex number based on the at least one second characteristic. The at least one characteristic may be phase and/or amplitude.
The decoder comprises at least one balanced detector, for example a first and a second balanced detector. The first balanced detector is configured to receive the output stream and the first reference stream, and the second balanced detector is configured to receive the output stream and the second reference stream. The phase difference between the first reference stream and the second reference stream is nπ/2, where n is an odd integer.
The first digital signal is a first segment of a digital word, the first segment representing the real component of the full complex number, and the second digital signal is a second segment of the digital word, the second segment representing the imaginary component of the full complex number, wherein the digital word represents the full complex number.
Decoding in this way provides an improved digital data output and rapid/efficient decoding of the output stream. A photonic integrated circuit employing a decoder of this kind is better suited to interfacing with external electronic components, for example a computer processor or memory.
As shown in
For the integrated OFT device of
Examples of 2f stage arrangements using 1 dimensional arrays of waveguides are provided in C. Dragone, ‘Efficient N*N star couplers using Fourier optics’, J. Light. Technol., vol. 7, no. 3, pp. 479-489, March 1989, doi: 10.1109/50.16884.
In general terms, an optical apparatus according to an embodiment includes: a plurality of encoders, each encoder arranged to encode a first complex element onto an input stream of light; and a plurality of input ports arranged in a first array. Each input port is arranged to be supplied with a corresponding one of the input streams, thereby forming an input function definable based on the value of the first complex elements and the position of the corresponding input ports in the first array. The input ports are arranged to provide an optical input to an optical Fourier transform stage arranged to perform at least one optical Fourier transform or convolution of the input function. The optical apparatus further includes: a plurality of output ports arranged in a second array, each output port arranged to receive a portion of the output of the optical Fourier transform stage and thereby form an output stream. The optical apparatus also includes a plurality of decoders, each decoder arranged to decode a second complex element from each of the output streams based on at least one characteristic of the respective output stream.
In general terms, the optical apparatus includes a light source arranged to provide coherent light and a splitter arranged to split the coherent light into a plurality of input streams. In embodiments, the light source is a laser source, for example a solid-state semiconductor laser. However, embodiments are not limited to a laser source and other coherent light sources are also envisaged. The optical apparatus is wavelength independent, but the use of a monochromatic light for each Fourier transform ensures fidelity of the optical Fourier transform. Broadband sources can be used if filtering methods are employed for each Fourier transform.
In the optical apparatus (or PIC) of
In the optical apparatus of
The input streams (and later output streams and intermediate streams) described herein may be described as streams of light, or optical signals. In embodiments, the streams are carried by the waveguides. The term “waveguide” when used herein refers to an optical (i.e. photonic) waveguide such as an optical fibre. The light in the streams is monochromatic and coherent both within each input stream and between input streams.
The value of the first complex element encoded onto each of the input streams can differ between input streams so that the value of the input function varies with the positions of the input ports in the first array due to the variations in the input function in x- and/or y-directions.
Two variables can be used to define or approximate each of the input and output functions: (i) the relative position (e.g. an x-y position) of the ports within the array; and (ii) the value of the complex number encoded onto the streams of light passing through (e.g. entering or exiting) the ports. It may therefore be understood that the input and output functions are each sampled versions of a continuous function, wherein the sampling resolution is determined by the aperture size of the ports and/or the port spacing or pitch.
Temporal variation in the input streams can also be applied by varying the value of the first complex element encoded onto each input stream over time. The input streams may be continuous (always on, or on for multiple cycles of a clock signal). Alternatively, the input streams may also be pulsed (intermittently on and off, optionally in sync with a clock signal). The value of the first complex elements encoded onto the input streams may change with each clock cycle so that multiple optical Fourier transforms can be carried out consecutively, frame-by-frame.
The waveguide carrying an individual input stream may split and recombine in various ways depending on the type of encoder used to encode the first complex element and, as will be described in more detail herein, the type of optical circuit used to perform an arithmetic operation on the first complex element.
The outcoupling from the waveguides to the optical Fourier transform stage (i.e. the OFTC or the free-space optical element, depending on the type of OFT stage) and vice versa may be performed using grating coupler devices or alternatively using fibre bundles coupled to the OFT stage using edge couplers.
The first array of input ports is now described in more detail, however this description can also apply to the second array of output ports, as well as the third array of intermediate output ports and fourth array of intermediate input ports described herein. The terms ‘array’ and “port’ are temporarily used as a generic stand-in for the aforementioned features.
The ports may be described as pixels and the waveguides carrying the respective streams may be referred to as ‘channels’. In embodiments, the arrays of ports described herein are 1 D or 2D arrays. The array may be arranged on a straight line (1D), a flat plane (2D), a curved line (1D) or other type of spline (1D), or a curved surface (2D) or other type of surface (2D), depending on the type of optical Fourier transform stage used. For example, typically, though not always, the array is a 1D array arranged on a curved line when the optical Fourier transform is carried out using an integrated OFTC device. Conversely, if using a free-space optical Fourier transform stage with a Fourier transform lens, the array may be arranged on a flat plane facing the Fourier transform lens. The array may take the form of a 1D or 2D pattern, such as a regular rectangular array comprising regular rows of ports and orthogonal columns of ports, or a staggered array in which adjacent columns of ports are offset from one another in the direction of the columns, so that rows of ports are formed in a direction oblique to the direction of the columns.
The arrays face the Fourier transform lens so that the input ports are arranged to illuminate the Fourier transform lens and the output ports are arranged to collect light which has passed through the Fourier transform lens. The input ports are arranged one focal length behind the Fourier transform lens and the output ports are arranged one focal length in front of the Fourier transform lens. It may be understood that the input ports are arranged to provide the optical input to the optical Fourier transform stage and the output ports are arranged to sample the optical output of the optical Fourier transform stage. The optical Fourier transform stage performs an optical Fourier transform of the optical input to provide the optical output.
Returning to
The detector (or decoder) 1090 is arranged to detect (or decode) the second complex element encoded onto each output stream collected by the output ports 1008. In
The decoder 1090 is arranged to decode a second complex element from each of the output streams based on at least one characteristic of the respective output stream. A value of the at least one characteristic is detected by the decoder and translated into a form which is representative of the second complex element. In embodiments, the at least one characteristic is a phase and/or amplitude of the output stream and the value of said phase and/or amplitude is equal to or correlates with the value of the second complex element. The phase may a phase relative to the phase of the input streams.
In another example, the optical Fourier transform stage comprises a single 2f stage (a two-focal-lengths OFT) which is used to calculate the OFT of an input function to obtain the Fourier transform of the input function as an output function. A complex mathematical function g is encoded onto the input streams. OFT of the input function is performed using an optical Fourier transform stage. The OFT light is recoupled back into the output ports and waveguides channelling the output streams for decoding. As with all of the 2f stages described herein, the OFT stage may include the free space optical module shown in
The first complex elements encoded onto the input streams can be the subject of a mathematical operation before the input streams exit the input ports. For example, the first complex elements can be multiplied by an additional complex element or added to additional complex elements to cause third complex elements to be encoded onto the input streams, the third complex elements being the result of the mathematical operation. The mathematical operation can be carried out by using one or more encoders to encode complex elements onto the input streams. The one or more encoders can be said to form an optical circuit.
In general terms, the optical apparatus further comprises a plurality of first optical circuits, each first optical circuit arranged to act on a corresponding one of the input streams to perform an arithmetic operation on the corresponding encoded first complex element, thereby encoding the input streams with a third complex element. The input function is definable based on: the value of the third complex elements instead of the value of the first complex elements, and the position of the corresponding input ports in the first array.
In general terms, each first optical circuit is a multiplier circuit arranged to act on the input stream to multiply the first complex element with an additional complex element in order to encode the input stream with the third complex element. In other embodiments, each first optical circuit is an addition circuit arranged to act on the input stream to add an additional complex element to the first complex element in order to encode the input streams with the third complex element.
In embodiments, the optical circuits are any of the optical circuits described with reference to
In general terms, in a first operating mode, the value of the additional complex element is such that the third complex element is equal to the first complex element. In a second operating mode, the value of the additional complex element is such that the third complex element is not equal to the first complex element.
The above first operating mode is achieved by setting the value of the additional complex element to be 1 (i.e. unity) in the multiplier circuit or zero in the addition circuit.
A single 2f optical Fourier transform stage (hereinafter ‘2f stage’) can be made to perform the same function as a 4f optical Fourier transform stage (i.e. a convolution) by performing two consecutive OFT operations as follows.
In a first operation, the 2f stage is set to the above described first operating mode. The additional complex element is set as described above for the first operating mode so that the input function to the 2f stage is defined by the values of the first complex elements in the first array. The 2f stage then performs an optical Fourier transform of the input function and outputs a first output function at the second array of output ports. The second complex elements are decoded from the output streams as described herein. An intermediate step of determining an output function from the output streams and the position of the corresponding output ports can then be performed.
In a second operation, the value of each of the additional complex elements applied in the optical circuits is set equal to be equal to the value of the second complex elements decoded from the output streams generated in the first operating mode. In other words, the output function is sampled in the first operating mode and then, in the second operating mode, the resulting output function is then fed back in to the optical circuit in the form of the additional complex elements. This can be implemented for each of the input streams by configuring an encoder to encode the additional complex element and applying this encoder in an optical circuit along with an encoder arranged to encode the first complex element. The result is that the optical circuits effectively multiply the first complex elements by the additional complex elements so that the input streams are encoded with the third complex elements.
Continuing in the second operating mode, the 2f stage performs another optical Fourier transform of the input function, which this time is defined by the values of the third complex elements and the corresponding position of the input ports in the array. The output function is then sampled in the second operating mode by decoding the complex elements from the output streams.
This method involving two consecutive measurements using the same 2f stage effectively provides the same result as one measurement using a 4f stage, where the additional complex element is applied in an optical circuit positioned between the two 2f stages which make up the 4f stage. A description of such a 4f stage now follows.
In general terms, the aforementioned optical Fourier transform stage is a 4f stage comprising a first 2f stage and a second 2f stage. The input ports are arranged to provide the optical input as an input to the first 2f stage, and each of the output ports is arranged to receive a portion of the output of the second 2f stage as the previously described portion of the output of the optical Fourier transform stage.
Therefore, the previously described input ports to the optical Fourier transform stage are part of the first 2f stage and the previously described output ports of the optical Fourier transform stage are part of the second 2f stage.
Continuing in general terms, the 4f stage further comprises: a plurality of intermediate output ports arranged in a third array. Each intermediate output port is arranged to receive a portion of the output of the first 2f stage and thereby form a first intermediate stream encoded with a fourth complex element. The 4f stage comprises a plurality of second optical circuits, each second optical circuit arranged to act on the intermediate stream to perform an arithmetic operation on the fourth complex element, thereby encoding the intermediate stream with a fifth complex element. The 4f stage also comprises a plurality of intermediate input ports arranged in a fourth array, each intermediate input port arranged to be supplied with a corresponding one of the intermediate streams, thereby forming an intermediate function definable based on the value of the fifth complex elements and the position of the corresponding intermediate input ports in the fourth array. The intermediate input ports are arranged to provide an optical input to the second 2f stage.
The intermediate output ports are arranged at the output plane of the first 2f stage so that an intermediate output function which is the Fourier transform of the aforementioned input function is sampled by the intermediate output ports. The intermediate output function is definable based on the values of the fourth complex elements encoded onto the intermediate streams and the position of the corresponding intermediate output ports in the third array.
The intermediate input ports are arranged at the input plane of the second 2f stage so that an intermediate input function is input to the second 2f stage. The intermediate input function is definable based on the values of the fifth complex elements encoded onto the intermediate streams and the position of the corresponding intermediate input ports in the fourth array.
Each second encoder 1030b is arranged to encode an additional complex element onto a stream of light. If the arithmetic operation is a multiplication, each second encoder 1030b is simply arranged ‘in line’(or in series) in the optical waveguide carrying the intermediate stream. Thus, the aforementioned optical circuit in the general description of the 4f stage comprises simply the second encoder and no other encoders (in other words, each optical circuit is replaced with a second encoder).
The 4f stage of
In some embodiments, each second encoder is arranged to act on the intermediate stream to multiply the fourth complex element with an additional complex element in order to encode the intermediate stream with the fifth complex element.
In more detail and with reference to
An alternative method of optically calculating the convolution of two functions g*h is shown in
All functions described herein are mathematical functions defined by complex elements. The output functions may be defined by full complex numbers (therefore may be referred to as complex output functions). The input functions may be complex functions if the encoded complex elements are full complex numbers. The input functions may be real functions if the encoded complex elements are components of complex numbers.
A more sophisticated form of optical computing system, capable of performing complex operations, has been described. As noted above, the present inventors have identified that optical computing systems of increased sophistication, such as those of the present disclosure, are impacted by phase effects which do not adversely impact less sophisticated optical computing devices. In more detail, the photonic devices of the disclosed optical computing system are liable to undergo so-called “phase drift”, for example as a result of environmental factors such as temperature. This phase drift impacts the behaviour of the light used by the photonic devices to perform operations and arithmetic. More specifically, because the presently disclosed system utilises the phase of light to encode complex numbers, phase drift of the photonic device(s) will impact this process and affect the associated calculations. Therefore, the present inventors have devised mechanisms for compensating for such phase effects to enable reliable and accurate computation. These mechanisms will now be described in detail with respect to
Turning first to
It will be appreciated that controller 1402 may be included as part of the encoders of any of the arrangements described with reference to any of
Feedback 1404 from the PIC 1403 is fed back through to the controller 1402 of the optical encoder. In this example, feedback 1404 provides an offset voltage, set by feedback logic, to the controller 1402. Feedback signal 1404 may be used to modify the signal provided by controller 1402 to PIC 1403, in the manner that will be described in further detail below. Where this happens periodically or continuously, the arrangement of
With this generalised overview in mind, more complete example embodiments of the controller 1402 of the optical encoder will now be described.
In both the arrangements of
Within the optical encoder, the received electronic signal is, in the embodiment of
Turning now to
The controller 1402 in this example is configured to amplify the received electronic signal using a variable gain amplifier (VGA). However, it may be understood that, depending on the voltage range supported by the DAC, a VGA may or may not be included. The received electronic signal is then output from the VGA and is split into a first signal component and a second signal component. Splitting the electronic signal in this manner forms a push-pull signal. The second signal component is inverted using a push-pull amplifier resulting in the second signal component being an inverted version of the first signal component. In this example, the push-pull amplifier is configured to invert the second signal component in the analogue domain because the push-pull amplifier can drive two output levels. This means that inverting a signal is possible. However, push-pull amplifiers can cause the removal of AC coupling or the addition of DC artefacts. Therefore, if AC coupling of the second signal component is necessary, the second signal component may be adjusted for balance (or balance adjusted).
An adjustment signal comprising a voltage VBAL can be provided to the controller 1402 to provide such a balance adjustment, in other words to adjust a DC offset, DC artefact and/or lack of AC coupling of the second signal component. This adjustment is designated “Balance Adjust” in
This VBAL adjustment is, in the present example arrangement, dependent on the voltage swing required by the controller 1402 and can be set by firmware, for example implemented by power management logic as shown schematically in
The controller 1402 may be further configured to modify the received electronic signal to compensate for a phase shift induced by the push-pull amplifier of the optical encoder. Such an adjustment is shown and designated as “Centre Adjust” in
To enable such an adjustment to be provided, an indication of a dynamic operating range VCENTRE of the photonic device is received by the controller 1402, as shown in
As noted above, the adjustment signal VBAL and the indication of a dynamic operating range VCENTRE can be provided by firmware which can take into account the type of photonic devices being used by the optical encoder. For example, different photonic devices may require different dynamic voltage ranges to function properly. The adjustment signal VBAL and the indication of a dynamic operating range VCENTRE allow such changes to the dynamic voltage range to be made when providing the input signal to the photonic devices. As a result, the same controller 1402 can be used for a variety of different photonic devices. If a new photonic device is to be used, the controller 1402 firmware can simply be updated to modify VBAL and VCENTRE accordingly. This avoids the need to use a different type of controller 1402 for each type of photonic device or to design multiple controller circuits for different specific photonic devices. Typically, the adjustment signal VBAL and the indication of a dynamic operating range VCENTRE can be set by a power management block operating the aforementioned firmware, where said power management block controls the voltage lines in the circuit(s) of the controller 1402. This is shown schematically in
Turning back to
The adjustment processes described above (designated as Balance Adjust, Centre Adjust, and Offset Adjust) may be implemented as feedback loops. In particular, a signal may be output from the controller 1402 to the photonic device, as shown in
Turning now to
In
Following inversion, the arrangement of
Also like the arrangement of
As described above, an indication of a dynamic operating range VCENTRE of the photonic device is received. The received electronic signal is modified based on the received indication of the dynamic operating range VCENTRE (or centre adjusted). The indication of a dynamic operating range VCENTRE is set by firmware which is dependent on the connected photonic device. Further, as the received electronic signal is split, the received electronic signal is modified by adjusting the first and second signal components such that their swing voltage spans the dynamic operating range of the photonic device. The indication of a dynamic operating range VCENTRE can be set by a power management block and allows the circuit to be reused for a variety of different photonic devices instead of using a different circuit for each photonic device, as described with reference to
Also as in the case of
In the present example where the signal comprises two components that have been split, the received electronic signal is modified by adjusting the first and second signal components to offset the phase drift associated with the photonic device.
As described in relation to
Unlike driver circuits used in traditional data communication applications, the example push-pull and data inversion optical encoder circuits used to implement the controller flow shown in
Turning now to
As can be seen, an input signal is received from a DAC as described in relation to
As described in relation to
The signal provided to VOFFSET may be set using feedback logic 1708 which sets the offset based on a feedback signal indicative of a phase drift experienced by the photonic device of the optical encoder. This allows the Offset Adjust 1712 to modify the signal supplied to the photonic device in such a way that the modified input signal results in the photonic device operating in a way which compensates for or corrects said phase drift. This ensures proper functioning of the photonic device and, ultimately, allows for accurate and reliable computations.
The VCENTRE adjustment may be set by power management logic 1706 which sets the centre adjustment based on the type of photonic device connected to the optical encoder, to which the output signal is to be supplied. This allows the Centre Adjust 1710 to adapt the signal supplied to the photonic device to account for particular requirements, characteristics and/or behaviours of the photonic device. If a new type of photonic device is connected to the controller 1402, VCENTRE can be adjusted accordingly. This obviates the need to provide a separate, specific controller for each type of photonic device or for the controller to be modified wholesale when a new photonic device type is connected.
As also described in relation to
Following the various modifications described above, the two components of the processed signal are finally supplied to terminals VOUT1 and VOUT2 of the photonic device respectively. It will be appreciated that where more than one photonic device is provided, multiple copies of the circuit of
In the case where the process flow of
The optical encoder of this example is a mixed-signal circuit consisting of different logic families—for example, CMOS (complementary metal-oxide semiconductor) logic in relation to digital data and TTL (Transistor-transistor logic) in relation to the analogue circuit. Accordingly, appropriate signal integrity blocks (pull-up/pull-down resistor networks) are used to ensure that the signal integrity is preserved in the circuit.
Turning next to
The method of
The method then proceeds by receiving, at block 1802, a feedback signal based on a phase drift associated with a photonic device of the optical encoder. As described above, photonic devices, such as those of PIC 1403, experience phase drift due to environmental factors such as temperature. Such phase drifts, if not addressed, can impair the photonic devices' ability to perform accurate and reliable computations. The feedback signal received at block 1802 is configured such that it allows controller 1402 to modify the electronic signal being processed to compensate for any phase drift experienced by the photonic devices. The feedback signal may be set/provided via feedback logic which monitors the photonic device and quantifies or evaluates any phase drift experienced by the photonic device.
The method further comprises modifying, at block 1803 the received electronic signal based on the received feedback signal to generate a modified electronic signal. This may comprise modifying parameters of the received electronic signal in such a way that the phase drift of the photonic device, as indicated in the received feedback signal, is compensated for when the modified electronic signal is provided to the photonic device. In practice, the modification provided at block 1803 may be provided by providing an appropriate offset signal at VOFFSET in the manner described above in relation to
Next, the method proceeds by supplying, at block 1804, the modified electronic signal to modulate the photonic device in a manner which compensates for or corrects the identified phase drift of the photonic device. This ensures that any such phase drift does not impair the photonic device's ability to perform accurate and reliable computations.
The method of
It will be appreciated that the method of
The method may comprise splitting the received electronic signal into a first signal component and a second signal component. The second signal component may be an inverted version of the first signal component. The method may comprise inverting the second signal component of the split signal in the digital domain or the analogue domain in the manner described above.
The method may comprise receiving an adjustment signal to correct a DC offset on the second signal component and modifying the second signal component based on the received adjustment signal to generate a modified second signal component.
The method may comprise modifying the received electronic signal by adjusting the first and second signal components to offset the phase drift associated with the photonic device. The method may comprise modifying the received electronic signal by adjusting the first and second signal components such that their swing voltage spans a dynamic operating range of the photonic device.
The method may comprise receiving an indication of a dynamic operating range of the photonic device and modifying the received electronic signal based on the received indication of the dynamic operating range.
The method may comprise amplifying the received electronic signal. The received electronic signal may be a digital electronic signal. The method may comprise converting the received (digital) electronic signal to an analogue electronic signal, using a digital to analogue converter (DAC).
The method may comprise AC coupling the analogue electronic signal to adjust a DC offset of the analogue electronic signal.
The method may comprise modifying the received electronic signal to compensate for a phase shift induced by a push-pull amplifier of the optical encoder.
Supplying 1804 the modified electronic signal may comprise supplying a first portion of the modified electronic signal, wherein the first portion is fast moving. Supplying 1804 the modified electronic signal may comprise supplying a second portion of the modified electronic signal, wherein the second portion is slow moving. In this context, “fast moving” signals describe AC data signals. In this context, “slow moving” signals describe slow moving DC signals. Slow moving components of a circuit may generally comprise DC components.
Modifying 1803 the received electronic signal may generate the second portion of the modified electronic signal. The received electronic signal may be a multi-bit signal. The received electronic signal may be received via an interface and at least one buffer. The interface may comprise a digital input and output board.
In both the arrangements of
The circuit is realised either using a single-ended, or a differential ADC.
In both embodiments, the received electronic signal fed into the optical decoder from the balanced photodetector is the difference in photocurrents from each of the constituent photodetectors that form the balanced photodetector. This current is both amplified and converted to a voltage signal using a transimpedance amplifier (TIA). If further gain of the voltage signal is required, a VGA amplifies the voltage signal. A high gain improves the accuracy of the voltage signal and may be beneficial when noise in the system is substantial. Following the amplifications by the TIA and VGA, the voltage signal (or analogue electronic signal) is then converted to a digital electronic signal using different methods in each of the embodiments of
Turning to
For determining the sign of the complex element, a comparator is connected to a reference line and the VGA to compare a reference voltage with the voltage of the third component. The reference voltage is supplied via the reference line to the comparator and is set by power management components. The comparator then outputs a modified third component indicating which of the two voltages input to the comparator is larger. The comparator uses TTL logic so its output is a binary signal, or more specifically, a TTL signal. The voltage signal of the modified third component is negative if the voltage of the third component is lower than the reference voltage. For example, if the reference line is supplied with a reference voltage equal to 0, the output of the comparator would indicate that the voltage signal of the modified third component is negative if the voltage of the third component is less than 0. The output of the comparator is then converted from TTL logic to CMOS logic. A TTL CMOS pull-up receives the modified third component and converts it to a voltage level understood by CMOS logic. A TTL CMOS pull-up is essentially a resistor circuit which changes the voltage level of the received signal by connecting the unused input pins of a digital logic gate (e.g. a digital inverter) to a DC supply voltage to keep the input voltage of the resistor circuit HIGH. A change in voltage level is required because the values of HIGH and LOW voltage (or current) differ in relation to TTL logic and CMOS logic. The use of CMOS logic allows very low power consumption. It is also possible for the comparator to use another logic family, for which appropriate matching networks are placed to convert the comparator output to CMOS logic, but for this embodiment, the comparator uses TTL logic.
The digital logic gate in this embodiment is a digital inverter (or a NOT gate) and implements logical negation for CMOS conversion. So, the modified third component is inverted by the digital inverter to output a bit denoting the sign of the complex element (or a sign bit). This is used because the TTL CMOS pull-up circuit has a margin of error so the output (a sign bit) could be incorrect. Therefore, the digital inverter ensures that the sign is correct. If logic level 1 is used to represent negative numbers, the output of the digital inverter is the sign bit. On the other hand, if logic level 0 is used to represent negative numbers, then the output of the digital inverter is inverted again to determine the sign and output the sign bit.
When determining the modulus of the received signal, the fourth component is rectified using a rectifier circuit in the analogue domain to invert the polarity of the negative portion of the fourth component. In this manner, the magnitude of the fourth component can be tracked because the rectifier circuit clips the signal to ensure there is no negative portion, leaving only the magnitude (or modulus or absolute value). In this embodiment, the fourth component undergoes full-wave rectification which results in the inversion of the negative portion to ensure a single polarity. This therefore extracts the modulus of the signal. The modified fourth component is then fed into a single-ended ADC to convert the modified fourth component to a multi-bit word (which is a segment of a longer word defining the full complex number). A single-ended ADC is a unipolar device so it ranges from 0 to a positive value. The output from the single-ended ADC denotes the modulus of the signal. Two instances of this circuit is used, one for real and another for the imaginary term, to construct the full complex number.
Thus, the third component and fourth component are modified and output the sign and modulus in the form of a digital electronic signal. These signals are fed into separate digital buffers. The digital buffers output the sign bit or multi-bit word, respectively, to one of two FIFOs for storage. The sign bit and multi-bit word may be input into any of the previously described optical encoders as a digital signal.
Now turning to
The binary output decoder splits the signal into a fifth component (carrying sign) and a sixth component (carrying modulus). The fifth and sixth components can respectively be considered analogous to the third fourth components described with reference to
The described embodiments are provided for illustration purposes and are not intended to be limiting. As the skilled person will understand, various modifications can be made to the embodiments. The invention is defined by the scope of the appended claims.
Also described herein are the following numbered embodiments:
Embodiment 1.1. An encoder configured to output an optical signal encoded with a complex number, the encoder comprising:
Embodiment 1.2. The encoder according to embodiment 1.1, wherein:
Embodiment 1.3. The encoder according to embodiment 1.1 or 1.2, wherein:
Embodiment 1.4. The encoder according to embodiment 1.1, 1.2 or 1.3, wherein the encoder comprises at least one phase shifter configured to encode a phase difference between the first output signal and second output signal to (2n−1)π/2 radians onto the respective input signal, wherein the at least one phase shifter is incorporated into one or both of the first phase switch and second phase switch, or is one or more stand-alone phase shifters included in the first series branch or second series branch or both.
Embodiment 1.5. The encoder according to any of embodiments 1.1 to 1.4, wherein the first input signal is coherent with the second input signal upon entering the first branch.
Embodiment 1.6. The encoder according to any of embodiments 1.1 to 1.5, wherein the output of the encoder represents a complex number defined by the sum of the first component and the second component.
Embodiment 1.7. The encoder according to any of embodiments 1.1 to 1.6, wherein one of the first component and the second component represents the real component of the complex number and the other of the first component and the second component represents the imaginary component of the complex number.
Embodiment 1.8. The encoder according to any of embodiments 1.1 to 1.7, wherein the first phase switch is configured to:
where n is an integer.
Embodiment 1.9. The encoder according to any of embodiments 1.1 to 1.8, wherein the second phase switch is configured to:
where n is an integer.
Embodiment 1.10. A system comprising the encoder according to any of embodiments 1.1 to 1.9, and a controller arranged to control at least one of the first intensity modulator, the second intensity modulator, the first phase switch and the second phase switch in order to vary the output of the encoder.
Embodiment 1.11. A system comprising the encoder according to any of embodiments 1.1 to 1.10, wherein the controller is arranged to supply:
Embodiment 1.12. An encoder configured to modulate an input optical signal to produce an encoded optical output signal, the encoder comprising:
Embodiment 1.13, A system comprising the encoder according to embodiment 1.12, and a controller arranged to independently control the first phase shifter and second phase shifter in order to vary the output of the encoder.
Embodiment 1.14, A system comprising the encoder according to embodiment 1.12 or 1.13, wherein the controller is arranged to supply:
Embodiment 1.15. An encoder configured to modulate an input optical signal to produce an encoded optical output signal, the encoder comprising a first series branch including:
Embodiment 1.16, A system comprising the encoder according to embodiment 1.15, wherein:
Embodiment 1.17, A system comprising the encoder according to embodiment 1.15, wherein:
Embodiment 1.18, The system according to embodiment 1.17, wherein the component represents the real component or the imaginary component of the complex number.
Embodiment 1.19. The encoder according to embodiment 1.15, or the system according to embodiments 1.16, 1.17 or 1.18, wherein the first phase shifter is a phase switch configured to:
where n is an integer.
Embodiment 1.20. The encoder according to embodiment 1.15 or 1.19, or the system according to embodiments 1.16, 1.17 or 1.18, further comprising a controller arranged to control at least one of the first intensity modulator and the first phase shifter in order to vary the output of the encoder.
Embodiment 1.21. The encoder according to embodiment 1.15, wherein the controller is arranged to supply:
Embodiment 1.22 A system comprising the encoder of any of embodiments 1.1-1.21, the system comprising a Fourier transform stage arranged to perform an optical Fourier transform of the output of the optical circuit, wherein the optical system comprises a photonic detector arranged to detect the optical Fourier transform.
Embodiment 1.22 A chip comprising the optical system of embodiment 1.22 and an electronic circuit arranged to carry a digital signal representing the detected optical Fourier transform.
Embodiment 1.23 A computer comprising the chip of embodiment 1.22.
Number | Date | Country | Kind |
---|---|---|---|
2203131.4 | Mar 2022 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB2023/050538 | 3/7/2023 | WO |