Author Topic: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).  (Read 3462 times)

0 Members and 1 Guest are viewing this topic.

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 422
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
A "microprocessor RESET" circuit that actually oscillated in practice. Shown in "Troubleshooting Analog Circuits" by Bob Pease, p109

"The little transistor would run at over 10mA and, with a bypass capacitor at its base, the transistor would oscillate" [at a "couple hundred megahertz"]
 (The simulation does not oscillate).

What is the mechanism of the oscillation (maybe akin to a phase-shift oscillator?) - do I need to add any real-world parasitics to the simulation? Maybe just a current kick / impulse?


Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #1 on: January 06, 2025, 10:36:53 pm »
A "microprocessor RESET" circuit that actually oscillated in practice. Shown in "Troubleshooting Analog Circuits" by Bob Pease, p109

"The little transistor would run at over 10mA and, with a bypass capacitor at its base, the transistor would oscillate" [at a "couple hundred megahertz"]
 (The simulation does not oscillate).

What is the mechanism of the oscillation (maybe akin to a phase-shift oscillator?) - do I need to add any real-world parasitics to the simulation? Maybe just a current kick / impulse?

Schematic in form viewable in a browser?
Photo of construction technique?

Without knowing those, one guess is shown at https://entertaininghacks.wordpress.com/2024/03/16/practical-traps-with-a-one-transistor-audio-amplifier-solderless-breadboards-and-oscilloscopes/ which shows
-a one transistor audio amplifier using jellybean components, an audio function generator, a voltmeter and an oscilloscope
-how a gross problem is easily missed, not only with simulation but also experimentally
-what’s necessary to reveal the problem
-a subtle variation in the way the problem manifests itself
-common tools showing differing measurement results
-the problem’s cause, and how it can be verified with adequate simulation
-professional products which rely on such “problems” for their basic operation
« Last Edit: January 06, 2025, 10:38:35 pm by tggzzz »
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline Xena E

  • Super Contributor
  • ***
  • Posts: 1023
  • Country: gb
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #2 on: January 06, 2025, 10:46:21 pm »
Heres the circuit the op was referring to.

 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2712
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #3 on: January 06, 2025, 10:55:43 pm »
I managed to get it to oscillate at about 350MHz with some minor tweaks, one of the important things for SPICE is to reduce the timestep, otherwise it just steps over any oscillation.
 
The following users thanked this post: 741

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #4 on: January 06, 2025, 11:07:12 pm »
Heres the circuit the op was referring to.

(Attachment Link)

I suspected as much :)

We don't know the physical implementation, but I'll bet the cause and resolution is given in the article I referenced.
« Last Edit: January 06, 2025, 11:09:42 pm by tggzzz »
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6939
  • Country: de
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #5 on: January 06, 2025, 11:25:01 pm »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.
 
The following users thanked this post: moffy

Offline Analog Kid

  • Super Contributor
  • ***
  • Posts: 4004
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #6 on: January 06, 2025, 11:32:04 pm »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.

So in general, what value of "stopper" resistor ought to be used? (Assuming a small non-power transistor.)
Something in the ballpark of 100Ω or less?
 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2712
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #7 on: January 06, 2025, 11:43:26 pm »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.

So in general, what value of "stopper" resistor ought to be used? (Assuming a small non-power transistor.)
Something in the ballpark of 100Ω or less?
It's like the gate resistor applied to MOSFETS, it should be as near to the base as possible and 100R would be fine in this case maybe even as low as 10R could work but it is a practical decision based on the circuit parasitics, in the case of the sim I posted 10R works.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #8 on: January 06, 2025, 11:52:58 pm »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.

Or a ferrite.
Or have decent layout/construction techniques, based around an understanding of what is happening and why.

IMHO understanding is preferable to suck-it-and-see coupled with "it worked with last year's batch of transistors". Replacing original 1980s 2N3055s with modern 2N3055s anecdotally enables them to oscillate in some cases. Presumed cause: a much higher fT than the specified 2.5HMz min.
« Last Edit: January 07, 2025, 12:00:34 am by tggzzz »
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online TimFox

  • Super Contributor
  • ***
  • Posts: 11256
  • Country: us
  • Retired, now restoring antique test equipment
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #9 on: January 07, 2025, 12:00:53 am »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.

A fundamental issue with emitter followers is their operation into a capacitive load.
(This is also true with cathode followers and source followers.)
The base (grid, gate) stopper spoils the negative resistance component that appears at its input causing oscillation:  the full diagram including parasitic capacitances resembles a Colpitts oscillator.
 
The following users thanked this post: harerod

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #10 on: January 07, 2025, 12:04:31 am »
Yeah, emitter-followers aren't as harmless as they look. I've experienced this enough when making constant-current sources for LEDs.
The trick is to include a base resistor, that normally stops the behaviour.

A fundamental issue with emitter followers is their operation into a capacitive load.
(This is also true with cathode followers and source followers.)
The base (grid, gate) stopper spoils the negative resistance component that appears at its input causing oscillation:  the full diagram including parasitic capacitances resembles a Colpitts oscillator.

I.e. operating as a common-base amplifier with lots of voltage gain (cf the presumed common emitter amplifier with voltage gain <1)
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 8081
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #11 on: January 07, 2025, 12:26:43 am »
A "microprocessor RESET" circuit that actually oscillated in practice. Shown in "Troubleshooting Analog Circuits" by Bob Pease, p109

"The little transistor would run at over 10mA and, with a bypass capacitor at its base, the transistor would oscillate" [at a "couple hundred megahertz"]
 (The simulation does not oscillate).

What is the mechanism of the oscillation (maybe akin to a phase-shift oscillator?) - do I need to add any real-world parasitics to the simulation? Maybe just a current kick / impulse?

Simulators "lie in their teeth".
Unless they are provided with typical values of stray inductance & capacitance, they assume both Ls & Cs are zero. The real world is very different, & common values of both may well cause VHF oscillation.
 

Offline Geoff-AU

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #12 on: January 07, 2025, 12:54:05 am »
Simulators "lie in their teeth".

I disagree.  A model is an approximation of reality, if it doesn't match reality then your approximation is too coarse and you need to do as you say (consider what else in your circuit might matter, eg parasitics).  See also: GIGO theory (garbage in, garbage out).  A simulator is just a tool, it's up to the user to use it appropriately.



 
The following users thanked this post: Sensorcat

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6939
  • Country: de
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #13 on: January 07, 2025, 01:13:28 am »
Simulators "lie in their teeth".
Unless they are provided with typical values of stray inductance & capacitance, they assume both Ls & Cs are zero. The real world is very different, & common values of both may well cause VHF oscillation.

You underestimate simulators.
Fed with the right models (including parasitics), they provide excellent results, but an engineering brain has to accompany them.
Ngspice was actually the reason I found out why a constant-current source was misbehaving, and led me to the dangers of the common-emitter circuit.
 
The following users thanked this post: Sensorcat

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2712
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #14 on: January 07, 2025, 01:43:34 am »

Simulators "lie in their teeth".


Bob Pease certainly agreed with your sentiment as he threw his computer from the roof of the building, but they have very practical uses if you accept the limitations.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8963
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #15 on: January 07, 2025, 01:57:27 am »
If you add in the parasitics, there can be enough feedback to cause oscillation.

Also reminds me of this thread: https://www.eevblog.com/forum/projects/challenge-thread-the-fastest-breadboard-oscillator-on-the-mudball/
 

Offline temperance

  • Super Contributor
  • ***
  • Posts: 1177
  • Country: 00
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #16 on: January 07, 2025, 02:35:16 am »
A class of transistors also known as Low VCE-SAT transistors meant for switching circuits are excellent oscillators when used in emitter followers.

An example here by Dave. At around 6 minutes into this video the output stage transistor is replaced by a FZT849 and Dave wrongly assumes that the compensation around the op amp needs adjustment.



Most of the comments state the same and trow wild values around for the compensation circuit while it is not the op amp which is oscillating but the unfortunate choice of transistor which makes the output stage a good oscillator and the op amp is trying to "compensate" the oscillating output stage.

What is needed is a resistor in series with the FZT849 base to compensate for the negative input resistance caused by a more often than not invisible capacitive load such that input resistance stays positive. Finding out how large this resistor must be is the difficult part.
If everyone woke up tomorrow and felt like a dog does, the stock market would probably crash by noon.
 

Offline 741Topic starter

  • Frequent Contributor
  • **
  • Posts: 422
  • Country: gb
    • Circuit & PCB Design (small PCB quantities OK)
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #17 on: January 07, 2025, 07:48:19 am »
Here is an image of the LTSpice circuit as requested (I thought maybe it would be disallowed to post a photo of the page in the book).

Also shown is the circuit of Reply #3, which does oscillate.
« Last Edit: January 07, 2025, 09:36:46 am by 741 »
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #18 on: January 07, 2025, 12:10:36 pm »
A "microprocessor RESET" circuit that actually oscillated in practice. Shown in "Troubleshooting Analog Circuits" by Bob Pease, p109

"The little transistor would run at over 10mA and, with a bypass capacitor at its base, the transistor would oscillate" [at a "couple hundred megahertz"]
 (The simulation does not oscillate).

What is the mechanism of the oscillation (maybe akin to a phase-shift oscillator?) - do I need to add any real-world parasitics to the simulation? Maybe just a current kick / impulse?

