A33230 ALLEGRO

Document overview

  • Manufacturer or author: Provided By www.digicamel.com(free datasheet download site)
  • PDF pages: 15

Technical content

The A33230 is an integrated circuit (IC) 3D Hall-effect sensor IC intended for position sensing of magnet targets. The IC incorporates vertical and planar Hall-effect elements with sensing axes that are orthogonal to one another, providing 90° phase separation. This phase separation is inherently independent of magnet pole spacing and air gap. The IC comes pre-programmed to XY , XZ, or YZ combinations while providing independent sine and cosine outputs. User- defined linearization and error compensation may be required. The A33230 is provided in a 5-pin SOT23-W package (suffix LH). The package is RoHS compliant and lead (Pb) free with a 100% matte-tin leadframe plating. A33230-DS, Rev. 3 MCO-0001164

  • 5 V supply voltage
  • Tiny SOT23-W
  • Pre-programmed axis combinations: XY , XZ, or YZ
  • Ratiometric outputs
  • Low output current
  • Two selectable sensitivities
  • AEC-Q100 grade 0 automotive qualified
  • Quality managed (QM) 3D Hall-Effect Sensor IC with Sine/Cosine Outputs PACKAGE: Figure 1: Functional Block Diagram Not to scale A33230 FEATURES AND BENEFITS DESCRIPTION February 28, 2024 5-Pin SOT23-W (Suffix LH) Amp Amp Amp Amp Front End Amplifier Front End Amplifier Anti-Aliasing LP Filter Anti-Aliasing LP Filter Tuned Filter Tuned Filter Back End Amplifier Back End Amplifier Output A Output B Hall Plates X or Y Z or Y

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems

955 Perimeter Road

Manchester, NH 03103-3353 U.S.A. www.allegromicro.com ABSOLUTE MAXIMUM RATINGS Characteristic Symbol Notes Rating Unit Forward Supply Voltage VCC 7 V Reverse Supply Voltage VRCC –0.1 V Forward Output Voltage VOUT 7 V Reverse Output Voltage VROUT –0.1 V Output Source Current IOUT(SOURCE) VOUT to GND 1 mA Output Sink Current IOUT(SINK) VCC to VOUT 10 mA Operating Ambient Temperature TA –40 to 150 °C Maximum Junction Temperature TJ(max) 165 °C Storage Temperature Tstg –65 to 170 °C SELECTION GUIDE Part Number Application Number of Die Package Packing A33230LLHALT-XY-S-AR-03 XY 300 G Single 5-pin SOT23-W (suffix LH) 3000 pieces per 7-inch reel A33230LLHALT-XY-S-AR-10 1000 G A33230LLHALT-XZ-S-AR-03 XZ 300 G A33230LLHALT-XZ-S-AR-10 1000 G A33230LLHALT-YZ-S-AR-03 YZ 300 G A33230LLHALT-YZ-S-AR-10 1000 G [1] For other package options, contact Allegro. THERMAL CHARACTERISTICS : May require derating at maximum conditions; see application information Characteristic Symbol Test Conditions* Value Unit *Additional thermal information available on the Allegro website. 20 40 60 80 100 120 140 160 180 Temperature (°C) Power Dissipation, P D (mW) 100 200 300 400 500 600 700 800 900 1000 1 100 1200 1300 1400 1500 1600 1700 1800 1900 4-Layer PCB, Package LH- θJA =124ºC/W) Maximum Power Dissipation versus Ambient Temperature

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com Pinout List Number Name Function

1 OUTPUTA Cosine/Sine Output

2 OUTPUTB Cosine/Sine Output

3 NC Not Connected (Connect to GND for optimal EMC performance)

4 GND Ground

5 VCC Supply Voltage

Vertical Hall (X) Vertical Hall (Y) Planar Hall (Z) Figure 2: Typical Application Circuit The load capacitance is optional for best noise performances. Typical value for CL is 1 nF. The load resistors are also optional with a pull-up configuration (gray) or a pull-down configuration (orange). * VPU ≤ VCC A33230100 nF CL CL VCC GND OUTB OUTA VCC RL RL RL RL VPU* VPU*

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com OPERATING CHARACTERISTICS: Valid over operating voltage and temperatures, unless otherwise specified Characteristics Symbol Test Conditions Min. Typ. [1] Max. Unit ELECTRICAL SUPPLY CHARACTERISTICS Supply Voltage VCC 4.5 5.0 5.5 V Supply Current ICC No load – 7.0 10 mA Output Source Current ISOURCE RL = 8 kΩ – 0.5 – mA Output Sink Current ISINK RL = 8 kΩ – 0.5 – mA ELECTRICAL PROTECTION CHARACTERISTICS Supply Zener Clamp Voltage VZSUPPLY ICC = ICC(MAX) + 5 mA 7 – – V Reverse Supply Zener Clamp Voltage VRZSUPPLY ICC = –1 mA – – –0.1 V POWER-ON STATE CHARACTERISTICS Power-On Time [2] tPO Time from VCC ≥ VCC(min) to when OUTPUTA and OUTPUTB are >90% of steady-state value – 25 60 µs OUTPUT CHARACTERISTICS Voltage Range [2] VOUT(SAT)HIGH IOUT = 550 µA VCC – 0.5 – – V VOUT(SAT)LOW IOUT = –550 µA – – 0.5 V Input Magnetic Flux Density [2][3] B

1000 G option – 1000 1200 G

300 G option – 300 400 G

