AMC1210 BURR-BROWN
Document overview
- Manufacturer or author: Provided By digicamel.com
- PDF pages: 47
Technical content
FEATURES
DESCRIPTION
APPLICATIONS
MODULE□2 Control□Module Signal Generator Interrupt Unit Register Map Interface Module ADS1205 ADS1205 ADS1204 AMC1210 INT Resolver ACK IN1 CLK1 IN3 PWM1 PWM2 CLK IN2 CLK2 IN4 CLK4 FILTER MODULE□3 FILTER MODULE□4 AD0 AD7 ALE CS RST RD WR ADS1203 ISO 721 Current Shunt Resistor Input Control Sinc□Filter/ Integrator Time□Measurement Comparator Filter FILTER□MODULE□1 AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Quad Digital Filter for 2nd-Order Delta-Sigma Modulator Four Independently-Programmable Digital The AMC1210 is a four-channel digital filter designed Filters specifically for current measurement and resolver position decoding in motor control applications. Each Four Window Comparators input can receive an independent delta-sigma Δ Σ Three Parallel and One Serial Interface modulator bit stream. The bit streams are processed Comprehensive Interrupt System by four individually-programmable digital decimation filters. The AMC1210 also offers a flexible interface Programmable Input Configuration and a comprehensive interrupt unit, allowing Carrier Frequency Generator for Resolver customized digital functionality and immediate digital monitoring. Current Measurement Resolver Decoding Please be aware that an important notice concerning availability, standard warranty, and use in critical sheet. All trademarks are the property of their respective owners. PRODUCTION DATA information is current as of publication date. Copyright 2006, Texas Instruments Incorporated Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.
www.ti.com ABSOLUTE MAXIMUM RATINGS DISSIPATION RATINGS AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications. ORDERING INFORMATION (1) SPECIFIED TRANSPORT PACKAGE TEMPERATURE PACKAGE ORDERING MEDIA, PRODUCT PACKAGE-LEAD DESIGNATOR RANGE MARKING NUMBER QUANTITY AMC1210IRHAT Tape and Reel, 250 AMC1210 QFN-40 RHA C to +125 C AMC1210I AMC1210IRHAR Tape and Reel, 2500 (1) For the most current specifications and package information, see the Package Option Addendum located at the end of this data sheet or refer to our web site at www.ti.com over operating free-air temperature range (unless otherwise noted) (1) AMC1210 UNIT Supply voltage, all supplies (AVDD, BVDD, CVDD, DVDD) to GND 0.3 to V Digital input to GND GND 0.3 to BVDD 0.3 V Ground voltage difference, AGND to GND 0.3 V Input current to any pin except supply to +10 mA Power dissipation See Dissipation Ratings Table Operating virtual junction temperature range, T J to +150 C Operating free-air temperature range, T A to +125 C Storage temperature range, T STG to +150 C Lead temperature, 1,6mm (1/16-inch) from case for seconds +260 C (1) Stresses beyond 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 beyond those indicated under the Electrical Characteristics is not implied. Exposure to absolute maximum rated conditions for extended periods may affect device reliability. T A +25 C DERATING FACTOR T A +70 C T A +85 C T A +125 C PACKAGE POWER RATING ABOVE T A +25 C POWER RATING POWER RATING POWER RATING RHA (1) 3787mW 30.3mW/ C 2424mW 1969mW 758mW (1) The thermal resistance (junction-to-ambient) of the RHA package is C/W. Submit Documentation Feedback
www.ti.com ELECTRICAL CHARACTERISTICS AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 At C to +125 AVDD, CVDD, DVDD 5V, BVDD 2.7V, unless otherwise noted. The following condition must be true on the supplies: CVDD DVDD BVDD. AMC1210 PARAMETER TEST CONDITIONS MIN TYP MAX UNIT DIGITAL INPUT/OUTPUT Logic levels: V OH BVDD 2.7 2.4 V BVDD 5.0 4.44 V V OL BVDD 2.7 0.4 V BVDD 5.0 0.5 V System clock frequency Pin 'CLK' MHz Pins CLK1, CLK2, CLK3, CLK4 Modulator clock frequency MHz Mode SPI interface clock frequency Pin WR option MHz SPI interface clock frequency Pin WR option MHz Parallel interface read/write frequency Pin CS MHz POWER SUPPLY REQUIREMENTS Power-supply voltage, pin AVDD 4.5 5.5 Power-supply voltage, pins CVDD and DVDD CVDD DVDD BVDD 3.3 5.5 V Power-supply voltage, pin DVDD CVDD DVDD BVDD 2.7 5.5 V Total power (1) All supplies 24.5 mW Power-supply current One filter module (2) 260 µ A/MHz Power-supply current Four filter modules (2) 850 µ A/MHz SPI interface µ A/MHz Parallel interface (3) µ A/MHz Signal generator 140 µ A/MHz SIGNAL GENERATOR OUTPUT V OH R LOAD Ω bit HPE 4.60 4.73 V V OL R LOAD Ω bit HPE 0.26 0.4 V V OH R LOAD 500 Ω bit HPE 4.60 4.73 V V OL R LOAD 500 Ω bit HPE 0.26 0.4 V (1) Power consumption with two filter modules functioning, both set to Sinc SOSR 256. (2) The filter module is configured with the comparator unit filter set to Sinc COSR and the sinc unit filter set to Sinc structure and SOSR 256. (3) All three modes. Submit Documentation Feedback
www.ti.com DEVICE INFORMATION CVDD IN1 CLK1 IN2 CLK2 IN3 CLK3 IN4 CLK4 AVDD BVDD GND AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 AMC1210 PWM1 GND PWM2 DVDD AGND TE DVDD RST GND CLK SH1 ALE SH2 CS ACK RD INT WR AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 RHA PACKAGE QFN-40 (TOP VIEW) Submit Documentation Feedback
www.ti.com AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 DEVICE INFORMATION (continued) Table TERMINAL FUNCTIONS TERMINAL NO. NAME I/O (1) IN1 Input Data input from Modulator CLK1 Bidirectional Clock from/to Modulator IN2 Input Data input from Modulator CLK2 Bidirectional Clock from/to Modulator IN3 Input Data input from Modulator CLK3 Bidirectional Clock from/to Modulator IN4 Input Data input from Modulator CLK4 Bidirectional Clock from/to Modulator AVDD Signal generator supply PWM1 Output Signal generator output PWM2 Output Signal generator output (inverted) AGND Signal generator ground DVDD Core supply GND Ground CLK Input System clock SH1 Input First asynchronous sample-and-hold SH2 Input Second asynchronous sample-and-hold ACK Output Acknowledge signal INT Output Interrupt signal AD7 Bidirectional Data bus bit (most significant bit) AD6 Bidirectional Data bus bit AD5 Bidirectional Data bus bit AD4 Bidirectional Data bus bit AD3 Bidirectional Data bus bit AD2 Bidirectional Data bus bit AD1 Bidirectional Data bus bit AD0 Bidirectional Data bus bit (least significant bit) (2) GND Ground BVDD Controller side supply (3) WR Input Write signal (2) RD Input Read signal (2) CS Input Chip select signal (2) ALE Input Address latch enable (2) Input First mode pin Input Second mode pin RST Input Active-low asynchronous reset TE Input For factory test only; must be tied to ground DVDD Core supply GND Ground (1) The pins for the modulator side are to (2) Functionality is dependent on device setup. To see a list of pin functions/names in each mode, see Table (3) The pins for the controller side are to 38. Submit Documentation Feedback
www.ti.com MODULATOR INPUT MODES TIMING CHARACTERISTICS Mode□0 CLKx INx tsu1 th1 tw1tw2 CLKx INx Mode□1 tsu2 tsu2th2 th2 tw3tw4 Modulator□internal□clock Modulator□internal□data Mode□2 (Manchester-encoded□bit□stream) 1 0 1 1 0 0 1 1 1 tw6 tw5 INx CLKx INx Mode□3 (CLKx□is□driven□externally) tw7 tw8 tsu3 th3 CLKx INx CLK tw11 Mode□3 (CLKx□is□generated□by□AMC1210) td11 tw12 td2 tw10tw9 tsu4 th4 AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Over recommended operating free-air temperature range at C to +125 DVDD +5V, CVDD +5V, BVDD +2.7V, unless otherwise noted. PARAMETER MIN MAX UNIT t Mode clock period CLKx 1/64th of CLK period ns t Mode clock high time CLKx t ns t su1 Setup time from data valid to CLKx high ns t Hold time from CLKx high to data invalid ns t Mode clock period CLKx 1/128th of CLK period ns t Mode clock high time CLKx t ns t su2 Setup time from data valid to CLKx high or low ns t Hold time from CLKx high or low to data invalid ns t Mode data width INx ns t Mode data pulse width INx ns t Mode clock period CLKx 1/32nd of CLK period ns t Mode clock high time CLKx t ns t su3 Setup time from data valid to any CLKx high ns t Hold time from any CLKx high to data invalid ns t System clock period CLK ns t w10 System clock high time CLK t ns t w11 Mode generated clock period CLK x t t x MD control bits ns t w12 Mode generated high time CLKx t w10 t w10 ns t Delay from system clock CLK high to generated CLKx high ns t Delay from system clock CLK low to generated CLKx low ns t su4 Setup time from data valid to any CLKx high ns t Hold time from any CLKx high to data invalid ns Figure Modulator Input Mode Timing Submit Documentation Feedback
www.ti.com SPI INTERFACE MODES TIMING CHARACTERISTICS (1) tc1 tw1 Command□bit R/W Address Address A0□(LSB) Address A6□(MSB) Data□IN D15□(MSB) D14 Data□IN D0□(LSB) td2 td1 th1tsu1 1 2 4 8 9 10 24 Data□OUT D15□(MSB) D14 Data□OUT D0□(LSB) td4 tw2 td3 AD0 Address CS td5 WR RD tc1 tw1 Command□bit R/W Address Address A0□(LSB) Address A6□(MSB) Data□IN D15□(MSB) D14 Data□IN D0□(LSB) td2 td1 th1tsu1 1 2 4 8 9 10 24 Data□OUT D15□(MSB) D14 Data□OUT D0□(LSB) td5 td4 tw2 td3 Address AD0 CS WR RD AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Over recommended operating free-air temperature range at C to +125 DVDD +5V, BVDD +2.7V, unless otherwise noted. Option Option PARAMETER MIN MAX MIN MAX UNIT t WR period ns t WR HIGH or LOW time ns t Delay time from CS falling to WR rising edge ns t Delay time from CS falling to ADO not tristate ns t su1 Data setup time ns t Input data hold time ns t Output data delay time ns t Enable lag time ns t ADO disable time ns t Sequential transfer delay ns (1) All input signals are specified with t R t F 5ns (10% to 90% of BVDD) and timed from a voltage level of IL V IH )/2. Figure SPI Interface Option SPI Normal Interface Figure SPI Interface Option SPI Fast Interface 25MHz) Submit Documentation Feedback
www.ti.com PARALLEL MODE TIMING CHARACTERISTICS (1) AD(7:0) Internal□address ADDR ADDR ADDR+1 MSB LSB MSB tw1 tw2 td1 td2 tw3 tsu1 th1 tsu2 th2 Parallel□mode□1,□write□access tw4 CS WR RD ALE ADDR MSB LSB MSB ADDR ADDR+1 AD(7:0) Internal□address Parallel□mode□1,□read□access td3td4 tw5 td5 td6 tw6td7 CS WR RD ALE AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Over recommended operating free-air temperature range at C to +125 DVDD +5V, BVDD +2.7V, unless otherwise noted. PARAMETER (2) MIN MAX UNIT t CS low width ns t CS high width ns t Delay time from CS low to WR low ns t Delay time from WR high to CS high ns t WR low width ns t WR high width ns t su1 Setup time from ALE high to WR low ns t Hold time from WR high to ALE low ns t su2 Setup time from address valid to WR high ns t Hold time from WR high to address invalid ns t Delay time from CS low to RD low ns t Delay time from RD high to CS high ns t RD low width ns t RD high width ns t Delay time from RD low to data valid ns t Delay time from RD high to databus in tristate ns t Delay time from WR high to RD low ns (1) All input signals are specified with t R t F 5ns (10% to 90% of BVDD) and timed from a voltage level of IL V IH )/2. (2) t is obsolete if CS stays low between the WR and RD pulses. Figure Parallel Mode Timing Submit Documentation Feedback
www.ti.com PARALLEL MODE TIMING CHARACTERISTICS (1) ADDR ADDR ADDR+1 MSB LSB MSB tw1 tw2 td1 tw3tw4 tw5 td4 td3td2 AD(7:0) Internal□address Parallel□mode□2,□write□access CS WR RD ALE tsu1 th1 tsu2 th2 ADDR MSB LSB MSB ADDR ADDR+1 td5td6 tw6tw7td9 AD(7:0) Internal□address Parallel□mode□2,□read□access CS WR RD ALE td7 td8 AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Over recommended operating free-air temperature range at C to +125 DVDD +5V, BVDD +2.7V, unless otherwise noted. PARAMETER (2) MIN MAX UNIT t CS low width ns t CS high width ns t Delay time from ALE low to CS high ns t Delay time from WR high to CS high ns t Delay time from CS low to WR low ns t WR low width ns t WR high width ns t ALE high width ns t Delay time from ALE low to WR low ns t su1 Setup time from address valid to ALE low ns t Hold time from ALE low to address invalid ns t Delay time from CS low to RD low ns t su2 Setup time from data valid to WR high ns t Hold time from WR high to data invalid ns t Delay time from RD high to CS high ns t RD low width ns t RD high width ns t Delay time from RD low to data valid ns t Delay time from RD high to databus in tristate ns t Delay time from ALE low to RD low ns (1) All input signals are specified with t R t F 5ns (10% to 90% of BVDD) and timed from a voltage level of IL V IH )/2. (2) t is obsolete if CS stays low between the WR RD and ALE pulses. Figure Parallel Mode Timing Submit Documentation Feedback
www.ti.com PARALLEL MODE TIMING CHARACTERISTICS (1) ADDR ADDR ADDR+1 MSB LSB MSB tw5 td5 tsu1 th1 tsu2 th2 td1 td2 td3 td4 tw4 tw3 tw1 tw2 AD(7:0) Internal□address Parallel□mode□3,□write□access CS RD WR ALE ADDR ADDR ADDR+1 MSB LSB MSB td8 td6 td7 AD(7:0) Internal□address Parallel□mode□3,□read□access CS RD WR ALE AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Over recommended operating free-air temperature range at C to +125 DVDD +5V, BVDD +2.7V, unless otherwise noted. PARAMETER (2) MIN MAX UNIT t CS low width ns t CS high width ns t Delay time from WR low to CS low ns t Delay time from ALE high to CS high ns t Delay time from RD high to CS high ns t Delay time from CS low to RD low ns t RD low width ns t RD high width ns t ALE low width ns t Delay time from ALE high to RD low ns t su1 Setup time from address valid to ALE high ns t Hold time from ALE high to address invalid ns t su2 Setup time from data valid to RD high ns t Hold time from RD high to data invalid ns t Delay time from RD low to data valid ns t Delay time from RD high to databus in tristate ns t Delay time from WR high to CS low ns (1) All input signals are specified with t R t F 5ns (10% to 90% of BVDD) and timed from a voltage level of IL V IH )/2. (2) t is obsolete if CS stays low between the RD and ALE pulses. Figure Parallel Mode Timing Submit Documentation Feedback
www.ti.com TYPICAL CHARACTERISTICS T emperature□( C)/c176 Current□( A/MHz)/c109 1000 800 600 400 200 /c45 40 4□filters 1□filter 25 85 125 T emperature□( C)/c176 Current□( A/MHz) /c109 /c45 40 25 85 125 Parallel□mode SPI□mode T emperature□( C)/c176 Current□( A/MHz) /c109 /c45 40 25 85 125 155 150 145 140 135 T emperature□( C)/c176 VOH Voltage□(V) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 /c45 40 25 85 125 VOL Supply□(V) Current□(mA) 2.7 3.0 AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 At C to +125 AVDD, CVDD, DVDD +5V, BVDD +2.7V, unless otherwise noted. The following condition must be true on the supplies: CVDD DVDD BVDD. FILTER MODULE CURRENT INTERFACE MODULE CONTROL vs TEMPERATURE vs TEMPERATURE Figure Figure SIGNAL GENERATOR CURRENT PWM OUTPUT VOLTAGE vs TEMPERATURE vs TEMPERATURE Figure Figure 10. TYPICAL CURRENT CONSUMPTION vs SUPPLY VOLTAGE Figure 11. Submit Documentation Feedback
www.ti.com THEORY OF OPERATION Interface Module AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Overview The AMC1210 is a flexible digital filter device specifically designed for motor control applications. It incorporates four independent digital filters into a digital processing block, allowing communication via SPI bus or 8-bit, multiplexed parallel I/O. Each datastream input can be clocked in using an external clock or a clock provided by a delta-sigma modulator. A time measurement unit allows software monitoring of the sample speed and data acquisition, and a comprehensive control and interrupt unit allows real-time monitoring of the AMC1210 status. A digital comparator unit is provided to alert programmable peak conditions on the different datastreams. When used in current measurement applications, the digital comparator unit can alert a system to over- or under-current situations. The AMC1210 can communicate with digital signal processors (DSPs) or microcontrollers µ Cs) in four different interface modes: one serial mode and three 8-bit, multiplexed parallel modes. The serial mode is a standard SPI mode, normally with a 24-bit transfer. The multiplexed parallel modes are designed to work together with a wide range of controllers. Mode pins and determine the mode selection. Table shows the digital interface configuration. Table Digital Interface Configuration INTERFACE MODES PIN PIN SPI Parallel Mode Parallel Mode Parallel Mode The digital interface pins perform different functions depending on the interface mode. Table shows the pin operations in different modes. Table Pin Functions in Different Communication Modes PIN SPI MODE PARALLEL MODE PARALLEL MODE PARALLEL MODE ALE Address/Data Select Address Latch Enable Address Valid CS Frame sync Chip Select Chip Select Chip Select RD SPI Data In Read Read Strobe WR SPI Clock Write Write Read/Write AD0 SPI Data Out Databus (LSB) Databus (LSB) Databus (LSB) AD1 Databus Databus Databus AD2 Databus Databus Databus AD3 Databus Databus Databus AD4 Databus Databus Databus AD5 Databus Databus Databus AD6 Databus Databus Databus AD7 Databus (MSB) Databus (MSB) Databus (MSB) Submit Documentation Feedback
www.ti.com Clock Setup SPI Mode SPI Option AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The clock pin CLK controls the timing of several functions. Table shows the units and timing. Table CLK Pin Functions MODULE/UNIT FEATURE CLOCK FUNCTION Interface/Signal Generator Signal generator Determines output data rate Manchester Decoder in control unit Allows decoding of Manchester data CLKx signal in control unit Provides timing for CLKx pin when bit CD in the control parameter '1' Filter/Input Control Clock dividers for CLKx in control unit Divides CLKx speed Modulator failure detection Allows AMC1210 to monitor input clock CLKx Filter/Time Measurement Time measurement TMU counts number of CLK cycles when TM If none of the needed, the CLK pin should be connected to GND to avoid any increased current consumption. The SPI interface runs fully asynchronously to the rest of the system. The four signals of the SPI interface are WR RD AD0 and CS The maximum speed of the SPI interface is 40MHz. When the select signal CS is high, the entire SPI interface is in reset state, except the Address and the Data Register. The SPI clock WR and the serial data input RD are disabled when CS is high. The incoming data is strobed by the SPI interface on the falling edge of the WR Outgoing data is put on the output AD0 on the rising edge of the WR (see SPI Interface Modes For a transmission of one 16-bit data word, bits are required. The first incoming bit to the AMC1210 determines if the entire transmission is a read or a write operation. A high bit indicates a read operat ion, and a low bit indicates a write operation. There are seven address bits. The data bits are transmitted or received after the address bits, according to the sequence shown in Table Table SPI Write 24-Bit Word Format MSB LSB A24 A23 A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 R/W Address Data In SPI option one 16-bit transfer is accomplished in the following manner: On the first falling edge of WR the read/write bit is strobed. On the second falling edge of WR the MSB of the address (bit is strobed. On the eighth falling edge of WR the LSB of the address (bit is strobed and the corresponding data of the register map is read. On the ninth rising edge (MSB), the data read from the register map is latched into a shift register and shifted one position each rising edge of the WR At speeds below 25MHz, it is recommended to perform a read on the next falling edge (Option 1). This data is always sent out, even when a write operation is performed. On the 24th falling edge of WR (LSB), the last data bit is shifted in from RD and a write pulse is generated to write the data into the register map, if a write operation was performed. Figure and Figure provide detailed timing information for the SPI modes. Submit Documentation Feedback
www.ti.com AD0 Don't□care 1st□Data□to□write 2nd□Data□to□write 3rd□Data□to□write 4th□Data□to□writeAddress 1st□read□Data 2nd□read□Data 3rd□read□Data 4th□read□Data CS 8□SPICLKs 8□SPICLKs 8□SPICLKs8□SPICLKs 8□SPICLKs 8□SPICLKs8□SPICLKs 8□SPICLKs 8□SPICLKsWR RD SPI Option Parallel Mode Parallel Mode AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 During continuous read or write, the address increments after each read or write. When the address reaches 7Fh, the address counter starts over from The data is written into the register map on the 16th WR of a data word. If the CS is inactive before the 16th WR in a data word, the data is not written into the register map; the data is lost. Figure shows a typical example of this functionality. Figure 12. Typical Serial Communication Operation SPI option is recommended for use when the clock speed is greater than 25MHz. The only difference between option and is the edge from which the output data is strobed. In option the user should read the data on the rising edge after the data from the register map is latched (one half clock cycle after Option 1). In this case, an extra clock cycle is needed (25 clock cycles instead of 24). See the timing diagram in Figure In Parallel Mode the host port uses WR and RD for independent write and read access to the AMC1210. The current cycle is processed only when the CS input of the AMC1210 is low. RD indicates to the AMC1210 that the host processor has requested a data transfer. The AMC1210 then outputs data to the host. To configure the registers in the AMC1210, the host process issues a WR signal to indicate that valid data is available on the bus. The data is latched into the AMC1210 with the rising edge of the WR The address for the AMC1210 must be valid at the first rising edge of WR To indicate that an address is issued, the signal ALE must be set to high before the WR signal is set to low. The CS signal can stay low between two consecutive writes or reads. Figure provides a detailed timing diagram of Parallel Mode In Parallel Mode the host port uses WR and RD for independent write and read access to the AMC1210. The current cycle is processed only when the CS input of the AMC1210 is low. RD indicates to the AMC1210 that the host processor has requested a data transfer. The AMC1210 then outputs data to the host. To configure the AMC1210 registers, the host process issues a WR signal to indicate that valid data is available on the bus. With the rising edge of WR the data is latched into the AMC1210. The address is latched into AMC1210 when the signal ALE is set to low. The CS signal can stay low between two consecutive writes or reads. Figure provides a detailed timing diagram of Parallel Mode Submit Documentation Feedback
www.ti.com Parallel Mode FILTER MODULE HLT LLT Decoding 1:1 to 1:16 Mode□3□Only Modulator□Input□(IN ) x Modulator□Clock□(CLK ) x System□Clock□(CLK) Sample-and-Hold□(SH ) x Control□Unit Time□Unit Filter□Unit Comparator□Unit Serial data Clock TM□=□1 TM□=□0 Counter Parallel□data COMPHx COMPHx and□COMPLx to□Interrupt□Unit COMPLx Time Register□X DEMODULATOR INTEGRATOR Integrator□Unit Data Register□X Parallel□or serial□data Parallel□data AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 In Parallel Mode the host port uses RD and WR for write and read access to the AMC1210. The current cycle is processed only when the CS input of the AMC1210 is low. WR indicates to the AMC1210 that the host processor has initiated a read or write transfer. If WR is high, the AMC1210 outputs data to the host when RD is also low. To configure the registers in the AMC1210, the host process issues a RD signal together with WR low to indicate that valid data is available on the bus. With the rising edge of the RD signal, the data is latched into the AMC1210. The address is latched into AMC1210 when the signal ALE is set high. The CS signal can stay low between two consecutive writes or reads. Figure provides a detailed timing diagram of Parallel Mode In all parallel modes, each address can be accessed sequentially without writing a new address to the AMC1210. When an address is set by the user, a pointer is also set to that address. After each successive read or write operation, the address is incremented by one in the register map. The filter module consists of the control block unit, the comparator filter unit, the sinc filter unit, a time measurement unit and a demodulator/integrator unit. Each unit can be individually programmed for several different modes of operation. Figure shows a block diagram of one filter module. The four filter modules are identical and are able to be configured independently. Figure 13. AMC1210 Filter Module Submit Documentation Feedback
www.ti.com Control Unit Input Clocking Manchester Decoding AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 FILTER MODULE (continued) The control unit translates the modulator input data and the corresponding clock so that it can be used by the AMC1210. Four input options are available, depending on the mode of the modulator. These options are selected through the bits MOD1 and MOD0 in the Control Parameter Register Table describes each input mode. A detailed diagram of the timing of each of these modes can be found in the Timing Characteristics section; see Figure Table Interface Modes MODULATOR MODE MOD1 MOD0 rate. The modulator data is strobed at every rising edge of the modulator clock. The modulator clock is running with half of the modulator data rate. The modulator data is strobed at every edge of the modulator clock. The modulator clock is off and the modulator data is Manchester-encoded. The modulator clock is running with double of the modulator data rate. The modulator data is strobed at every other positive modulator clock edge. In Modulator Mode the data is Manchester-encoded. An automatic calibration is continuously performed to achieve optimum decoding performance. The status of this calibration can be checked in the Control Parameter Register bits MS10 MS0 and in the Status Register bits MALx and MAFx. The clock input CLKx is ignored in this mode. The filter module clock is separate from the system clock (except when using Modulator Mode 3). This design permits the filter module to run asynchronously from the control module, allowing two different speeds for input data and control block timing. The clock setup is different for each input mode. See Table Table Clock Operation in Each Interface Mode INPUT MODE CLOCK FUNCTIONALITY The clock for the filter module is fed by the CLKx input, which can be either external or driven by the modulator. The frequency is the same. Each edge of CLKx generates a pulse, which clocks the filter module. The clock for the filter module is generated by the Manchester decoder. The clock source is the system clock, from the CLK pin. This clock can be divided down by a programmed number between and by bits MD2 MD0 in the Clock Divider Register This clock can also be fed to the CLKx pin to drive the modulator clock if the bit CD in the Control Parameter Register is set to '1'. Note that as long as the input data is clocked in correctly, all of the filter module functions (sinc filter unit, comparator unit, etc.) will be clocked at the same rate. Manchester signaling is a method of encoding a data signal in such a way that it can be retrieved without the need of a separate clock line. When configured in Mode the AMC1210 can translate a Manchester-encoded signal on the INx pin into a clock signal and a data signal. An automatic calibration is continuously performed to optimize the decoding of the data. Submit Documentation Feedback
www.ti.com Comparator Unit AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The calibration mechanism follows this sequence: The modulator data is sampled at the frequency of the system clock (CLK). The number of CLK cycles between transitions is counted and recorded for 1024 consecutive transitions. The resulting array will have a '1' in the bit location that corresponds to the number of CLK cycles counted between transitions. For example, the sequence shown in Table means that there was at least one instance where three and four, as well as seven and eight, CLK cycles occurred between two transitions. This array is stored in the bits MS10 MS0 in the Control Parameter Register An algorithm looks for a group of zeros that has ones before and after it. If this pattern is not found, the bits MALx and MAFx in the Status Register are set high. If the algorithm is successful, it will use the location of the first '0' as the number of CLK cycles needed to determine the frequency and which transitions are valid in the Manchester code. The algorithm starts over from Step automatically. Table Example Control Parameter Register VALUE BIT MS10 MS9 MS8 MS7 MS6 MS5 MS4 MS3 MS2 MS1 MS0 CLK CYCLES The MALx bit shows the status of the previous Manchester decoder calibration cycle. If it is high, the decoder calibration has failed on the previous calibration cycle. The MAFx bit shows if any failures have occurred since the last read of the Status Register Any MALx failure will cause MAFx to go high. MAFx is reset to low when the Status Register is read. The decoding procedure is performed continuously when the AMC1210 is configured for Modulator Mode Note that the CLK frequency must be at least six times the Manchester data rate for the decoder to perform properly. An independent comparator unit allows the user to monitor input conditions with a fast settling time without sacrificing input measurement resolution. The filter of the comparator unit is similar to the sinc filter unit, with OSR values ranging continuously between and 32. Setting the OSR to 32, a maximum 15-bit output width of 32,768 can be achieved. The output of the filter is compared with two programmed threshold levels to detect over- and under-value conditions. These threshold levels are programmed in the high and low level Threshold Registers for each individual filter module. When an over- or under-value condition occurs, it signals the interrupt unit to set an interrupt signal and store the conditions in the Interrupt Register The Interrupt Register can then be polled to see which condition caused the interrupt signal. It is not possible to read out the value of the comparator filter. This filter, together with the comparators, is generally used to detect over-currents. It is necessary to decide on an OSR given the desired resolution/settling time combination. This programming will be discussed in more detail in the section. The comparator filter unit and the sinc filter unit differ in the way they handle input data. The comparator filter unit translates a low input signal to a '0' and a high input signal to a '1', whereas the sinc filter unit uses and '1'. The resulting calculations give only positive values for the output of the comparator filter. The data representation is straight binary. Table and Figure show the different full-scale values that the comparator filter can store using different oversampling ratios. Table Peak Data Values for Different OSR/Filter Combinations OSR Sinc Sinc Sinc Sincfast x to x to x to x to to to to to to to to 512 to 128 to to 256 to 4096 to 512 to to 1024 to 32,768 to 2048 Submit Documentation Feedback
www.ti.com Resolution 100000 10000 1000 100 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 Oversampling□Ratio Sinc Sinc Sinc Sincfast Sinc Filter Unit SINC FILTER□RESPONSE 3 (1) Frequency□(Hz) /c4520 /c4540 /c4560 /c4580 /c45100 /c45120 0 625k 312.5k 937.5k 1562.5k Gain□(dB) SINC FILTER□RESPONSE 2 (1) Frequency□(Hz) /c4520 /c4540 /c4560 /c4580 /c45100 /c45120 0 625k 312.5k 937.5k 1562.5k Gain□(dB) SINCFAST□FILTER□RESPONSE (1) Frequency□(Hz) /c4520 /c4540 /c4560 /c4580 /c45100 /c45120 0 625k 312.5k 937.5k 1562.5k Gain□(dB) SINC FILTER□RESPONSE (1) Frequency□(Hz) /c4520 /c4540 /c4560 /c4580 /c45100 /c45120 0 625k 312.5k 937.5k 1562.5k Gain□(dB) NOTE:□(1) 312.5kHz□=f =DATA f OSR CLK = 10MHz AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Figure 14. Comparator Filter Resolution The maximum resolution yields the peak values in Table (15 bits binary, 32,768 decimal). Note that in order to achieve the maximum value, the delta-sigma modulator is operated at absolute maximum positive or negative full-scale, which is outside of the recommended full-scale range of 80% of most delta-sigma modulators. The AMC1210 utilizes a standard integration/decimation/differentiation scheme to achieve the sinc filter. It can be configured as a Sinc Sinc Sinc or Sincfast filter with oversampling ratios (OSRs) continuously between and 256. Figure illustrates the frequency response of each type of filter. Figure 15. AMC1210 Frequency Responses with Various Sinc Filters Submit Documentation Feedback
www.ti.com Resolution 100000000 10000000 1000000 100000 10000 1000 100 1 21 41 61 81 101 121 141 161 181 201 221 241 261 Oversampling□Ratio Sinc Sincfast Sinc Sinc AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 These figures show the digital filter frequency response for one oversampling ratio (SOSR 32) and a modulator rate of 10MHz. The general purpose of the digital filter is to average the input modulator data. Achieving higher resolution requires additional samples for averaging, thereby increasing the total samples necessary to accurately represent an abrupt change. It also requires additional clock cycles to complete a single sample. The ratio of clock cycles to output samples is controlled by the SOSR value (the oversampling ratio for the sinc filter unit) in the Sinc Filter Parameter Register Table and Figure show the maximum resolution given different filter structures and SOSR values. Table 10. Peak Data Values for Different SOSR/Filter Combinations SOSR Sinc Sinc Sinc Sincfast x x x x to to to to to to 512 to 512 128 to 128 to 256 to 256 4096 to 4096 512 to 512 to 1024 to 1024 32,768 to 32,768 2048 to 2048 to 4096 to 4096 262,144 to 262,144 8192 to 8192 128 128 to 128 16,384 to 16, 384 2,097,152 to 2,097,152 32,768 to 32,768 256 256 to 256 65,536 to 65,536 16,777,216 to 16,777,216 131,072 to 131,072 Figure 16. Sinc Filter Resolution Submit Documentation Feedback
www.ti.com ACK I/O CLKx INx DATA REGISTER Previous□Value DATA□VALID READ□INTERRUPT□REGISTER READ□DATA□REGISTER AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The sinc filter has a bit width of bits and a signed two's complementary data representation. The maximum possible resolution gives a 26-bit word (+/-16,777,216). Note that this value is only reached if the delta-sigma modulator is operated at absolute maximum positive or negative full-scale, which is beyond the recommended full-scale range of 80% of most delta-sigma modulators. This value also does not represent the resolution of the signal. The signal resolution is determined by the modulator, and increasing the filter bit width will not offer any improved noise performance beyond the modulator capabilities. Figure shows how a typical application would use the digital filter. When the filter is enabled, it is continuously processing data and generating output words. When an output word is ready to read, the processor is first triggered by a rising edge on the ACK pin. Then the Interrupt Register is read to check which filter module generated new data. Once all valid data registers have been read, the ACK pin goes low. The data registers can be up to bits. Figure 17. Typical Data Read Sequence Submit Documentation Feedback
www.ti.com Integrator Unit Sample-and-Hold Mode (IMOD Oversampling Mode (IMOD Integrator Overflow AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The integrator allows digital integration (summation) of the filter output data or the direct modulator input data when the sinc filter unit is bypassed. It consists of a parameterized integrator and a data shift unit. The integrator is a simple 32-bit binary two's complement accumulator. The time of integration is determined by either the IOSR value or an external sample-and-hold signal. The bit IMOD in the Integrator Parameter Register determines which mode is used. The integrator is enabled by setting the bit IEN in the Integrator Parameter Register to high. When IEN is low, the integrator is disabled, reset, and bypassed. The input to the integrator is fed by the sinc filter unit. This can be adjusted to allow the input to feed directly into the integrator. See Bypassing the Sinc Filter Unit If Sample-and-Hold Mode is selected, the SHS bit in the Control Parameter Register determines which sample-and-hold signal is used to determine the total integration time. When a rising edge occurs on the selected sample-and-hold pin, the resulting integrator value is stored in the Data Register and the integrator is reset. In Oversampling Mode, the integrator sums a preset number of samples from the sinc filter unit, determined by an oversampling ratio value (IOSR) in the Integrator Parameter Register The integrator can be configured with oversampling ratios continuously between and 128. The integrator is sampled at the data output rate of the sinc filter unit. Table shows the different full-scale values that the integrator can store with different oversampling ratios, assuming that the sinc filter unit is set to SOSR 256 at the full-scale output. Table 11. Peak Data Values for Different IOSR Values INTEGRATOR OUTPUT MAX IOSR (with a Sinc Structure) x (SOSR )(x) to (SOSR )(x) 67,108,864 to 67,108,856 134,217,728 to 134,217,712 268,435,456 to 268,435,424 536,870,912 to 536,870,848 1,073,741,824 to 1,073,741,696 128 2,147,483,648 to 2,147,483,648 The start of an integrator cycle in Oversampling Mode is controlled by the sinc filter unit. A new integrator cycle is started when the sinc filter is enabled. The bit MFE in the Clock Divider Register can be used to synchronize the integrator unit in all four of the filter modules. Following the rising edge of the MFE bit, the integrator will begin to accumulate data in all four modules. When the same data output rate is used on all sinc filters, synchronous timing is achieved. Meeting or exceeding the maximum values will trigger an integrator overflow (IOx goes high). This overflow condition is only possible in Oversampling Mode when the sinc filter is set to a Sinc3 structure and it outputs only full-scale values. In Sample-and-Hold Mode, the integrator flag will go high if the maximum integrator value is exceeded 2,147,483,648 or 2,147,483,648). This event will occur if the sample-and-hold signal SHx is held in the active state longer than the overflow time. Submit Documentation Feedback
www.ti.com tOVERFLOW /C0043/C0040INTMAX /C0064SOSR /C0041 /C0466FILTOUT /C0064fINPUT /C0467 (1) 16-Bit Data Shifting Bypassing the Sinc Filter Unit Demodulation Time Measure Unit tMAX /C004365536 fCLK (2) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Equation calculates the time it takes for the integrator to overflow: where: INT MAX the maximum integrator value 2,147,483,648 if FILT OUT 2,147,483,648 otherwise) FILT OUT Average Sinc filter output value (from FILT MAX to +FILT MAX see Table SOSR oversampling ratio of the Sinc filter f INPUT modulator data rate For example, if the sinc filter outputs an average code value of 100,000 at a rate of 39.06kHz INPUT 10.0MHz/SOSR 256), it will take 549.8ms for an integrator overflow flag to occur. When integrator overflow occurs, the integrator value is reset and integration continues. If 16-bit data representation is chosen (DR is high), the shift control bits SH in the Integrator Parameter Register control which 16-bit part of a 32-bit data word is sent to the register map. The shift control bits are the number of left shifts in the 32-bit data word to achieve the maximum 16-bit value range. For example, if the sinc filter runs with a Sinc structure and an oversampling ratio of 256, the data values will be in the range of 16,777,216 to 16,777,216. To get a maximum 16-bit range of 32,767 to 32,767, the shift control bits should be set to In this case, LSBs of the 25-bit word are lost. The sign bit is not affected by the shift, which means the sign is always correct, regardless of the shift control bits. Table shows an example. The first column shows the original 32-bit word, the second column shows the SH bits value, and the last column shows which bits of the 32-bit word will be output in 16-bit mode. Table 12. 16-Bit Representation Example 16-BIT 32-BIT WORD SH VALUE REPRESENTATION b31 b16 b24 b29 b14 If the integrator is used without the sinc filter unit, the bit FEN has to be set high, the sinc filter structure has to be set to Sinc and the sinc filter OSR has to be set to '1'. In this case, the integrator will sum the direct input data from the modulator. Obtaining the resolver position from the AM-modulated resolver input signal requires mathematical demodulation. This calculation is performed by the AMC1210 after phase calibration. Modulation is enabled by setting the DEN bit in the Integrator Parameter Register high. For more information, see the Signal Generator Unit times, depending on the TM bit in the Control Parameter Register A counter is implemented in the time measure unit that counts clock cycles from the modulator clock input or the system clock. The maximum measured time, t MAX is calculated with the formula shown in Equation f CLK is either the modulator clock speed or the system clock speed. Submit Documentation Feedback
www.ti.com Mode (TM SH1 or SH2 TIMER TIME REGISTER CLKx 2 31 61 63 6462 65 66 67 125 127 128126 1 2 3 Previous□Value 128 61 63 6462 65 66 67 68 70 7169 MODE□1□(TM□=□1) Mode (TM ACK TIMER TIME REGISTER MODE□2□(TM□=□0) CLKx Previous□Value 128 2 63 643 65 66 67 68 70 7169 SH1 or SH2 DATA REGISTER Data□Valid AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 In Mode the time measure unit updates the Time Register with the elapsed amount of incoming modulator clock cycles between two rising edges of the selected sample-and-hold signal (selected by the SHS bit of the Control Parameter Register This mode can be used to measure the speed of the modulator clock or determine the number of input bits that have been clocked into the filter module. Each time a positive edge of the selected sample-and-hold is detected, the Time Register will be updated with the time counter value, and the time counter will be reset. Figure shows an example of a typical functional timer sequences in Mode Figure 18. Typical Functional Timer Sequence, Mode (TM In Mode the time measure unit updates the Time Register with the elapsed amount of system clock cycles from the last available data to the next rising edge of the selected sample-and-hold signal. Each time data is available, that is, when the sinc filter or the integrator has new data, the timer will reset. The timer continuously counts when a rising edge of the selected sample-and-hold signal occurs. At this point, the Time Register is updated with the time counter value, and the time counter will be reset. Figure shows an example of a typical functional timer sequence in Mode Since the Time Register is a 16-bit register, the maximum time measured is 65,536 clock cycles. The bit TOx in the Status Register is set to high when the time counter receives an overflow (that is, when the counter changes from 0xFFFF to 0x0000). This status bit is reset when the Status Register is read. Figure 19. Typical Functional Timer Sequence, Mode (TM Submit Documentation Feedback
www.ti.com CONTROL AND INTERRUPT MODULE Signal Generator Unit PATTERN□REGISTER BIT□0BIT□15 WORD□0WORD□63 DIRECTION□OF□DATA□OUTPUT□FLOW DIRECTION□OF□DATA□SHIFT□WHEN□LOADING SHIFT□REGISTER Calibrating the Signal Generator AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The control and interrupt module consists of a Signal Generator unit, a comprehensive interrupt unit and a register map. The register map contains all control parameters, output data and status bits for the AMC1210. A detailed section. The signal generator (see Figure provides a Pulse Width Modulated (PWM) signal at pin PWM1 and a complementary signal at PWM2. The output of PWM1 to PWM2 is a differential signal that can be externally low-pass-filtered to generate a carrier signal with a predefined clock frequency. The signal generator is a shift register with a length between and 1024. The shift register is programmed through the Pattern Register (bits SP). On the first write command to the bits SP, the first bits of the shift register are loaded. Each following write command causes the data in the shift register to shift bits upwards and the bits from the Pattern Register are placed in the LSBs of the shift register. For example, if 874 bits of predefined pattern are to be stored in the shift register, writes to the Pattern Register must be issued (with MSB first and LSB last), and the value 873 must be written into the bits PC in the Control Register Figure 20. AMC1210 Signal Generator Unit The output data rate of the signal generator is programmed with the Clock Divider Register (bits SD). The output data rate can be selected to be an integer division of the CLK rate. For example, if the CLK pin is operating at 40MHz with the bits SD the bit rate of the signal generator is 10MHz. The length of the pattern can be programmed with the Control Register (bits PC). A length can be chosen between and 1024 bits. This signal is designed for use as the carrier frequency in resolver applications, where proper demodulation requires a completely synchronous clock to the carrier timing. The Signal Generator unit also must be in phase with the total system for resolver demodulation. This condition requires a calibration to align the phase of the Signal Generator output to the sinc filter output. The phase calibration begins when the bit PCAL in the Clock Divider Register is set high. The AMC1210 performs the calibration by monitoring the polarity of both the output of the signal generator and the sinc filter. Once the polarities are defined, a demodulation signal is generated with the corresponding phase shift. The bit PCAL controls demodulation. Initially, it is set high. The AMC1210 then outputs a low on bit PCAL when the modulation is performed correctly. The microcontroller can monitor the calibration by reading PCAL. The first calibration attempt will try to calibrate for one period of the Signal Generator. If PCAL stays high after that period then calibration has failed. In order to restart calibration, a low must be written to PCAL in order to reset the PCAL state. Writing a subsequent high starts the calibration over. Submit Documentation Feedback
www.ti.com Driving a Signal with the Signal Generator Interrupt Unit HLT1 COMP1 COMPH1 COMPL1 LLT1 MIE MIE IEH1 IEH1 IEL1 IEL1 MIE MIE S S R R Q Q IFH1 IFL1 > 1 IP INT□Pin=□1 Signal□when Interrupt□Register□is□read From□the other□filter□units From□the watchdog□timers Acknowledge AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 CONTROL AND INTERRUPT MODULE (continued) The resolver can be driven directly from the AMC1210. If the bit HBE is set to high, the pins PWM1 and PWM2 are capable of driving 100mA directly into the resolver coils. If bit HBE the drive capability is lowered. The pattern generator is enabled by the bit SGE in the Clock Divider Register Figure shows the structure of the interrupt unit. Figure 21. AMC1210 Interrupt Unit Each comparator output is one interrupt source (COMPHx or COMPLx) creating eight total comparator outputs in the AMC1210. Each of these eight interrupt sources is stored in a flag register (IFHx or IFLx), if the master interrupt enable (MIE) and the appropriate interrupt enable (IEHx or IELx) are set to high. This flag register will be set to high if an interrupt is issued. This flag will be reset if the Interrupt Register is read and the interrupt source is no longer active. If an interrupt source is still active when the Interrupt Register is read, the appropriate flag will remain set. If the modulator clock is failing (when the modulator clock is slower than 1/64th of the system clock CLK), a watchdog timer will set a flag MFx, if the appropriate modulator flag interrupt enable bit (MFIEx) and the master interrupt enable (MIE) is set. If the modulator clock is still failing when the Interrupt Register is read, the appropriate flag remains set. The flag clears if the fail condition is no longer true, and the Interrupt Register is read. Any of the interrupt bits will activate the interrupt pin INT, if enabled. The polarity of the INT pin can be chosen with the Interrupt polarity control bit (IP) in the Control Register The acknowledge pin ACK indicates that new data is available from one of the filter modules. When the acknowledge pin goes high, new data is available in one or more of the Data Registers. By reading the Interrupt Register the filter module with new data can be determined. When one Data Register is read, the appropriate acknowledge flag in the Interrupt Register will be reset; when all flags are reset, the acknowledge pin is reset to low. The acknowledge pin can be inverted if the acknowledge polarity control bit (AP) in the Control Register is set high. The acknowledge flags cannot be set if both the sinc filter and the integrator are disabled. Each acknowledge flag can be disabled if the Acknowledge Enable control bit (AE) in the appropriate Sinc Filter Parameter Register is set to low. The acknowledge flag is not set when the oversampling rates of the sinc filter and the integrator are both set to '1'. Submit Documentation Feedback
www.ti.com REGISTER MAP AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 ADDRESS RESET VALUE NAME 0x00 0x0000 Interrupt Register 0x01 0x0000 Control Parameter Register for Filter Module 0x02 0x0000 Sinc Filter Parameter Register for Filter Module 0x03 0x0000 Integrator Parameter Register for Filter Module Filter Module 0x04 0x7FFF High-level Threshold Register for Filter Module 0x05 0x0000 Low-level Threshold Register for Filter Module 0x06 0x0000 Comparator Parameter Register for Filter Module 0x07 0x0000 Control Parameter Register for Filter Module 0x08 0x0000 Sinc Filter Parameter Register for Filter Module 0x09 0x0000 Integrator Parameter Register for Filter Module Filter Module 0x0A 0x7FFF High-level Threshold Register for Filter Module 0x0B 0x0000 Low-level Threshold Register for Filter Module 0x0C 0x0000 Comparator Parameter Register for Filter Module 0x0D 0x0000 Control Parameter Register for Filter Module 0x0E 0x0000 Sinc Filter Parameter Register for Filter Module 0x0F 0x0000 Integrator Parameter Register for Filter Module Filter Module 0x10 0x7FFF High-level Threshold Register for Filter Module 0x11 0x0000 Low-level Threshold Register for Filter Module 0x12 0x0000 Comparator Parameter Register for Filter Module 0x13 0x0000 Control Parameter Register for Filter Module 0x14 0x0000 Sinc Filter Parameter Register for Filter Module 0x15 0x0000 Integrator Parameter Register for Filter Module Filter Module 0x16 0x7FFF High-level Threshold Register for Filter Module 0x17 0x0000 Low-level Threshold Register for Filter Module 0x18 0x0000 Comparator Parameter Register for Filter Module 0x19 0x0000 Control Register 0x1A 0x0000 Pattern Register 0x1B 0x0000 Clock Divider Register 0x1C 0x0000 Status Register 0x1D 0x0000/0x00000000 (1) Data Register for Filter Module (1) 0x1E 0x0000 Time Register for Filter Module 0x1F 0x0000/0x00000000 (1) Data Register for Filter Module (1) 0x20 0x0000 Time Register for Filter Module Data/Time Output 0x21 0x0000/0x00000000 (1) Data Register for Filter Module (1) 0x22 0x0000 Time Register for Filter Module 0x23 0x0000/0x00000000 (1) Data Register for Filter Module (1) 0x24 0x0000 Time Register for Filter Module 0x25 to 0x7F 0x0000 Not used. Read will return 0x0000 (1) The Data Registers can also be represented as 32-bit. All control parameters are stored in the register map. Additionally, the status of the AMC1210 is read out through the register map. The mnemonic in the succeeding register
www.ti.com Example Register (address 0x00) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 Bit Bit Bit The bit position in the register. CS1 SHS The name of the register bit. A means Not Used and therefore a write to such a bit position will get lost. '1' '0' '0' The digit is the reset value. W R RW Indicates if the bit position is a read-only (R), readable and writable (RW) or write-only (W). This section describes the functionality of each register and its corresponding bits. The Interrupt Register contains the interrupt flags together with the acknowledge flags. If an interrupt occurs (that is, when the output of the comparator filter is above the high level threshold or below the low level threshold, or when one of the modulators is not functional), the appropriate interrupt flag is set (if enabled). An interrupt flag is reset when the Interrupt Register is read and the corresponding interrupt source is no longer active. The acknowledge bits are reset when the corresponding data register is read. Table describes the Interrupt Register. Table 13. Interrupt Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit AF4 AF3 AF2 AF1 MF4 MF3 MF2 MF1 IFL4 IFH4 IFL3 IFH3 IFL2 IFH2 IFL1 IFH1 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R BIT POSITION BIT
www.ti.com Control Parameter Register (addresses 0x01, 0x07, 0x0D and 0x13) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 BIT POSITION BIT threshold, if enabled IFH4 High-level interrupt flag for Filter Comparator Filter output is below the high limit threshold Comparator Filter output is equal to or above the high level threshold, if enabled IFL3 Low-level interrupt flag for Filter Comparator Filter output is above the low limit threshold Comparator Filter output is equal to or below the low level threshold, if enabled IFH3 High-level interrupt flag for Filter Comparator Filter output is below the high limit threshold Comparator Filter output is equal to or above the high level threshold, if enabled IFL2 Low-level interrupt flag for Filter Comparator Filter output is above the low limit threshold Comparator Filter output is equal to or below the low level threshold, if enabled IFH2 High-level interrupt flag for Filter Comparator Filter output is below the high limit threshold Comparator Filter output is equal to or above the high level threshold, if enabled IFL1 Low-level interrupt flag for Filter Comparator Filter output is above the low limit threshold Comparator Filter output is equal to or below the low level threshold, if enabled IFH1 High-level interrupt flag for Filter Comparator Filter output is below the high limit threshold Comparator Filter output is equal to or above the high level threshold, if enabled The Control Parameter Registers control several parameters for the data acquisition process. The Control Parameter Register functions include the Manchester decoder calibration status, clock pin direction control, delta-sigma modulator mode select, sample-and-hold select and time measure mode. Table describes the Control Parameter Register. Table 14. Control Parameter Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit MS10 MS9 MS8 MS7 MS6 MS5 MS4 MS3 MS2 MS1 MS0 CD SHS TM MOD1 MOD0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R RW RW RW RW RW BIT POSITION BIT direction. Pin CLKx is an input Pin CLKx is an output. The outgoing clock comes from the modulator clock divider. SHS Sample-and-hold select. Signal SH1 is chosen as sample-and-hold signal Signal SH2 is chosen as sample-and-hold signal TM Time measure mode. The time is measured from the last filter update to the last rising edge of the selected sample-and-hold signal The time is measured between two rising edges of the selected sample-and-hold signal MOD1 MOD0 Delta-Sigma Modulator mode. 00: The clock speed is equal to the data rate from the modulator 01: The clock rate is half of the data rate from the modulator 10: The data from the modulator is Manchester decoded 11: The clock rate is twice the data rate of the modulator Submit Documentation Feedback
www.ti.com Sinc Filter Parameter Register (addresses 0x02, 0x08, 0x0E,and 0x14) Integrator Parameter Register (addresses 0x03, 0x09, 0x0F and 0x15) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Sinc Filter Parameter Register includes the oversampling ratio (OSR), filter enable, structure and signal mode control bits. Table shows the Sinc Filter Parameter Register. Table 15. Sinc Filter Parameter Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit SST1 SST0 AE FEN SOSR7 SOSR6 SOSR5 SOSR4 SOSR3 SOSR2 SOSR1 SOSR0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R RW RW RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT Unused. Always read '0'. SST1 SST0 Sinc filter structure. 00: Sinc filter runs with a sincfast structure 01: Sinc filter runs with a Sinc structure 10: Sinc filter runs with a Sinc structure 11: Sinc filter runs with a Sinc structure AE Acknowledge enable. The acknowledge flag is disabled for the particular filter The acknowledge flag is enabled for the particular filter FEN Filter enable. The filter is disabled and no data is produced The filter is enabled and data are produced in the sinc filter and/or integrator SOSR7 SOSR0 Oversampling ratio. The actual rate is SOSR These bits set the oversampling ratio of the filter. 0xFF represents an oversampling ratio of 256. The Integrator Parameter Register controls the integrator functionality. It specifies the integrator oversampling ratio, mode select, shift control, integrator and demodulation enable and data representation control bits. Table shows the Integrator Parameter Register. Table 16. Integrator Parameter Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit SH4 SH3 SH2 SH1 SH0 DR DEN IEN IMOD IOSR6 IOSR5 IOSR4 IOSR3 IOSR2 IOSR1 IOSR0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT control. These bits indicate by how many bits the 16-bit window is shifted up when 16-bit data representation is chosen. DR Data representation. The data is stored in 16-bit two's complement The data is stored in 32-bit two's complement DEN Demodulation enable. The demodulation for resolver enable. The data from the sinc filter output is stored in the register map The data from the integrator is stored in the register map IMOD Integrator mode. The oversampling mode updates the data output of the integrator The selected sample-and-hold signal updates the data output of the integrator IOSR6 IOSR0 Oversampling ratio. The actual rate is IOSR These bits set the oversampling ratio of the integrator. 0x03 represents an oversampling ratio of Submit Documentation Feedback
www.ti.com High-Level Threshold Register (addresses 0x04, 0x0A, 0x10 and 0x16) Low-Level Threshold Register (addresses 0x05, 0x0B, 0x11 and 0x17) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The High-Level Threshold Register contains the upper level value of the interrupt threshold for the comparator filter. If the value of the comparator filter is equal to or above the high level threshold, the corresponding interrupt flag is set (if enabled). Table describes the High-Level Threshold Register. Table 17. High-Level Threshold Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit HLT14 HLT13 HLT12 HLT11 HLT10 HLT9 HLT8 HLT7 HLT6 HLT5 HLT4 HLT3 HLT2 HLT1 HLT0 '0' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' '1' R RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT Unused. Always read '0'. HTL14 HLT0 Unsigned high level threshold for the comparator filter output. The Low-Level Threshold Register contains the lower level of the interrupt threshold for the comparator filter. If the value of the comparator filter is equal to or below the low level threshold, the corresponding interrupt flag is set (if enabled). Table describes the Low-Level Threshold Register. Table 18. Low-Level Threshold Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit LLT14 LLT13 LLT12 LLT11 LLT10 LLT9 LLT8 LLT7 LLT6 LLT5 LLT4 LLT3 LLT2 LLT1 LLT0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT Unused. Always read '0'. LTL14 LLT0 Unsigned low level threshold for the comparator filter output. Submit Documentation Feedback
www.ti.com Comparator Filter Parameter Register (addresses 0x06, 0x0C, 0x12 and 0x18) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Comparator Filter Parameter Register controls several parameters for the comparator filters. It specifies the oversampling ratio, three interrupt enables and structure control bits. Table shows the Comparator Filter Parameter Register. Table 19. Comparator Filter Parameter Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit MFIE CS1 CS0 IEL IEH COSR4 COSR3 COSR2 COSR1 COSR0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT Unused. Always read '0'. MFIE Modulator failure interrupt enable. The modulator failure flag as well as the output INT is disabled for this particular flag The modulator failure flag is enabled CS1 CS0 Comparator filter structure. 00: Comparator filter runs with a sincfast structure 01: Comparator filter runs with a Sinc structure 10: Comparator filter runs with a Sinc structure 11: Comparator filter runs with a Sinc structure IEL Low-level interrupt enable. The low-level interrupt flag as well as the output INT is disabled for this particular flag The low-level interrupt flag is enabled IEH High-level interrupt enable. The high-level interrupt flag as well as the output INT is disabled for this particular flag The high-level interrupt flag is enabled COSR4 COSR0 Oversampling ratio. These bits set the oversampling ratio of the filter. 0xFF represents an oversampling ratio of 256. Submit Documentation Feedback
www.ti.com Control Register (address 0x19) Pattern Register (address 0x1A) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Control Register controls the signal pattern generator and the interrupt and acknowledge pin behavior. It specifies the interrupt and acknowledge pin polarities, the master interrupt enable and the signal pattern generator length. Table shows the Control Register. Table 20. Control Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit AP IP MIE PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' RW RW RW R R R RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT ACK. New data is signaled with a '1' on the pin ACK New data is signaled with a '0' on the pin ACK IP Interrupt polarity for pin INT. An interrupt is signaled with a positive transition on the pin INT An interrupt is signaled with a negative transition on the pin INT MIE Master interrupt enable. Interrupt pin and interrupt flags are blocked (interrupt pin INT always inactive). Interrupt pin and interrupt flags are not blocked and can be set and reset (if individually enabled). Unused. Always read '0'. PC9 PC0 Pattern count. Defines the length of the shift register for the signal generator The shift register of the signal generator is written through the Pattern Register. Each time this register is written, the shift register is shifted bits upwards and the written data is stored in the LSBs of the shift register. The Pattern Register is a write-only register; a read always returns 0x0000. Table describes the Pattern Register. Table 21. Pattern Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit SP15 SP14 SP13 SP12 SP11 SP10 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' W W W W W W W W W W W W W W W W BIT POSITION BIT pattern. Submit Documentation Feedback
www.ti.com Clock Divider Register (address 0x1B) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Clock Divider Register sets up the signal generator, the modulator clock division and the signal generator clock. Table shows the Clock Divider Register. Table 22. Clock Divider Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit HBE MFE SGE PCAL SCS1 SCS0 MD2 MD1 MD0 SD3 SD2 SD1 SD0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R RW RW RW RW RW RW RW RW RW RW RW RW RW BIT POSITION BIT Unused. Always read '0'. HBE Signal Generator High-Current Output. The high current option for pins PWM1 and PWM2 is disabled The PWM1 and PWM2 outputs are in High Current Mode MFE Master Filter Enable. Functionally AND'ed with bit FEN in the Sinc Filter Parameter Register. Sinc filter units of all filter modules are disabled. Sinc filter units can be enabled if bit FEN is '1'. SGE Signal Generator enable. Signal generator is disabled Signal generator is enabled PCAL Start of phase correction. Writing a '1' to this bit starts the phase calibration. Reading this bit shows the phase calibration status: The phase calibration is performing No phase calibration is performing SCS1 SCS0 Signal generator Control Select (necessary for Phase Calibration and Demodulation on the selected channel). 00: The phase calibration is performed on filter module 01: The phase calibration is performed on filter module 10: The phase calibration is performed on filter module 11: The phase calibration is performed on filter module MD2 MD0 Modulator clock divider. The coding is equal to the first eight codes in SD; see below. SD3 SD0 Signal generator clock divider. 0000: Clock divider is off, outgoing clock equals incoming clock 0001: Outgoing clock is divided by 0010: Outgoing clock is divided by 0011: Outgoing clock is divided by 0100: Outgoing clock is divided by 0101: Outgoing clock is divided by 0110: Outgoing clock is divided by 0111: Outgoing clock is divided by 1000: Outgoing clock is divided by 1001: Outgoing clock is divided by 1010: Outgoing clock is divided by 1011: Outgoing clock is divided by 1100: Outgoing clock is divided by 1101: Outgoing clock is divided by 1110: Outgoing clock is divided by 1111: Outgoing clock is divided by Submit Documentation Feedback
www.ti.com Status Register (address 0x1C) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Status Register shows the overflow conditions of the timer and the integrator, and the locked status of the Manchester Decoder. When the Status Register is read, the flags MAFx, TOx and IOx are reset. Table describes the Status Register. Table 23. Status Register Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit MAL4 MAL3 MAL2 MAL1 MAF4 MAF3 MAF2 MAF1 TO4 IO4 TO3 IO3 TO2 IO2 TO1 IO1 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R BIT POSITION BIT a successful calibration MAL3 Manchester locked status for filter module The automatic Manchester encoder calibration is working properly The automatic Manchester encoder calibration has not been able to perform a successful calibration MAL2 Manchester locked status for filter module The automatic Manchester encoder calibration is working properly The automatic Manchester encoder calibration has not been able to perform a successful calibration MAL1 Manchester locked status for filter module The automatic Manchester encoder calibration is working properly The automatic Manchester encoder calibration has not been able to perform a successful calibration MAF4 Manchester failure status for filter module The automatic Manchester encoder calibration has worked properly since last read access The automatic Manchester encoder has detected problems since last read access MAF3 Manchester failure status for filter module The automatic Manchester encoder calibration has worked properly since last read access The automatic Manchester encoder has detected problems since last read access MAF2 Manchester failure status for filter module The automatic Manchester encoder calibration has worked properly since last read access The automatic Manchester encoder has detected problems since last read access MAF1 Manchester failure status for filter module The automatic Manchester encoder calibration has worked properly since last read access The automatic Manchester encoder has detected problems since last read access TO4 Time counter overflow for filter module No overflow has occurred An overflow occurred in the time measurement unit in filter module IO4 Integrator overflow for filter module No overflow has occurred An overflow occurred in the integrator unit in filter module TO3 Time counter overflow for filter module No overflow has occurred An overflow occurred in the time measurement unit in filter module IO3 Integrator overflow for filter module No overflow has occurred An overflow occurred in the integrator unit in filter module TO2 Time counter overflow for filter module No overflow has occurred An overflow occurred in the time measurement unit in filter module IO2 Integrator overflow for filter module No overflow has occurred An overflow occurred in the integrator unit in filter module TO1 Time counter overflow for filter module No overflow has occurred An overflow occurred in the time measurement unit in filter module IO1 Integrator overflow for filter module No overflow has occurred An overflow occurred in the integrator unit in filter module Submit Documentation Feedback
www.ti.com Data Registers (addresses 0x1D, 0x1F, 0x21 and 0x23) Time Registers (addresses 0x1E, 0x20, 0x22 and 0x24) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The Data Registers store the latest data from either the sinc filter or the integrator output for each filter module. The data is presented in two's complement 16-bit or 32-bit format. The bit DR in the Integrator Parameter Register controls the bit width of the Data Register. It takes two bytes to read the 16-bit formatted data and four bytes to read the 32-bit formatted data. The acknowledge flag for the appropriate filter module is cleared when reading the Data Register. Table describes the Data Register in 16-bit formatting. Table 24. Data Register (16-Bit Format) Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit D15 D14 D13 D12 D11 D10 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R BIT POSITION BIT formatting. Table describes the Data Register in 32-bit formatting. Table 25. Data Register (32-Bit Format) Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit D15 D14 D13 D12 D11 D10 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R BIT POSITION BIT formatting. The Time Registers store the latest time information for each filter module. The data is presented in straight binary 16-bit format. The bit TMx in the Control Parameter Register controls the mode of the time measure unit. Table describes the Time Registers. Table 26. Time Registers Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit Bit TD15 TD14 TD13 TD12 TD11 TD10 TD9 TD8 TD7 TD6 TD5 TD4 TD3 TD2 TD1 TD0 '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' '0' R R R R R R R R R R R R R R R R BIT POSITION BIT unit. Submit Documentation Feedback
www.ti.com APPLICATION INFORMATION Resolver OSR□=□128 OSR□=□8 Demodulation (including□phase adjustment) Integrator Carrier□cancellation Parallel□Interface (including□configuration registers) PWM Digital,□12-bit Digital,□14-bit Resolver Analog Sine Cosine AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 The AMC1210 is designed for use in motor control systems utilizing delta-sigma modulators, particularly the ADS120x family of modulators. Resolvers are used in motor control to determine the angular position and speed of the motor. The resolver consists of three coils, one connected to the rotor and the other two situated orthogonally on the stator. By supplying a sine wave carrier signal to the rotor coil, a voltage is magnetically coupled onto the stator coils, of which the amplitude of the signal is directly proportional to the position of the rotor. By digitizing the stator signals, the exact position of the rotor can be mathematically calculated. Figure shows a block diagram of a standard resolver application. Figure 22. Typical Resolver Application with AMC1210 The AMC1210, along with the ADS120x family of modulators, provides a high-resolution resolver-to-digital converter. The user can program a carrier signal that is synchronous with the data rate of the modulator. The modulators digitize the resulting sine and cosine signals from the resolver. The AMC1210 then filters the modulator data with the sinc filter. The resulting data can then be passed to the integrator, where demodulation occurs. The demodulated signal first gets multiplied by the polarity of the carrier signal. If the integrator is programmed with the correct OSR, it sums a clock cycle of the rectified signal. The resulting signal is the baseband signal of the sine or cosine wave. These values can then be processed by a microcontroller to obtain the actual digital representation of the motor position. Several factors need to be considered for a high-performance resolver design. The first item of importance is to establish the timing of the motor control loop. This timing is the rate at which the microcontroller updates the motor driving circuitry. A typical application synchronizes the frequency of the carrier signal to the motor control loop frequency. With a known motor control frequency and a system clock frequency, the user can determine how to set up the AMC1210 for optimal performance. Example shows how the AMC1210 would be set up with a carrier frequency of 8kHz and a system clock frequency of 32MHz. Submit Documentation Feedback
www.ti.com Example AMC1210 Configuration with 8kHz Carrier Frequency and 32MHz System Clock Frequency Motor control loop frequency/C0043fCARRIER /C00438kHz (3) fCLK /C004332MHz (4) fCARRIER /C0043 fCLK /C0466N CDiv /C0064N PAT /C0467/C004332MHz /C0466N CDiv /C00641000/C0467 (5) CLK_Divider/C0043 fCLK /C0466fCARRIER /C0064N PAT /C0467/C004332MHz /C00408kHz /C00641000/C0041/C00434 (6) ENOB OSR 1 10 100 1000 Sinc Sinc Sinc Sincfast ADS1205 fMODULATOR /C0043fCARRIER /C0064SOSR /C0064ISOR /C0064N INT (7) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 APPLICATION INFORMATION (continued) The carrier frequency is generated using the signal generator, which uses the CLK signal for timing. In order to achieve optimal resolution on the carrier signal, it is recommended to use the largest number of bits possible, up to 1024, for a single cycle of the carrier signal. In this example, the length of the signal generator (PC9 PC0 in the Control Register was chosen to be 1000. This length means the carrier frequency will be: Now the Clk_divider value for the signal generator (SD3 SD0 in the Clock Divider Register can be calculated: Therefore, the user can generate a carrier frequency of 8kHz using a CLK speed of 32MHz, and programming bits PC9 PC0 to 999 (1000 and bits SD3 SD0 to 1). The next matter of importance is to determine the optimal speed versus resolution tradeoff on the modulator. Figure shows the tradeoff in performance for speed on the ADS1205 modulator. A higher OSR can provide increased ENOB (effective number of bits); however, it requires more data from the converter, resulting in an increased filter delay. Figure 23. Effective Number of Bits vs Oversampling Ratio (ADS1205) For maximum resolution, it is best to run the modulator as fast as possible. The speed of the modulator determines what oversampling ratio is needed on the sinc filter and the integrator. In order to synchronize to the motor control loop, the modulator must be decimated down by an integer divisor of the modulator frequency. This relationship is given in Equation Where N INT is the number of carrier signal cycles that will be integrated over. This value is usually set to Submit Documentation Feedback
www.ti.com SOSR /C0064ISOR /C0043fMODULATOR fCARRIER /C00432000 (8) ENOB /C0043ENOB_Sincfilter/C0041ENOB_Integrator/C004314 /C00412 /C004316 (9) fSINC 3 /C0043fMODULATOR SOSR /C0043128kHz (10) fINTEGRATOR /C0043 fSINC 3 IOSR /C00438kHz (11) AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 APPLICATION INFORMATION (continued) For this example, running the ADS1205 at 16MHz works well. Equation gives the total OSR. At this point, the sinc filter oversampling ratio (SOSR) and the integrator oversampling ratio (IOSR) can be defined. From Figure we can see that the best value for ENOB for equivalent OSR values comes from the Sinc filter. Therefore, it makes the most sense to choose the Sinc filter with a high OSR value. To satisfy Equation the product of the SOSR and ISOR must be 2000. Choosing a Sinc filter with an SOSR value of 125 and an ISOR value of produces this result, and gives the following ENOB: With these values, we can calculate the frequency of data coming out of the Sinc filter: and the frequency of data coming out of the integrator: The demodulation function allows the integrator to sum a full rectified cycle of the carrier signal. When choosing IOSR 16, the integrator will sum samples of the digital filter. The demodulation causes a loss of ENOB of approximately 0.5LSB. This demodulation error gives a total system ENOB 15.5. In order for this function to work correctly, the phase must be properly aligned between the carrier frequency and the modulator. To perform phase calibration, the carrier frequency, resolver and modulator must be running at the desired rate. Calculating the angle from two separate channels requires both channels integrating over the same period of time. To ensure that the integrators in separate channels are triggered at the same point in time, the bit MFE in the Clock Divider Register can be used. When MFE is low, all sinc filters are disabled. Conversely, when MFE goes high, all sinc filters that have bit FEN in the Sinc Filter Parameter register high are enabled. The integrator period, when in oversampling mode, is triggered by enabling the sinc filter. Therefore, when MFE goes high, all integrator periods are started simultaneously. This event only works if every other set-up procedure is done before MFE is set high. Submit Documentation Feedback
www.ti.com PWM1 PWM2 IN1 CLK1 IN2 CLK2 OUT□A CLKOUT OUT□B CLKIN CH□A+ CH□B+ REFIN□A REFIN□B REFOUT 5.0V AVDD BVDD 5.0V5.0V AVDD BVDD ADS1205 AMC1210 CLK 32□MHz RESOLVER AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 CVDD DVDD Microcontroller/ DSP 5.0V
0.1 F/c109
10 F/c109
5.0V 5.0V CH□B/c45 CH□A/c45 OPA2347 5k/c87 5k/c87 20 /c87 20/c87 20/c87 20/c87 5k/c87 5k/c87 22pF 22pF (continued) If the drive current needed for the PWM1 or PWM2 pin is in excess of 100mA, or if filtering is desired for a cleaner signal, extra circuitry is required. Figure shows a typical schematic using the AMC1210 and ADS1205 in a resolver application. Figure 24. Typical Schematic for Resolver Application Submit Documentation Feedback
www.ti.com Current Measurement Current Shunt Measurement Floating Power□Supply Gate Drive Circuit Gate Drive Circuit R 27/c87 D 5.1V 1 C C 0.1 F /c109 V + IN V /c45IN VDD MCLK MDAT GND ADS1203 ISO721 VCC1 IN V CC1 GND1 VCC2 GND2 OUT GND2 5.0V 32□MHz GNDAGND AMC1210 AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 APPLICATION INFORMATION (continued) The AMC1210 can also serve as a stand-alone digital filter for modulator signals coming from current-shunt measurements. Performing the digital filtering in the AMC1210 frees resources in the microcontroller or DSP from having to perform the constant processing required to ensure nonstop monitoring of the motor currents. For example, a common application may require both real-time monitoring of motor over-current situations as well as constant high-resolution data to monitor motor speed. A single filter module in the AMC1210 can perform both high-resolution data filtering as well as provide a fast response, programmable over-current interrupt flag. Current shunt measurements require a small differential signal range 1V) and high voltage isolation. This configuration can be incorporated with the AMC1210 with a delta-sigma modulator on the shunt side and a digital isolation device providing common-mode voltage isolation; see Figure Figure 25. Application Diagram Isolated Current Measurement The AMC1210 offers two different ways of current measurement from a modulator. For stable currents, using the modulator along with the Sinc filter offers up to 18.9 effective bits of resolution at an OSR 256 at a modulator rate of 10MHz. For unstable currents, the integrator can be used in place of (or in combination with) the digital filter to give an average filter value. When used with the time measurement unit, the integrator provides additional filtering (averaging). This averaging is achieved by using the timer in Mode and the integrator in Sample-and-Hold Mode. On a rising edge of the selected Sample-and-Hold signal, both the integrator and the timer store their current values, reset and begin again. These values, once read from their respective registers, are used to calculate the average value by simply dividing the integrator value by the timer value. Figure illustrates this functionality. Submit Documentation Feedback
www.ti.com CLKx SH1 or SH2 Integrator Accumulating□Output□from□Digital□Filter Timer Counting□Digital□filter□samples Time Register Data Register Integrator□Data□from□period□n Period□n Period□n+1 Timer□Data□from□period□n Integrator□Data□from□period□n-1 Timer□Data□from□period□n-1 Over-Current Measurement AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 APPLICATION INFORMATION (continued) Figure 26. Typical Integrator Sequence Using the integrator with a digital filter provides improved noise performance for a marginal amount of delay. For example, a Sinc filter with an SOSR of 16, combined with an integrator with an IOSR of 64, offers three bits of ENOB improvement at the cost of 1.6 µ s delay. The integrator and modulator can also be used together to calculate an average value of high bits (1) and low bits coming from the modulator in a floating point factor between and Through bypassing the sinc filter unit, the modulator output can be summed directly by the integrator. By setting up the timer and the integrator in the same way as discussed in the previous example (TM IMOD 1), an external signal (SHx) triggers the integrator and timer to run simultaneously. Dividing the resulting integrator data by the time data generates a value between and This calculation represents a ratio of high or low bits to the total number of samples, where 1.0 is all low bits, 0.0 is an even number of high and low bits, and 1.0 is all high bits. Configuring the AMC1210 for successful over-current measurement requires an understanding of the necessary design conditions. The first parameter to keep in mind is the settling time. Once the user has established a maximum settling time for an over-current event (the time between the over-current event and the first data sample that exceeds the comparator threshold) that the system can tolerate, a corresponding digital filter can be chosen. Figure shows settling times with the ADS1203 operating at 10MHz. As the allowable settling time is increased, the amount of data that is filtered is increased, resulting in a higher ENOB. In this example, a modulator rate of 10MHz is used. However, it should be noted that the user can also run the ADS1203 at 16MHz. This speed will decrease the settling time by a factor of 1.6; however, power consumption will be increased. Submit Documentation Feedback
www.ti.com ENOB□(bits) Settling□Time□( s)/c109 0 4 8 10 2 6 Sinc Sinc Sinc 3ADS1203 Sincfast Group_Delay/C0043Order_of_Filter/C0064OSR fMODULATOR (12) OSR /C0043Group_Delay/C0064fMODULATOR Order_of_Filter /C00433.2/C0109s /C006410MHz 2 /C004316 (13) Hall Sensor Measurement AMC1210 SBAS372A APRIL 2006 REVISED OCTOBER 2006 APPLICATION INFORMATION (continued) Figure 27. Effective Number of Bits vs Settling Time (ADS1203) The user should choose a digital filter that gives the maximum ENOB for the desired settling time. If a 3.2 µ s settling time is assumed, the user should select a Sinc filter. For any delay greater than µ the user should choose a Sinc filter. The total delay can be represented by Equation We can then calculate what OSR is necessary to achieve a delay time of 3.2 µ s by using Equation A Sinc comparator filter with an OSR of satisfies the settling time requirements for this example system. A high and low comparator value can be chosen by referring to Table For the present example, the comparator filter is capable of a span of 256 codes (from to 256). If an over-current situation is defined at 25% of the modulator full-scale range, the High Level Threshold level (HLT15 and Low Level Threshold level (LLT15 should be set to a maximum value of from the full-scale values, or to 192. It may also be necessary to lower this value to avoid an accidental over-current situation. If a guardband is presumed, the threshold levels should be set to and 196. The AMC1210 can be used directly with the ADS120x family of modulators to interface with Hall sensors in order to provide magnetic field strength measurements. The ADS1208 is a 16-bit, second order, delta-sigma modulator with Hall element biasing circuitry. By connecting the MCLK and MDATA lines of the ADS1208 to the INx and CLKx lines, the AMC1210 needs only a system clock to provide filtered data from the modulator. Submit Documentation Feedback
Orderable Device Status(1) Package Type Package Drawing Pins Package Qty Eco Plan(2) Lead/Ball FinishMSL Peak Temp (3) AMC1210IRHAR ACTIVE QFN RHA 40 2500 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR AMC1210IRHARG4 ACTIVE QFN RHA 40 2500 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR AMC1210IRHAT ACTIVE QFN RHA 40 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR AMC1210IRHATG4 ACTIVE QFN RHA 40 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-2-260C-1 YEAR (1)The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2)Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontentfor the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS):TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt):This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br):TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. PACKAGE OPTION ADDENDUM www.ti.com 4-Oct-2006 Addendum-Page 1
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Low Power Wireless www.ti.com/lpw Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2006, Texas Instruments Incorporated