Simulators "lie in their teeth".
Unless they are provided with typical values of stray inductance & capacitance, they assume both Ls & Cs are zero. The real world is very different, & common values of both may well cause VHF oscillation.

Everybody should read learn and inwardly digest the aphorism "all models are wrong, but some are useful".

Too many think "X true because the computer says so". (I use the word "think" loosely, of course).
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 519
  • Country: de
  • ee - digital & analog
    • My services:
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #19 on: January 07, 2025, 01:04:06 pm »
Quote from: vk6zgo on Today at 01:26:43...
Too many think "X true because the computer says so". (I use the word "think" loosely, of course).

I'd suggest: Too many believe "X true because the computer says so".
 
A professional needs the ability to make rough estimates and checking the plausibility of a calculator result. The extend of a "rough estimate" varies. When I design a circuit, this may well be equations and transforms that span several pages. For stuff like that I combine a pencil, sheets of paper and the computer (LTspice and Excel work surprisingly well for me).
 Incidentally: Bob Pease suggests a remedy (series base resitor) on the very same page, above the diagram. However, he leaves the detailed analysis to the reader.
 

Offline temperance

  • Super Contributor
  • ***
  • Posts: 1177
  • Country: 00
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #20 on: January 07, 2025, 02:34:46 pm »
Quote from: vk6zgo on Today at 01:26:43...
Too many think "X true because the computer says so". (I use the word "think" loosely, of course).

I'd suggest: Too many believe "X true because the computer says so".
 
A professional needs the ability to make rough estimates and checking the plausibility of a calculator result. The extend of a "rough estimate" varies. When I design a circuit, this may well be equations and transforms that span several pages. For stuff like that I combine a pencil, sheets of paper and the computer (LTspice and Excel work surprisingly well for me).
 Incidentally: Bob Pease suggests a remedy (series base resitor) on the very same page, above the diagram. However, he leaves the detailed analysis to the reader.

Except that this case is not a matter of simple calculations and rough estimates. It requires good insight into analog circuit design to identify such unintentional invisible oscillators as I stated before in my earlier post with a nice example.
If everyone woke up tomorrow and felt like a dog does, the stock market would probably crash by noon.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23983
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #21 on: January 07, 2025, 03:14:27 pm »
Quote from: vk6zgo on Today at 01:26:43...
Too many think "X true because the computer says so". (I use the word "think" loosely, of course).

I'd suggest: Too many believe "X true because the computer says so".
 
A professional needs the ability to make rough estimates and checking the plausibility of a calculator result. The extend of a "rough estimate" varies. When I design a circuit, this may well be equations and transforms that span several pages. For stuff like that I combine a pencil, sheets of paper and the computer (LTspice and Excel work surprisingly well for me).
 Incidentally: Bob Pease suggests a remedy (series base resitor) on the very same page, above the diagram. However, he leaves the detailed analysis to the reader.

Except that this case is not a matter of simple calculations and rough estimates. It requires good insight into analog circuit design to identify such unintentional invisible oscillators as I stated before in my earlier post with a nice example.

As I stated (but was snipped before your response) "Everybody should read learn and inwardly digest the aphorism "all models are wrong, but some are useful"."

Design requires
  • theoretical understanding. Without that it is blind fumbling and/or cargo-cult engineering
  • models of the system being considered
  • understanding what the models don't address. Models cannot address everything, because by definition they are a simplification of reality
  • practical and theoretical understanding of the extent to which the system being considered is not valid
  • experiment to validate all the above
  • repeat all the above when a discrepancy is found

In the case of a circuit that is presumed to be common collector amplifiers (i.e. emitter followers) with voltage gain <1, parasitic components can cause it to act as a common-base amplifier with voltage gain >1.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 6403
  • Country: sm
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #22 on: January 07, 2025, 04:21:58 pm »
Still missing perhaps a dozen of parasitics there..
159MHz..

PS: 100mm long straight wire is aprox 100nH..
« Last Edit: January 07, 2025, 04:26:28 pm by iMo »
Readers discretion is advised..
 
The following users thanked this post: moffy, xavier60

Offline temperance

  • Super Contributor
  • ***
  • Posts: 1177
  • Country: 00
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #23 on: January 07, 2025, 04:29:16 pm »
Quote
Still missing perhaps a dozen of parasitics there..
159MHz..

 :-DD
If everyone woke up tomorrow and felt like a dog does, the stock market would probably crash by noon.
 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2712
  • Country: au
Re: 1 transistor RESET oscillates at 100s MHz. Why? (Source: Bob Pease).
« Reply #24 on: January 07, 2025, 11:20:13 pm »
Still missing perhaps a dozen of parasitics there..
159MHz..

PS: 100mm long straight wire is aprox 100nH..
Nice. :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf