Download presentation

Presentation is loading. Please wait.

Published byMegan Byrne Modified over 2 years ago

1
1 AMC1210 Quad Digital Filter – Overview, Design Tips, & Tricks Precision Data Converters Kevin Duke

2
2 AMC Overview

3
3 Overview – What the heck does it do? A four channel digital filter for delta-sigma modulators –Isolated current shunt & resolver applications with AMC120X –Flexible filter configuration for use with ADS120X Typical Delta-Sigma ADC Block Diagram +_+_ Analog Input 1-Bit DAC Comparator Decimation Filter Digital Interface Clocking Serial/Parallel Bus AMC120X / ADS120X AMC1210

4
4 Overview – Delta Sigma Modulation

5
5 Overview – A Brief Look at Modulators Device Name Resolution (More later...) Input RangeChannelsSample RateReference?Isolation? ADS120124Vref11kSPSInt / ExtNo ADS /- 320mV140kSPSInternalNo ADS /- 320mV140kSPSInternalNo ADS /- 250mV440kSPSInt / ExtNo ADS /- 2.5V240kSPSInt / ExtNo ADS mV140kSPSInt / ExtNo ADS /- 2.5V240kSPSInt / ExtNo AMC /- 320mV140kSPSIntYes AMC /- 320mV178kSPSIntYes AMC /- 250mV1?IntYes AMC1204B16+/- 250mV178kSPS?IntYes AMC130416Family1?Int / ExtYes * Devices in red are not yet released

6
6 Overview – Available Collateral & EVMs AMC1210EVM – Modular EVM with 4-channel ADS1204 on board & supporting circuitry. No TI software support. AMC1210MB-EVM – Motherboard EVM with 2-channel ADS1205 on board, supporting circuitry, connectors for AMC120X/ADS120X EVMs, resolver connector & software AMC120X/ADS120X EVM – Very small DB9 connector evaluation modules featuring just the modulator and footprints for decoupling/filtering passives MATLAB & DOS Pattern Generators for the Signal Generator AMC1210 In Motor Control Applications Application Report

7
7 Overview – Pinout & Basic Connections

8
8 Overview – Basic Resolver Circuit

9
9 Overview – Basic Current Shunt Circuit

10
10 Overview – Register Overview General Registers: –Control: Pin polarity, interrupt enable, depth of pattern –Pattern Generator: Shift register for pattern generator –Clock Divider: Filter enable, phase calibration, signal generator control, modulator clock frequency Filter Registers: –Control: Modulator clocking options, sample-and-hold –Sinc Filter: Filter architecture, oversampling ratio –Integrator: Bit-shift, data-format, demodulation, oversampling ratio –Thresholds: High and Low thresholds used by the comparator –Comparator: Flag enables, comparator structure, oversampling ratio

11
11 Overview – Common Applications Resolver / Motor Control: –Isolation isnt completely necessary, ADS120X devices fit well –Filter to filter and filter to excitation synchronization is critical –Whats a resolver? Considered the true analog counter-part to digital encoders System of 3 windings; a primary or excitor winding and two secondary windings placed 90 degrees out of phase Current Shunts: –Isolation is important, AMC120X devices fit well –Digital comparator accommodates for alarm conditions common in current shunt monitors General Data-Converter: –Flexible digital filter capable of fitting to a variety of applications

12
12 AMC1210 – Design Tips

13
13 Design Tips – The Sinc Filter What is the sinc function?

14
14 Design Tips – The Sinc Filter Sinc Filter can be used in two context –The idealized low-pass filter represented by the sinc function in time and a rectangular function in frequency, so dubbed sinc-in-time –The cascaded integrator-comb filter represented by a rectangular function in time and a sinc function in frequency, so dubbed sinc-in-frequency

15
15 Design Tips – The Sinc Filter Oversampling is inherently associated with the decimation structure of a CIC filter. Increasing this oversampling ratio can yield increased resolution

