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.

vco - Need a circuit that control frequency of sine wave with same amplitude

AHMED SALLAM

Newbie
Joined
Feb 20, 2024
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
50
i need circuit that control freq of sine wave with same amplitude when change dc input voltage (linear vco)
i research for long time to design it but dont work all time
 
Hi,

so what does "same amplitide" mean?
* constant amplitude?
* or with increasing frequency you also want increasing amplitude?

For that latter:
* either use a "multiplier circuit"
* or use a "differentiator". May be a passive high pass filter with very low cut off freqency.

Klaus
 
Hi,

so what does "same amplitide" mean?
* constant amplitude?
* or with increasing frequency you also want increasing amplitude?

For that latter:
* either use a "multiplier circuit"
* or use a "differentiator". May be a passive high pass filter with very low cut off freqency.

Klaus
constant amplitude
 
What is freq range desired, and Vcontrol for that range, what V range is that.

Any concern about latency from a step change in Vcontrol to freq out ?

Distortion ? Harmonic distortion needed ? Any special T and V requirements ?

Accuracy of Fout = K x Vin ?

Analog Devices make some pretty good VCOs. CD4000 logic family CD4046 has a fairly good low freq VCO in
it, although you would have to convert its square wave output to sine.

Some papers and ref material :




Regards, Dana.
 
Last edited:
Single chip design, many other resources available onchip if you need them,
see right hand window for resources used/left.

1715783642453.png


If you need stuff like phase modulation use 24 Bit DDS which has that capability. You can also do stuff
like this also all onchip :



Regards, Dana.
 
Hi,

this is not a true VCO solution. But the same came into my mind also.
You may control the frequency by wiring the analog signal to a microcontroller that cantrols the DDC chip.

For sure you get rather good quality sine, stable frequency and stable amplitude ...

***
Analog solution:
Analog solutions all go back to the oscillation requirement for 180° phase shift and gain of 1.
But this is not simple to a achieve.

If gain is a bit smaller than 1 then the amplitude will continously decrease .. down to zero.
If gain is a bit higher than 1 then the amplitude will continously increase until it gets clipped causing some distortion.

For sure there are solutions to improve overall performance.
Thus it´s really a challnge to get clean sine, stable frequency and stable amplitude from a VCO.
Not a simple task.

Klaus
 
this is not a true VCO solution.

Huh, and I thought that if I apply a V to a pin and get a changing freq sine with stable
amplitude out on another pin it was a "true" VCO. So now I have to call it a "false" VCO
solution......

So Vin = Freq out, and if I dont tell you whats in between then can it be a "true" VCO ?

Could have fooled me. The Barkhausen condition not the only way to create oscillators.
And of course that condition is not adequate when discussing oscillators -


You may control the frequency by wiring the analog signal to a microcontroller that cantrols the DDC chip.

My example the DelSig controls the DDS. Although in the part is a CPU totally capable
of controlling the DDS and messing up my "false" VCO.


Regards, Dana.
 
Hi,

Wow. It´s not the first time you get triggered when I reply to a post of you. So, what´s the problem?
I even wrote that I thought about the same as you ... and even explained the difficulties of a VCO (VCO as described by Wikipedia, or AnalogDevices, or whatever result you get on an internet search for "what is a VCO"). .. and I even explained the benefit of a DDS solution.

So even if I positively validate your post ... you´re getting emotional ... and forget that this is a technical discussion. And different opinions are just normal (And non_different opinions should be allowed, too. Or don´t you agree?).

if I dont tell you whats in between then can it be a "true" VCO ?
Counter question: If a diesel engine in a vehicle provides power to charge batteries .. and these batteries are used for electro-motors that move a car ... is it still a true electric car? Or a true diesel car?
[IMHO: usually it is called a "hybrid solution" .... and "hybrid" is nothing negative. It just combines "two technologies" .. usually to a solution with new features]

You mentioned Barkhausen and provided a link to a forum thread.
Did you read the thread?
One sentence says: "the original Barkhausen criterion was (and is) a necessary criterion only. That means: When a circuit oscillates it will fulfill this criterion."
So for the OP .. what´s the key-information from this link? Wrong/flase/good/bad.....?

On my "analog solutions ..." statement you argumented that "The Barkhausen condition not the only way to create oscillators". Fair enough. Can you provide an example? You underline your knowledge .. and I´m open to learn.

My example the DelSig controls the DDS. Although in the part is a CPU totally capable
of controlling the DDS and messing up my "false" VCO.
Re-read my sentence ... does it support your solution, or did I counter-argument?

I´m not familier with this IDE. So forgive me that I can´t see how the DelSig controls the DDS.
Indeed I don´t need to understand ... you addressed the solution to the OP, so it´s more important that the OP understands.
Don´t know what you mean with "messed up" at all.

Klaus
 
In analog circuit design forum, I would expect a voltage controlled analog sine oscillator in the first place. No question that digital signal processing can achieve higher performance in some applications but it's not useable for all. The OP didn't yet specify any requirements.
 
