[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:

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.

 

 

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.

 

  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°.

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.

 

Figure 1 Mapping of BPSK

Figure 2 Mapping of QPSK

Figure 3 Digital demodulation of QPSK

Figure 4 Digital demodulation of BPSK

  1. Results of the BPSK:

 

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.

Figure 6 input and output of BPSK

 

Figure 7 RF

Figure 8 I signal

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

 

Figure 9 Pulse Shape

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

 

Figure 10 Q signal

Figure 10 shows that the quadrature component of the signal.

 

Figure 11 IQ graph

Figure 11 shows that IQ graph of the BPSK.

  1. Results of the QPSK:

 

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.

Figure 13 input and output of QPSK

 

Figure 14 RF

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.

 

Figure 16 Pulse Shape

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

 

Figure 17 Q signal

Figure 17 shows that the quadrature component of the signal.

 

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.

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.

 

 

 

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

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值