[LabVIEW]Phase Shift Keying

 

Introduction

 In this lab, I learnt the principle of Phase Shift Keying (include Quadrature Phase Shift Keying and Binary Phase Shift Keying). Then I design a LabVIEW program to simulate these two kinds of Phase Shift Keying to verify the theorem knowledge. I try to compare the performance of these two kinds of Phase Shift Keying by using the result of the LabVIEW program.

Principle of Phase Shift Keying

  1. Binary Phase Shift Keying

The most straightforward type of PSK is called binary phase shift keying (BPSK), where “binary” refers to the use of two-phase offsets (one for logic high, one for logic low).

We can intuitively recognize that the system will be more robust if there is greater separation between these two phases—of course it would be difficult for a receiver to distinguish between a symbol with a phase offset of 90° and a symbol with a phase offset of 91°. We only have 360° of phase to work with, so the maximum difference between the logic-high and logic-low phases is 180°. But we know that shifting a sinusoid by 180° is the same as inverting it; thus, we can think of BPSK as simply inverting the carrier in response to one logic state and leaving it alone in response to the other logic state.

 

To take this a step further, we know that multiplying a sinusoid by negative one is the same as inverting it. This leads to the possibility of implementing BPSK using the following basic hardware configuration:

[LabVIEW]Phase Shift Keying_第1张图片

However, this scheme could easily result in high-slope transitions in the carrier waveform: if the transition between logic states occurs when the carrier is at its maximum value, the carrier voltage has to rapidly move to the minimum voltage.

 

 

[LabVIEW]Phase Shift Keying_第2张图片

High-slope events such as these are undesirable because they generate higher-frequency energy that could interfere with other RF signals. Also, amplifiers have limited ability to produce high-slope changes in output voltage.

 

If we refine the above implementation with two additional features, we can ensure smooth transitions between symbols. First, we need to ensure that the digital bit period is equal to one or more complete carrier cycles. Second, we need to synchronize the digital transitions with the carrier waveform. With these improvements, we could design the system such that the 180° phase change occurs when the carrier signal is at (or very near) the zero-crossing.

[LabVIEW]Phase Shift Keying_第3张图片

 

  1. Quadrature Phase Shift Keying

BPSK transfers one bit per symbol, which is what we’re accustomed to so far. Everything we’ve discussed with regard to digital modulation has assumed that the carrier signal is modified according to whether a digital voltage is logic low or logic high, and the receiver constructs digital data by interpreting each symbol as either a 0 or a 1.

 

Before we discuss quadrature phase shift keying (QPSK), we need to introduce the following important concept: There is no reason why one symbol can transfer only one bit. It’s true that the world of digital electronics is built around circuitry in which the voltage is at one extreme or the other, such that the voltage always represents one digital bit. But RF is not digital; rather, we’re using analog waveforms to transfer digital data, and it is perfectly acceptable to design a system in which the analog waveforms are encoded and interpreted in a way that allows one symbol to represent two (or more) bits.

 

QPSK is a modulation scheme that allows one symbol to transfer two bits of data. There are four possible two-bit numbers (00, 01, 10, 11), and consequently we need four phase offsets. Again, we want maximum separation between the phase options, which in this case is 90°.

[LabVIEW]Phase Shift Keying_第4张图片

The advantage is higher data rate: if we maintain the same symbol period, we can double the rate at which data is moved from transmitter to receiver. The downside is system complexity. (You might think that QPSK is also significantly more susceptible to bit errors than BPSK, since there is less separation between the possible phase values. This is a reasonable assumption, but if you go through the math it turns out that the error probabilities are actually very similar.)

Lab results & Analysis

  1. The diagram of LabVIEW:

These two kinds of mapping methods are come from the theorem knowledge.

 

[LabVIEW]Phase Shift Keying_第5张图片

Figure 1 Mapping of BPSK

[LabVIEW]Phase Shift Keying_第6张图片

Figure 2 Mapping of QPSK

[LabVIEW]Phase Shift Keying_第7张图片

Figure 3 Digital demodulation of QPSK

[LabVIEW]Phase Shift Keying_第8张图片

Figure 4 Digital demodulation of BPSK

  1. Results of the BPSK:

 

[LabVIEW]Phase Shift Keying_第9张图片

Figure 5 configuration of BPSK

The parameter M is representing the number of the mapping cases, for BPSK, the mapping case is only 1 and -1 so that we need to configurate the value of M to be 2.

[LabVIEW]Phase Shift Keying_第10张图片

Figure 6 input and output of BPSK

 

