28
Application Note Broadcom AR18-AR35-Series-AN100 October 3, 2017 Introduction The Broadcom ® AR18 and AR35 Series are the miniature Absolute Encoder ASIC designed to cater for the growing demand on the space constraint application. The AR18 encoder is designed for an overall diameter of 18 mm and offers user-programmable resolution ranging from 17, 19, and 21 bit single-turn absolute output. The AR35 encoder is designed for an overall diameter of 35 mm and offers 17 and 21 bits single-turn absolute output. Both the AR18 and AR35 series provide the incremental ABI and UVW in differential mode. Both come with a recommended high temperature range of –40°C to 115°C suitable for most industrial applications. Dual-mode operating voltage of 3.3V and 5V enable handheld and portable device applications. Employing Broadcom patented Reflective Optical Encoding Theory, the AR18 and AR35 series offer a high accuracy with correction, which is unattainable by the magnetic encoder. Applications Robotic automation and engineering Factory automation and drone Medical and dentistry, devices and equipment High accuracy portable and handheld devices Miniature motor/servo motor/linear actuator Related Part Ordering Information Ordering Info Type AR18-A21S/E AR18 SSI/ESL Single-Turn Absolute Encoder AR35-A21S/E AR35 SSI/ESL Single-Turn Absolute Encoder AR18 and AR35 Series Miniature Programmable Single-Turn Absolute Encoder

AR18 and AR35 Series - docs. · PDF fileUse delicate task wipers with IPA to clean the codewheel. ... (Write MSB 8 bits of offset value) – SPI write address ... CF SF DF0 DF1 DF2

Embed Size (px)

Citation preview

Application Note

Broadcom AR18-AR35-Series-AN100October 3, 2017

IntroductionThe Broadcom® AR18 and AR35 Series are the miniature Absolute Encoder ASIC designed to cater for the growing demand on the space constraint application.

The AR18 encoder is designed for an overall diameter of 18 mm and offers user-programmable resolution ranging from 17, 19, and 21 bit single-turn absolute output. The AR35 encoder is designed for an overall diameter of 35 mm and offers 17 and 21 bits single-turn absolute output.

Both the AR18 and AR35 series provide the incremental ABI and UVW in differential mode. Both come with a recommended high temperature range of –40°C to 115°C suitable for most industrial applications. Dual-mode operating voltage of 3.3V and 5V enable handheld and portable device applications.

Employing Broadcom patented Reflective Optical Encoding Theory, the AR18 and AR35 series offer a high accuracy with correction, which is unattainable by the magnetic encoder.

Applications Robotic automation and engineering Factory automation and drone Medical and dentistry, devices and equipment High accuracy portable and handheld devices Miniature motor/servo motor/linear actuator

Related Part Ordering Information

Ordering Info TypeAR18-A21S/E AR18 SSI/ESL Single-Turn Absolute

EncoderAR35-A21S/E AR35 SSI/ESL Single-Turn Absolute

Encoder

AR18 and AR35 SeriesMiniature Programmable Single-Turn Absolute Encoder

Broadcom AR18-AR35-Series-AN1002

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Mounting RequirementsThe mounting requirement is shown in Figure 1 to set up the encoder to the optimum position for typical encoder performances. Overall mounting requirements are applicable for:

1. AR18/AR35 DFN Encoder to codewheel operational gap.

2. Codewheel placement.

Figure 1: Mounting Requirement

Notes on Assembly1. The assembly of the encoder needs clean room condition, Class 100k or better.

2. The encoder needs to be enclosed with IP50 rated enclosure.

3. The encoder is supplied with protective tape to prevent contamination. Remove the tape at the location, away from the ASIC slot as shown in Figure 2 to prevent scratches to ASIC after SMT reflow processes.

Figure 2: Removal of Protective Tape

Broadcom AR18-AR35-Series-AN1003

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Mounting Concept with Alignment Jig1. Place mounting plate on motor base.

2. Align the mounting plate guide pins to the motor shaft with the aid of radial alignment jig, and secured the position with mounting screws.

