Optical QPSK

    Start To launch labAlive simulation applications you need a Java Runtime Environment supporting Java Web Start on your system. Here you can get more information about installing the right Java version. title="Start via Windows Batch Start" onclick="gtag('event', 'OpticalQpsk', {'event_category': 'Launch bat', 'event_label': 'Optical QPSK transceiver'});">

Basic conditions

The difference to the electrical QPSK is that an adder is used instead of a multiplier!
The basic brightness is the reason that an offset occurs in the photodiode!

This simulation shows how an optical QPSK with an external modulator and a direct conversion receiver works. A 10 GBit/s connection is established at 1500 nm.

Optical quadrature phase shift keying (QPSK) transmission
Optical QPSK

Optical quadrature phase shift keying (QPSK) transmission
Please note that signals with a carrier frequency of 200 THz (1500 nm wavelenth) cannot be handled properly in this setup. Therefore the simulation uses a carrier frequency of 20 GHz.

The optical transmission consists of an electrical signal that, with the help of a modulator, is converted into an optical signal.
Afterwards the signal is sent through an optical fiber to the receiver, where it's demodulated and reverted into an electrical signal by using a photodiode.

The carrier signal of the direct conversion receiver and the received signal should be synchronized in frequency and phase.
In real life optical QPSK requires a subsequent phase correction.

To simplify and to help with a better understanding of the simulation the following points will be ignored:

- the phase shift of all the different components
- the influence of temperature
- non-ideal lasers (they will have an exact wavelength and phase)

Modulation

It consists of a modulation symbol mapper, an I/Q splitter, a pulse shaper for the I and Q path, a local laser and a 'Mach-Zehnder-Interferometer'.
For further information refer to Mach-Zehnder-Interferometer.

Modulator
Optical QPSK modulator

LiNb O 3 MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamitaiaadM gacaWGobGaamOyaiaad+eadaWgaaWcbaGaaG4maaqabaaaaa@3B29@ , Lithium niobate a synthetic salt, is used as a phase shifter.
(At this point there is no use to get into the chemical componets of the synthetic salt, just know that it helps with shifting the phase.)
The signal goes to the I/Q splitter, there it gets separated into the I and Q path.
Afterwards the pulse shaper on both paths of the 'Mach-Zehnder-Interferometer' feeds the signal into the local laser.

The phase shift can be calculated with the formula below:

φ= ω 0 LΔ n eff c MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqOXdOMaey ypa0ZaaSaaaeaacqaHjpWDdaWgaaWcbaGaaGimaaqabaGccaWGmbGa euiLdqKaamOBamaaBaaaleaacaWGLbGaamOzaiaadAgaaeqaaaGcba Gaam4yaaaaaaa@428B@

φ MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqOXdOgaaa@37B0@ Phase shift
ω 0 MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaeqyYdC3aaS baaSqaaiaaicdaaeqaaaaa@38A6@ Laser frequency
L MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamitaaaa@36C4@ Length
neff Shift of the refractive index
c MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaam4yaaaa@36DB@ Speed of light
Definitions

The phase shift in the Q path can be either 90° or 270°, in the I path 0° or 180°.
At the end of the 'Mach-Zehnder-Interferometer' both paths are added resulting in four phase shifts (±45° and ±135°).
The following signal goes to the optical fiber.

Constallation diagram with the 4 phases
Constellation diagram for QPSK

QPSK signal generation QPSK signal generation QPSK signal generation
Modulation in the 'Mach-Zehnder-Interferometer'

TRANSMISSION ATTENUATION

The transmission attenuation of the optical fiber is calculated from the length and the attenuation per kilometer.
Moreover an additional attenuation can be added, for example as a bend.
A further requirement is the addition of AWGN.

Sr=St ·a2= r^22 r^=2St ·a

DEMODULATION

To demodulate the signal it has to be split into two paths.
Both paths add a local laser, one of them getting a 90°, the other a 0° phase shift.
Afterwards the signals are sent to two photodiodes, where they are converted into electrical signals.
Subsequently there is an electrical Q- and I-signal. Both will be combined to form a constellation point.

