A voltage frequency converter (VFC) is an oscillator that outputs a square wave whose frequency is linearly proportional to its input voltage. The output square wave can be fed directly to a microcontroller's digital pin to accurately measure the DC input voltage, meaning the input voltage can be measured using an 8051 or any other microcontroller without a built-in ADC.
VFCs are often mistaken for voltage-controlled oscillators (VCOs), but VFCs have many advantages and enhanced performance specifications that (VCOs) do not have, such as dynamic range, low linearity error, temperature and supply voltage stability, and more.
Here IC AD654 is used in this circuit to demonstrate operation, this is a monolithic voltage to frequency converter. An oscilloscope is also used to display the output square wave.
Integrated circuit AD654
AD654 is a voltage-to-frequency converter IC in an 8-pin DIP package. It consists of an input amplifier, a very accurate built-in oscillator and a high current open collector output driver, which allows the IC to drive up to 12 TTL loads, optocouplers, long cables or similar loads and can 5-30) Volts. Another thing to mention is that unlike other ICs, the AD654 IC outputs a square wave, so it is easy for the microcontroller to measure the readings. Some of the chip's most interesting features are listed below.
feature:
Wide input voltage ±30 V
Full scale frequency up to 500 kHz
High input impedance of 125MΩ,
Low drift (4 µV/°C)
2.0mA quiescent current
Low offset 1 mV
Minimum requirements for external components
Required components
Schematic diagram, schematic diagram
The schematic of this voltage to frequency converter circuit is taken from the datasheet and some external components are added to modify the circuit for this demonstration
The circuit is built on a solderless breadboard with its components as shown in the picture. For demonstration purposes, a potentiometer is added to the input section of the amplifier to vary the input voltage, whereby we can observe the change in the output.
notes! All components are placed as close as possible to reduce the inductance and resistance of parasitic capacitance.
How does the device function?
An internal op amp is used as the input, and when 1mA drive current is supplied to the frequency converter, it converts the input voltage into drive current for the NPN follower. It charges an external timing capacitor, a scheme that allows the oscillator to provide nonlinearity over a total voltage range of 100 nA to 2mA. This output also goes into an output driver which is just a NPN power transistor with an open collector from which we get the output
calculate
To theoretically calculate the output frequency of the circuit, the following formula can be used
Fout = Vin / 10*Rt*Ct
Where,
Fout is the output frequency
Vin is the input voltage of the circuit,
Rt is the resistance of the RC oscillator
Ct is the capacitance of the Rc oscillator
For example,
Vin is 0.1V or 100mV
Rt is 10000K or 10K
Ct is 0.001uF or 1000pF
Output = 0.1 / (10 * 10 * 0.001)
Output = 1 KHz
So if 0.1V is applied to the input of the circuit we will get 1kHz at the output
Voltage to frequency converter testing
In order to test the circuit, use the following tools
12V switching power supply (SMPS)
Meco 108B+ multimeter
Hantech 600BE USB PC Oscilloscope
To build the circuit, 1% metal film resistors were used and the tolerances of the capacitors were not taken into account. The room temperature during the test was 22 degrees Celsius
Test setup
As you can see the DC input voltage is 11.73 V
The voltage at the IC input is 104.8 mV
Here you can see the output on my DSO is 1.045 kHz. Where multiple inputs are given and the frequency changes with the ratio of the input voltages.
further enhance
Stability can be improved by making the circuit on a PCB, and accuracy can be improved by using resistors and capacitors with 0.5% tolerance. The most important part of this circuit is the RC oscillator section, so the RC oscillator must be placed as close as possible to the input pins, otherwise the PCB traces or the startup capacitance and resistance of the components may reduce the accuracy of the circuit.
application
This is a very useful IC that can be used in many applications, some of which are listed below
AD654 VFC as ADC
Frequency multiplier
Temperature sensor with thermocouple
Strain gauge
function generator
Self-biased precision clock
Previous article:Overview of USB PD chip CH543
Next article:Technology using highly integrated MCU to implement network support
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- Forum Prize: Texas Instruments TI-36X Pro Scientific Calculator Disassembly and Analysis
- Why does Kalman filter need to do the prediction step?
- Misiqi's project cooperation based on ESP32 development board IOT Bluetooth WIFI
- Is this a circuit that can prevent the MCU from hanging?
- When southern girls start soldering irons to do projects, what do science and engineering men need? - Arduino, hardware, project tutorials
- The principle and method of generating multiple PWM waveforms using one timer
- The impact of 5G on positioning technology
- Why is the output waveform of Quartus 13.0 always at a low level?
- Installation and sound source localization algorithm of a diamond microphone array
- How to start the design of adjustable voltage regulated power supply application