Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A question about transient analysis

Status
Not open for further replies.

listen

Newbie level 5
Newbie level 5
Joined
Jul 27, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
67
Hi,

I encontered a strange phenominan on my transisient analysis. The circuit is an oscillator, I want to investigate the oscillation behaivior when it is injected/not injected a signal source.

First, I inject the signal source, the oscillation is OK.

Second, I remove(delete) the signal source, the circuot did not oscillate as expected. It is OK.

But, if I did not remove the signal source, I just disconnected to the circuit. As my understanding, the circuit should not oscillate and the signal source should not have any impact to the circuit. But, I found the oscillate work just as it is connected to the osciilator.

Anyone pls. shed some light on it?

Thanks
 

tgootee

Full Member level 2
Full Member level 2
Joined
Jul 25, 2013
Messages
123
Helped
32
Reputation
62
Reaction score
31
Trophy points
28
Location
Indiana, USA
Activity points
1,251
Re: A question about transiient analysis

If it was a real circuit, then even just sharing the same power supply, or even just sharing a small section of a ground conductor, could couple the signal source frequency into the oscillator. Also, if there is any significant "enclosed loop area" in the oscillator circuit, it would act as a receiving antenna, and any enclosed loop area in the signal source could act as a transmitting antenna. And if two conductors, from the two circuits, were physically close-enough to each other, the signal source's frequency could inductively or capacitively couple to the oscillator circuit.
 

LvW

Advanced Member level 6
Advanced Member level 6
Joined
May 7, 2008
Messages
5,866
Helped
1,749
Reputation
3,504
Reaction score
1,353
Trophy points
1,393
Location
Germany
Activity points
39,871
Re: A question about transiient analysis

Listen, I don`t understand your problem.
The oscillator is a circuzit that is able to produce a signal WITHOUT any signal source.
Why do you "inject" a signal? And where? Does your oscillator circuit has any input?
 

KerimF

Advanced Member level 4
Advanced Member level 4
Joined
May 17, 2011
Messages
1,461
Helped
374
Reputation
756
Reaction score
370
Trophy points
1,363
Location
Syria
Activity points
12,314
Re: A question about transiient analysis

If you leave the signal source even disconnected, it may provide the simulator an indication of the maximum timestep.
To verify the validity of this point, you may remove the source completely and set the maximum timestep manually (according to the source frequency).
 
Last edited:
  • Like
Reactions: listen

    listen

    Points: 2
    Helpful Answer Positive Rating

listen

Newbie level 5
Newbie level 5
Joined
Jul 27, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
67
Re: A question about transiient analysis

Listen, I don`t understand your problem.
The oscillator is a circuzit that is able to produce a signal WITHOUT any signal source.
Why do you "inject" a signal? And where? Does your oscillator circuit has any input?

Hi,

The oscillatotr is the injection oscillator. In addition, the oscillator will not oscillate in transient analyais if without an initial seting.

For my circuit, I wonder if it is a simulation error?

Thanks
 

KerimF

Advanced Member level 4
Advanced Member level 4
Joined
May 17, 2011
Messages
1,461
Helped
374
Reputation
756
Reaction score
370
Trophy points
1,363
Location
Syria
Activity points
12,314
Re: A question about transiient analysis

Does your simulator have a setting for the maximum timestep?
 

LvW

Advanced Member level 6
Advanced Member level 6
Joined
May 7, 2008
Messages
5,866
Helped
1,749
Reputation
3,504
Reaction score
1,353
Trophy points
1,393
Location
Germany
Activity points
39,871
Re: A question about transiient analysis

The oscillatotr is the injection oscillator.