Hi,

Wow. It´s not the first time you get triggered when I reply to a post of you. So, what´s the problem?
I even wrote that I thought about the same as you ... and even explained the difficulties of a VCO (VCO as described by Wikipedia, or AnalogDevices, or whatever result you get on an internet search for "what is a VCO"). .. and I even explained the benefit of a DDS solution.

So even if I positively validate your post ... you´re getting emotional ... and forget that this is a technical discussion. And different opinions are just normal (And non_different opinions should be allowed, too. Or don´t you agree?).


Counter question: If a diesel engine in a vehicle provides power to charge batteries .. and these batteries are used for electro-motors that move a car ... is it still a true electric car? Or a true diesel car?
[IMHO: usually it is called a "hybrid solution" .... and "hybrid" is nothing negative. It just combines "two technologies" .. usually to a solution with new features]

You mentioned Barkhausen and provided a link to a forum thread.
Did you read the thread?
One sentence says: "the original Barkhausen criterion was (and is) a necessary criterion only. That means: When a circuit oscillates it will fulfill this criterion."
So for the OP .. what´s the key-information from this link? Wrong/flase/good/bad.....?

On my "analog solutions ..." statement you argumented that "The Barkhausen condition not the only way to create oscillators". Fair enough. Can you provide an example? You underline your knowledge .. and I´m open to learn.


Re-read my sentence ... does it support your solution, or did I counter-argument?

I´m not familier with this IDE. So forgive me that I can´t see how the DelSig controls the DDS.
Indeed I don´t need to understand ... you addressed the solution to the OP, so it´s more important that the OP understands.
Don´t know what you mean with "messed up" at all.

Klaus
Examples here : https://en.wikipedia.org/wiki/Barkhausen_stability_criterion # 5 foot note

Your right, so much emotion in that earlier post (see the following) :

this is not a true VCO solution.

Huh, and I thought that if I apply a V to a pin and get a changing freq sine with stable
amplitude out on another pin it was a "true" VCO. So now I have to call it a "false" VCO
solution......

So Vin = Freq out, and if I dont tell you whats in between then can it be a "true" VCO ?

While you are at it can you tell me what a "true" VCO is, never learned that....., what
differentiates it from a non true VCO ?

I´m not familier with this IDE. So forgive me that I can´t see how the DelSig controls the DDS.

The DelSig is an A/D converter, so Vin is digitized, and that value converted passed on
to DDS via code, hence V to F frequency control. Could have used DMA to do that, but got lazy.

I guess maybe I should have posted my prior post in the Mixed Signal forum, live and learn.


Regards, Dana.
 
The trick for analog design would be to maintain constant
amplitude over varying frequency. And of course small
matters like intial accuracy, stability, distortion, drift with
environmentals, supply ripple FM-ing the output tone, etc.

If you wanted it all, something like an ADC feeding a
PLL divider code, controlling a VCO against a crystal ref
/ clock-in-a-can, throw VCO output to a counter and
sine-code ROM to a fine DAC, would put clocks well
out of band and need only a small output filter. Output
amplitude then depends mainly on DAC VDD / Vref and
downstream contributions.

Mighty busy for a breadboard, but totally normal for a
mixed signal ASIC.
 
This digital method yields unchanging amplitude. By putting proper weighted resistors on a shift register it produces quasi-sine shape. The clock must be several times the frequency you desire. The clock can be square waves from a VCO in a 4046 IC (or whatever you choose). A smoothing capacitor removes the jaggies.

To obtain finer resolution, add more flip-flops to the sequence and revise resistor values. Notice a load can be placed across outputs 1 & 2, in order to obtain genuine AC bipolar waveforms.

This simulation is spun-off from the circuit included in Falstad's menu of included circuits (Digital Sine wave).

quasi-sinewaves via 8 toggle FF's both Q and bar-Q.png


Link which navigates to Falstad's website and runs the above simulation on your computer:

tinyurl.com/27xbju9c
 
While you are at it can you tell me what a "true" VCO is, never learned that....., what
differentiates it from a non true VCO ?
I explained it, I gave an example, I talked about the internet search and it's hits like Wikipedia, AnalogDevices... What else do you need?

Call me dumb ... but I can not find a proove for your "The Barkhausen condition not the only way to create oscillators".
I found several times that an oscillator needs to satisfy Barkhausen ... but also they say that circuits that fulfill Barkhausen do not necessarily oscillate.
I can not find a proove that there are analog oscillators that don't satisfy Barkhausen.
So what is "the other condition" to create an analog oscillator?





This digital method yields unchanging amplitude.
True. So far. I've used similar circuits for tracking mains frequency, this means for a rather narrow frequency range. Where it works great, btw.