Demodulator

>

Optical QPSK demodulator

For a better understanding regarding how the signals get processed and how the formulas get derived, read the first part of the tab: illustration.

OFFSET CORRECTION

The photodiode is a power detector and since light can't have a negative amplitude it produces only positive output values.
As a consequence, the constellation is shifted to the fist quadrant.
Zero, as the lowest point, exists only if the local laser and the received signal eliminate each other completely.
But keep in mind that the offset is the same for Inphase as in Quadrature!
Therefore offset correction is used to center the constellation.

Offset correction, explained in short terms, can be seen as the mean of the signal.
To get a better grip on the finer details, read the relevant part of the tab: illustration.

Constelationdiagram without Offset

Constellation diagram with offset
Constelationdiagram with Offset

Constellation diagram with offset correction

Experiment

As part of the experiment, the frequency is kept low so that it can be displayed.

In order to show how optical QPSK works, the following experiment will be performed.

PART 1

The aim is to have the received signals have the same value, and the constellation points are on 22 .


Explore the signal values at all points mentioned in the tutorial to get acquainted with the process.
Try to understand how the offset correction, set in the application, results from the calculation explained in the illustration.

After having read the tutorial, and understand the formulas and change the length of the optical fiber to 120 km and the attenuation to 0.3 dB/km.
For simplicity reasons change the noise setting to 'OFF'.
The default settings are shown in the folder 'Manual'.

Calculate the new values of the offset correction and check your result with the constellation diagram.

PART 2

As soon as the previous steps have been understood, the second part can start.
Switch back to the 30dB-channel (optical fiber length: 150km, attention: 0,2dB).

Alter the noise setting to 'ON' and change the SNR bit by bit in favor to get the same BER values as in the table below.
Tip: Changing the SNR results in another offset. So it´s recommended to make an Excel-sheet for the calculation.
Are these the exact same values? If not, how and why do they differ?
For further understanding compare the optical to the electrical QPSK.

E b N 0 MathType@MTEF@5@5@+= feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaamaala aabaGaamyramaaBaaaleaacaWGIbaabeaaaOqaaiaad6eadaWgaaWc baGaaGimaaqabaaaaaaa@3AC9@

[dB]

QPSK theoretical

p b MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadc hadaWgaaWcbaGaamOyaaqabaaaaa@3922@

QPSK

p b MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBamXvP5wqonvsaeHbd9wDYLwzYbqe e0evGueE0jxyaibaieYlf9irVeeu0dXdh9vqqj=hEeeu0xXdbba9fr Fj0=OqFfea0dXdd9vqaq=JfrVkFHe9pgea0dXdar=Jb9hs0dXdbPYx e9vr0=vr0=vqpWqaaeaabiGaciaacaqabeaadaqaaqaaaOqaaiaadc hadaWgaaWcbaGaamOyaaqabaaaaa@3922@

-2 1,306E-01
0 7,865E-02
2 3,751E-02
4 1,250E-02
6 2,388E-03
8 1,909E-04
10 3,872E-06

Simulation Settings

The simulation starts with the following default settings.
Those can be changed by pressing the respective icons.

Simulation settings:

Constelationdiagram with Offset
transmit laser:1V
Constelationdiagram without Offset
laser diode properties
Constelationdiagram with Offset
simulation settings ( E 0 / N b MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamyramaaBa aaleaacaaIWaaabeaakiaac+cacaWGobWaaSbaaSqaaiaadkgaaeqa aaaa@3A46@ ):10dB
Constelationdiagram without Offset
noise properties result of simulation settings
Constelationdiagram with Offset
transmission attenuation: 30dB(150km, 0,2dB/km)
Constelationdiagram without Offset
transmission path properties
Constelationdiagram with Offset
local laser:1V
Constelationdiagram without Offset
local laser properties
Constelationdiagram with Offset
photodiode
Constelationdiagram without Offset
photodiode properties
Constelationdiagram with Offset
offset:-0,5V
Constelationdiagram without Offset
offset properties
Constelationdiagram with Offset
normalization:30
Constelationdiagram without Offset
normalization properties