[LabVIEW]Phase Shift Keying_第11张图片

Figure 7 RF

[LabVIEW]Phase Shift Keying_第12张图片

Figure 8 I signal

Figure 8 shows that the signal in In-phase component.

 

[LabVIEW]Phase Shift Keying_第13张图片

Figure 9 Pulse Shape

Figure 9 shows that the convolution of the signal after the interpolation and pulse signal.

 

[LabVIEW]Phase Shift Keying_第14张图片

Figure 10 Q signal

Figure 10 shows that the quadrature component of the signal.

 

[LabVIEW]Phase Shift Keying_第15张图片

Figure 11 IQ graph

Figure 11 shows that IQ graph of the BPSK.

  1. Results of the QPSK:

 

[LabVIEW]Phase Shift Keying_第16张图片

Figure 12 configuration of QPSK

The parameter M is representing the number of the mapping cases, for QPSK, the mapping cases are only (0.707+0.707i), (0.707-0.707i), (-0.707+0.707i) and (-0.707-0.707i) so that we need to configurate the value of M to be 4.

[LabVIEW]Phase Shift Keying_第17张图片

Figure 13 input and output of QPSK

 

[LabVIEW]Phase Shift Keying_第18张图片

Figure 14 RF

[LabVIEW]Phase Shift Keying_第19张图片

Figure 15 I signal

Figure 15 shows that the signal in In-phase component. We can see the waveform in this figure are still have some distortion. But the general trend and the waveform are similar.

 

[LabVIEW]Phase Shift Keying_第20张图片

Figure 16 Pulse Shape

Figure 16 shows that the convolution of the signal after the interpolation and pulse signal.

 

[LabVIEW]Phase Shift Keying_第21张图片

Figure 17 Q signal

Figure 17 shows that the quadrature component of the signal.

 

[LabVIEW]Phase Shift Keying_第22张图片

Figure 18 IQ graph

Figure 18 shows that IQ graph of the QPSK.

Then we can adjust the value of Eb/N0 to verify the theorem knowledge.

We decrease the value of Eb/N0 to -20, and see what happen.

[LabVIEW]Phase Shift Keying_第23张图片

Figure 19 example of output

hen we can adjust the value of Eb/N0 to verify the theorem knowledge.

We decrease the value of Eb/N0 to -20dB, and see what happen then we can try some times to compare the bits error rate of the system when Eb/N0 is -20dB.

 

[LabVIEW]Phase Shift Keying_第24张图片

 

[LabVIEW]Phase Shift Keying_第25张图片

 

[LabVIEW]Phase Shift Keying_第26张图片

[LabVIEW]Phase Shift Keying_第27张图片

[LabVIEW]Phase Shift Keying_第28张图片

Figure 20 five output when Eb/N0 is -20dB

We can count the number of the error bits to compute the bits error rate, the new can get the average number of these five bits error rate.

average bits error rate=0+112+0+212+312×15=110

We can adjust the value of Eb/N0 continually, and compare the bits error rate of different values of Eb/N0. And we find:

When the value of Eb/N0 is bigger than -10dB, the bits error rate is almost zero.

When the value of Eb/N0 is smaller than -10dB but bigger than -20dB, the bits error rate is between zero and 10%

When the value of Eb/N0 is smaller than -20dB but bigger than -30dB the bits error rate is almost 35%

When the value of Eb/N0 is smaller than -30dB, the bits error rate is almost bigger than 50%.

 

Experience:

In this lab, I learnt the principle of Phase Shift Keying (include Quadrature Phase Shift Keying and Binary Phase Shift Keying). Then I design a LabVIEW program to simulate these two kinds of Phase Shift Keying to verify the theorem knowledge. I try to compare the performance of these two kinds of Phase Shift Keying by using the result of the LabVIEW program. In this lab, I do not know the meaning of the parameter M, so the performance of BPSK is abnormal and terrible. By using some materials and paper, I know the principle of Eb/N0 and M. So that I can get the right results of this lab. At first, I think the result of BPSK and QPSK are same by using the same digital demodulation methods, but in fact they are different. Because the demodulation in BPSK is one bit by one bit. But the same work or step in the QPSK are processed two bit pri time. So, the results are different.

Feedback:

The input data scale is too small to determine the error bit rate. Because when the value of Eb/N0 is large (more than -10 dB), the error bits rate is very small. It is such different to get the error bits rate by just a short input data. If we use a longer input bit array, we will get the error bits rate more accurate with different situations.

Score

 

 

 

你可能感兴趣的:(LabVIEW,PSK)