The TC9400/9401/9402 are low-cost Voltage-to-Frequency (V/F) converters, utilizing low-power CMOS
technology. The converters accept a variable analog
input signal and generate an output pulse train, whose
frequency is linearly proportional to the input voltage.
The devices can also be used as highly accurate
Frequency-to-Voltage (F/V) converters, accepting
virtually any input frequency waveform and providing a
linearly proportional voltage output.
A complete V/F or F/V system only requires the
addition of two capacitors, three resistors, and reference voltage.
† Stresses above those listed under “Absolute Maximum
Ratings” may cause permanent damage to the device. These
are stress ratings only and functional operation of the device
at these or any other conditions above those indicated in the
operation sections of the specifications is not implied.
Exposure to Absolute Maximum Rating conditions for
extended periods may affect device reliability.
The descriptions of the pins are listed in Table 2-1.
TABLE 2-1:PIN FUNCTION TABLE
Pin No.SymbolDescription
1I
2 ZERO ADJLow frequency adjustment input.
3I
4V
5V
6GNDAnalog ground.
7V
8PULSE FREQ
9OUTPUT
10FREQ/2 OUTThis open drain output is a square wave at one-half the frequency of the pulse output
11THRESHOLD
12AMPLIFIER OUT Output of the integrator amplifier.
13NCNo internal connection.
14V
BIAS
IN
SS
OUTReference capacitor connection.
REF
REF
OUT
COMMON
DETECTOR
DD
This pin sets bias current in the TC9400. Connect to VSS through a 100 kΩ resistor.
Input current connection for the V/F converter.
Negative power supply voltage connection, typically -5V.
Voltage reference input, typically -5V.
Frequency output. This open drain output will pulse LOW each time the Freq.
Threshold Detector limit is reached. The pulse rate is proportional to input voltage.
Source connection for the open drain output FETs.
(Pin 8). Output transitions of this pin occur on the rising edge of Pin 8.
Input to the Threshold Detector. This pin is the frequency input during F/V operation.
Positive power supply connection, typically +5V.
2.1Bias Current (I
BIAS
)
An external resistor, connected to VSS, sets the bias
point for the TC9400. Specifications for the TC9400 are
based on R
= 100 kΩ ±10%, unless otherwise
BIAS
noted.
Increasing the maximum frequency of the TC9400
beyond 100 kHz is limited by the pulse width of the
pulse output (typically 3 µs). Reducing R
BIAS
will
decrease the pulse width and increase the maximum
operating frequency, but linearity errors will also
increase. R
can be reduced to 20 kΩ, which will
BIAS
typically produce a maximum full scale frequency of
500 kHz.
2.2Zero Adjust
This pin is the non-inverting input of the operational
amplifier. The low frequency set point is determined by
adjusting the voltage at this pin.
2.3Input Current (IIN)
The inverting input of the operational amplifier and the
summing junction when connected in the V/F mode. An
input current of 10 μA is specified, but an over range
current up to 50 μA can be used without detrimental
effect to the circuit operation. I
junction of an operational amplifier. Voltage sources
cannot be attached directly, but must be buffered by
external resistors.
connects the summing
IN
2.4Voltage Capacitor (V
The charging current for C
is supplied through this
REF
REF
Out)
pin. When the op amp output reaches the threshold
level, this pin is internally connected to the reference
x C
voltage and a charge, equal to V
REF
, is removed
REF
from the integrator capacitor. After about 3μsec, this pin
is internally connected to the summing junction of the
op amp to discharge C
. Break-before-make switch-
REF
ing ensures that the reference voltage is not directly
applied to the summing junction.
2.5Voltage Reference (V
REF
)
A reference voltage from either a precision source, or
the V
supply is applied to this pin. Accuracy of the
SS
TC9400 is dependent on the voltage regulation and
temperature characteristics of the reference circuitry.
Since the TC9400 is a charge balancing V/F converter,
the reference current will be equal to the input current.
For this reason, the DC impedance of the reference
voltage source must be kept low enough to prevent
linearity errors. For linearity of 0.01%, a reference
impedance of 200Ω or less is recommended. A 0.1 µF
bypass capacitor should be connected from V
, set VIN = 10 mV and adjust the 50 kΩ offset for 10 Hz output.
2: To adjust F
MAX
, set VIN = 10V and adjust RIN or V
REF
for 10 kHz output.
3: To increase F
OUTMAX
to 100 kHz, change C
REF
to 2 pF and C
INT
to 75 pF.
4: For high performance applications, use high stability components for R
IN
, C
REF
. V
REF
(metal film
resistors and glass capacitors). Also, separate output ground (Pin 9) from input ground (Pin 6).
2.6Pulse Freq Out
This output is an open-drain N-channel FET, which
provides a pulse waveform whose frequency is proportional to the input voltage. This output requires a pullup resistor and interfaces directly with MOS, CMOS,
and TTL logic (see Figure 2-1).
2.7Output Common
The sources of both the FREQ/2 OUT and the PULSE
FREQ OUT are connected to this pin. An output level
swing from the drain voltage to ground, or to the V
SS
supply, may be obtained by connecting this pin to the
appropriate point.
2.8Freq/2 Out
This output is an open-drain N-channel FET, which
provides a square-wave one-half the frequency of the
pulse frequency output. The FREQ/2 OUT output will
change state on the rising edge of PULSE FREQ OUT.
This output requires a pull-up resistor and interfaces
directly with MOS, CMOS, and TTL logic.
2.9Threshold Detector Input
In the V/F mode, this input is connected to the AMPLIFIER OUT output (Pin 12) and triggers a 3 µs pulse
when the input voltage passes through its threshold. In
the F/V mode, the input frequency is applied to this
input.
The nominal threshold of the detector is half way
between the power supplies, or (V
+ VSS)/2 ±400
DD
mV. The TC9400’s charge balancing V/F technique is
not dependent on a precision comparator threshold,
because the threshold only sets the lower limit of the op
amp output. The op amp’s peak-to-peak output swing,
which determines the frequency, is only influenced by
external capacitors and by V
REF
.
2.10Amplifier Out
This pin is the output stage of the operational amplifier.
During V/F operation, a negative going ramp signal is
available at this pin. In the F/V mode, a voltage
proportional to the frequency input is generated.
The TC9400 V/F converter operates on the principal of
charge balancing. The operation of the TC9400 is
easily understood by referring to Figure 3-1. The input
voltage (V
resistor. This current is then converted to a charge on
the integrating capacitor and shows up as a linearly
decreasing voltage at the output of the op amp. The
lower limit of the output swing is set by the threshold
detector, which causes the reference voltage to be
applied to the reference capacitor for a time period long
enough to charge the capacitor to the reference voltage. This action reduces the charge on the integrating
capacitor by a fixed amount (q = C
the op amp output to step up a finite amount.
At the end of the charging period, C
This dissipates the charge stored on the reference
capacitor, so that when the output again crosses zero,
the system is ready to recycle. In this manner, the continued discharging of the integrating capacitor by the
input is balanced out by fixed charges from the refer-
) is converted to a current (IIN) by the input
IN
x V
REF
REF
), causing
REF
is shorted out.
ence voltage. As the input voltage is increased, the
number of reference pulses required to maintain
balance increases, which causes the output frequency
to also increase. Since each charge increment is fixed,
the increase in frequency with voltage is linear. In
addition, the accuracy of the output pulse width does
not directly affect the linearity of the V/F. The pulse
must simply be long enough for full charge transfer to
take place.
The TC9400 contains a “self-start” circuit to ensure the
V/F converter always operates properly when power is
first applied. In the event that, during power-on, the op
amp output is below the threshold and C
is already
REF
charged, a positive voltage step will not occur. The op
amp output will continue to decrease until it crosses the
-3.0V threshold of the “self-start” comparator. When
this happens, an internal resistor is connected to the op
amp input, which forces the output to go positive until
the TC9400 is in its normal Operating mode.
The TC9400 utilizes low-power CMOS processing for
low input bias and offset currents, with very low power
dissipation. The open drain N-channel output FETs
provide high voltage and high current sink capability.
The TC9400 output can be measured in the time
domain as well as the frequency domain. Some microcomputers, for example, have extensive timing capability, but limited counter capability. Also, the response
time of a time domain measurement is only the period
between two output pulses, while the frequency
measurement must accumulate pulses during the
entire counter time-base period.
Time measurements can be made from either the
TC9400’s PULSE FREQ OUT output, or from the
FREQ/2 OUT output. The FREQ/2 OUT output
changes state on the rising edge of PULSE FREQ
OUT, so FREQ/2 OUT is a symmetrical square wave at
one-half the pulse output frequency. Timing measurements can, therefore, be made between successive
PULSE FREQ OUT pulses, or while FREQ/2 OUT is
high (or low).
The value of this component is chosen to give a full
scale input current of approximately 10 µA:
EQUATION 4-2:
EQUATION 4-3:
IN
) is related to the analog
OUT
4.2.3C
REF
The exact value is not critical and may be used to trim
the full scale frequency (see Section 6.1 “Input/Out-put Relationships”, Input/Output Relationships).
Glass film or air trimmer capacitors are recommended
because of their stability and low leakage. Locate as
close as possible to Pins 5 and 3 (see Figure 4-1).
500
400
300
(pF) +12pF
200
REF
C
100
0
10 kHz
100 kHz
-2-3-4-5-6-7
-1
V
REF
FIGURE 4-1:Recommended C
V
.
REF
4.2.4V
DD
, V
SS
(V)
V
DD
V
SS
R
IN
V
IN
T
A
= +5V
= -5V
= 1MW
= +10V
= +25°C
REF
vs.
Power supplies of ±5V are recommended. For high
accuracy requirements, 0.05% line and load regulation
and 0.1 µF disc decoupling capacitors, located near the
pins, are recommended.
Note that the value is an approximation and the exact
relationship is defined by the transfer equation. In
practice, the value of R
typically would be trimmed to
IN
obtain full scale frequency at VIN full scale (see
Section 4.3 “Adjustment Procedure”, Adjustment
Procedure). Metal film resistors with 1% tolerance or
better are recommended for high accuracy applications
because of their thermal stability and low noise
generation.
4.2.2C
The exact value is not critical but is related to C
INT
REF
by
the relationship:
≤
C
3C
REF
INT
≤ 10C
REF
Improved stability and linearity are obtained when
≤ 4C
C
INT
. Low leakage types are recommended,
REF
although mica and ceramic devices can be used in
applications where their temperature limits are not
exceeded. Locate as close as possible to Pins 12
and 13.
4.3Adjustment Procedure
Figure 3-1 shows a circuit for trimming the zero
location. Full scale may be trimmed by adjusting R
V
REF
, or C
. Recommended procedure for a 10 kHz
REF
IN
full scale frequency is as follows:
1.Set V
to 10 mV and trim the zero adjust circuit
IN
to obtain a 10 Hz output frequency.
2.Set V
to 10V and trim either RIN, V
IN
REF
, or C
REF
to obtain a 10 kHz output frequency.
If adjustments are performed in this order, there should
be no interaction and they should not have to be
repeated.
4.4Improved Single Supply V/F
Converter Operation
A TC9400, which operates from a single 12 to 15V
variable power source, is shown in Figure 4-2. This
circuit uses two Zener diodes to set stable biasing
levels for the TC9400. The Zener diodes also provide
the reference voltage, so the output impedance and
temperature coefficient of the Zeners will directly affect
power supply rejection and temperature performance.
Full scale adjustment is accomplished by trimming the
input current.
Trimming the reference voltage is not recommended
for high accuracy applications unless an op amp is
used as a buffer, because the TC9400 requires a lowimpedance reference (see Section 2.5 “Voltage Ref-erence (VREF)”, V
pin description, for more infor-
REF
mation).
The circuit of Figure 4-2 will directly interface with
CMOS logic operating at 12V to 15V. TTL or 5V CMOS
logic can be accommodated by connecting the output
pull-up resistors to the +5V supply. An optoisolator can
also be used if an isolated output is required; also, see
When used as an F/V converter, the TC9400 generates
an output voltage linearly proportional to the input
frequency waveform.
Each zero crossing at the threshold detector’s input
causes a precise amount of charge (q = C
to be dispensed into the op amp’s summing junction.
This charge, in turn, flows through the feedback
resistor, generating voltage pulses at the output of the
op amp. A capacitor (C
pulses into a DC voltage, which is linearly proportional
to the input frequency.
The output voltage is related to the input frequency
(FIN) by the transfer equation:
EQUATION 6-1:
The response time to a change in FIN is equal to (R
C
). The amount of ripple on V
INT
proportional to C
can be increased to lower the ripple. Values of
C
INT
and the input frequency.
INT
is inversely
OUT
1 µF to 100 µF are perfectly acceptable for low frequencies.
When the TC9400 is used in the Single Supply mode,
is defined as the voltage difference between Pin 7
V
REF
and Pin 2.
INT
6.2Input Voltage Levels
The input frequency is applied to the Threshold
Detector input (Pin 11). As discussed in the V/F circuit
section of this data sheet, the threshold of Pin 11 is
approximately (V
voltage range extends from V
the threshold. If the voltage on Pin 11 goes more than
2.5 volts below the threshold, the V/F mode start-up
comparator will turn on and corrupt the output voltage.
The Threshold Detector input has about 200 mV of
hysteresis.
In ±5V applications, the input voltage levels for the
TC9400 are ±400 mV, minimum. If the frequency
source being measured is unipolar, such as TTL or
CMOS operating from a +5V source, then an AC
coupled level shifter should be used. One such circuit
is shown in Figure 6-1(a).
The level shifter circuit in Figure 6-1(b) can be used in
single supply F/V applications. The resistor divider
ensures that the input threshold will track the supply
voltages. The diode clamp prevents the input from
going far enough in the negative direction to turn on the
start-up comparator. The diode’s forward voltage
decreases by 2.1 mV/°C, so for high ambient
temperature operation, two diodes in series are
recommended.
The output of the TC9400 has a sawtooth ripple superimposed on a DC level. The ripple will be rejected if the
TC9400 output is converted to a digital value by an
integrating Analog-to-Digital Converter, such as the
TC7107. The ripple can also be reduced by increasing
the value of the integrating capacitor, although this will
reduce the response time of the F/V converter.
The sawtooth ripple on the output of an F/V can be
eliminated without affecting the F/V’s response time by
using the circuit in Figure 6-1. The circuit is a
capacitance multiplier, where the output coupling
capacitor is multiplied by the AC gain of the op amp. A
moderately fast op amp, such as the TL071, should be
used.
In F/V mode, the TC9400 output voltage will occasionally be at its maximum value when power is first
applied. This condition remains until the first pulse is
applied to F
applications, this is not a problem because proper
operation begins as soon as the frequency input is
applied.
. In most frequency measurement
IN
In some cases, however, the TC9400 output must be
zero at power-on without a frequency input. In such
cases, a capacitor connected from Pin 11 to V
usually be sufficient to pulse the TC9400 and provide a
Power-on Reset (see Figure 7-1 (a) and (b)). Where
predictable power-on operation is critical, a more
complicated circuit, such as Figure 7-1 (b), may be
required.
YYear code (last digit of calendar year)
YYYear code (last 2 digits of calendar year)
WWWeek code (week of January 1 is week ‘01’)
NNNAlphanumeric traceability code
Pb-free JEDEC designator for Matte Tin (Sn)
*This package is Pb-free. The Pb-free JEDEC designator ()
can be found on the outer packaging for this package.
Note:In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line, thus limiting the number of available
characters for customer-specific information.
14-Lead Ceramic Dual In-Line (JD) – .300" Body [CERDIP]
B
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
N
NOTE 1
1
2
D
A
A1
b1
b
Number of PinsN14
Pitche.100 BSC
Top to Seating PlaneA––.200
Standoff §A1.015––
Ceramic Package HeightA2.140–.175
Shoulder to Shoulder WidthE.290–.325
Ceramic Package WidthE1.230.288.300
Overall LengthD.740.760.780
Tip to Seating PlaneL.125–.200
Lead Thicknessc.008–.015
Upper Lead Widthb1.045–.065
Lower Lead Widthb.015–.023
Overall Row SpacingE2.320–.410
Notes:
1. Pin 1 visual index feature may vary, but must be located within the hatched area.
2. § Significant Characteristic.
3. Dimensioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
14-Lead Plastic Dual In-Line (PD) – 300 mil Body [PDIP]
Notes:
1. Pin 1 visual index feature may vary, but must be located with the hatched area.
2. § Significant Characteristic.
3. Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" per side.
4. Dimensioning and tolerancing per ASME Y14.5M.
BSC: Basic Dimension. Theoretically exact value shown without tolerances.
Note:For the most current package drawings, please see the Microchip Packaging Specification located at
http://www.microchip.com/packaging
UnitsINCHES
Dimension LimitsMINNOMMAX
Number of PinsN14
Pitche.100 BSC
Top to Seating PlaneA––.210
Molded Package ThicknessA2.115.130.195
Base to Seating PlaneA1.015––
Shoulder to Shoulder WidthE.290.310.325
Molded Package WidthE1.240.250.280
Overall LengthD.735.750.775
Tip to Seating PlaneL.115.130.150
Lead Thicknessc.008.010.015
Upper Lead Widthb1.045.060.070
Lower Lead Widthb.014.018.022
Overall Row Spacing §eB––.430
PD= Plastic Dual-Inline (300 mil Body), 14-lead
OD= Plastic Small Outline (3.90 MM Body), 14-lead
OD713 = Plastic Small Outline (3.90 MM Body), 14-lead
Tape and Reel.
Examples:
a)TC9400COD:0°C to +70°C,
14LD SOIC package.
b)TC9400COD713:0°C to +70°C,
14LD SOIC package,
Tape and Reel
c)TC9400CPD:0°C to +70°C,
14LD PDIP package.
d)TC9400EJD:-40°C to +85°C,
14LD PDIP package.
a)TC9401CPD:0°C to +70°C,
14LD PDIP package.
b)TC9401EJD:-40°C to +85°C,
14LD CERDIP package.
a)TC9402CPD:0°C to +70°C,
14LD PDIP package.
b)TC9402EJD:-40°C to +85°C,
14LD CERDIP package.
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
Note the following details of the code protection feature on Microchip devices:
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EELOQ, KEELOQ logo, microID, MPLAB, PIC,
PICmicro, PICSTART, PRO MATE, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Linear Active Thermistor, Migratable
Memory, MXDEV, MXLAB, SEEVAL, SmartSensor and The
Embedded Control Solutions Company are registered
trademarks of Microchip Technology Incorporated in the
U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi,
MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select
Mode, Smart Serial, SmartTel, Total Endurance, UNI/O,
WiperLock and ZENA are trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.