AN780 MICROCHIP [Microchip Technology], AN780 Datasheet

no-image

AN780

Manufacturer Part Number
AN780
Description
15-Kilogram Scale Using the TC500A and the TC520
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN7805
Manufacturer:
MATSU
Quantity:
400
Part Number:
AN7805
Manufacturer:
XILINX
0
Part Number:
AN7805
Manufacturer:
MITSUBISHI/三菱
Quantity:
20 000
Part Number:
AN7806
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Part Number:
AN7808
Manufacturer:
Matsushi
Quantity:
2
Part Number:
AN7808
Manufacturer:
PANASONIC
Quantity:
2 000
Part Number:
AN7808
Manufacturer:
PHILIPS
Quantity:
40 000
Part Number:
AN7808
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Part Number:
AN7808F
Manufacturer:
PANISONIC
Quantity:
800
Part Number:
AN7809
Manufacturer:
PANASONIC/松下
Quantity:
20 000
© 2002 Microchip Technology, Inc.
INTRODUCTION
A 15kg weighing scale was designed using Microchip's TC500A
Analog Processor and the TC520 16-bit Controller. The scale is
required to resolve down to 1/8 gram and correct to within 61/2
gram. This project takes into account all aspects of a functional scale:
The TC500A is an analog processor device which performs a dual-
slope analog-to-digital conversion function. All of the counting and
timing for the conversion must be controlled by an external source.
In nearly all applications, this control source is a microprocessor.
The microprocessor is programmed to monitor the status and to
control the timing of the TC500A. It must also be programmed to
count the conversion results.
FIGURE 1: Functional block diagram.
Author:
Dynamic Range
Strain Gauge Compensation
Zeroing
Oversampling
Units Conversion (kilograms to pounds)
Ted Dabney,
Microchip Technology, Inc.
Common
15-Kilogram Scale Using the TC500A and the TC520
Analog
V
V
IN
+
IN
10
11
5
C
SW
+
REF
SW
SW
Z
I
I
7
9
SW
SW
V
SW
+
REF
RI
+
RI
C
R
REF
SW
SW
SW
V
SW
+
REF
V
R
S
+
RI
RI
1
2
8
V
6
S
+
16
C
Buffer
+
REF
SW
4
IZ
BUF
R
SW
C
INT
AZ
Z
3
C
Integrator
AZ
The TC500A has no agenda of its own so it can be used to generate
slow, high resolution conversions or fast, low resolution conver-
sions. The trade-off for accuracy is about 1000 counts per millisec-
ond of integration time, i.e., 16-bits with T
to 60mS. Typically, the total conversion time is about 4 times the
integration time but, with the TC500A, this is quite flexible.
The TC520 is a digital interface device which can be used to
replace all of the TC500A timing and counting functions performed
by a microprocessor. The TC520 can use either a crystal or
external clock as a time-base to control the operation of either a
TC500 or a TC500A.
+
C
INT
1
Control
Signals
Analog
Switch
T
C
+
INT
INT
Comp 1
1
1
A
0
0
= C
INT
B Converter State
0 Zero Integrator Output
0 Signal Integrate
1 Deintegrate
1 Auto-zero
TC500/TC500A
+
Control Logic
Comp 2
R
Control Logic
INT
Detection
Decoding
A
Polarity
12
Phase
Logic
V
INT
B
Level
/V
Shift
13
IN
(max)
AN780
14
15
Comp
Output
GND
INT
approximately equal
DS00780A-page 1
eq1

Related parts for AN780

AN780 Summary of contents

Page 1

... – Analog Switch Control Signals 2 16 – AN780 approximately equal INT (max) INT INT INT INT IN Control Logic A B Converter State 0 0 Zero Integrator Output 0 1 Auto-zero 1 0 Signal Integrate 1 1 Deintegrate ...

Page 2

... AN780 10k 100k V IN+ .01u V IN– 100k LM285-2.5 Analog Ground *C recommended Polypropylene INT FIGURE 2: TC500A and TC520 The 16-bit conversion result is accumulated in the TC520 along with a polarity bit and an overrange bit. These bits are formed into one 18-bit serial word which may be read at any rate and at any time ...

Page 3

... R /R REF REF TOTAL + – (V – INT SG + – (V – REF/ TOTAL AN780 = INT TOTAL REF has been replaced by an expression for the IN ), the strain gage constant ( INT INT BUF ...

Page 4

... AN780 AUTO-ZERO AND REFERENCE CAPACITORS The voltage on these capacitors stay very constant so dielectric absorption is not a consideration. The long integration time does require capacitors with very low leakage. A .68 F polyester capacitor was used in both cases. TC520 TIMING A 200ms integration time is already selected. There are a few options available with the TC520 to do this ...

Page 5

... FIGURE 4: Kilogram scale schematic. © 2002 Microchip Technology, Inc. 74HTTC244 PIC16C62A TC520 TC500A AN780 DS00780A-page 5 ...

Page 6

... AN780 READ D OUT OUT OVR POL MSB Read Format D CLK LOAD D Load Format MSB IN D CLK FIGURE 5: Serial interface protocol. REFERENCE VOLTAGE CALCULATION Now that the timing has been determined, eq3 can be used to calculate the reference voltage (max REF ...

Page 7

... Add Delta to Register Low Register Overflow Reset Polarity Bit Retrieve Saved Reading Deintegrate Multiply by 22046 Set Overrange Bit Yes FIGURE 7: PIC16C62A program flow chart. AN780 Start Setup Conversion No Complete ? Yes Read Conversion Results from TC520 Save Results as Offset Value 15 Times ? Yes ...

Page 8

... AN780 NOTES: DS00780A-page 8 2002 Microchip Technology Inc. ...

Page 9

Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates your responsibility to ensure that your application meets with your specifications. No representation or warranty is ...

Page 10

M W ORLDWIDE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Rocky Mountain 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-7456 Atlanta 500 Sugar Mill ...

Related keywords