# Design principles and checklist for Hall effect sensors

August 31, 2022# Design requirements

- 15 firing positions — No bounce
- Minimal hysteresiwe435s — 0° ideal (which is not possible)
- Speed functionality — Minimum speed 50 RPM when operating, otherwise 0
- Poor axial stack-up conditions — Alignment 0.035 inches axially from nominal position
- Good radial stack-up conditions — Radial position of sensor held to 0.005 inches
- Gap to be large as possible to allow for maximum air flow for cooling of motor (this counters the minimal hysteresis statement)
- Radial gap of motor is centered on a 2 inch diameter
- Radial gap of motor is held to 0.010 inch nominal to allow for concentricity issues as well as thermal expansion
- Lowest cost possible (also counters the minimal hysteresis statement)
- Due to electronics packaging, the magnet with sensor must be less than 1.5 inches in diameter.
- Temperature range of -40° C to 125° C, with storage temp of 150° C

**Determine the types of Hall sensors that could work.**- Switch — Will work as it provides the on-off digital output electronics that it will work with
- Latch — This will also work but will require alternating poles
- Linear sensor — This will not work without additional electronics
- Power — This latching device will work, but the power capacity will be more expensive
- Programmable — Switching device will work, but will have to program each chip, which is more expensive than conventional switch or latch

**Analyze the options and select a sensor type.**- Switches and latches are both valid and similar in cost
- Power is not needed so no reason to use
- Programmable will work and allows options should they be needed considering the cost increase
- Based on the firing count of 15, a latching sensor with “reasonable” flux density switching points (B
_{op}and B_{rp}) would work well. Typically, the latching sensors will allow slightly lower to very reduced levels of required flux density and will help to minimize the hysteresis of the system.

**Select a specific sensor to start the preliminary analysis.**- Utilizing a Hall effect summary sheet from the manufacturer, select a sensor that meets the “reasonable” flux density level desired. Typically, this should be as low as possible to meet the hysteresis requirements, but not too low as there is a price versus performance trade-off.
- In this case, selecting the 3281 L-UA from Allegro will allow the “middle” ground to be analyzed on a preliminary basis. Once the preliminary analysis is completed, the selection of the Hall sensor may be reviewed and adjusted as necessary.

**Determine preliminary magnetic requirements.**

- Because this is a latch, the Hall sensor must see alternating north and south poles. The south poles will turn the sensor on and north will turn it off. This requires 15 pole pairs to receive 15 firing positions assuming that the system will only recognize leading edges of the electrical signal (when the signal turns on, not when it turns off). Pole pairs x 2 = total number of poles = 30 poles for this example.
- Since air gap will be critical in minimizing performance variations in production, it is best to try and maintain this as consistently as possible. Because stack up tolerances are less in the radial direction (0.005 inches) then in the axial direction (0.035 inches), the sensor system will be the most consistent if the sensor is used in a radial fashion.
- Because the sensor has an overall maximum thickness of 0.062 inches and a maximum width of 0.164 inches, the outside diameter of the air gap can be calculated. The flat of the sensor must fit inside the allowable diameter, so the radial position must first be calculated. This may be done with the following equation:

The gap OR may then be determined by subtracting the sensor thickness from the radial position. This results in 0.6835 inches for a gap OR. - Applying the radial positional tolerance variation of 0.010 inches (0.005 inches) to the gap OR of 0.6835 inches yields 0.6735 inches as a minimum gap OR. Assuming that the motor clearance (radial gap) of 0.010 inches is on the tight side, adjust the physical air gap to a minimum of 0.015 inches for a safety factor. This results in a maximum magnet OR of 0.6735 inches – 0.015 inches = 0.6585 inches or a 1.317 inch diameter.
- Using the magnet OD of 1.317 inches and applying a common tolerance rule, which is the greater of 0.3% or 0.002 inches, a tolerance of 0.004 inches may be assumed. This results in a nominal magnet diameter of 1.313 inches and 1.309 inches as a minimum diameter. The nominal arc length of a single pole may then be calculated as πD/N, where N is the total number of poles and D is the magnet OD. In this case, the arc length of a single pole is 0.1375 inches.
- The total effective air gap (TEAG) is a key element in the design of Hall sensor applications. The TEAG is the distance from the surface of the magnet to the location of the Hall element located inside the Hall sensor. In this particular case, the minimum, nominal and maximum TEAG’s should be determined for nominal operating conditions as well as worst case analysis. For the Allegro 3281 L-UA package the Hall element is recessed inside the IC package, which is 0.0195 inches, and applying a typical tolerance of 0.003 inches results in a range of 0.0165 inches to 0.0225 inches recess.
- The nominal TEAG may be calculated by the following equation:

- Calculate the maximum TEAG as follows:

- Continuing on to calculate the minimum TEAG:

- Comparing TEAG to the basic gap equation of:
*TEAG W*/ 2 where Wp is the arc length of a single pole. Wp is established in section <e> to be 0.1375 inches. This means that the TEAG 0.1375 / 2 = 0.06875 inches and the TEAG calculated in section <h> meets this criteria._{P} - Determine the required axial length of the magnet based on the equation:

*AL*2*TEAG**T**ap*where T_{ap}is the tolerance of axial position alignment. T_{ap}must include the positional tolerance of the IC and the positional tolerance of the Hall element internal to the IC. In this example, AL = 2 x 0.0515 inches + 0.070 inches + 0.010 inches = 0.183 inches for the preliminary analysis. - The only dimension of the magnet not identified at this point is the ID of the magnet. In order to provide a starting point for the ID of the magnet, some generic assumptions must be made. Assuming that an operating PC 1 is acceptable, one may estimate the ID of the magnet per the following equations:

where W_{p}is the arc length of a single pole, OD and ID refer to the outer and inner diameters of the magnet and AL refers to the axial length of the magnet. The first equation is only useful for obtaining a starting point when experience does not provide a guideline.

The second equation should usually be a constraint that the magnet must adhere to because it carries a relationship involving successful magnetization as well as a point of diminishing returns to the volume of the magnet. While segments may be pre- magnetized and glued together to obtain parts outside of this spectrum, it is not necessarily the best way to solve many designs. If molding a magnet to size, it is necessary to model with this limitation in place as magnetization will not significantly penetrate beyond this condition. Any additional gains will just provide additional safety factors to the design.

Based on the first equation, the ID may be estimated as 1.214 inches and the second equation validated by 0.099 < 1.5 x W_{p}= 0.206 inches. Adjustments during the refining of the design may occur but should still fit the second equation.

**Analyze the preliminary design.**- Analysis of the design requires selecting a material to use in the application. Based on the temperature and the multi-pole on the OD design, either sintered ceramic 1 or a radially oriented bonded ferrite magnet is likely to provide the most cost-effective solution. Due to the tolerance used of 0.3% the ceramic would require final grinding or a bonded magnet molded to size. In this example, the design will be based around a bonded ferrite magnet that is radially oriented. For this part’s temperature requirements and no stress condition, Plastiform 2060 will make an excellent low cost option.

Using an FEA/BEA or other custom package, analyze the flux density condition around the magnet based on nominal dimensions and tolerances. The best way to look at this initial information is a flux density versus rotation plot as shown below. Note there are only two poles shown as the remaining poles will theoretically have the same performance.

- Plot out the max B
_{op}and min B_{rp}values to determine the rotational hysteresis from the system. The graph shows that the rotational hysteresis will be about 1.5°. - Determine if this design is in the acceptable range. If lower hysteresis is desired, then either convert to a material that will provide a higher peak flux density, which in turn will create a faster transition rate and lower rotational hysteresis or identify another sensor that will switch at lower levels.

If the hysteresis is tighter than required, consider a chip with higher switching levels or a weaker material. In this case, a non-oriented (isotropic) material might be acceptable.

For this example, an acceptable level of 3° hysteresis will be assumed, which maintains a little safety factor in this design to cover the temperature and tolerance aspects.

- Analysis of the design requires selecting a material to use in the application. Based on the temperature and the multi-pole on the OD design, either sintered ceramic 1 or a radially oriented bonded ferrite magnet is likely to provide the most cost-effective solution. Due to the tolerance used of 0.3% the ceramic would require final grinding or a bonded magnet molded to size. In this example, the design will be based around a bonded ferrite magnet that is radially oriented. For this part’s temperature requirements and no stress condition, Plastiform 2060 will make an excellent low cost option.
**Begin worst case analysis of design.**- Using worst case Pc conditions, analyze the magnet for the operating load line. Worst case Pc for a ring magnet magnetized on the OD occurs with the following magnet dimensions:

**·**OD_{min}= 0.654 inches

**·**ID_{max}= 0.609 inches

**·**AL_{max}= 0.186 inches

By using a 3D FEA / BEA system or other custom software, the load line of the magnet may be found by determining the Bd_{ave}and Hd_{ave}at the neutral zone. The formula (Pc=Bd/Hd) may then be applied with these average values. This results in a Pc = -1.27 for this ring magnet condition. - Using the Pc value calculated, as well as the demag curve for this material, calculate the expected irreversible losses to this system. This requires use of the intrinsic permeance coefficient or Pc
_{i}= Pc + 1 when using the absolute values for Pc_{i}and Pc. In this case, Pc_{i}= 2.27 and is the slope plotted on the demagnetization curve.