Demodulation - Formulas explained

The local laser has the following characteristics:
c^  = 1V;  c^22  0.5 V2   dBm =  dBm V2

Optical demodulation differs from the electrical one in that, that the carrier signal is added instead of multiplied.
Below the formulas are explained, which will be used to calculate the signals d1(t) , d2(t) , d3(t) .
The signal after the optical coupler: d1(t) .
The signal after the photodiode: d2(t) .

optical qpsk for formulas
QPSK Demodulator

First the mean of r(t) has to be calculated, since the signal splits into two paths (as shown in the graphic).
Then it will be added to the carrier signal c(t).

d1(t)= r^2 cos(ω0t+φr) +c^ cos(ω0t+φc)

In the next step the photodiode squares d1(t) .

d2(t)=(d1 (t))2=(r ^2cos (ω0t+φr)+ c^cos (ω0t+φc)) 2

The first binomial formula can be used to simplify the term.
(x+y)2=x2+2xy+y2

=r^22cos(ω 0t+φr)2+ c^2cos(ω0t+φc)2+ 2r^c^2cos(ω0t+φr)·cos(ω0t+φc)

The pulse shaper generates the average, which results in the detected signal d3(t) .
It consists of the Offset and d , the shift of the signal.
Reminder:
cos2 x=12 (1+cos2x)
and
cos(x)cos(y) =12(cos(x-y)+cos(x+y))

Going forward, the cosine-parts of the formula can be discarded.

d3(t)= r^24 + c^22+ 2r^c^ 2*2 4

The blue part causes an offset, while the red part equals to d

For clarification:
24 consists of 12 from the cosine theorem above
and the 45° displacement in the constellation diagram 122 =22

To finish the formula, the Noise needs to be added, but don't forget to divide it by 2, since it splits into two paths.

d3(t)= N2+ r^24 +c^2 2+ 2r^c^ 2* 24

d1(t)
Detected signal after the adder
d2(t)
Detected signal after photodiode
d3(t)
Detected signal after pulse shaper
r ^ MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGabmOCayaaja aaaa@36FA@ Amplitude received signal
c ^ MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGabm4yayaaja aaaa@36EB@ Amplitude carrier signal
S t MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaam4uamaaBa aaleaacaWG0baabeaaaaa@37F0@ Transmission power
S r MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaam4uamaaBa aaleaacaWGYbaabeaaaaa@37EE@ Received power
a MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq=Jc9 vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9pg0FirpepeKkFr0xfr=x fr=xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaamyyaaaa@36D9@ Transmission / Damping factor
N
Noise
Definitions

Offset Correction - Formulas explained

Offset correction is based on the mathematical formula of the detected power.
Below the two components of the formula d3(t) , as derived above, are being used to calculate them respectively.

Of fs et =Na ²2+ r^24 +c^22 = (St+N)a22 +c^22

a is the damping factor and has to be multiplied to the noise. r is the received amplitude and can be expressed with the transmission power.
r=2Sta

Furthermore r has to be squared to fit into the formula.
2Na24 +2Sta2 4=2(N+St) a24
The last step, to get to the finished Offset formula, is to shorten the four with the two.

d= 2r^c^2 24 = r^c^2 = 2Stac^2

Here d only requires shortening and replacing the r with the formula mentioned above.

The final step requires a factor v, which describes multiplied with d the corrected position of the constellation points in the diagramm, as shown below.

Constelationdiagram without Offset

Constellation diagram with offset
Constelationdiagram with Offset

Constellation diagram with offset correction

The desired position in the constellation diagram is at 45° from zero, so both values multiplied should result in 12 2 , which is also the value of cos(45°) .

v· d =2 2v ·2 St a c^ 2= 22 v =2 St 2a c^