[LabVIEW]NBFM/WBFM

Introduction:

In this lab, I review the knowledge about the principle of narrow band frequency modulation and wide band frequency modulation. Then I used the LabVIEW to simulate the process and the result of narrow band frequency modulation and wide band frequency modulation. I also analysis the unexpected figure and strange impulse in the output figure. After that, I try to design a walkie talkie by using the knowledge of wide band frequency modulation. After completing designing the walkie talkie, I recorded some output files which were under different frequency deviation and signal noise ratio to compare the impact of these two parameters on quality of audio output. And I also find a method by using another element to get gaussian white noise quickly.

Lab results & Analysis

  1. The simulation of NBFM
  1. The principle of NBFM modulation and demodulation

[LabVIEW]NBFM/WBFM_第1张图片

Figure 1 principle of NBFM modulation and demodulation

[LabVIEW]NBFM/WBFM_第2张图片

Figure 2 principle of NBFM demodulation

  1. The program diagram:

[LabVIEW]NBFM/WBFM_第3张图片

Figure 3 the program diagram

  1. The analysis of the result

First of all, let’s check the parameters of the signals:

The function and name of variables are noted on the top of the elements.

[LabVIEW]NBFM/WBFM_第4张图片

Figure 4 parameters of the signals

[LabVIEW]NBFM/WBFM_第5张图片

Figure 5 the waveform of baseband

The signal is generated by us. It is a sinusoidal waveform function.

[LabVIEW]NBFM/WBFM_第6张图片

Figure 6 FM waveform

We can use Carson’s rule to compute the bandwidth of the signal,

Δf=200HZ

fm=2500HZ

β=Δffm=0.08<<1

BW≈2fm=5000HZ

We look at the figure we get, we can see the bandwidth of the signal is just like to equal to 5000HZ which we have computed by using Carson’s rule.

[LabVIEW]NBFM/WBFM_第7张图片

Figure 7 recovered signal

In this figure, I don’ know the reason of the impulse occurs near the zero, this impulse is too large.

[LabVIEW]NBFM/WBFM_第8张图片

Figure 8 FM waveform in time domain

This figure shows us the waveform of the FM signal in time domain. And we can put the baseband signal and FM signal in one diagram to compare them. The waveform obtained is consistent with our expectation, indicating that the simulation experiment is successful.

[LabVIEW]NBFM/WBFM_第9张图片

Figure 9 compare

  1. The simulation of WBFM
  1. The principle of WBFM modulation and demodulation

[LabVIEW]NBFM/WBFM_第10张图片

Figure 10 principle of WBFM modulation

[LabVIEW]NBFM/WBFM_第11张图片

Figure 11 principle of WBFM demodulation

  1. The program diagram

[LabVIEW]NBFM/WBFM_第12张图片

Figure 12 program diagram of WBFM

 

  1. The analysis of the result

[LabVIEW]NBFM/WBFM_第13张图片

Figure 13 BWFM waveform

And by looking at the picture, we know that the bandwidth of the signal is about 40000HZ. We can use Carson’ rule to estimate the bandwidth of the signal.

Δf=16000HZ

fm=2500HZ

β=Δffm=6.4

BW≈2(fm+Δf)=37000HZ

The bandwidth obtained is consistent with our expectation, indicating that the simulation experiment is successful.

[LabVIEW]NBFM/WBFM_第14张图片

Figure 14 BWFM waveform in time domain

[LabVIEW]NBFM/WBFM_第15张图片

Figure 15 demodulated BWFM signal

The wide band frequency modulated signal is in the figure 12. The wide band frequency demodulated signal is in the figure 13. And we can find that the amplitude of signal after demodulation is much larger than modulated signal.

  1. WBFM walkie talkie
  1. The program diagram:

Because I have done the single side band walkie talkie, I think in some aspects, these two walkie talkies might work in the same way. So, I try to design this walkie talkie as same as the single side band walkie talkie.

[LabVIEW]NBFM/WBFM_第16张图片

Figure 16 The program diagram

  1. The analysis of the result

First of all, let’s check the parameters of the signals:

The function and name of variables are noted on the top of the elements.

[LabVIEW]NBFM/WBFM_第17张图片

Figure 17 parameters of the signals

[LabVIEW]NBFM/WBFM_第18张图片

Figure 18 FM waveform in frequency domain

The FM waveform in frequency domain is showing in the figure 18. We can see the center frequency is about 100000HZ.

 

[LabVIEW]NBFM/WBFM_第19张图片

Figure 19 FM waveform in time domain

FM waveform in time domain is a sinusoidal waveform function

[LabVIEW]NBFM/WBFM_第20张图片

Figure 20 demodulated signal in time domain 

We can clearly see that the waveform in figure 20 has several peeks which indicate the response of the sound signal.

[LabVIEW]NBFM/WBFM_第21张图片

Figure 21 demodulated signal in frequency domain

We can see that the waveform in figure 21 has 12 peeks which indicate the response of the sound signal. Because the sound signal only has 12 words. This result indicate our simulation is successful in another aspect.

[LabVIEW]NBFM/WBFM_第22张图片

Figure 22 impact of these two parameters

I recorded some output files which were under different frequency deviation and signal noise ratio to compare the impact of these two parameters on quality of audio output.

After compare these sound files, I find:

The quality of output sound increases with the increase of frequency deviation.

The quality of output sound increases with the increase of SNR.

The beat frequency deviation in my experiment is 96000HZ.

  1. Feedback:
  1. the strange impulse of the signal:

[LabVIEW]NBFM/WBFM_第23张图片

At the beginning of time domain, a strange impulse occurred in the figure. I try to reset the signal and change the type and orders of filter, but nothing changed. I can not to solve the question.

  1. the method to get gaussian white noise avoid waiting:

when we want to generate gaussian white noise, if we use element like this

the process will be very slow and the computer will be crash easily. This problem bothered me for a long time. In order to improve the speed of my experiment, I need to find another way to generate a gaussian white noise. I find that if we use this element [LabVIEW]NBFM/WBFM_第24张图片the speed will be much faster than the element on the top.

  1. The SSB walkie talkie and WB walkie talkie:

In the last lab I designed an SSB walkie talkie, so I compare difference between two walkie talkies. I find that in the same sample frequency, quality of the output file of the WB walkie talkie is much better than the SSB walkie talkie. I think the reason is the WB walkie talkie contains more frequency components than SSB walkie talkie. But the modulation and demodulation process of WB walkie talkie are much more complex than SSB walkie talkie.

Experience

  1. Review the knowledge about the principle of narrow band frequency modulation and wide band frequency modulation. I have a deeper understanding of the differences and connections between the two kinds of frequency modulation.
  2. Due to the confusion of the block diagram, it is difficult for me to find problems after I find the program had some problem. I’m going to lay out the lines and the components clearly and neatly.
  3. The method to avoid wasting time:

I found a way to generate a gaussian white noise quickly.

[LabVIEW]NBFM/WBFM_第25张图片[LabVIEW]NBFM/WBFM_第26张图片

 

你可能感兴趣的:(LabVIEW)