Engineering AM-AM and AM-PM graph generation in LTSpice

  • Thread starter Thread starter nomi114
  • Start date Start date
Click For Summary
The discussion focuses on generating AM-AM and AM-PM plots for a power amplifier using LTSpice XVII, specifically with an 8.2 MHz square wave input. Users highlight the challenges of simulating these plots due to the need for settling time after input power changes, which complicates single-sweep tests. The recommended approach involves using the .STEP command to vary input amplitude and the .MEASure command to extract output data for each step. Guidance is sought on implementing these commands effectively within the schematic. The conversation emphasizes the importance of understanding bias adjustments and potential saturation effects in the power amplifier.
nomi114
Messages
12
Reaction score
1
Homework Statement
How can we generate amplitude-to-amplitude and amplitude-to-phase graphs in LTSpice?
Relevant Equations
NA
Greetings to all,

I am writing with a question regarding graph generation in LTSpice. I am using LTSpice XVII and am trying to plot AM-AM and AM-PM characterization for a power amplifier, but I haven't been successful yet, likely due to my lack of practice with this specific analysis. I have been using a square wave input at 8.2 MHz as the voltage waveform for my power amplifier. It is said that for a switching amplifier like Class-D, the AM-AM / AM-PM (amplitude-to-amplitude and amplitude-to-phase) plot is often more straightforward to simulate and relates directly to amplitude accuracy. This checks how the output power and signal phase change as you increase the input power.

I would greatly appreciate your assistance in this matter. For your reference, I have attached the schematic file as a .text file. Thank you in advance for your kind help.
 

Attachments

Physics news on Phys.org
nomi114 said:
This checks how the output power and signal phase change as you increase the input power.
It is difficult to do those simulated tests because you have two trapezoidal inputs, with feedback from the amplifier output to the input bias. Changes of the input power will require a settling time for the bias before a reading can be made, so the plots cannot be done in a single sweep.

You will need to .STEP an input amplitude parameter, then use .MEASure to extract the output information from the plot for each step.
 
  • Like
Likes DaveE, nomi114 and berkeman
Thank you so much for your kind reply. If you don't mind, could you please help me understand how to implement these commands in my schematic? I have tried but was unsuccessful. I am currently stuck and would highly appreciate your guidance.
Thank you in advance for your cooperation.
 
Modified the signal input, so only one parameter is needed.
I have given you a .STEP command. For vin = 1.0v to 3.5v step 0.5v
Experiment with the .asc and .plt files attached. Notes in the top left corner.
Here is the plot produced by the .STEP, showing amplitude and phase changes for different input amplitudes.
Is the limiting due to your bias adjustment or saturation of the PA ?
steps-output.webp
 

Attachments

Thank you so much, dear Sir, for your kind and prompt response. Here, I would like to inquire about one question: there is a small step phase variation in each (almost) output signal. I am a little bit confused. Why is there this variation? Is this a circuitry issue or what.........? Thanks in advance for your kindness.
 
nomi114 said:
Here, I would like to inquire about one question: there is a small step phase variation in each (almost) output signal. I am a little bit confused. Why is there this variation?
I assumed it was when your bias control circuit began to regulate, or the output voltage saturated. Maybe change the step parameters to focus on that phase and amplitude transition. You can investigate why using LTspice.

To generate the AM-AM and AM-PM graphs.
First view the VP1 input signal only, you can adjust the .TRAN "time to start storing data" to bring the VP1 rising edge, to zero volts, at zero time. Record the trace colours and input voltages.
Then view the LOAD output signal only, zoom in, to read and record the amplitude of each colour trace, and the rising edge zero crossing time for each trace.
From that information and the signal period, you can generate the AM-AM and AM-PM graphs.
 
Greetings to all, I am writing with a question regarding graph generation in LTSpice. I am using LTSpice XVII and am trying to plot AM-AM and AM-PM characterization for a power amplifier, but I haven't been successful yet, likely due to my lack of practice with this specific analysis. I have been using a square wave input at 8.2 MHz as the voltage waveform for my power amplifier. It is said that for a switching amplifier like Class-D, the AM-AM / AM-PM (amplitude-to-amplitude and...
Thread 'How do I determine the resistance for RLC low pass filter?'
Hi, I am trying to build a RLC low pass filter that atenuates the frequency below 4500 Hz. However, I have encountered some problem when choosing the correct R to work with. Here is the Circuit Here is the original sound. Here is my code in Matlab function Vout = myFilterCircuit(Vin,h) n_V = length(Vin); f_7 = 4470;; % Undesired frequency h_7 = h; % delta time % These are for the constant and initialization of the variables t_7 = 0:h_7:(n_V-1)*h_7; % This is the independent variable...