-
Categories
-
Platforms
-
Content
Probably what the op wanted to achieve?Phase Shift oscillator
The last amplifier isn't really an integrator because there is a resistor in parallel with the "integrating" capacitor. This resistor is the reason the output is "curvy" instead of a a linear saw-tooth waveform. But since you are feeding square waves into your "integrator" stage, by what magic did you expect a sinusoidal waveform to appear in the output?
Where in that reference did you find this statement? I can't find it and it isn't true. All that is stated is that as square wave will be integrtaed into a ramp function and that a sine wave will stiil be a sine wave but with shifted phase.I read here :: http://www.electronics-tutorials.ws/opamp/opamp_6.html
that if I put a tringular wave in the input of an integrator I should get a Sine wave
I'm not sure if the following will be in anyway helpful and I'm not sure if it is correct (disclaimer):
The square wave already contains the sine wave that you are looking for, along with a ton of odd harmonics. I think you can feed the square wave through a low pass filter that blocks all the harmonics (at the very least starting with the first odd harmonic) and you should to my knowledge be left with the fundamental sine wave.
Question... could a tank circuit be used as a sinewave generator?
I like LC oscillators, and they generate "pretty good" sine waves, but the microprocessor/DAC look-up table (LUT) approach is simple and, with plenty of data points per cycle, doesn't require very much filtering. IMO, the major limitation is how fast you can cycle through the LUT, which places an upper limit on the frequency you can produce. Easy to prototype to get something running right away, but for RF you generally need to use an LC "tank" circuit.I've created very pretty sine waves with microcontroller/DAC output (filtering also required)
Really? Got got got to disagree on this one.I like LC oscillators, and they generate "pretty good" sine waves, but the microprocessor/DAC look-up table (LUT) approach is simple
It's there. Here is the quote: "Further more, when the input is triangular, the output waveform is also sinusoidal. This then forms the basis of a Active Low Pass Filter ..." And of course it isn't true. The OP has taken misinformation and now wonders why his simulation doesn't produce sine waves.Where in that reference did you find this statement? ...
Absolutely correct.For my opinion, the problem is that nobody from us (who have answered up to now) knows what the questioner needs.
Simple is relative to your level of education and experience. I think it is simple to use a microprocessor because I am already familiar with some of them, have the requisite hardware and software development environment, and have a few μPs on hand to play with. I also have thousands of other components to play with, but setting up a reliable analog oscillator circuit is far more complicated than just picking out a transistor and a few passive components. If I get it wrong initially, there are hours of troubleshooting and tweaking component values ahead. Compare this to modifying a few lines of code. No soldering required. So, I'm with Bob on this one until the frequency gets too high for the microprocessor/DAC approach. After that, well, I guess it's time to find a transistor (or two or three) and round up some passive components. Analog isn't dead, but it's way more complicated than digital, IMHO. YM (or km) MV.I don't think a microcontroller development system, language compiler, device programmer, and 100 lines of code are "simple" in any situation, let alone when compared to 1 transistor and a few passives.
goes well with DSP code.I'm pretty new in this