MIKROE Magnetic Rotary 4 Click

Magnetic Rotary 4 Click is a compact add-on board for accurate magnet-position sensing. This board features the AS5047D, an SPI-configurable high-resolution rotary position sensor for fast absolute angle measurement over a full 360-degree range from ams AG. The AS5047D is equipped with revolutionary integrated dynamic angle error compensation (DAEC™) with almost 0 latency and offers a robust design that suppresses the influence of any homogenous external stray magnetic field. It also comes with an onboard header reserved for incremental and commutation signals of their respective A/B/I and U/V/W signals alongside embedded self-diagnostics, including magnetic field strength, lost magnet, and other related diagnostic features. This Click board™ has been designed to support BLDC motor commutation for the most challenging automotive applications.

Magnetic Rotary 4 Click as its foundation uses the AS5047D, a high-resolution rotary position sensor for fast absolute angle measurement over a full 360-degree range from ams AG. The core of the AS5047D represents a CMOS technology Hall-effect magnetic sensor that converts the magnetic field component perpendicular to the surface of the chip into a digital value. It allows a host MCU to read 14-bit absolute angle position data from the AS5047D and to program non-volatile settings without a dedicated programmer. It is also equipped with a Dynamic Angle Error Compensation block that corrects the calculated angle regarding latency by using a linear prediction calculation algorithm.

The signals coming from internal Hall sensors are amplified and filtered before their conversion by the ADC and then processed by the CORDIC block to compute the angle and magnitude of the magnetic field vector. The intensity of the magnetic field is used by the automatic gain control (AGC) to adjust the amplification level to compensate for temperature and magnetic field variations.

Magnetic Rotary 4 Click communicates with MCU through a standard SPI interface supporting the common SPI mode, SPI Mode 1. This Click board™ also comes with an onboard header reserved for incremental and commutation signals of their respective A/B/I and U/V/W signals alongside embedded self-diagnostics. Incremental movements are indicated on a set of ABI signals with a maximum resolution of 2000 steps / 500 pulses per revolution in decimal mode and 2048 steps / 512 pulses per revolution in binary mode. The resolution of the ABI signal is programmable and can be reduced to 32 or 8 pulses per revolution.

Brushless DC (BLDC) motors are also controllable through a standard UVW commutation interface with a programmable number of pole pairs from 1 to 7. At constant rotation speed, the latency time is internally compensated by the AS5047D, reducing the dynamic angle error at the SPI, ABI, and UVW outputs, while at higher speeds, the interpolator fills in the missing ABI pulses and generates the UVW signals with no loss of resolution. The AS5047D allows selection between a UVW output interface and a PWM-encoded interface on the W pin, which can be seen as an absolute angle position.

Also, unique addition to this board is a position for a rotary magnet holder designed to be used alongside a magnetic rotary position sensor allowing fast prototyping and quick measurements during development.

This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.

  • Interface: SPI
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Supply Voltage: Min. 3.3V, Max. 5V
  • Rotation Angle Range: Min. 0 deg, Max. 360 deg
  • Orthogonal Magnetic Field Strength: Min. 35 mT, Max. 70 mT
  • Core Resolution: 14 bit
  • ABI Resolution: Min. 32 SpR, Max. 2048 SpR
  • Maximum Speed: 14500 RPM
  • Operating Temperature Range: Min. -40°C, Typ. +25°C, Max. +120°C

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.