当前位置:网站首页>FM signal, modulated signal and carrier
FM signal, modulated signal and carrier
2022-06-25 08:02:00 【studyer_ domi】
1、 Content abstract
A little
353- Can communicate 、 consulting 、 Answering question
2、 Content description
A little
3、 Simulation analysis
% The modulated signal is FM The signal , The FM signal is composed of 1KHz Modulated signal and 10kHz Of the carrier wave
clear all; % initialization
clc;
close all;
f=5000; % Carrier frequency 5KHz
fs=1000000; % sampling frequency
N=5000; % Number of sampling points
Ts=1/fs; % Sampling period
t=(0:Ts:(N-1)*Ts); % Simulation time
f1=500; % Modulation signal frequency 500Hz
msg=sin(2*pi*f1*t); % Modulation signal
figure,plot(msg);
figure,plot(cumsum(msg));
kf=0.0716; % Frequency modulation sensitivity
Signal1=exp(j*(2*pi*f*t)); % carrier
Signal=exp(j*(2*pi*f*t+2*pi*kf*cumsum(msg)));
figure,plot(imag(Signal1));
figure,plot(real(Signal1));
% Modulated signal ,FM The signal ,cumsum Is an accumulation function ;
phi_hat(1)=10; % Modulated signal ( PLL ) Enter the initial value 10
e(1)=0; % Initial value of frequency difference
phd_output(1)=0; % Demodulated signal output initial value
vco(1)=0; % VCO output initial value
kp=0.125; % Loop filter parameters
ki=0.125; % Loop filter parameters
% PLL
startplot=1; % Drawing start position
endplot=2000; % Drawing end position
figure(1); % At the window 1 mapping
subplot(2,2,2); % Multiple drawings are drawn on one plane
plot(t(startplot:endplot),msg(startplot:endplot)); % Plot function , The abscissa is time t
title(' Modulation signal ( frequency 1KHz)'); % Icon title
xlabel(' Time (seconds)'); % Abscissa annotation
ylabel(' Range '); % Ordinate annotation
grid;
figure(1);
subplot(2,2,1);
plot(t(startplot:endplot),real(Signal1(startplot:endplot)));
title(' carrier ');
ylabel(' Range ');
grid;
figure(1);
subplot(2,2,3);
plot(t(startplot:endplot),real(Signal(startplot:endplot)));
title('FM Modulated signal ');
ylabel(' Range ');
grid;
figure(1);
subplot(2,2,4);
plot(t(startplot:endplot),e(startplot:endplot));
title(' Demodulate the signal ');
ylabel(' Range ');
grid;
[f_Signal,y_Signal]=change_fft(fs,Signal);
[f_msg,y_msg]=change_fft(fs,msg);
[f_e,y_e]=change_fft(fs,e);
figure
plot(f_Signal,y_Signal)
xlabel frequency /Hz
ylabel amplitude
title Signal
xlim([0 100000])
figure
plot(f_msg,y_msg)
xlabel frequency /Hz
ylabel amplitude
title msg
xlim([0 5000])
figure
plot(f_e,y_e)
xlabel frequency /Hz
ylabel amplitude
title e
xlim([0 5000])
[f_Signal_imag,y_Signal_imag]=change_fft(fs,imag(Signal));
figure
plot(f_Signal_imag,y_Signal_imag)
xlabel frequency /Hz
ylabel amplitude
title Signal Imaginary part
xlim([0 100000])




4、 Reference paper
A little
边栏推荐
- Modular programming of LCD1602 LCD controlled by single chip microcomputer
- allgero报错:Program has encountered a problem and must exit. The design will be saved as a .SAV file
- 电子学:第012课——实验 11:光和声
- Application of can optical transceiver of ring network redundant can/ optical fiber converter in fire alarm system
- Est - il sûr d'ouvrir un compte d'actions maintenant via le lien d'ouverture de compte coiffé?
- 洛谷P2839 [国家集训队]middle(二分 + 主席树 + 区间合并)
- C control refresh
- Linux上oracle和mysql的启动,关闭,重启
- Electronics: Lesson 012 - Experiment 11: light and sound
- DNS协议及其DNS完整的查询过程
猜你喜欢

Use the frame statistics function of the message and waveform recording analyzer royalscope to troubleshoot the accidental faults of the CAN bus

How to use ad wiring for PCB design?

唐老师讲运算放大器(第七讲)——运放的应用

Modular programming of LCD1602 LCD controlled by single chip microcomputer

静态网页服务器

Requirements for Power PCB circuit board design 2021-11-09

剑指offer刷题(简单等级)

Anaconda based module installation and precautions

挖掘微生物暗物质——新思路

剑指offer刷题(中等等级)
随机推荐
深度学习系列48:DeepFaker
50. pow (x, n) - fast power
C#中如何调整图像大小
产品经理专业知识50篇(四)-从问题到能力提升:AMDGF模型工具
静态网页服务器
洛谷P2839 [国家集训队]middle(二分 + 主席树 + 区间合并)
消息中间件之ActiveMQ的基本使用
Electronics: Lesson 010 - Experiment 9: time and capacitors
Take you through the normalization flow of GaN
Linux上oracle和mysql的启动,关闭,重启
navicat定时任务无效
深度学习系列45:图像恢复综述
Drawing of clock dial
Mysql面试-执行sql响应比较慢,排查思路。
What are the problems with traditional IO? Why is zero copy introduced?
The fourth floor is originally the fourth floor. Let's have a look
不怕百战失利,就怕灰心丧气
FFT【模板】
Mining microbial dark matter -- a new idea
Vscode is good, but I won't use it again