3. Install the CW-Hub assembly into the motor shaft with the aid of a set height jig in between the motor base and the hub bottom surface. Secured the hub with M3x3 set screw. (Recommended tightening torque = 0.15Nm (M3x3 set screw).

4. Position the PCBA on the mounting plate guided by guide pins. Secured the position with mounting screws. (Recommended tightening torque = 0.15N.m (M2x6 Cap screw)).

Figure 3: Mounting Concept with Alignment Jig

Jig Design Concept

Figure 4: Mounting Plate Concepts

Step 1 Step 2 Step 3 Step 4

Mounting Plate

Radial Alignment Jig

Height Jig

refer to Figure 7

Broadcom AR18-AR35-Series-AN1004

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Figure 5: Radial Alignment Jig Concepts

Figure 6: Height Jig Concepts

refer to Figure 7

Broadcom AR18-AR35-Series-AN1005

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Figure 7: Jig Design Concepts

Recommended Shaft Tolerances

Parameter SymbolAR 18

(Nominal Dimension)AR35

(Nominal Dimension)1 Mounting Jig Height M M=H+c+g+d+s M=H+c+g+d+s2 Height Jig Thickness H H= L – (b-a) H= L – (b-a)3 Gap DFN & CW g 1.10 mm 1.10mm4 Shaft to Hub Clearance a 0.30 mm - 0.60 mm 0.30 mm - 0.60 mm5 Codewheel – Hub Height c 6.75 mm 8.25 mm6 Motor Shaft Height L Based on Customer Shaft Height7 DFN Package Height d 1.50 mm 1.50 mm8 Solder Paste Thickness s 0.05 mm 0.05 mm9 Hub Inner ID Depth b 5.00 mm 6.50 mm

Table 1: Shaft Tolerance

Hub ID Hole Tolerance

Set Screw Size

Shaft OD Shaft Tolerance

(mm) Lower Upper Hole Basis (mm) Lower Upper Shaft Basis2 0 0.008 H6 #2-56 2 –0.004 –0.009 g53 0 0.008 H6 #2-56 3 –0.004 –0.009 g54 0 0.008 H6 M3 4 –0.004 –0.009 g5

6 0 0.008 H6 M3 6 –0.004 –0.009 g5

8 0 0.009 H6 M3 8 –0.005 –0.011 g510 0 0.009 H6 M3 10 –0.005 –0.011 g5

Broadcom AR18-AR35-Series-AN1006

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Codewheel Handling1. Prevent touching on the ACTIVE AREA by wearing a finger cot.

2. Use delicate task wipers with IPA to clean the codewheel. Do not use cotton buds (non lint free) because it causes scratches to the codewheel.

Figure 8: Codewheel Handling

Encoder Zero Offset

Zero Offset with SSI 3-Wire and SPI

Figure 9: Resolution Bits

AR351. Motor static, read position per Figure 15 output by SSI, and patch zero to make it 24 bits.

– If readout is 21 bits position, patch 3 zero at LSB.– If readout is 17 bits position, patch 8 zero at LSB.– Split into 3 bytes as shown in Figure 9.

Table 2: Reference Memory Map (SPI) for Zero Offset

Num Item

Address Bits

Page 14 7 6 5 4 3 2 1 01 ST_Zero_Reset_0 (Byte 0) 0x0C ST_ZR[8:1]2 ST_Zero_Reset_1 (Byte 1) 0x0D ST_ZR[16:9]3 ST_Zero_Reset_2 (Byte 2) 0x0E ST_ZR[24:17]

CW Active surface

Finger Print ContaminationClean codewheel Clean codewheel

Byte2 Byte1 Byte0

24bits

Broadcom AR18-AR35-Series-AN1007

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

2. SPI Write offset value operation.– SPI write address 0x7F, value 0x08 (Switch to EEPROM page 8).– SPI write address 0x00, value 0xAB (Unlock write access).– SPI write address 0x7F, value 0x0E (Switch to EEPROM page 14).– SPI write address 0x0C, value of Byte0 (Write LSB 8 bits of offset value).– SPI write address 0x0D, value of Byte1 (Write LSB+8 8 bits of offset value).– SPI write address 0x0E, value of Byte2 (Write MSB 8 bits of offset value).– SPI write address 0x1B, value 0x0F (Unlock MTP for programming offset value).– SPI write address 0x40, value 0xC0 (Perform MTP programming).

3. After ~30 ms, read position output by SSI and get position value 0.

AR181. Motor static, read position output by SSI, and patch zero to make it 24 bits.

– If readout is 21 bits position, patch 3 zero at LSB.– If readout is 19 bits position, patch 5 zero at LSB.– If readout is 17 bits position, patch 8 zero at LSB.– Split into 3 bytes as shown in Figure 9.

2. SPI Write offset value operation.– SPI write address 0x7F, value 0x08 (Switch to EEPROM page 8)– SPI write address 0x00, value 0xAB (Unlock write access)– SPI write address 0x7F, value 0x0E (Switch to EEPROM page 14)– SPI write address 0x0C, value of Byte0 (Write LSB 8 bits of offset value)– SPI write address 0x0D, value of Byte1 (Write LSB+8 8 bits of offset value)– SPI write address 0x0E, value of Byte2 (Write MSB 8 bits of offset value)– SPI write address 0x1B, value 0x0F (Unlock MTP for programming offset value)– SPI write address 0x40, value 0xC0 (Perform MTP programming)

3. After ~100 ms, read position output by SSI and get position value 0.

Zero Offset with ESL

Access Table 2 or Table 6 using ESL protocol in Memory Read/Write Frame.

Table 3: ESL Command ID List

CF SF DF0 DF1 DF2 DF3 DF4 DF5 DF6 DF7 CRC RemarkFrame Size

Data ID 4 Include CF & SF Status

ALMC ABS0 ABS1 ABS2 ABS3 Include CRC

Position Read Command 8Data ID 6 ABS0 ABS1 ABS2 ABS3 7Data ID 8 ENID Encoder ID Read Command 4Data ID A ALMC Alarm Read Command 4Data ID C ALMC ABS0 ABS1 ABS2 ABS3 Perform continuous 8× for alarm clear command 8Data ID E CF ADF EDF Memory or Register Read command 4Data ID F CF ADF EDF Memory or Register Write Command 4

Broadcom AR18-AR35-Series-AN1008

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

AR351. Motor static, read position output by ESL (ID4), and patch zero to make it 24 bits.

– If readout is 21 bits position, patch 3 zero at LSB.– If readout is 17 bits position, patch 8 zero at LSB.– Split into 3 bytes as shown in Figure 9.

2. ESL Write (IDF) offset value operation.– ESL write address 0x7F, value 0x08 (Switch to EEPROM page 8).– ESL write address 0x00, value 0xAB (Unlock write access).– ESL write address 0x7F, value 0x0E (Switch to EEPROM page 14).– ESL write address 0x0C, value of Byte0 (Write LSB 8bits of offset value).– ESL write address 0x0D, value of Byte1 (Write LSB+8 8bits of offset value).– ESL write address 0x0E, value of Byte2 (Write MSB 8bits of offset value).– ESL write address 0x1B, value 0x0F (Unlock MTP for programming offset value).– ESL write address 0x40, value 0xC0 (Perform MTP programming).

3. After ~30 ms, read position output by ESL (ID4) and get position value 0.

AR181. Motor static, read position output by ESL (ID4), and patch zero to make it 24 bits.

– If readout is 21 bits position, patch 3 zero at LSB.– If readout is 19 bits position, patch 5 zero at LSB.– If readout is 17 bits position, patch 8 zero at LSB.– Split into 3 bytes as shown in Figure 9.

2. ESL Write (IDF) offset value operation.– ESL write address 0x7F, value 0x08 (Switch to EEPROM page 8).– ESL write address 0x00, value 0xAB (Unlock write access).– ESL write address 0x7F, value 0x0E (Switch to EEPROM page 14).– ESL write address 0x0C, value of Byte0 (Write LSB 8 bits of offset value).– ESL write address 0x0D, value of Byte1 (Write LSB+8 8 bits of offset value).– ESL write address 0x0E, value of Byte2 (Write MSB 8 bits of offset value).– ESL write address 0x1B, value 0x0F (Unlock MTP for programming offset value).– ESL write address 0x40, value 0xC0 (Perform MTP programming).

3. After ~30 ms, read position output by ESL (ID4) and get position value 0.

NOTE: The value of position readout after zero offset might fluctuating at 0 due to motor vibration at static.

Broadcom AR18-AR35-Series-AN1009

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Recommended I/O ConnectionThe recommended I/O connection consists of some basic requirements during connection between encoder to motor driver:

SSI 3-Wire Differential Connection1. Strongly recommended to provide encoder power supply:

– For 5.0V supply, VCC within the range of 4.5V ~ 5.5V. – For 3.3V supply, VCC within the range of 3.0V ~ 3.6V.

2. For best noise immunity, use twisted-pairs shielded cable for connection to servo driver.

3. In order to prevent undesirable signal reflection, terminate with 1200Ω resistors.

Figure 10: SSI Differential I/O Connections

ESL Half-Duplex ConnectionFigure 11: ESL Half-Duplex I/O Connections

Broadcom AR18-AR35-Series-AN10010

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

ESL: Half-Duplex

Position Read Frame

Figure 12: Position Read Frame (2.5 Mb/s)

Figure 13: Position Read Frame (10 Mb/s)

Table 4: ESL Interface

Interface CircuitESL Serial Data (DATA +) Transceiver (P/N: ISL8485E)ESL Serial Data (DATA –) Transceiver (P/N: ISL8485E)

Table 5: Timing Characteristics

Parameter Min Typ. Max UnitCommunication Baud Rate — — 2.5 or 10.0 MHzFrame Length — 10 — Bits/Frame

Broadcom AR18-AR35-Series-AN10011

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Memory Read/Write Frame

Figure 14: Timing Characteristics of Enable, Request, and Data Signals (2.5 Mb/s)

Figure 15: Timing Characteristics of Enable, Request, and Data Signals (10 Mb/s)

Register Communication and Assignment

Refer to AR18/AR35 software specification document for details information.

Broadcom AR18-AR35-Series-AN10012

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Memory Map

SSI 3-Wire Differential Output

SSI 3-Wire Timing

Figure 16: Timing Diagram

NSL toggles from high to low to start request position data.

SCL maximum frequency is 10 MHz.

tREQ = 10 μs is the time of data request processing with 8× averaging.

Table 6: Memory Map

No Item Address

Bits

7 6 5 4 3 2 1 01 Customer Configuration1 0x09 EEPROM

DisableMLS Segment

SelectCW

DirectionRS485 Baudrate

SettingRS485 Encoder ID

2 Customer Configuration2 0x0A UVW Setting I-width Setting CPR Setting3 Customer Configuration3 0x0B Mon Select abs resolution4 ST_Zero_Reset_0 0x0C ST_ZR[8:1]5 ST_Zero_Reset_1 0x0D ST_ZR[16:9]6 ST_Zero_Reset_2 0x0E ST_ZR[24:17]

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Broadcom AR18-AR35-Series-AN10013

SSI 3-Wire Pinout and Relevant Registers

Figure 17: SSI 3-Wire Pinout

AR18 SSI 3-Wire Output

Figure 18: AR18 Output

AR35 SSI 3-Wire Output

Figure 19: AR35 Output

Table 7: SSI 3-Wire Pinout

Pin Name Function10 SSI DOUT SSI Data Output12 SSI NSL SSI Input14 + SSI SCL SSI Clock (+)

Broadcom AR18-AR35-Series-AN10014

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Encoder CalibrationEncoder calibration must be performed after the completion of codewheel and encoder installation. Perform encoder calibration via the SPI interface.

NOTE: Do not power cycle the encoder during calibration. Power cycle the unit ONLY after the completion of calibration and programming of EEPROM.

SPI Communication Pinout (for Calibration)

SPI Read and Write Timing Diagram (Maximum Clock Frequency 1 MHz)

Memory Map

Table 8: Calibration Pinout

Pin Name Function5 SPI DOUT SPI Data Output6 SPI DIN SPI Data Input7 SPI CLK SPI Clock

Table 9: SPI Read and Write Memory Map

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Read 0 Address[6:0] Data[7:0]Write 1 Address[6:0] Data[7:0]

Broadcom AR18-AR35-Series-AN10015

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

SPI Write: <Write Command = 1><7bits address><8bits data>

Figure 20: SPI Write Timing Diagram

SPI Read: <Read Command = 0><7bits address>

Figure 21: SPI Read Timing Diagram

Unlock EEPROM1. Write to SPI Address 0x7F with value 08 (Hex), to go to EEPROM page 8.

2. Write to SPI Address 0x00 with value AB (Hex), to unlock Level 1.

3. Write to SPI Address 0x7F with value 0E (Hex), to go to EEPROM page 14.

Program EEPROM1. Write to SPI Address 0x7F with value 08 (Hex).

2. Write to SPI Address 0x00 with value AB (Hex).

3. Write to SPI Address 0x7F with value 0E (Hex).

4. Write to SPI Address 0x40 with value C0 (Hex), to program EEPROM.

5. Read from SPI Address 0x13, Bit [0] and Bit [1]. – From Address 0x13, if Bit [0] = 1 and Bit [1] = 0, program successful.

DOUT

CLK

8clock

8clock

D7 …. D0

DIN D7 …. D0

CLK

8clock

8clock

DIN D7 …. D0

D7 …. D0

DOUT

Broadcom AR18-AR35-Series-AN10016

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

MLS Segment Select1. Unlock EEPROM as per the Unlock EEPROM section.

2. Write to SPI Address 0x19, with Bit [1] and [5] = 1 (Table 12).

3. Write to SPI Address 0x10, based on Table 13 to turn on Probe and Mux Address.

4. Write to SPI Address 0x09, with Bit [6] = 1 (Table 14).

5. Connect Pin 1 to Pin 4 from Table 11 to oscilloscope.

6. Measure Vpp (Max) and Vpp (Min): Average from 3 MLS channels.– Vpp Delta = Vpp Max – Vpp Min.

7. Write to SPI Address 0x09, with Bit [6] = 0.– Repeat Step 5, then compare Vpp Delta value between 0x09 Bit[6] settings = 0 and 1.

Set SPI Address 0x09, Bit [6] based on the lower Vpp Delta value obtained.– Example in Table 10, final selection for 0x09 Bit [6] settings will be 0.

8. Program EEPROM.

Table 10: Example of MLS Segment Selection

0x0B, Bit [0] Settings Vpp DeltaConfiguration 1 1 SPI Data OutputConfiguration 2 0 SPI Data Input

Selection 0x09, Bit [6] = 0

Table 11: Signal Output

Pin Name Function1 CN/TST3 MON2 CP/TST2 MLS Analog <27>3 SN/TST1 MLS Analog <13>4 SP/TST0 MLS Analog <01>

Table 12: Memory Map for Probe ON and MLS Sel Mode

Register Name Calibration and Function ONPage 14 Address 0x19

Access RW Value Bit [1] and Bit [5] = 1Bit 7 6 5 4 3 2 1 0

Field NA NA MLS SEL NA NA NA PROBE ON NADescription For PROBE ON and MLS Selection Mode

Broadcom AR18-AR35-Series-AN10017

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Mon Calibration1. Unlock EEPROM as per the Unlock EEPROM section. Connect Pin 1 to Pin 4 to oscilloscope.

2. Measure the following:– MON Vmid: Average for MON (Channel TST3): 1.05V ± 0.05V

3. Write to SPI Address 0x0B with Bit [7:2] values (Table 15) based on references from Table 16.

4. Program EEPROM as per the Program EEPROM section.

Table 13: Memory Map for PROBE and PMUX Selection

Register Name Probe PMUX and LED SelectPage 14 Address 0x10

Access RW Value AR18: Bit [5] = 1, Bit [4:0] = 0111AR35: Bit [5] = 1, Bit [4:0] = 0110

Bit 7 6 5 4 3 2 1 0

Field NA NA PROBE PMUX[4:0]

Description For PROBE and PMUX selection

Table 14: Memory Map for MLS Segment Selection

Register Name Customer Configuration3Page 14 Address 0x09

Access RW Value Bit [6] = 1Bit 7 6 5 4 3 2 1 0

FieldNA MLS

SegmentNA NA NA NA NA NA

Description For MLS Segment Selection

Table 15: Memory Map for MON Calibration

Register Name Customer Configuration3Page 14 Address 0x0B

Access RW Value Bit [7:2]Bit 7 6 5 4 3 2 1 0

Field Mon Select [7:2] NA NADescription For MON Calibration

Broadcom AR18-AR35-Series-AN10018

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Table 16: Mon Reference Table

Mon Mon000101 0.866 100101 1.703000100 0.892 100100 1.728000011 0.918 100011 1.757000010 0.944 100010 1.782000001 0.97 100001 1.808000000 0.996 100000 1.833000110 1.022 100110 1.86000111 1.049 100111 1.885001000 1.075 101000 1.912001001 1.1 101001 1.94001010 1.126 101010 1.965001011 1.153 101011 1.992001100 1.179 101100 2.019001101 1.206 101101 2.043001110 1.231 101110 2.069001111 1.258 101111 2.094010101 1.285 110101 2.122010100 1.311 110100 2.15010011 1.337 110011 2.176010010 1.363 110010 2.202010001 1.389 110001 2.227010000 1.417 110000 2.254010110 1.441 110110 2.281010111 1.468 110111 2.308011000 1.495 111000 2.332011001 1.522 111001 2.36011010 1.548 111010 2.384011011 1.572 111011 2.41011100 1.6 111100 2.439011101 1.625 111101 2.465011110 1.652 111110 2.49011111 1.68 111111 2.518

Broadcom AR18-AR35-Series-AN10019

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

MLS-Incremental Phase Calibration1. Unlock EEPROM.

2. Write to SPI Address 0x19, with Bit [1] and Bit [5] =1 as shown in Table 18.

3. Write to SPI Address 0x10, with Bit [5] = 1 as shown in Table 19.

4. Write to SPI Address 0x10, with Bit [4:0] from Table 19 based on the following configuration:– AR18: 10011 and AR35: 10111.

5. Connect Pin 22, Pin 26, Pin 28, and Pin 30 to oscilloscope (Table 17).

6. Measure the following and calibration per bit step is 5.625V (Table 20):– Rising Edge of 3 Digital MCODE to Incremental (INT_MSB_INV) as shown in Figure 22.– Phase Target = 90 edeg ± 10 edeg.

7. Program EEPROM.

Table 17: Signals Pinout

Pin Name Function Pin Name Function30 PROBE1 INT_MSB_INV 30 PROBE1 INT_MSB_INV28 PROBE2 MCODE<01> 28 PROBE2 MCODE<01>26 PROBE3 MCODE<11> 26 PROBE3 MCODE<13>22 PROBE4 MCODE<21> 22 PROBE4 MCODE<27>

AR18 AR35

Table 18: Memory Map for Probe ON and MLS Selection Mode

Register Name Calibration and Function ONPage 14 Address 0x19

Access RW Value Bit [1] and Bit [5] = 1Bit 7 6 5 4 3 2 1 0

Field NA NA MLS SEL NA NA NA PROBE ON NADescription For PROBE ON and MLS Selection Mode

Table 19: Memory Map for Probe and PMUX Selection

Register Name Probe PMUX and LED SelectPage 14 Address 0x10

Access RW Value AR18: Bit [5] = 1, Bit [4:0] = 10011AR35: Bit [5] = 1, Bit [4:0] = 10111

Bit 7 6 5 4 3 2 1 0Field NA NA PROBE PMUX[4:0]

Description For PROBE and PMUX selection

Broadcom AR18-AR35-Series-AN10020

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Figure 22: Digital MCODE Signals (M01, M11/M13, and M231/M27) to Incremental Signals (INC)

Table 20: Memory Map for Calibration Bit

Register Name Chip_SettingsPage 14 Address 0x08

Access RW Value Bit [7:2]Bit 7 6 5 4 3 2 1 0

Field CFGSYNC[7:2] NA NADescription For MLS-INC Phase Calibration

Broadcom AR18-AR35-Series-AN10021

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Mon Total Phase Calibration1. Unlock EEPROM.

2. Write to SPI Address 0x19, with Bit [1] and Bit [5] =1 as shown in Table 18.

3. Write to SPI Address 0x10, with Bit [5] =1 as shown in Table 19.

4. Write to SPI Address 0x10, with Bit [4:0] from Table 19 based on this configuration:– AR18: 10011 and AR35: 10111.

5. Connect Pin 22, Pin 26, Pin 28, and Pin 30 to oscilloscope (Table 17).

6. Measure the following and calibration using register address 0x08 and 0x0B as shown Table 21.– Rising edge AND Falling edge of 3 Digital MCODE to Incremental (INT_MSB_INV).– Total Phase Target = 180 edeg ± 10 edeg.

7. Program EEPROM.

Table 21: Memory Map for Calibration Bit

Register Name Chip_SettingsPage 14 Address 0x08

Access RW Value Bit [7:2]Bit 7 6 5 4 3 2 1 0

Field CFGSYNC[7:2] NA NADescription For MLS-INC Phase Calibration

Register Name Customer Configuration3Page 14 Address 0x0B

Access RW Value Bit [7:2]Bit 7 6 5 4 3 2 1 0

Field Mon Select [7:2] NA NADescription For MON, Vmid and MON Total Phase Calibration

Broadcom AR18-AR35-Series-AN10022

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Encoder ConfigurationEncoder configurations allowed user to configure encoder for both Incremental Output and Absolute Resolution based on the memory map in Table 22.

Table 22: Memory Map for Incremental Output and Absolute Resolution Settings

Register Name Customer Configuration2Page 14 Address 0x0A

Access RW Value Bit [7:0] as per Table 23Bit 7 6 5 4 3 2 1 0

Field UVW Setting [7:5] I Width Setting [4:3] CPR Setting [2:0]Description For Incremental Output Settings

Register Name Customer Configuration3Page 14 Address 0x0B

Access RW Value Bit [1:0] as per Table 24Bit 7 6 5 4 3 2 1 0

Field NA NA NA NA NA NA Abs resolution [2:1]Description For Absolute Resolution Settings

Broadcom AR18-AR35-Series-AN10023

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Incremental Output Settings1. Unlock EEPROM.

2. Write to SPI Address 0x0A with values based on Table 23.

3. Program EEPROM.

Absolute Resolutions Settings1. Unlock EEPROM.

2. Write to SPI Address 0x0B with values based on Table 24.

3. Program EEPROM.

Table 23: Incremental Output Settings

Address Bit(s) Name Settings Output0x0A 5-7 UVW Setting [2:0] 0 2 pole-pairs

1 3 pole-pairs10 4 pole-pairs11 5 pole-pairs

100 12 pole-pairs101 30 pole-pairs110 32 pole-pairs111 32 pole-pairs

3-4 I-width Setting 0 90 edeg1 180 edeg

10 360 edeg11 90 edeg

0-2 CPR Setting 0 81921 4096

10 204811 1024

100 512101 256110 128111 128

Table 24: Absolute Resolution Settings

Address Bit(s) Name Settings Output0x0B 0-1 Abs Resolution AR35 Bit: 00 17 Bit

AR35 Bit: 01 21 BitAR18 Bit: 00 17 BitAR18 Bit: 01 19 BitAR18 Bit: 10 21 Bit

Broadcom AR18-AR35-Series-AN10024

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Calibration KitEncoder calibration can also be performed with the Broadcom Calibration Kit. The kit part number is: A21E-0010 - 21 Bits, AR18/35 Programming Cal. Kit

Calibration Kit PinoutConnect the supplied ribbon cable to encoder as shown in Table 25.

Table 25: CN8 (Ribbon Cable)

Calibration Kit Connector's Pin Description Connection to Encoder Pin1 CN_TST3 12 CP_TST2 23 SN_TST1 34 SP_TST0 45 SPI_DOUT 56 SPI_IN 67 SPI_CLK 78 VDD_Pad 89 VSS 9

10 SSI DOUT+ / RS485 Dout+ 1011 SSI DOUT– / RS485 Dout– 1112 SSI NSL 1214 SSI SCL 1417 ESL_SEL 1718 W+ 3420 V+ 3222 U+ 3024 VDDA 2825 VSSA 2726 I+ 2628 B+ 2430 A+ 22

Broadcom AR18-AR35-Series-AN10025

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Calibration Kit Interface1. Login using the user login and password provided.

2. Select encoder type from ENCODER SELECTION drop down menu (AR18/ AR35) as shown in Figure 23.

3. Configure encoder using USER CONFIG interface as shown in Figure 24. After configuration, click WRITE then SAVE CONFIGURATION.

4. Setup encoder to motor.

5. Run encoder at 60 rpm only.

6. Click START as shown in Figure 25 and wait for calibration to end (Green Circle).

Figure 23: Login Menu

Broadcom AR18-AR35-Series-AN10026

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Figure 24: User Configuration Interface

Figure 25: Encoder Calibration Interface

Broadcom AR18-AR35-Series-AN10027

AR18 and AR35 Series Application Note Miniature Programmable Single-Turn Absolute Encoder

Revision History

Version 1.0, October 3, 2017Initial release of document.

Broadcom, the pulse logo, Connecting everything, Avago Technologies, Avago, and the A logo are among the trademarks of Broadcom and/or its affiliates in the United States, certain other countries and/or the EU.

Copyright © 2017 by Broadcom. All Rights Reserved.

The term “Broadcom” refers to Broadcom Limited and/or its subsidiaries. For more information, please visit www.broadcom.com.

Broadcom reserves the right to make changes without further notice to any products or data herein to improve reliability, function, or design. Information furnished by Broadcom is believed to be accurate and reliable. However, Broadcom does not assume any liability arising out of the application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others.