Why don`t you give us such an important information not from the beginning?

For my circuit, I wonder if it is a simulation error?

Yes - I understand. However, do you expect that we are able to localize a probable error without any circuit diagram and without any further information about your simulation profile?
 

Kevin Aylward

Newbie level 5
Newbie level 5
Joined
Jun 9, 2012
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
UK
Activity points
1,340
Re: A question about transiient analysis

A “oscillatable” oscillator, when simulated in Spice, may or may not start without giving the oscillator a kick start. It can be quite common for an oscillator to not require a kick, but there is no guarantee of this. So, usually one turns on the power supply at T=0, or feed a pulse through a very small capacitor to a suitable node.
 

listen

Newbie level 5
Newbie level 5
Joined
Jul 27, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
67
Re: A question about transiient analysis

Hi KerimF,

Thanks for the helpful response!

You mean setting the max timestep in simulation, does that mean the max timestep will introduce the error of calculation for the simulator and this calculation error then acts a noise source to kick off the oscillator?

Thanks!

If you leave the signal source even disconnected, it may provide the simulator an indication of the maximum timestep.
To verify the validity of this point, you may remove the source completely and set the maximum timestep manually (according to the source frequency).

- - - Updated - - -

- - - Updated - - -

- - - Updated - - -

A “oscillatable” oscillator, when simulated in Spice, may or may not start without giving the oscillator a kick start. It can be quite common for an oscillator to not require a kick, but there is no guarantee of this. So, usually one turns on the power supply at T=0, or feed a pulse through a very small capacitor to a suitable node.



Hi Kevin,

would u please clarify further why the oscillator may need not a kick start in simulation? Is it for the calculation error?

Thanks
 

dick_freebird

Advanced Member level 7
Advanced Member level 7
Joined
Mar 4, 2008
Messages
8,216
Helped
2,289
Reputation
4,588
Reaction score
2,327
Trophy points
1,393
Location
USA
Activity points
65,697
Re: A question about transiient analysis

There is always finite numerical error in the initial condition
and this may or may not suffice to unbalance the oscillator
core enough to start it going. The simulator stops at "good
enough", not "perfect". But sometimes you get close enough
to perfect balance that the oscillations never start without
additional stimulus. This comes down to cases and conditions.
Changing the netlist in any way can change the error residue.

If you're doing things like nested loops trying to get PVT
coverage, you don't want to give it the option of not starting,
so you kick it in some way that doesn't corrupt the operation
afterward (I prefer a brief current pulse starting from and
returning to zero).
 
  • Like
Reactions: listen

    listen

    Points: 2
    Helpful Answer Positive Rating

listen

Newbie level 5
Newbie level 5
Joined
Jul 27, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
67
Re: A question about transiient analysis

Thanks dick_freebird,

It is indeed helpful to me!

Regards
listen

There is always finite numerical error in the initial condition
and this may or may not suffice to unbalance the oscillator
core enough to start it going. The simulator stops at "good
enough", not "perfect". But sometimes you get close enough
to perfect balance that the oscillations never start without
additional stimulus. This comes down to cases and conditions.
Changing the netlist in any way can change the error residue.

If you're doing things like nested loops trying to get PVT
coverage, you don't want to give it the option of not starting,
so you kick it in some way that doesn't corrupt the operation
afterward (I prefer a brief current pulse starting from and
returning to zero).
 

crutschow

Advanced Member level 6
Advanced Member level 6
Joined
Feb 22, 2012
Messages
4,254
Helped
974
Reputation
1,946
Reaction score
1,045
Trophy points
1,393
Location
Colorado USA Zulu -7
Activity points
24,086
Re: A question about transiient analysis

In real life circuits have noise that will start an oscillation. Simulations are ideal and do not necessarily have such noise so the oscillation may not start. Thus they may need an added perturbation to initiate the oscillations. A simple way is to add a small pulse from a current source, since a current source has infinite simulation impedance and thus has no affect on the circuit values or circuit operation after the oscillations start.
 

LvW

Advanced Member level 6
Advanced Member level 6
Joined
May 7, 2008
Messages
5,866
Helped
1,749
Reputation
3,504
Reaction score
1,353
Trophy points
1,393
Location
Germany
Activity points
39,871
Re: A question about transiient analysis

In real life circuits have noise that will start an oscillation. Simulations are ideal and do not necessarily have such noise so the oscillation may not start. Thus they may need an added perturbation to initiate the oscillations. A simple way is to add a small pulse from a current source, since a current source has infinite simulation impedance and thus has no affect on the circuit values or circuit operation after the oscillations start.

I think, most probably, it is not noise that starts oscillation but the power switch-on transients which cause something like an impulse response within the circuit. But this is - more or less - a theoretical question.
However, also in circuit simulations such a supply voltage switch-on at t=0 will start the oscillation safely.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top