Skip to main content

Motor Solution Using a Magnetic Encoder

Overview

Description

The motor solution using a magnetic encoder is a solution to control motor by combining the permanent magnet synchronous motor (brushless DC motor) and the magnetic encoder. This solution enables to easily evaluate motor control using a magnetic encoder by using sample software in combination with the motor solution kit. Also, can easily check the functions, settings, and software processing of MCU for acquiring position information from the magnetic encoder.

What is a magnetic encoder?

A magnetic encoder is a kind of position sensor used for motor control or a sensor that converts the change in the magnetic field into an electric signal to output. The magnetic encoder has two types, The one outputs position information as an analog signal and the other outputs it as a digital signal like encoder. The magnetic encoder which outputs the digital signal can detect an angle using the timer function of the MCU like optical encoder. The magnetic encoder which outputs the analog signal, on the other hand, obtains the output signal (sin, cos) of sensor with the AD mounted on MCU and angle information with arc tangent.

Magnetic encoder outputting digital

Image
Magnetic encoder outputting digital

Magnetic encoder outputting analog

Image
Magnetic encoder outputting analog

System configuration

Magnetic encoder outputting digital

Image
Magnetic encoder outputting digital

Magnetic encoder outputting analog

Image
Magnetic encoder outputting analog

Output signal correction by the magnetic encoder which outputs analog

The magnetic encoder which outputs the analog signal can obtain correct angle information by adjusting offset , gain (amplitude) and phase for the outputted analog signal. In this solution, these are automatically adjusted during startup, which enables to obtain correct angle information. If you use the magnetic encoder which outputs the digital signal, please refer to the sample software for vector control using encoder.

Offset・gain correction

Image
Offset・gain correction

Phase correction

Image
Phase correction

In this solution, the operation has been confirmed using TMR magnetic encoder by TDK, TAD2141 (digital output) and TAS2143 (analog output).


System configuration & Solution menu list

Image
システム構成と提供物

Features

  • Ready to evaluate vector control motor control solution using the magnetic encoder
  • Sensor output processing sample software for customer shorten the development time.
  • Angle correction function by sensor output correction sample software

Comparison

Applications

Software

Software Downloads

Type Title Date
Sample Code Log in to Download ZIP 22.93 MB 日本語
Application: Industrial
Compiler: CC-RX Function: Application Example IDE: CS+, e2 studio
1 item

Documentation

Type Title Date
Application Note PDF 1.30 MB 日本語
1 item