Calculate frequency to voltage: a sine wave’s instantaneous voltage from amplitude, frequency and time, or the output of a frequency-to-voltage converter.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Sine: instantaneous voltageFinds the voltage of a sine wave at one momentRequires the peak amplitude, the frequency and the time
Sine: peak amplitudeFinds the peak amplitude of a sine wave from one voltage readingRequires the voltage, the frequency and the time of the reading
Sine: principal frequencyFinds the lowest frequency that fits a voltage reading at a known timeRequires the peak amplitude, the voltage and the time
Sine: principal timeFinds the earliest time at which a sine wave reaches a voltageRequires the peak amplitude, the voltage and the frequency
IC converter: output voltageFinds the DC output of an LM2907 or LM2917 frequency-to-voltage converterRequires the converter model, the input frequency, the supply voltage, R1 and C1
IC converter: input frequencyFinds the input frequency that produces a given converter outputRequires the converter model, the output voltage, the supply voltage, R1 and C1
IC converter: resistance R1Finds the R1 that gives a wanted output at a given frequencyRequires the converter model, the frequency, the output voltage, the supply voltage and C1
IC converter: capacitance C1Finds the C1 that gives a wanted output at a given frequencyRequires the converter model, the frequency, the output voltage, the supply voltage and R1
LM2907: supply voltageFinds the supply voltage an LM2907 needs for a wanted outputRequires the frequency, the output voltage, R1 and C1
Generic converter: output voltageFinds the output of any linear converter from its sensitivityRequires the input frequency and the sensitivity in V/Hz
Generic converter: input frequencyFinds the input frequency from a linear converter’s outputRequires the output voltage and the sensitivity in V/Hz
Generic converter: sensitivityFinds the sensitivity of a linear converter from one calibration pointRequires the input frequency and the output voltage

Voltages can be entered in V, mV or kV, frequencies in Hz, kHz or MHz, times in s, ms, min or h, resistance in Ω, kΩ or MΩ and capacitance from F down to pF. With the LM2917 selected, the supply field is replaced by its regulated 7.56 V.

Frequency to Voltage Formulas

V = A × sin(2π × f × t) [1]
VVoltage at time t (V)
APeak amplitude of the sine wave (V)
fFrequency (Hz)
tTime (s)

The sine is taken in radians. This is the sine wave expression with no DC offset and no phase shift [1]. Frequency and voltage are separate properties of a signal, so a figure such as 60 Hz or 1 MHz has no voltage of its own. A frequency becomes a voltage in two ways: through a wave’s amplitude and the moment it is read, or through a converter circuit whose output is proportional to frequency.

Sine: instantaneous voltage

A wave with a 50 V peak at 60 Hz, read 0.002 s after it crosses zero, is at V = 50 × sin(2π × 60 × 0.002) = 34.2274 V. The table shows how the reading changes with frequency for a 5 V peak at t = 0.25 ms.

Frequency (Hz)Voltage (V)
10.008
50.039
100.079
200.157
500.392
600.471
1000.782
2001.545
2501.913
4002.939
5003.536
6004.045
1,0005.000
1,2504.619
1,5003.536
2,0000.000
2,500−3.536
3,000−5.000
4,0000.000
5,0005.000

Sine: peak amplitude

A = V ÷ sin(2π × f × t)

A reading of 34.2274 V at 0.002 s on a 60 Hz wave means a peak of 34.2274 ÷ sin(2π × 60 × 0.002) = 50 V. The amplitude cannot be found from a reading taken at a zero crossing, where the sine is 0.

Sine: principal frequency

f = asin(V ÷ A) ÷ (2π × t)

A wave with a 50 V peak that reads 34.2274 V at 0.002 s has f = asin(0.684547) ÷ (2π × 0.002) = 60 Hz. A sine repeats, so higher frequencies fit the same reading. The result is the principal one, from the inverse sine between −π/2 and π/2.

Sine: principal time

t = asin(V ÷ A) ÷ (2π × f)

A 60 Hz wave with a 50 V peak first reaches 34.2274 V at t = asin(0.684547) ÷ (2π × 60) = 0.002 s. The wave passes the same voltage again later in every cycle.

IC converter: output voltage

Vout = f × Vcc × R1 × C1 [2]

This is the output equation for the LM2907 and LM2917 with the gain constant K at its typical value of 1. The data sheet lists K from 0.9 to 1.1, so a real circuit can be 10% either side [2]. An LM2907 on a 12 V supply with R1 = 100 kΩ and C1 = 10 nF gives 500 × 12 × 100,000 × 0.00000001 = 6 V at 500 Hz. The LM2917 charges from its internal regulator, typically 7.56 V [2], so the same parts give 500 × 7.56 × 100,000 × 0.00000001 = 3.78 V.

IC converter: input frequency

f = Vout ÷ (Vcc × R1 × C1)

An output of 6 V from the 12 V, 100 kΩ, 10 nF circuit means an input of 6 ÷ (12 × 100,000 × 0.00000001) = 500 Hz.

IC converter: resistance R1

R1 = Vout ÷ (f × Vcc × C1)

For 6 V at 500 Hz on 12 V with C1 = 10 nF, R1 = 6 ÷ (500 × 12 × 0.00000001) = 100,000 Ω, or 100 kΩ.

IC converter: capacitance C1

C1 = Vout ÷ (f × Vcc × R1)

For 6 V at 500 Hz on 12 V with R1 = 100 kΩ, C1 = 6 ÷ (500 × 12 × 100,000) = 0.00000001 F, or 10 nF.

LM2907: supply voltage

Vcc = Vout ÷ (f × R1 × C1)

For 6 V at 500 Hz with R1 = 100 kΩ and C1 = 10 nF, the supply is 6 ÷ (500 × 100,000 × 0.00000001) = 12 V. This function is for the LM2907 only, because the LM2917 charge voltage is fixed by its regulator.

Generic converter: output voltage

Vout = S × f

S is the converter’s sensitivity in volts per hertz, with zero output at 0 Hz. A converter with S = 0.01 V/Hz gives 0.01 × 500 = 5 V at 500 Hz. For the LM2907 and LM2917, S = Vcc × R1 × C1.

Generic converter: input frequency

f = Vout ÷ S

An output of 5 V from a 0.01 V/Hz converter means 5 ÷ 0.01 = 500 Hz.

Generic converter: sensitivity

S = Vout ÷ f

A converter that gives 5 V at 500 Hz has a sensitivity of 5 ÷ 500 = 0.01 V/Hz.

Limits of This Estimate

  • The sine functions assume zero phase shift and no DC offset, and A is the peak voltage, not the RMS value.
  • The converter functions give the nominal steady output. They do not stop at the supply rail, and they leave out ripple, settling time and the input signal level the chip needs to trigger.
  • C1 must stay above 500 pF for accurate operation, and the highest usable frequency is set by the chip’s output current (180 µA typical), C1 and the supply: fmax = I ÷ (C1 × Vcc) [2]. Choosing MHz in the calculator only changes the unit.
  • The LM2917 figure assumes its regulator is working at the typical 7.56 V, which needs a suitable dropping resistor [2].

Sources

  1. Fiore, AC Electrical Circuit Analysis: A Practical Approach, Section 1.2, Sinusoidal Waveforms: the sine wave expression with peak value, frequency, phase shift and DC offset
  2. Texas Instruments, LM2907-N and LM2917-N Frequency to Voltage Converter data sheet (SNAS555D): the converter output equation, gain constant, LM2917 regulator voltage and the limits on C1 and input frequency