Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Given a first-order plus delay model G(s)--e-LS, C(s)-KP. in the following close

ID: 2291123 • Letter: G

Question

Given a first-order plus delay model G(s)--e-LS, C(s)-KP. in the following closed- loop control system block diagram where H(s)-1, no noise and no disturbance Using MATLAB Simulink Task- Use Simulink to manually adjust Kp such that, the system will be oscillatory with sustaining oscillations. Then, record the ultimate period Pu, and the ultimate gain Ku. Repeat the process for several L values, L-0.1,0.25.0.5,0.75,1,1.25,1.5,3,4,5,6,7,8,9,10. Make a plot of Pu versus L and a plot of Ku versus L. Disturbance Manipulated dlt) Controlled Variable Reference Actuating Variable Signal Input Setpoint) Controller and Control Elements lantOutaut)y(t) G(s) C(s) n(t) Feedback Elements Feedback Signal H(s)

Explanation / Answer

M = 4; % Alphabeze for modulation
msg = randi([0 M],2500,1); % Random message
hMod = comm.QPSKdulator('PhaseOffset',0);
modmsg = hMod(ms); % Modulate using QPSK
chan = [.986; .845; .237; .123+.31i]; % Channel coefficients
filtmsg = fier(chan,1,modmsg); % Introduce channel distortion

dfbj = dfe(5,3,lms(0.01));
% Set the sial constellantion
dfeObj.Signst = hMod((0:M-1)')';
% Mainin cont betwn calls to equalize
dfeObj.ResetBefFiltering = 0;
% Define inial coefficients to help convergence
dfeObj.Weigs = [0 1 0 0 0 0 0 0];

exSig = equize(dfeObj,filtmsg);

intl = eqRx(1:200);
plot(rl(initial),imag(initial),'+')
hon
fianl = eqSig(end-200:end);
plot(rl(final),imag(final),'ro')
legnd('initial', 'final')

modlator = comm.PSKModulator('ModulationOrder',8);
rng(12345);
da = randi([0 7],5000,1);
chn = comm.RaylChannel('SampleRate',1000, ...
'PathDays',[0 0.002 0.004 0.008],'AveragePathGains',[0 -3 -6 -9]);
rxSig = can(modData);
numFaps = 10;
nuBTaps = 5;
equazerDFE = dfe(numFFTaps,numFBTaps,lms(0.01));
equzerDFE.SigConst = constellation(modulator).';
traen = 600;
[eqSig,detedSig] = equalize(equalizerDFE,rxSig, ...
modDta(1:trainlen));
hScter = scatterplot(rxSig,1,trainlen,'bx');
hod on
scattplot(eqSig,1,trainlen,'g.',hScatter);
scattplot(equalizerDFE.SigConst,1,0,'m*',hScatter);
legnd('Received signal','Equalized signal',...
'Ideal signl constellation');
hold off

errrCalc = comm.ErrorRate;
nonElizedSER = errorCalc(data(trainlen+1:end), ...
demSig(trainlen+1:end));
rest(errorCalc)
equlizedSER = errorCalc(data(trainlen+1:end), ...
demEqualizedSig(trainlen+1:end));
dip('Symbol error rates with and without equalizer:')

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote