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:
- The simulation of NBFM
- The principle of NBFM modulation and demodulation
![[LabVIEW]NBFM/WBFM_第1张图片](http://img.e-com-net.com/image/info8/5fa5054d03a9490c9f376b00b339d0b3.jpg) Figure 1 principle of NBFM modulation and demodulation ![[LabVIEW]NBFM/WBFM_第2张图片](http://img.e-com-net.com/image/info8/e504b5c5f30e4541907d56052ce51e11.jpg) Figure 2 principle of NBFM demodulation
- The program diagram:
![[LabVIEW]NBFM/WBFM_第3张图片](http://img.e-com-net.com/image/info8/e84d8859d0404c388e8a9dd35463af57.jpg) Figure 3 the program diagram
- 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张图片](http://img.e-com-net.com/image/info8/a76771c1c2e34d58b8a74c8766931fd3.jpg) Figure 4 parameters of the signals ![[LabVIEW]NBFM/WBFM_第5张图片](http://img.e-com-net.com/image/info8/4a8da21699164b7a99459fa912f1eac5.jpg) Figure 5 the waveform of baseband The signal is generated by us. It is a sinusoidal waveform function. ![[LabVIEW]NBFM/WBFM_第6张图片](http://img.e-com-net.com/image/info8/3367afdb93a54e9d93f63e1f8045e623.jpg) Figure 6 FM waveform We can use Carson’s rule to compute the bandwidth of the signal, Δf=200HZ![](http://img.e-com-net.com/image/info8/9e60da03b66348c7a79bf9fbc3cfdd55.png) fm=2500HZ![](http://img.e-com-net.com/image/info8/19c32465781d4aa19fa595111adf6317.png) β=Δffm=0.08 <<1 BW≈2fm=5000HZ![](http://img.e-com-net.com/image/info8/a0de29c429294779990c7c39ac8125d9.png) 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张图片](http://img.e-com-net.com/image/info8/6427257b64884b7696ec18f50c23c3ac.jpg) 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张图片](http://img.e-com-net.com/image/info8/54d2ad7c7ef84d719b298a0ac556fbc6.jpg) 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张图片](http://img.e-com-net.com/image/info8/c37635b42e134baba52cf0f33c915fa4.jpg) Figure 9 compare
- The simulation of WBFM
- The principle of WBFM modulation and demodulation
![[LabVIEW]NBFM/WBFM_第10张图片](http://img.e-com-net.com/image/info8/802a0c7943e14b58940264f34179c33e.jpg) Figure 10 principle of WBFM modulation ![[LabVIEW]NBFM/WBFM_第11张图片](http://img.e-com-net.com/image/info8/b8b390f6e112442fbe5c50151763e4bc.jpg) Figure 11 principle of WBFM demodulation
- The program diagram
![[LabVIEW]NBFM/WBFM_第12张图片](http://img.e-com-net.com/image/info8/c1c532dda3d04c5aa27ec32c9ee8b86e.jpg) Figure 12 program diagram of WBFM
- The analysis of the result
![[LabVIEW]NBFM/WBFM_第13张图片](http://img.e-com-net.com/image/info8/7c54775d415040a4b03265f3d84b159f.jpg) 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![](http://img.e-com-net.com/image/info8/db10e5f1fcb24c74bcb8910d9daccecf.png) fm=2500HZ![](http://img.e-com-net.com/image/info8/074a718343c24ba794a06c53e04495ec.png) β=Δffm=6.4![](http://img.e-com-net.com/image/info8/938e0de9c2e342c5960da920ad27d5c2.png) BW≈2(fm+Δf)=37000HZ![](http://img.e-com-net.com/image/info8/14379f73905844e5806071d736a4f3c8.png) The bandwidth obtained is consistent with our expectation, indicating that the simulation experiment is successful. ![[LabVIEW]NBFM/WBFM_第14张图片](http://img.e-com-net.com/image/info8/6c133490fee04bfe8414b1182bcea066.jpg) Figure 14 BWFM waveform in time domain ![[LabVIEW]NBFM/WBFM_第15张图片](http://img.e-com-net.com/image/info8/89f5b8886dcf4888a497f3f54f3b62f2.jpg) 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.
- WBFM walkie talkie
- 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张图片](http://img.e-com-net.com/image/info8/c99cfca1e60a4a7c9f663e02ef184560.jpg) Figure 16 The program diagram
- 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张图片](http://img.e-com-net.com/image/info8/d587f04614b843a58b35722f87ecca9e.jpg) Figure 17 parameters of the signals ![[LabVIEW]NBFM/WBFM_第18张图片](http://img.e-com-net.com/image/info8/5573a195aaac443e8bdc427b5d7a44e4.jpg) 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张图片](http://img.e-com-net.com/image/info8/7e91deac9102494eaaa3bee78602f213.jpg) Figure 19 FM waveform in time domain FM waveform in time domain is a sinusoidal waveform function ![[LabVIEW]NBFM/WBFM_第20张图片](http://img.e-com-net.com/image/info8/e704069499684e2e90e70465601fb4b6.jpg) 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张图片](http://img.e-com-net.com/image/info8/a3ce80adfe0744aab62b1985d773e7ab.jpg) 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张图片](http://img.e-com-net.com/image/info8/60f7b1e62eb745228303b8670d6bd1fb.png) 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.
- Feedback:
- the strange impulse of the signal:
![[LabVIEW]NBFM/WBFM_第23张图片](http://img.e-com-net.com/image/info8/2ad9be0614ab4a7aac27afa0267c1c26.jpg) 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.
- the method to get gaussian white noise avoid waiting:
when we want to generate gaussian white noise, if we use element like this ![](http://img.e-com-net.com/image/info8/2f7a8b0c98ce46c2b257a87e1cb154f4.jpg) 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 the speed will be much faster than the element on the top.
- 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. |