DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

TC530(2002) 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
TC530
(Rev.:2002)
Microchip
Microchip Technology Microchip
TC530 Datasheet PDF : 22 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
TC530/TC534
3.4 Reference De-integrate Phase
(DINT)
This phase consists of measuring the time for the inte-
grator output to return (at a rate determined by the
external reference voltage) from its initial voltage to 0V.
The resulting timer data is stored in the output shift reg-
ister as converted analog data.
3.5 Integrator Output Zero Phase (IZ)
This phase ensures the integrator output is at zero volts
when the AZ phase is entered so that only true system
offset voltages will be compensated for.
All internal converter timing is derived from the fre-
quency source at OSCIN and OSCOUT. This frequency
source must be either an externally provided clock
signal or an external crystal. If an external clock is
used, it must be connected to the OSCIN pin and the
OSCOUT pin must remain floating. If a crystal is used, it
must be connected between OSCIN and OSCOUT and
be physically located as close to the OSCIN and
OSCOUT pins as possible. In either case, the incoming
clock frequency is divided by four, with the resulting
clock serving as the internal TC530/TC534 timebase.
4.0 TYPICAL APPLICATIONS
4.1 Programming the TC530/TC534
4.1.1 AZ AND INT PHASE DURATION
These two phases have equal duration determined by
the crystal (or external) frequency and the timer initial-
ization byte (LOAD VALUE). Timing is selected as
follows:
1. Select Integration Time
Integration time must be picked as a multiple of the
period of the line frequency. For example, TINT
times of 33msec, 66msec and 132msec maximize
60Hz line rejection.
2. Estimate Crystal Frequency
Crystal frequencies as high as 2MHz are allowed.
Crystal frequency is estimated using:
EQUATION 4-1:
where:
2(R)/TINT
R = Desired Converter Resolution (in counts)
FIN = Input Frequency (in MHz)
INT = Integration Time (in seconds)
3. Calculate LOAD VALUE
EQUATION 4-2:
[LOAD VALUE]10 = 256 - (TINT)(FIN)
1024
FIN can be adjusted to a standard value during this
step. The resulting base, -10 LOAD VALUE, must be
converted to a hexadecimal number and then loaded
into the serial port prior to initiating A/D conversion.
4.2 DINT and IZ Phase Timing
The duration of the DINT phase is a function of the
amount of voltage stored on the integrator capacitor
during INT and the value of VREF. The DINT phase is ini-
tiated immediately following INT and terminated when
an integrator output zero crossing is detected. In gen-
eral, the maximum number of counts chosen for DINT is
twice that of INT (with VREF chosen at VIN(MAX)/2).
4.3 System RESET
The TC530/TC534 must be forced into the AZ state
when power is first applied. A .01µF capacitor con-
nected from RESET to VDD (or external system reset
logic signal) can be used to momentarily drive RESET
high for a minimum of 100msec.
4.4 Design Example
Figure 4-1 shows a typical TC534 interrupt-driven
application. Timing and component values are calcu-
lated from equations and recommendations made in
Section 3.1 and Section 4.1 of this document. The
EOC connection to the processor INT input is for inter-
rupt-driven applications only. (In polled systems, the
EOC output is available on DOUT).
Given:
Required resolution:16-bits (65,536 counts.)
Maximum: VIN ±2V
Power supply voltage: +5V
60hz system
1. Pick Integration time (TINT): 66msec
2. Estimate crystal frequency.
EXAMPLE 4-1:
FIN = 2R/TINT = 2 x 65536/66 x 10-3 = 1.98MHz
(use 2MHz)
3. Calculate LOAD VALUE
EXAMPLE 4-2:
LOAD VALUE = 256 – (TINT)(FIN)/1024 = [128]10
[128]10 = 80 hex
DS21433B-page 10
© 2002 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]