Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The problem with the integrator is that the amplitude of the output will proportional to 1/frequency. A fixed cutoff frequency filter will have amplitude problems also. As Audioguru said, a switched-capacitor filter is a good solution, but you have to run your V-F converter at 100X for the clock, and then divide by 100 for the signal. This may not be practical, depending on the desired signal frequency.akg said:u can get a triangular wave by passing it through an integrator , to get sine wave u may need a tuned(high Q) amplifier or logrithmic wave shaping network(won't give perfect sinewave , also will have lot of harmonics)
Assuming it works, you can use it with the limitations noted in this quote from the design article:km said:I found this circuit on the internet - is about converting Square to Triangular wave:
**broken link removed**
Can i input the square wave of the VFC into this circuit to get the triangle wave (for wide range of frequencies)?
In other words, if the input to your V/F converter has high bandwidth (fast rise and/or fall times, or other high frequency components), the triangle wave amplitude will not be able to keep up with the rapid frequency changes.It should be noted that the amplitude adjustment response for this circuit is not instantaneous, although appropriate selection of the integrating and averaging capacitor values will minimize amplitude shifts during frequency excursions. Abrupt changes in the input frequency will result in prolonged settling times that may render the circuit unsuitable for certain music applications. Response may possibly be improved with a more complex servo amplifier that adds proportional and derivative terms to the integral term.
Fig. 28 in the app note you referenced shows how to get a triangle wave. You don't need an AD521 for the instrumentation amplifier (IA). You can use 3 op amps with GBW of 10MHz or more and make your own IA. Do a Google search for "instrumentation amplifier" if you don't know how to do it. You will need a negative supply to do this.km said:Thanks for the instant reply!
I'm using AD537 monolithic V-F converter. The frequency range: 0-150kHz.
https://www.analog.com/en/prod/0,2877,AD537,00.html
All the chips I mentioned seem to be voltage-controllable, and they have triangle and sine outputs. Can the AD537 do something that they can't?km said:Sorry for not giving sufficient information.
Ya! i know i'm doing sth like function generator. I'm using parallel port to control the frequency.
Ron H said:Fig. 28 in the app note you referenced shows how to get a triangle wave. You don't need an AD521 for the instrumentation amplifier (IA). You can use 3 op amps with GBW of 10MHz or more and make your own IA. Do a Google search for "instrumentation amplifier" if you don't know how to do it. You will need a negative supply to do this.
The schematic for the sawtooth generator is Fig. 28 in AN-277.km said:1. Why need Op-Amps with GBW 10MHz?
2. What do you mean by "You will need a negative supply to do this."?
3. How do I choose the resistor values for the IA design?
Please guide me.
Either of those chips would be great if you were starting from the beginning, but they will not help you get a triangle or a sine wave from the AD537. Your best bet is the instrumentation amp approach.km said:Hi, actually i'm doing my project halfway...
My project title: Programmable Frequency Generator using Printer Port.
Initially, I got the design idea from "EDN" where a DAC is used to interface the parallel port with the VFC.
Now, i'm done with the frequency generating part. Then i faced the problem of getting Triangle n Sine waves. That's why i came to here for help.
About the function generator chips, i found out these two ICs are available in my country:-
1. https://www.electro-tech-online.com/custompdfs/2006/06/29113-1.pdf
2. https://www.electro-tech-online.com/custompdfs/2006/06/72349-1.pdf
Can i use these chips together with my existing circuit? (because i don't want to waste my effort) Please advice.![]()
Yes. I'm pretty sure all available function generator chips are voltage-controlled. I hope you know that a DAC is a digital-to-analog converter. Knowing this, you should be able to look at the function generator datasheets and see if they are voltage-controlled. I don't mind helping you, but I don't want to hold your hand just because you're a little insecure. Try to find the answers yourself first, and then post more specific questions about the parts you don't understand.km said:Just to have more information...
If i'm using a function generator chip, how can i used it with the parallel port? I still need a DAC for voltage control?