Question
I need help with these questions, it needs to be solved in matlab For a given LNA, We want to perform two tone test. Let
I need help with these questions, it needs to be solved in matlab
- For a given LNA, We want to perform two tone test.
Let vin(t) = ACos(2f1t) + ACos(2f2t) Where f1 and f2 are very close to each other. Vin is the input to an amp with non-linear gain a1 , a2 a3. Express Vout in terms of Vin and find the intermodulation elements at w1, w2, 2w2, 2w2, 3w1, 3w2.
- Consider an Op-Amp where the input vs. output signal has the non-linear behavior approximated by Hyperbolic Tan.
You can use the following Matlab lines:
A=0.5 % MAX Signal Magnitude
INC=0.01;
vin=[-A:INC:A]; % Generate the signal from A to A with increments of INC
DC = 1e-3; % DC term
G=10; % Amp Gain
R=50; % Termination Impedance
N=3; % Order of the Poly
vo= DC+tanh(G*vin); % Generate the amp output via Hyperbolic Tan
- Use polyfit in MATLAB to find the coefficients a1, a2, a3, of vo.
- Using the polynomial coefficient, get the estimated output signal y1 (estimate).
- Plot the Pin vs Power Out of the signal in dBm (use 50 ohm Termination). Plot Pin vs. Pout (for tanh), and Pin vs. P1 (estimate using poly)
- Using the polynomial coefficient, get the estimated output signal y1 (estimate).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started