The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 15th, 2024, 10:28pm
Pages: 1 2 
Send Topic Print
PS ripple and harmonic balance simulators (Read 13626 times)
Eugene
Senior Member
****
Offline



Posts: 262

PS ripple and harmonic balance simulators
Sep 20th, 2005, 4:01pm
 
I recently saw a demonstration of a harmonic balance simulator that the salesman claimed simulated phase noise more accurately than SpectreRF. He claimed his simulator accurately captured the effects power supply ripple and SpectreRF did not.  I did not buy the sales pitch for the following reasons and was wondering if my concerns were justified.

1. The power supply driving the VCO was a linear regulator supplied by an ideal source.  I failed to see where ripple in a linear regulator would physically come from.  If the ripple came from the VCO, SpectreRF should accurately capture it. The salesman claimed the LINEAR regulator had ripple independent of the VCO that SpectreRF missed. Did I miss something here? (Assuming the linear regulator was stable.)

2. Since harmonic balance is based on a truncated Fourier series, and a truncated Fourier series could have ripple, might harmonic balance introduce a fictitious ripple on the linear regulator output that would in turn falsely corrupt the phase noise simulation?

On different issue, the salesman claimed SpectreRF's noise floor was higher because the shooting Newton method uses a variable time step. If one strobes the output at the proper rate, doesn't that make SpectreRF's noise floor comparable to noise floor of a harmonic balance simulator?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: PS ripple and harmonic balance simulators
Reply #1 - Sep 21st, 2005, 11:43am
 
Jess,
1. I don't see any source for ripple either, though if it exists it should be easily visable in the supply voltage.

2. Harmonic balance results when viewed in the time domain often exhibit substantial ripple due to missing harmonics when the signal is abruptly discontinuous. However, it would not create ripple on an otherwise constant-valued signal.

The salesman was correct when he said the higher noise floor was due to the variable time step. In a sense, using a variable time step trades a lower total error for an error with a spectrum that is broadband. Thus it shows up as a noise floor. If the timesteps were uniform, the error would still exist, but it is somewhat concealed because it falls at the same frequencies where the signal already exists. In otherwords, with uniform time steps, the integration method appears to be LTI (linear, time invarient), but with nonuniform time steps it appars LTV (linear, time varying). An LTI system cannot move energy from one frequency to another, so the error is confined to fall at the same frequency as the signal. However, an LTV system can redistribute energy to other frequencies, and does, creating what appears as a noise floor.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #2 - Sep 21st, 2005, 1:50pm
 
Thanks for the response Ken.   I was hoping you would chime in on this one.  

The example was an autonomous circuit and I believe the HB tool requires a special element that gives the oscillator a "kick start". Couldn't the kick start cause the ripple problem or does the discontinuity have to be periodic?

-Eugene
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: PS ripple and harmonic balance simulators
Reply #3 - Sep 21st, 2005, 9:26pm
 
The "oscprobe" would not cause the ripple. Once the circuit has reached steady-state, the oscprobe has no effect on the circuit, or at least it shouldn't.

The way the oscprobe works conceptually is that it has an input and an output. The input and the output are shorted at all harmonics other than the fundamental. At the fundamental, the output looks like a voltage source and the input looks like a current sink. Initially it produces a sinewave at the output that is injected into the oscillator and the current drawn from the input is made to equal the current being sourced at the output. The amplitude and frequency of that sinewave at the output are adjusted until the amplitude and phase of the voltage at the input and output match exactly. In this way, the oscprobe enforces the Barkhausen condition (loop gain of one, phase shift of 360 degrees). At this point, the voltage and current at the input and output of the probe exactly matches, and the oscprobe is having no effect on the oscillator.

To see the ripple that results from truncating the number of harmonics, the signal must have a high harmonic content. Certainly, discontinuous signals fit this requirement. And of course since harmonic balance is constrained to a (quasi)periodic solution, the discontinuity would be (quasi)periodic.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #4 - Sep 22nd, 2005, 8:31am
 
Thanks Ken.  

Now I am just curious. Getting back to the linear regulator ripple issue, suppose the regulator had an internal instability that produced a small amount of ripple at its output. Assume this poorly designed regulator drove a VCO. In this case, the linear regulator contains an unwanted oscillator. Would either harmonic balance or shooting Newton methods accurately simulate the problem?

For the regulator/VCO circuit, the user might not know to place a second oscprobe (if it is even possible.) But for some circuits, the user would know to place a second oscprobe. Some frequency plans call for two VCOs operating at different frequencies. Would either simulator have a chance at simulating multiple VCOs? If both could do it, would one do it better?  Envelope methods would probably work for transients but what about phase noise?
Back to top
 
« Last Edit: Sep 22nd, 2005, 10:49am by Eugene »  
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: PS ripple and harmonic balance simulators
Reply #5 - Sep 23rd, 2005, 10:49pm
 
I believe only transient would handle this situation correctly. With harmonic balance the parasitic oscillation would be supressed, while with shooting methods it would likely build up during the tstab interval, and then the shooting method would not converge because it could not find a periodic solution.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #6 - Sep 26th, 2005, 7:59am
 
Thanks Ken. This discussion was very informative.

-Eugene
Back to top
 
 
View Profile   IP Logged
vborich
Junior Member
**
Offline



Posts: 23

Re: PS ripple and harmonic balance simulators
Reply #7 - Oct 7th, 2005, 3:50pm
 
Hi Eugene,

