Search This Blog

Showing posts with label OIP3. Show all posts
Showing posts with label OIP3. Show all posts

Friday, April 30, 2010

RF: Noise to Power Ratio (NPR) Test

Introduction
NPR, or Noise to Power Ratio, is a figure of merit describing an amplifier's linearity.  When I say linearity, I am referring to the amplifier's ability to keep it's gain flat versus output power.  Of course it's deeper than this but this is a good way to understand it.

Now many people know of different types of linearity figures of merit, OIP3 for instance.  Unfortunately, OIP3 is only good for certain instances, single carriers or very few carriers.  But what about OFDM or QAM modulation techniques that have closely spaced signals?

This is where an NPR test is useful.  It takes into account a lot of different carriers during the test and tests how linear the amplifier is.  I'm not going into great detail of the mathematics but I will indicate the basics of how it works

The Basics
The most common way to perform an NPR test is to use 5 main devices in the lab:

  1. AWGN source (Noise Source): This is used to simulate the many frequency tones.
  2. Bandpass Filter: A filter used to bandlimit the noise into a usable bandwidth. Generally, this is the waveform's bandwidth.
  3. Notch Filter: A filter, or method, of taking out a small section of the noise, creating a "notch" in the middle of the waveform.
  4. AUT: This is the amplifier that is being tested, generally a power amplifier.
  5. Spectrum Analyzer: Used to take the measurements. (Could be a Network Analyzer)
So in order to perform the test, you need to hook up the source to the bandpass filter then the notch filter.  Followed by this is the AUT and finally the Spectrum Analyzer.  Generally the notch will be the bandwidth of the signal separation.

Ultimately, the point of this setup is to see how much the notch is filled after the sample noise waveform passes through the amplifier.  This idea is based on intermod theory.  When many tones are very close together they will "intermodulate" with each other and form harmonics at other close frequencies.  This is how the notch "fills up," by the intermodulation harmonics from other tones.  Based on this we can find how linear the amplifier is relative to different noise power levels.

Conclusion
So there is a lot here that wasn't said but I hope you have a basic idea on what the purpose and why NPR works.  An NPR test is basically using intermod theory on a large number of tones to see how much they modulate with each other.  After that, it's simple math using dBc/Hz reference powers of Spectral Density.  If you desire more information or examples, I'll be more than happy to help.  Just email me or comment. Later!

-------------------------------
Justin Coulston
justin.coulston@gmail.com

Tuesday, April 20, 2010

Component Selection: Amplifier Nonlinearity

Introduction
A linear device is any device that changes due to a linear relationship between it's input and output.  For example, a 3dB attenuator will always attenuate 3dB of power regardless of power (Of course this doesn't take into account the breakdown voltage of components).  Another example is amplifiers in small-signal applications.  In small signal applications the output voltage of an amplifier can be modeled by the following equation:



where R0 and R1 are DC Voltage and Voltage Gain of an amplifier.  This is typical usage of amplifiers.  Unfortunately, Amplifiers won't continue to amplify signals infinitely.  This is why with large-signals amplifiers have "non-linear" behavior...

The Non-Linear Amplifier
So what causes these non-linearities? Non-linearity occurs due to device saturation, or the point where the device can no longer provide any more power.  In the below graph, you can see an amplifier's input power to output power characteristics.  For smaller input power signals, the line is very straight, or linear.  As the input power draws near to 0 dBm, you can see it starts to roll off.  This indicates that the gain is no longer the same and is in fact dropping as the input power rises.

From Maxim-IC.Com

If the input power continues to rise, eventually you would see a straight horizontal line indicating it has hit saturation.  This output power level is known as the Saturation Level of the amplifier (simple enough).

Many non-linear amps can be modeled using a Taylor Expansion style equation:


This is the equation where you can derive the second, third, fourth, etc harmonics.  If you were to input a cos(wt) into the equation you would see components of many frequencies (I'll do this math at a later date).  This is also where the non-linear figure of merit, 3rd Order Intercept Point (IP3), comes from.  If you have a signal Vin = cos(w0t) + cos(w1t) into the equation you would see where the third-order harmonic comes into play.  Very interesting math to go through (again...at a later date)

Summary
Granted, this is a very basic explanation of non-linear behavior but it's important to know where it comes from when working with power amplifiers especially.  I put this under Component Selection mainly because of the importance this idea is when picking out amplifiers.  Be sure that your amplifier is as linear as possible when selecting an amp, otherwise many unexpected problems can arise.  If you have specific questions feel free to ask. Enjoy!

------------------------
Justin Coulston
justin.coulston@gmail.com

Friday, April 16, 2010

In Practice: Quick and On-Time Engineering

So I've come to realize today how serious, and easy, it is to miss something when you're designing hardware.  It's amazing how easy it is to miss that small tid-bit of information that normally you wouldn't have to worry about.

For instance, when working with amplifiers in High Frequency applications you have to worry about a lot: Output 3rd Order Intercept (OIP3), 1-dB Compression (P1dB), Gain Flatness, Power Saturation Point, Noise Figure (NF), Input and Output Impedance, etc.

This type of information is all critical when designing a system at high frequencies.  But if you miss one, issues will arise.  For instance, if you don't measure P1dB for your amplifier, you may expect gain to continue for any input power, but once you put the amp in the circuit, you may realize that you don't get the power expected.  If you have a P1dB of 15 dBm and a gain of 10 dB, when you put 10 dBm into the amp, there is a VERY HIGH possibility you won't get 25dBm out, and if you do you'll have plenty of distortion.

So the point of this is to say that it's very important to take your time when engineering.  When setting out to design something, first you need to know where you are going.  I have found this to be the best piece of advice I can give someone in engineering.

How can you go anywhere without the direction.  So learn the direction first.  Then find out what will take you there with metrics.  Know how much power you'll need before hand.  Know how big your circuit can be.  Know everything to make it work before you start, with metrics.

Finally, layout what information you'll need to realize these metrics.  Not all metrics are directly measurable.  So you must find out how to measure it.  For instance, amplifier linearity is not directly measurable.  One way to characterize this is to use an OIP3 measurement.  The common way is to add two signals 1 MHz apart and measure the intermods.

This is what you have to figure out.  So to summarize:

  1. Know where you're going.  Know your goal
  2. Determine your metric requirements whether measurable or not.
  3. Figure out how to measure the objective and subjective metrics and then measure them for your proposed design
That's it.  It's simple and I could go in more detail but this is supposed to be the basics...

--------------------
Justin Coulston
justin.coulston@gmail.com