Analyzing the intrinsic demagnetization curve and finding the intersections of each temperature curve with the intrinsic permeance coefficient will yield the temperature intrinsic induction (Bdi) values. Plotting these values versus temperature will show the performance as the temperature changes. Applying the reversible temperature coefficient to these temperature Bdi values will result in calculation of the short-term irreversible loss associated with this permeance condition. In this case, the STILT irreversible loss for -40° C will be 3.7% and you will note that the positive temperatures result in an increase in Br. This is not something that will happen as it will actually follow the original curve in this case. Using the value of 3.7% and doubling to simulate the long term irreversible losses (LTILT) results in an expected decay of 7.4%. - Identify conditions that create the worst-case scenario for the design.

**·**TEAG_{max}condition

**·**Maximum offset of Hall sensor alignment

**·**Maximum operating temperature

**·**Thermal demag due to TcHci (occurs at coldest temperature in ferrite)

**·**Least material condition of magnet (LMC), both physically and magnetically - Re-analyze system using these worst-case conditions:

**·**TEAG_{max}= 0.0515 inches

**·**OD_{min}= 0.654 inches

**·**ID_{max}= 0.609 inches

**·**AL_{min}= 0.180 inches

**·**Gap Radius = 0.0515 + 0.654 = 0.7055 inches

**·**Axial offset of sensor = 0.040 inches

**·**Br_{min}at 125° C = 2,090 – 7.4% irreversible loss = 1935 Gauss

**·**Hc_{min}at 125° C = 1,845 adjusted by 1845/2090 *1935 = 1708 Oe

Applying a 10% reduction to the rotational curve helps to serve as a safety factor in the design and for the potential of having missed some additional criteria. Once the flux density versus rotation curves are generated, the B_{op}and B_{rp}values should be analyzed to determine the worst case rotational hysteresis. In this case, the rotational hysteresis has increased to 3.5° and is outside the assumed acceptable limit of 3°. At this point, the design needs to be reviewed and determine if 3.5° is acceptable or if the design needs to be modified to reduce the hysteresis to less than 3°. If a design modification is required then reviewing stronger magnetic materials and Hall sensors with lower B_{op}and B_{rp}would be two common approaches to resolve this issue as well as adjusting the TEAG (less common as not always controllable). The assumption that the rotational hysteresis may now be up to 4° will be used in this example.

- Using worst case Pc conditions, analyze the magnet for the operating load line. Worst case Pc for a ring magnet magnetized on the OD occurs with the following magnet dimensions:
**Determine the critical evaluation factors for the design.**They are usually contradictory in nature, so they will have to be weighted appropriately. Some example factors are:

**·**System cost

**·**Solved by reducing AL and increasing ID to meet specifications and minimize magnet volume.

**·**Minimize irreversible losses

**·**Solved by reducing AL and decreasing ID to maximize length to area ratio or changing materials.

**·**Minimize variation in magnetic performance versus positional tolerances

**·**Solved by increasing AL of magnet to improve axial offset results. This may also result in the need to decrease the ID to maintain an acceptable Pc condition and irreversible loss value.

The potential solutions to these various factors demonstrate the contradictory nature in optimization. Balancing these factors to an acceptable solution is often a difficult and time-consuming process.

# Design checklist

**Start the “generic” design by selecting appropriate type of Hall sensor**

**·**Switch — Digital output

**·**Latch — Digital output requires alternating poles

**·**Linear sensor — Analog output proportional to B

**·**Power — High current latching device

**·**Programmable — Switching or linear with adjustable properties**Review sensors of desired type and select a “starting” point****Determine preliminary magnetic requirements**

**·**Pole configuration

**·**Alignment concerns

**·**Restricted space limitations

**·**TEAG variation

**·**Initial size of magnet**Analyze the preliminary design**- Select an initial material
- Use magnetics software such as BEA/FEA or custom package to analyze output of nominal conditions
- Analyze output of magnet with respect to Hall sensor specifications
- Could be linearity, B
_{op}, B_{rp}, B_{hys}, physical hysteresis - Determine if response is in acceptable range
- If not, then re-choose sensor or magnet material or configuration and begin the process again
- Once satisfied, proceed to step 5

- Could be linearity, B

**Begin worst case analysis of design.**- Calculate Pc for worst case permeance
- Use the Pc calculated along with the intrinsic demag curve to predict irreversible losses.
- Identify worst case scenario for the sensor systems design
- Analyze system for worst case scenario including irreversible losses
- If system fails requirements, return to factors under design control and start again
- If system passes requirements, continue on to step 6. Some designs may require comparison to best case conditions or opposite spectrum conditions for complete variation analysis

**Evaluate design for “critical factors” determining final design variation.**- System cost
- Minimize irreversible losses
- Minimize variation in magnetic performance versus positional tolerances

**Repeat all steps above as necessary to finalize design.**

# Checklist

**Select type of Hall effect device**

**Determine preliminary magnetic requirements**

**Analyze magnetic output**

_{op}

_{hys}

_{rp}

**Determine worst case operating conditions**

**Apply safety factor to magnetics:**

**Perform final analysis of design**

_{op}

_{hys}

_{rp}

**Optimize design for critical factors**