If the HB simulator you saw supports multi-tone oscillator simulation, the analysis is both valid and rigorous. The first tone is at the unknown oscillator frequency and the other is at the AC supply frequency. The ripple then shows as two sidebands of the VCO frequency at +- (I guess) 60 Hz.
Back to top
 
 
View Profile   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #8 - Oct 8th, 2005, 10:08am
 
Hi Vborich,

Thanks for the response but I was not referring to 60 Hz ripple. The ps ripple I was referring to was due to an unstable linear regulator running off a battery. In this case there are two unknown frequencies, the power supply oscillation frequency and the VCO frequency. I doubt any RF simulator to date is ready for this challenge.

-Jess
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: PS ripple and harmonic balance simulators
Reply #9 - Oct 8th, 2005, 6:40pm
 
Eugene,

 If the comment was that SpectreRF does not support
autonomous envelope-following analysis , then the
information is out of date. Autonomous envelope-following
support was added in MMSIM60 USR1.  Look in,  "Virtuoso
SpectreRF Simulation Option User Guide, Product Version
6.0", Appendix M. There is an example of a 1MHz signal
riding on top of the 3.46GHz carrier, shown by plotting
instantaneous frequency. It seems like this is a useful
capability. BTW, one thing I don't understand about the
original comment, why would you want simulate the
phase noise of an unstable circuit? Wouldn't you want
to find and eliminate the problem before simulating the
phase noise?

                                                      Best Regards,

                                                           Art Schaldenbrand
Back to top
 
 
View Profile   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #10 - Oct 8th, 2005, 10:50pm
 
Art,

It is true that one would eventually want to eliminate the unwanted oscillation and proceed with a stable power supply. However, with ICs, we want to be as sure as we can that we've correctly identified and solved a problem before we tell our management that the next tape out will be OK. Before one can prove that a simulated solution works, one should simulate all observable symptoms of the problem and phase noise might be one of them. Furthermore, many circuits, like superhet transceivers, actually have two VCOs and one might want to simulate the phase noise at the final output. Even with direct conversion, if one wants to simulate the entire link, the transmit and receive VCOs will be independent and often at different frequencies. My point is that there are times when we need to simulate total phase noise from two or more independent sources of oscillation.

Thanks for the update on SpectreRF. I did not know that Cadence released an autonomous version of envelope following. That is indeed a welcomed step in the right direction.

-Eugene
Back to top
 
 
View Profile   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #11 - Oct 9th, 2005, 5:36am
 
Before we spend too much energy here I should confess that I've never actually had an occasion to simulate two independent VCOs or a VCO supplied from an unstable power supply. If you look back through this exchange, you'll see that the hypothetical problem arose in comparing HB and shooting methods.

-Eugene
Back to top
 
 
View Profile   IP Logged
vborich
Junior Member
**
Offline



Posts: 23

Re: PS ripple and harmonic balance simulators
Reply #12 - Oct 11th, 2005, 1:19pm
 
Hi Eugene,

In principle, you can perform the signal analysis of multiple oscillators using multi-tone envelope simulation. ADS/RFDE features multi-tone envelope analysis. (As a disclaimer, I work for Agilent).

You set the tone frequencies as close as possible to the VCO and the parasitic oscillation frequency and it'll likely pick up the correct multi-tone oscillatory regime. If it doesn't, tickler sources may be needed to excite it.

It is also possible to run multi-tone envelope simulation with one unknown frequency, in which case a probe is needed and it virtually guarantees convergence to the correct frequency of the oscillator to which it is attached.
Back to top
 
 
View Profile   IP Logged
Eugene
Senior Member
****
Offline



Posts: 262

Re: PS ripple and harmonic balance simulators
Reply #13 - Oct 11th, 2005, 1:34pm
 
vborich,

Thanks for the response. An envelope analysis with two unknown frequencies is definitely an impressive distinction.  Is there a way to also get phase noise power spectral densities from envelope simulations without resorting to home-brewed time domain noise generators and post-run Fourier analysis?
Back to top
 
 
View Profile   IP Logged
vborich
Junior Member
**
Offline



Posts: 23

Re: PS ripple and harmonic balance simulators
Reply #14 - Oct 12th, 2005, 9:22am
 
Hi Eugene,

You can run an HB noise analysis at the end of an envelope simulation. The operating point is taken to be the last envelope time sample. (You can also run a Monte-Carlo envelope noise analysis, where noise sources are represented as noisy AM/PM modulation of the HB carriers. Envelope noise is a Monte Carlo type analysis and so it carries with it many of the same disadvantages.)

I've never attempted a phase noise simulation with two unknown frequencies. For reasons that I can't get into in a public forum, I'd expect it to work under limited circumstances. One instance involves an arbitrary oscillator and another that is very high-Q.

There are no fundamental obstacles to multiple oscillator HB, but there are practical considerations that make it unappealing. Oscillator analysis is inherently less efficient than standard HB and it really shows in large systems where the whole thing becomes one big, usually multi-tone, oscillator. The simulation would get slower with multiple oscillators and the slowdown wouldn't scale in linear proportion to the number of oscillators. In fact, even with a single oscillator, most users choose to simulate it separately and use a behavioral representation to simulate the link.

I am nearly certain, after seeing a white paper describing what you saw in the sales presentation, that you didn't see a two-oscillator noise simulation. Rather, I am quite sure that the "ripple" was represented as an equivalent noise source, peaking at the fundamental frequency of the ripple. This can be done routinely in most HB simulators I am aware of.

Vuk
Back to top
 
 
View Profile   IP Logged
Pages: 1 2 
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.