16
16 Design Tips – Calculating Bit Shift Only necessary for 16-bit data format as set in the integrator register, both 16 and 32 bit data formats are Binary Twos Complement. These calculations & figures assume no integrator oversampling First, determine the possible values output by the filter unit by examining the oversampling ratio and sinc filter structure: –Sinc 1 : - x to x –Sinc 2 : - x 2 to x 2 –Sinc 3 : - x 3 to x 3 –Sincfast: - 2x 2 to 2x 2 Next, determine the number of bits required to represent those values, taking care to include the sign bit –Sinc 1 : log 2 (x) + 1 –Sinc 1 : log 2 (x 2 ) + 1 –Sinc 1 : log 2 (x 3 ) + 1 –Sincfast: log 2 (2x 2 ) + 1 Finally, apply integer truncation and the appropriate rounding then subtract 16 to calculate the shifts required

17
17 Design Tips – Calculating Bit Shift

18
18 Design Tips – Calculating Bit Shift

19
19 Design Tips – Calculating Bit Shift

20
20 Design Tips – Calculating Bit Shift

21
21 Design Tips – Calculating Bit Shift Should additional filtering be applied by the integrator, the filter parameters must be included in the previous calculations

22
22 Design Tips – Calculating LSB Weight Almost the same as any other data-converter –Vref/(2 (bits-1) -1) Where bits is precisely the number of bits of data recovered from the device –If this is greater than 16, the value should be truncated to 16 bits –If this is less than 16, the value may be fractional even though fractional bits cannot exist

23
23 Design Tips – Calculating Data Rate Calculating data-rate from the AMC1210 is straight forward, but not explicit in the datasheet The frequency data will be produced from the sinc filter can be expressed as: –F Data_Sinc = F Modulator / SOSR Similarly, the frequency data will be produced from the integrator filter (if active) can be expressed as: –F Data_Integrator = F Data_Sinc / IOSR The data rate equation can be simplified to: –F Data = F Modulator /( SOSR * IOSR ) Sinc 1, Sinc 2, Sinc 3, and Sincfast architectures each take the same amount of time to produce data

24
24 Design Tips – Resolver Applications Resolver applications have specific timing requirements related to the filter parameters that must be met A typical resolver application synchronizes the frequency of the carrier signal with the frequency of the motor control loop, usually between 8- 20kHz The carrier signal frequency can be defined by: A data converter in a resolver application typically produces a conversion result once per cycle of the carrier signal

25
25 Design Tips – AMC1210MB-EVM Example Resolvers come with frequency specifications related to the filtering behavior of the resolver coils –Our resolver on hand required a relatively high frequency carrier: 16kHz Sharing a 32MHz clock source for the AMC1210 and the ADS1205 sets the ADS1205 near its maximum bit-rate of 16.5MHz and is an easy frequency to start from to achieve a 16kHz carrier f CLK = 32MHz N CDIV = 2 N PAT = 1000 SOSR = 125 IOSR = 8 N = 2

26
26 AMC1210 – Design Tricks

27
27 Design Tricks – Resolver Apps Synchronicity is absolutely key for a successful resolver application A synchronous sinc filter enable is possible –MFE bit in the Clock Divider Register –Individual filter enable bits in each Sinc Filter register Resolver applications, however, also require utilizing the integrator filter –The integrator filter becomes active and starts integrating as soon as it is enabled and it sees clocks from the modulator –There is no synchronous reset for the integrator filters Solution: –Stop the system clocks for the AMC1210 and ADS1205 until we are ready to convert –Issue a reset between acquisition blocks before writing registers

28
28 Design Tricks – Resolver Apps

29
29 Design Tricks – Resolver Apps

30
30 Design Tricks – Resolver Apps Just behind synchronization in importance is minimizing zero crossing error during phase calibration Phase calibration has a small chance to fail if the signal that phase calibration is performed against is too weak in magnitude Solution: –Collect a brief burst of data on both sine and cosine components, then perform phase calibration on whichever signal is farthest from ground (positive or negative) –Monitor for failure during phase calibration with some time-out case, should it fail reset the AMC1210 and re-iterate through the initialization process The good news is...once the device is up and running the position data is reliable and exhibits no phase inversion issues!

31
31 Design Tricks – Resolver Apps

32
32 Design Tricks – Resolver Apps

33
33 Remaining Items of Curiosity... For any further questions dont hesitate to make a forum post! –e2e.ti.com/support/data_converters/precision_data_converters/default.aspx

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google