Quiescent Voltage Output (QVO) VOUT(Q) – VCC / 2 – V QVO Error VERROUT(Q) TA = 25°C –70 – 70 mV TA = –40°C to 150°C –125 – 125 mV Sensitivity Sens VCC = 5 V [4], 1000 G option, TA = 25°C 0.9 1.2 1.5 mV/G VCC = 5 V [4], 300 G option, TA = 25°C 2.7 3.6 4.5 mV/G Sensitivity Mismatch MMSENS (SensB – SensA) / SensA × 100% – ±3 – % Orthogonality Error OG Phase difference between sine and cosine signals (OG = φC – φS) – ±1 – degrees Input Referred Noise Density σ OUTA and OUTB, 1σ TA = 25°C – 4.5 – mGrms/ √Hz TA = 150°C – 8.25 – mGrms/ √Hz Output Effective Resolution ER |B| = 1000 G, 1σ, BW = 50 kHz TA = 25°C – 11 – bits TA = 150°C – 10 – bits |B| = 300 G, 1σ, BW = 50 kHz TA = 25°C – 9 – bits TA = 150°C – 8 – bits Slew Rate [5] SR CL = 5 nF 100 – – kV/s Response Time [5] tR Time from input magnetic sinusoidal stimulus to output response; BW = 50 kHz – 6.7 – µs Bandwidth [5] BW 35 50 75 kHz [1] Typical values at VCC = 5 V and TA = 25°C, unless otherwise specified. Performance may vary for individual units, within the minimum and maximum limits. [2] Specification is guaranteed by design and characterization. [3] Input Magnetic Flux Density can exceed the maximum limit presented in the table without damaging the device. Device channel linearity error will deteriorate if the limit is exceeded. [4] Sensitivity of the device will change with VCC because the output is ratiometric. If VCC is different from 5 V, use the following equation to solve for the sensitivity: Sens(VCC) = Sens(5V) × VCC / 5 V. [5] Specification is guaranteed by design. Continued on next page...

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com OPERATING CHARACTERISTICS (continued): Valid over operating voltage and temperatures, unless otherwise specified Characteristics Symbol Test Conditions Min. Typ. [1] Max. Unit ACCURACY PERFORMANCE Channel Linearity Error ERRLIN Error of device output relative to an ideal output; Offset Ratiometry Error ERRRAT(QVO) Error of VOUT(Q) relative to a perfectly ratiometric response for VCC = 5 V ±0.5 V, relative to 5 V –1 – 1 % Sensitivity Ratiometry Error ERRRAT(SENS) Error of Sens relative to a perfectly ratiometric response for VCC = 5 V ±0.5 V, relative to 5 V –5 – 5 % Angle Micro-Linearity Error ERRµLIN(θ) Over 1° input range; |B| = 300 G; Typ. = 3 σ – ±0.15 – degrees ANGLE PERFORMANCE Native Angle Error [2][3][4] ERRANG(NAT,300) No Correction [6], RPM = 0 Valid for |B| = 300 G –6.1 ±2.2 6.1 degrees ERRANG(NAT,1000)[5] Valid for |B| = 1000 G –3.3 ±1.2 3.3 degrees One Time External Correction [2][3][4] ERRANG(OT, 300) Ideal External Offset, Amplitude, and Phase correction at TA = 25°C, RPM = 0 Valid for |B| = 300 G –5.1 ±1.8 5.1 degrees ERRANG(OT,1000) [5] Valid for |B| = 1000 G –2.9 ±1.0 2.9 degrees Dynamic External Correction [2][3][4] ERRANG(DYN) Ideal External Phase correction at TA = 25°C with Cycle-by-Cycle Offset and Amplitude Correction; RPM = 0 Valid for both |B| = 300 G and |B| = 1000 G –0.7 ±0.2 0.7 degrees Harmonic Distortion Error ERRANG(HD) Resulting Error after Ideal External Offset, Amplitude, and Phase Correction; RPM = 0 – ±0.2 – degrees Angle Noise [7] σθ |B| = 1000 G TA = 25°C – 0.07 – °RMS TA = 150°C – 0.13 – °RMS |B| = 300 G TA = 25°C – 0.24 – °RMS TA = 150°C – 0.44 – °RMS Angle Effective Resolution [7] ERθ Log2(360/σ θ), |B| = 1000 G TA = 25°C – 12 – bits TA = 150°C – 11 – bits Log2(360/σ θ), |B| = 300 G TA = 25°C – 10 – bits TA = 150°C – 9 – bits OUTPUT REQUIREMENTS Output Load Capacitance [8] CL Capacitance between each output and ground 0 – 5 nF Output Load Resistance [8] RL Resistance between each output and ground 8 – ∞ kΩ [1] Typical values at VCC = 5.0 V and TA = 25°C, unless otherwise specified. Performance may vary for individual units, within the minimum and maximum limits. [2] The angle accuracy depends on the magnetic system, calibration procedure, and the compensation method of the ECU. [3] Parameters are valid over operating temperature and operating voltage. A total population of 180 devices consisting of three unique wafer fabrication lots were used. [4] Specification maximum value is equal to the mean of the absolute maximum angle error plus three sigma. This value is determined by characterization. [5] Specification maximum value is interpolated based off silicon evaluation measurements. This value is determined by characterization. [6] Native Angle Error specification assumes both voltage outputs are reduced by VCC/2 for the arctangent CORDIC calculation. [7] Theoretical value derived from the output referred noise. [8] Specification is guaranteed by design. South polarity magnetic fields, in the orientations illustrated (above), are considered positive fields. S N N Z N S X Y S

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC PLOTS Offset Error -40 -15 25 85 125 150 Temperature [°C] -60 -30 120Offset Error [mV] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3 Figure 3: Average X,Y Offset Error ±3σ over Temperature and VCC Figure 4: Average X,Y Offset Error Temperature Drift ±3σ over Temperature and VCC -40 -15 25 85 125 150 Temperature [°C] -60 -30 120Offset Error [mV] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3 Figure 5: Average Z Offset Error ±3σ over Temperature and VCC Figure 6: Average Z Offset Error Temperature Drift ±3σ over Temperature and VCC -40 -15 25 85 125 150 Temperature [°C] -60 -30 120Offset Error [mV] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3 -40 -15 25 85 125 150 Temperature [°C] -60 -30 120Offset Error [mV] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC PLOTS (continued) Sensitivity Figure 7: 300 G Option, Average Sensitivity +3σ over Temperature and VCC Figure 8: 300 G Option, Average Sensitivity -3σ over Temperature and VCC Figure 9: 300 G Option, Average X,Y Sensitivity Temperature Drift +3σ over Temperature and VCC Figure 10: 300 G Option, Average Z Sensitivity Temperature Drift +3σ over Temperature and VCC -40 -15 25 85 125 150 Temperature [°C] 2.4 2.8 3.2 3.6 4.4 4.8Sensitivity [mV/G] 4.5V 4.5V+3 5.0V 5.0V+3 5.5V 5.5V+3 -40- 15 25 85 1251 50 Temperature [°C] 2.4 2.8 3.2 3.6 4.4 4.8Sensitivity [mV/G] 4.5V 4.5V-3 5.0V 5.0V-3 5.5V 5.5V-3 -40 -15 25 85 125 150 Temperature [°C] -0.9 -0.6 -0.3 0.3 0.6 0.9 Sensitivity [mV/G] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3 -40 -15 25 85 125 150 Temperature [°C] -0.9 -0.6 -0.3 0.3 0.6 0.9 Sensitivity [mV/G] 4.5V 4.5V+3 4.5V-3 5.0V 5.0V+3 5.0V-3 5.5V 5.5V+3 5.5V-3

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC PLOTS (continued) Angle Performance Figure 11: Average |Max| Native Angle Error +3σ over Temperature and VCC Figure 12: 300 G Option, Average |Max| Native Angle Error +3σ over Temperature and Field [1] Figure 13: 1000 G Option, Average |Max| Native Angle Error +3σ over Temperature and Field [1] [1] The data represented in Figure 12 and Figure 13 is meant to show a characteristic trend in behavior over magnetic field, not to guarantee performance by characterization. -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 4.5V 4.5V+3 5.0V 5.0V+3 5.5V 5.5V+3 -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 250.0G 250.0G+3 300.0G 300.0G+3 600.0G 600.0G+3 -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 900.0G 900.0G+3 1200.0G 1200.0G+3

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC PLOTS (continued) Angle Performance (continued) Figure 14: Average |Max| One Time Correction Angle Error +3σ over Temperature and VCC Figure 15: 300 G Option, Average |Max| One Time Correction Angle Error +3σ over Temperature and Field [1] Figure 16: 1000 G Option, Average |Max| One Time Correction Angle Error +3σ over Temperature and Field [1] [1] The data represented in Figure 15 and Figure 16 is meant to show a characteristic trend in behavior over magnetic field, not to guarantee performance by characterization. -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 4.5V 4.5V+3 5.0V 5.0V+3 5.5V 5.5V+3 -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 250.0G 250.0G+3 300.0G 300.0G+3 600.0G 600.0G+3 -40 -15 25 85 125 150 Temperature [°C] 1.6 3.2 4.8 6.4 Average |MAX| Angle Error [°] 900.0G 900.0G+3 1200.0G 1200.0G+3

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC PLOTS (continued) Angle Performance (continued) Figure 17: Average |Max| Dynamic Correction Angle Error +3σ over Temperature and VCC -40 -15 25 85 125 150 Temperature [°C] 0.3 0.6 0.9 1.2 1.5Average |MAX| Angle Error [°] 4.5V 4.5V+3 5.0V 5.0V+3 5.5V 5.5V+3

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com CHARACTERISTIC DEFINITIONS Quiescent Voltage Output In the quiescent state (no significant magnetic field: B = 0 G), the output, VOUT(Q), is at a constant ratio to the supply voltage, VCC, across the entire operating ranges of VCC and Operating Ambi- ent Temperature, TA. The ideal quiescent state output is VCC / 2, so any deviations between VOUT(Q) and VCC / 2 is QVO Error, VERROUT(Q). Equation 1: = ( − 2 ) ( )( ) QVO Temperature Drift As operating temperature changes, VOUT(Q) will drift. VOUT(Q)(TC) is meant to describe this behavior relative to VOUT(Q) at 25°C expressed in Equation 2 as: Equation 2: ( ) = −25° ( ) ( )( ) ( )( ) 25° Sensitivity The amount of the output voltage change is proportional to the magnitude and polarity of the magnetic field applied. This pro- portionality is specified as the magnetic sensitivity, Sens (mV/G), of the device and is defined in Equation 3: Equation 3: ( +)− ( −) ( +)−( −) where B+ is the magnetic flux density in a positive field (south polarity) and B– is the magnetic flux density in a negative field (north polarity). The sensitivity of the device will change with a change in VCC, so use the equation in footnote 4 on page 4. Sensitivity Temperature Drift As operating temperature changes, the sensitivity of the device will change. SENSTC is meant to describe this behavior relative to SENS at 25°C, expressed in Equation 4 as: Equation 4: ( ) − 25° −25° Sensitivity Error The A33230 is designed to provide linear outputs in response to a ramping applied magnetic field. Consider two magnetic fields, B1 and B2. Ideally, the sensitivity of a device is the same for both fields for a given supply voltage and temperature. Sensitivity error is present when there is a difference between the sensitivi- ties measured at B1 and B2. Sensitivity Error, SensERR, is calculated separately for positive (SensERR+) and negative (SensERR–) applied magnetic fields. SensERR (%) is measured and defined as follows: Equation 5: + = ( 1 − ( +)2 ( +1 ) ) × 100 (%) − = 1 − ( −2 ) ( −1 ) × 100 (%)( ) where Equation 6: | ( )− ( ) | Channel Linearity Error Channel linearity error, ERRLIN, quantifies the deviation of OUTPUTA/B over an applied magnetic field relative to a perfect line. The ideal VOUT of the device is comprised of the Applied Field (BA) multiplied by the device’s sensitivity (Sens) plus the device’s Offset (VOUT(Q)). This is expressed in Equation 7 as: Equation 7: = −( × + ) | × + | ×100% ( ) ( ) ( ) The device will provide a linear output within specification for any BA ≤ BMAX. For BA > BMAX, channel linearity performance will no longer be guaranteed. Offset Ratiometry Error Offset ratiometry error, ERRRAT(QVO), quantifies the non-linearity of OUTPUTA/B’s offset (VOUT(Q)) over a changing supply volt- age when there is 0 G of applied magnetic field. This is expressed in Equation 8 below. VOUT(Q) will change with a change in VCC.

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com Equation 8: ( ) = ( − (5 ) ) − ( − (5 )) (5 ) ×100% ( ) (5 )( )⎡ (VCC )( ) Sensitivity Ratiometry Error Sensitivity ratiometry error, ERRRAT(SENS), quantifies the non- linearity of OUTPUTA/B’s sensitivity over a changing supply voltage at a fixed magnetic field. This is expressed in Equation 9 below. Sens will change with a change in VCC. Equation 9: ( ) = ( − 5 )) (5 ) −( − (5 )) (5 ) ×100% ⎡ ()( Offset, Amplitude, Phase Correction, and Angle Derivation The device provides sine and cosine signals whose argument is the local in-plane magnetic field angle. These signals are used downstream by the system for an angle derivation performed externally to the device. This section explains the typical angle derivation which includes offset, amplitude, and phase correction of the sinusoidal signals. The two signals provided by the sensor are denoted x and y and can be modelled as follows: ( ) = cos( + ) + ( ) = sin( + ) + o o where AC, AS are the amplitude of the cosine and sine signals, OC, OS are the offset of the cosine and sine signals, and φC, φS are the phase of the cosine and sine signals, with respect to an arbitrary angle reference. The above parameters are typically obtained in a calibration step or learned dynamically during the operation of the device by an external system. The parameters can be derived at different fields and or temperatures. Contact Allegro for further information on how to derive these parameters. Once the above list of parameters is available, the offset, ampli- tude, and phase correction can be applied on every new (x,y) samples simultaneously acquired from the sensor. The correction must be performed as follow: Offset removal and amplitude normalization: = (θ)− = (θ)− O O, 1. Impose quadrature between the two signals by phase-shifting one of the two signals: = ( ) + 1 ( ) C – S C – S The pair of signals obtained can then be used to compute an angle value using an arctangent function. The resulting angle value includes a phase shift that must be removed: θ = atan2D(ynorm, xquad) θ = (θ + φS) – φS 0 50 100 150 200 250 300 350 400 Angle [°] -0.8 -0.6 -0.4 -0.2 0.2 0.4 0.6 0.8 Calculating Native Angle Error Native Angle Error is meant to reflect the A33230’s true angle performance without any external signal corrections. An example of calculating the Native Angle Error of the A33230 relative to an arbitrary reference angle, θREF, can be seen as follows. 1. Angle is set to be θREF, resulting in: ( ) = cos( + ) + ( ) = sin( + ) + o o REF REF REF REF 2. Before performing the atan2(y,x) function, the x and y waveforms must be centered about 0. Subtracting the ideal VOUT(Q) value, VCC / 2, from each output will accomplish this without removing each output’s VOUT(Q) errors. = ( ) − 2 = ( ) − 2

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com 3. Now the atan2(y,x) function can be used to solve for an angle value. θNAT = atan2(ynorm, xnorm) 4. Finally, solve for the resulting Native Angle Error. ERRANG(NAT)θREF = θNAT – θREF Calculating Angle Micro-Linearity Error Angle Micro-Linearity Error, ERRµLIN(θ), is used to reflect the gradient of Native Angle Error over any 1° increment. For a single 1° step, ERRµLIN(Θ) can be solved by taking the report angle value at ANG(Θ+1°) and subtracting the angle value at ANG(Θ) + 1°. This is described in the following equation: ERRµLIN(θ) = ANG(θREF+1°) – (ANG(θREF) + 1°) Conceptually, this is the same as taking the difference in Native Angle Error over any 1° increment. Calculating One-Time Corrected Angle Error To improve Angle Accuracy relative to Native Angle Error, a one- time correction can be applied to each A33230 output. An End-of- Line (EOL) calibration at 25°C is required in this case to solve for the parameters AC, AS, OC, OS, φC, and φS. Once these parameters are solved for, they can be used to compensate the A33230’s real-time output in-application. The equations outlined in the Offset, Amplitude, Phase Correction, and Angle Derivation section describe the necessary steps to achieve a corrected angle value. Calculating Dynamic Correction Angle Error Offset, amplitude, and phase of the corrected sine and cosine waves will change with temperature, so using the compensation factors solved for at 25°C for all operating ranges will inject error into the system. To reduce Angle Error even further, an external system can apply an algorithm to dynamically adjust the offset (OC, OS) and amplitude (AC, AS) parameters in-application. Once these parameters are solved for, they can be used to compen- sate the A33230’s real-time output in-application. An example show- ing an external peak detector can be seen in the following section. Recommended External Peak Detector for Dynamic Correction Implementing a simple peak detector algorithm can provide users with a method to dynamically correct offset and amplitude over temperature. This peak-detector will monitor the maximum and minimum amplitudes of the corrected sine and cosine waveforms throughout operation. When a change in amplitude or offset occurs, it can be dynamically removed after a recommended rotation of 270°. A summary of this process is described below. 1. 25°C calibration is performed to solve and compensate the native sine and cosine waveforms: ⎧ = − = − = tan( − ) + 1 cos( − ) − = 2D( , ) = ( − ) − 2. Track the maximum and minimum values of the corrected sine and cosine waveforms in operation. Once a recommended 270° of rotation has occurred, recalculate the offset and amplitude compensation factors. ⎧ = max( ) + min ( ) = max( ) + min ( ) ⎧ = max( ) – min ( ) = max( ) – min ( ) ⎧ = − = − = tan( − ) + 1 cos( − ) − = 2D( , ) = ( − ) −

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com PACKAGE OUTLINE DRAWING Figure 18: Package LH, 5-Pin SOT23-W B C For Reference Only – Not for Tooling Use (Reference Allegro DWG-0000628, Rev. 1) Dimensions in millimeters – NOT TO SCALE Dimensions exclusive of mold flash, gate burrs, and dambar protrusions Exact case and lead configuration at supplier discretion within limits shown

0.20 MIN

2.40 0.70 0.95 1.00 PCB Reference Layout View D D D D D D D3 D2 D D D D D SEATING PLANE GAUGE PLANE 0.55 REF 0.25 BSC 0.95 BSC Branded Face 2.90 0.17 REF 0.11 REF +0.10 –0.20 4° ±4° 8 × 10° ±5° REF 0.180+0.020 –0.053 0.05+0.10 –0.05

0.25 MIN

0.38 NOM

1.91+0.19 –0.06 2.975 +0.125 –0.076 1.00 ±0.13 0.40 ±0.10

5 AZAY AX

Standard Branding Reference View AAS 0.57 ±0.04 0.41 ±0.04 B C D Reference land pattern layout; all pads a minimum of 0.20 mm from all adjacent pads; adjust as necessary to meet application process requirements and PCB layout tolerances (reference EIA/JEDEC Standard JESD51-5). Branding Scale and appearance at supplier discretion Hall Elements (D1, D2, and D3), not to scale AX Active Area Distance, X Axis, 1.49 mm +0.26/–0.24. AX includes package length and die placement tolerances. AY Active Area Distance, Y Axis, 0.955 mm +0.245/–0.18. AY includes package width and die placement tolerances. AZ Active Area Depth, Z Axis, 0.28 ±0.04

3D Hall-Effect Sensor IC with Sine/Cosine OutputsA33230 Allegro MicroSystems Manchester, NH 03103-3353 U.S.A. www.allegromicro.com For the latest version of this document, visit our website: www.allegromicro.com

Revision History

– November 17, 2021 Initial release

1 December 1, 2021

Removed Orthogonality Error footnote and Sample Refresh Rate characteristic (page 4); removed Angle Micro-Linearity Error footnote, Footnote 2 (page 5); updated Native Angle Error, One Time External Correction, and Dynamic External Correction values (page 5); updated Figures 7-10 (page 7); updated Calculating Angle Micro-Linearity Error section (page 13); updated package drawing notes AX and AY (page 14). 2 January 17, 2022 Updated Features and Benefits (page 1) and “Delay Time” to “Response Time” (page 4); corrected Native Angle Error, One Time External Correction, and Dynamic External Correction values (page 5)

3 February 28, 2024 Updated equations (page 13) and package branding (page 14)

Copyright 2024, Allegro MicroSystems. Allegro MicroSystems reserves the right to make, from time to time, such departures from the detail specifications as may be required to permit improvements in the performance, reliability, or manufacturability of its products. Before placing an order, the user is cautioned to verify that the information being relied upon is current. Allegro’s products are not to be used in any devices or systems, including but not limited to life support devices or systems, in which a failure of Allegro’s product can reasonably be expected to cause bodily harm. The information included herein is believed to be accurate and reliable. However, Allegro MicroSystems assumes no responsibility for its use; nor for any infringement of patents or other rights of third parties which may result from its use. Copies of this document are considered uncontrolled documents.