Skip to main content

Simple Voltage-to-Frequency Converter

Early this year I got my Digilent Analog Discover Kit. It is a wonderful PC based design and experiment kit complete with software measurement and resource tools perfect for students and professionals alike, but students surely will benefit the most out of it.The complete Discovery kit includes many useful exciting components that will enable you  to design your own circuit in your living room!

One cute little component it has is the AD654, a low-cost IC voltage-to-frequency converter. It is a very simple to use IC that outputs a square wave with programmable frequency, set by just a single RC network. The scaling relationship as obtained from its datasheet is:



Below is a simple V-F circuit that takes its input from another IC included in the kit, the AD584, a precision programmable voltage reference.

Figure 1 V-F Converter

The AD654 accepts full-scale current up to 2mA, but the best linearity is offered at 1mA full-scale. The voltage input is converted to a drive current by the resistor installed at the pin 3 of the device, with the other end connected to the ground. No current flows into the AD654 positive input (pin 4), so it doesn't load my reference. I have configured the voltage reference to 2.5V, and have used a voltage divider to scale the output down for better linearity of the voltage-to-frequency converter operation. The AD584 programmable reference will be an excellent choice for its accuracy and flexibility, and can be easily configured to obtain a desired output. Making a voltage-to-frequency converter with good accuracy and linearity requires that the input be precise and has minimized error over time as well. A precision reference fits the job. The output frequency can be made adjustable by a trimming resistor or a potentiometer. A 1V input produces 10KHz square wave output. Snapshot from the kit's oscilloscope tool shows the output adjusted to 9KHz.


Figure 2 Digilent Analog Discovery Kit Oscilloscope Tool
Inputs to the voltage to frequency converter can come from a variety of sources in the real world applications, such temperature and other small signal measurements. Its output can be interfaced to a microcomputer that can determine the output frequency to accurately represent and interpret the input.



Comments

Popular posts from this blog

Arduino Transistor DC Motor Control

Arduino boards have PWM (Pulse Width Modulation) outputs that can be used to control like the speed of a DC motor. On a Pro Micro, those outputs are encircled white on the board. You can program it such that it outputs on a scale of 1-255, 1 being the slowest and 255 being the fastest. PWM gives out pulses whose width is varied (modulated) while the period is constant. The longer it is high, the higher power it delivers to the circuit. PWM can be used to drive a transistor (switch) which in turn drives the motor ON and OFF. The longer the switch is ON, the higher the power delivered to the motor, and thus faster. The circuit consists of a transistor Q1 (TIP31) NPN transistor, driven by the PWM from Arduino. The resistor is to limit the current to the base, but enough to operate the transistor in saturation when the input is high. The diode is to protect the motor from any back emf that might come from the motor when the current is cut off. The circuit is supplied by a 9V battery.

What Can You Do With Two Transistors (BJT)? Part 2 - Transistor Regulator

In the first installment of this series, we talked about what exciting things we can do with just two transistors, in particular BJT transistors. Some of us might probably think that we don't talk a lot about BJT transistors nowadays, not with the thrill, excitement, and trend brought about by high advancements in the technology in the Internet of Things, Machine Learning, Machine Intelligence, Advanced Algorithm, etc.. But we argue that these little circuits and components are constantly in the background of the advancements we see around us and we should not ignore them, as much we will not ignore what we currently enjoy and what the future holds for us. Let's continue to look at the Two-Transistor Series Regulator we talked about in Part 1 . The circuit below is a different version, now using the transistor to provide feedback from the output. This makes the output voltage higher. The output is still derived from the zener voltage. The output voltage is now a s

How Does The Howland Current Source Work?

Current source programs an output current as defined by the user, regardless of the load resistance. We know that when load resistance is larger, the voltage across it also increases. An ideal source would maintain a constant amount of current even if the load resistance changes, or in other words even if the output voltage changes. Such behavior describes a very good current source that has high output impedance. Remember, the output voltage changes, but very little or no change in output current. That means high output resistance or impedance. We use the term impedance when dealing with changes. Howland circuit in the figure is a classic current source circuit.   When R 1 is made equal to R 2 , R F equal to R 3,  the output current is given by V IN /R 1 where V IN is V 1 minus V 2 . A simple implementation is grounding V 2 and taking V 1 as the V IN . Figure 1 Basic Howland Current Source This circuit is such a clever manipulation of the op amp, such