NPN transistor model for use with differential equations-LC oscillator

In summary, the model for the transistor in this circuit does not work well, which is causing the equation to break down. The oscillator is not linear, so the frequency cannot be determined using the formulas provided.
  • #1
Sravoff
15
0
Hello,

I am trying to get a better understanding of how oscillator circuits (clapp, hartley, colpitts etc) work, so I have been trying to solve the differential equation for a very simple one--the one most the way down the page here: http://www.electronics-tutorials.ws/oscillator/oscillators.html.

I can do the diffy-q for the LC and RLC circuits, but as soon as I add in a bigger circuit my equation breaks down, which I assume is due to my model for the npn transistor:

-Base-Emitter voltage drop is 0.6 v
-Collector Current is Beta times Base Current
-Work around Collector-Emitter voltage since I don't have a relationship for that

I feel like those assumptions work for steady state dc circuits, but not for this time-domain analysis. Is there a more complicated model that allows for the differential equations?

I ideally I would like to solve the circuit with with a small five-ohm speaker attached to V-out so I can guess the frequency of the sound and compare to a guitar tuner... But I'm a little stuck at the transistor.

Thanks for looking!
 
Engineering news on Phys.org
  • #2
Sravoff said:
... my equation breaks down, which I assume is due to my model for the npn transistor:

-Base-Emitter voltage drop is 0.6 v
-Collector Current is Beta times Base Current
-Work around Collector-Emitter voltage since I don't have a relationship for that

http://people.seas.harvard.edu/~jones/es154/lectures/lecture_3/bjt_models/bjt_models.html
 
  • #3
I don't know what you mean by
I can do the diffy-q for the LC and RLC circuits, but as soon as I add in a bigger circuit my equation breaks down, which I assume is due to my model for the npn transistor:
I'm guessing this is the circuit you're modeling ?

osc4.gif


I don't think that one would oscillate successfully. It's too linear , would have to have very precise and stable gain. No bias provision for the transistor, either.

I was taught in vacuum tube days that oscillators don't operate as a linear circuit. They develop enough feedback to turn off during part of every cycle. They spend a substantial fraction of their time in "Cutoff", ie zero current through the tube or transistor..
That let's them find a stable operating point , because the approach to cuttoff is nonlinear and clever circuit designers of the 1920's used that property of tubes to achieve the variable gain necessary for stable oscillation.

So I'm not surprised that linear DE's don't work on an oscillator model. The oscillator isn't linear.

At the bottom of your linked page is another link to Hartley oscillators.
http://www.electronics-tutorials.ws/oscillator/hartley.html
It mentions that trick from the 1920's:
If the amplitude of the oscillations decreases the bias decreases and the gain of the amplifier increases, thus increasing the feedback. In this way the amplitude of the oscillations are kept constant using a process known as Automatic Base Bias.

One big advantage of automatic base bias in a Voltage Controlled Oscillator, is that the oscillator can be made more efficient by providing a Class-B bias or even a Class-C bias condition of the transistor.
Harrumph, more efficient indeed - it makes it self stabilizing, too.
As you well know class B or C means cutoff for part each of cycle.

In my day (1962) it was a grid not a base,
but same principles apply.
Observe the extra capacitor in this Hartley from that link, at node R1 R2 Base:
osc6.gif

That capacitor let's the transistor develop enough DC at its base to hold itself cut off for part of every cycle.
In vacuum tube days that's how we'd tell if the oscillator is running - with our VTVM look for lots of negative on the grid.
We called it "Self bias" and when oscillation ceases you lose it. 10 or 20 volts negative was typical at a grid, i think 2 or 3 is more typical for a transistor base.

I'm no expert - just i noticed you said that your differential equations weren't working with the transistor model, so i wondered whether your circuit model expects a garden variety transistor oscillator circuit to stay in its linear range. It shouldn't.

Even the mathematically exquisite Wein bridge oscillator needs a variable gain in its feedback.

hope above is of help and not way off the mark...

old jim
 
Last edited:
  • #4
Thanks for the analysis Jim. I think that non-linearity is my problem. So how does the frequency get determined for the LC-tank circuits? Most of the frequencies are in a form that looks like f = 1 / (2pi*sqrt(LC)), where LC are often functions of the capacitors and inductors in the circuit--like the Hartley. I want to be able to understand how those got designed, and how to figure out their frequencies. So far every book I have come across just tosses the circuits out and the formulas, then leaves it at that.

LC, LRC: I was speaking of the idealization of a charged capacitor connected in series to an inductor in a circuit without resistance, so the energy transfers between the electric field in the capacitor and the magnetic field in the inductor indefinitely. Adding a resistor simulates the energy loss in the wires, so the oscillations decay to zero.

Now, what's wanted to do was take that basic theory and figure out how to compensate for that loss with a transistor and a voltage source, which is more or less what these circuits do. Well, also the loss of whatever load is applied to v-out.

Thanks for tossing up those circuit diagrams, I'm on an iPad for now and it doesn't let me do much more than text, let alone numerical analysis on a nonlinear circuit.

Just to make sure I'm clear on that nonlinearity, it is when the base current isn't just zero, but the base voltage is less than the emitter--that's the 2 or 3 volts you're talking about? That would make sense, since the linear model I was using (I think) assumes that voltage is always 0.6 or 0.7, depending on the book.

I guess I should have been born earlier so I could play with these things, instead of all the code-monkeying. We do in school these days.

dlgoff:

Thanks for the link, I'll take a look and see if I can get any of those to work in a circuit.
 
  • #5
Thanks for tossing up those circuit diagrams,
well they were from your links - thanks go to you for finding such clear ones.
Just to make sure I'm clear on that nonlinearity, it is when the base current isn't just zero, but the base voltage is less than the emitter--that's the 2 or 3 volts you're talking about? That would make sense, since the linear model I was using (I think) assumes that voltage is always 0.6 or 0.7, depending on the book.

Yes. It develops more than enough "self bias" to cut itself off.

The LC determines frequency. Its damping is low so it'll ring after receiving a pulse. That's the frequency of oscillation.

Look at the bottom Hartley:
When feedback voltage drives base positive the transistor conducts
and that unnamed capacitor in series with base charges + on its left side and - on right .
Note right side can't go more positive than 0.6 volt, the E-B junction is an effective clamp.
So you could get several volts across the capacitor.
When the feedback voltage starts back toward negative a bit later on in the AC cycle, the right side of capacitor gets driven negative however far the AC wave takes it.
So collector current ceases to flow until next cycle.
And the base is driven below 0 volts. The average will be negative when it's oscillating because negative peaks are bigger than positive..
That means the tank circuit gets not sinewave excitation but just a pulse of current every cycle.
That pulse is not even a half cycle wide. But due to the tank circuit's low damping it's plenty to sustain the oscillation. The sinewave will have some distortion from the pulsed excitation current, but it works fine for radio circuits.
When you have your oscillator stable it'll find the conduction angle that gives steady oscillation.
Too much loop gain and it'll go in and out of oscillation, we call that "squegging". Wiki has a piece on that.

There's a practical limit on circuit design - most transistors have a reverse bias limit on EB junction of about 5 volts. So we don't see the -20 volts of self bias you get in tube radios.

Anyhow the Wein bridge oscillator is linear and follows your equations beautifully. So it is a favorite among authors. Search on "TI sine wave techniques" and you'll get lots of application notes.
http://www.ti.com/lit/an/snoa665c/snoa665c.pdf
http://www.ti.com/lit/ml/sloa087/sloa087.pdf
http://www.ti.com/sc/docs/apps/msp/journal/aug2000/aug_07.pdf

Sinewaves can even be approximated pretty closely by summing square waves, try a search on "Magic sinewaves tinaja" . We had a recent thread on that.Good luck with your project - i envy you guys whose math is so fresh and so powerful.

old jim
 
Last edited by a moderator:

1. What is a NPN transistor and how is it used in an LC oscillator?

A NPN transistor is a type of bipolar junction transistor that has three layers of semiconducting material. It is commonly used in electronic circuits as a switch or amplifier. In an LC oscillator, the NPN transistor is used as an amplifier to provide the necessary gain for the oscillator to sustain oscillations.

2. How does the NPN transistor model work in an LC oscillator?

The NPN transistor model for use with differential equations in an LC oscillator is based on the principle that the emitter current of the transistor is proportional to the base-emitter voltage. This relationship is described by the Ebers-Moll model, which includes parameters such as the current gain and junction capacitances. These parameters are used in the differential equations to model the behavior of the transistor in the oscillator circuit.

3. What are the advantages of using a NPN transistor model in an LC oscillator?

The NPN transistor model allows for a more accurate representation of the behavior of the transistor in the oscillator circuit. It takes into account important parameters such as the current gain and junction capacitances, which can significantly affect the performance of the oscillator. By using this model, engineers can design more efficient and stable LC oscillators.

4. Are there any limitations to using the NPN transistor model in an LC oscillator?

One limitation of the NPN transistor model is that it assumes ideal conditions, such as perfect symmetry in the transistor structure. In reality, there may be variations in the transistor's characteristics due to manufacturing processes, which can affect the accuracy of the model. Additionally, the model does not take into account external factors such as temperature and voltage fluctuations, which can also impact the performance of the oscillator.

5. How can the NPN transistor model be improved for better accuracy?

To improve the accuracy of the NPN transistor model, engineers can use more complex models that take into account non-ideal conditions such as temperature and voltage variations. They can also use circuit simulation software to test and refine the model. Additionally, experimental data can be used to validate the model and make necessary adjustments for better accuracy.

Similar threads

Replies
11
Views
2K
  • Electrical Engineering
Replies
11
Views
1K
Replies
5
Views
2K
Replies
16
Views
4K
  • Electrical Engineering
Replies
2
Views
1K
Replies
68
Views
4K
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
5
Views
2K
  • Electrical Engineering
Replies
5
Views
1K
  • Electrical Engineering
2
Replies
60
Views
13K
Back
Top