Sad that the OP gives no information about the expected frequency range (and other specifications)
But as soon as you add an analog "smoothing filter" ... you are (very) limited in the frequency range.
The filter needs to pass the fundamental ... while suppressing the overtones. Overtones are starting at 3rd here (although 3rd amplitude well reduced compared to a square wave).
Indeed this solution comes close to a DDS ... with it's DAC style output. The benefit of the DDS is the usually much higher and fixed output sampling frequency and the much lower step size, which makes the analog reconstruction filter more useful for a wider frequency range.

In the end the OP needs to give more specifications so we can decide which solution is suitable .. or not.

Klaus
 
Barkhausen, last time on the homework, page 15 on....attached

And I repeat :

While you are at it can you tell me what a "true" VCO is, never learned that....., what
differentiates it from a non true VCO ?

Your answer is ?

I can not find a proove that there are analog oscillators that don't satisfy Barkhausen.

As pointed out earlier in references Tunnel Diode oscillator comes to mind.


Knight
--- Updated ---

@OP, if you choose a digital approach you need to be concerned with wave table size
versus harmonic distortion. I made some measurements and got the following results :



Regards, Dana.
 
Last edited:
Barkhausen, last time on the homework, page 15 on....attached
I have no clue what you refer to. I can find nothing about "homework", "attach...", "page 15". WTH are you talking about?

Your answer is ?
... already given.

As pointed out earlier in references Tunnel Diode oscillator comes to mind.
Thanks, this really is useful information. Never heard about it, learned something new.
Is it something you would recommend for the OP?

Klaus
 
Attached, page 15. Prior post uploaded, did not display in saved post. Huh....


And then we have this, another attempt at attach. Analog "true" (whatever that means) oscillators that cannot oscillate.

Knight
 

Attachments

  • balaz2013.pdf
    1 MB · Views: 22
Hi,

I don´t get it.

What exact information can we get from these documents
* that is not written in the thread already?
* or that is an counter-argument to what is written in the thread?

The title of the one document is "Barkhausen Criterion and Another Necessary Condition for Steady State Oscillations Existence"
Does it say Barkhausen criterion is necessary or does it say it is not necessary?
This document has no page#15

The other document, page#15 says: " A discussion of the Barkhausen Criterion which is a necessary but NOT sufficient criterion for steady
state oscillations of an electronic circuit."
Does it say Barkhausen criterion is necessary or does it say it is not necessary?

I really don´t understand what you want to tell me / us. Please tell me which information I have to focus on. .. or even better: the OP has to focus on.

Btw: I fully understand that there is a tunnel diode oscillator that does not fulfill Barkhausen.

Klaus
 
Paper -

Barkhausen Criterion and Another Necessary Condition for Steady State Oscillations Existence
Conclusion

So the Barkhausen criterion is fulfilled (for A=1.5 in the case of MW oscillator and for A=4 in the case of DT oscillator if m=1) but these circuits cannot oscillate. This fact was confirmed not only by means of the linear analysis solving appropriated CEs and their root locus diagrams but nonlinear analysis and experiments as well [15]. Our investigation of these feedback circuits leads us to assume that the demand to

0/ 0 < ω dd ωϕ

could be taken as another necessary condition for steady state oscillation existence and understood as a supplement of the Barkhausen criterion

Paper -

1715937418355.png

oscillations of an electronic circuit. Barkhausen did not ”open the loop” ! Oscillators may be classified into three groups based on the Barkhausen Observation. A Wien bridge oscillator with an almost linear inverting amplifier and a nonlinear passive amplitude and frequency determining feed-back circuit is investigated by means of the time-varying linear approach (”frozen eigenvalues”)

So post #7 (below snippet) is not sufficient (which for most of us we learned the below inaccurate criteria in school),
eg that we now know Barkhausen is not complete, not sufficient design criteria.


Analog solution:
Analog solutions all go back to the oscillation requirement for 180° phase shift and gain of 1.
But this is not simple to a achieve.

Knight
 

Attachments

  • 1715937376791.png
    1715937376791.png
    10.1 KB · Views: 14
Last edited:
Hi,

In short: It´s still a mystery to me what you want to teach us.

I asked a couple of questions (delimited with a question mark). Did you answer a single one .. with a clear statement?

There is only one alsmost complete sentence of you:
So post #7 (below snippet) is not sufficient (which for most of us we learned the below inaccurate criteria in school),
eg that we now know Barkhausen is not complete, not sufficient design criteria.
But what do you (or should we) focus on?

I can only guess that you focus on "not sufficient" and "not complete":
If so: Nobody before said it is complete. But isn´t it still valid? (with the learned exceptions).

Nobody said "the only thing you need is a gain of 1 and a phase shift of 180° ... and nothing else."

What about some kind of amplifier... and power supply ...

And how is all this discussion related to the OP´s question?

*****
For making coffee one needs coffee beans and water. True or false?
Others may say you need a heater, you may roast the beans, for some special coffee you need a cat to eat (and s**t) the beans, sugar, milk, you need a person to do the job, ....
All true. Nobody denies that. Still "coffee beans and water" is valid for 99% (guessed) of prepared coffee.

Klaus
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top