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

  1. 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.

  1. 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

  1. Use polyfit in MATLAB to find the coefficients a1, a2, a3, of vo.
    1. Using the polynomial coefficient, get the estimated output signal y1 (estimate).
      1. 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)
ok but can you help with 1 and 2 then

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!