STMicroelectronics AN2501 Application Note for $T10 Electric Motor Control Library Current Sensing Driver

This application note describes the API set for implementing a current sensing strategy in electric motor control applications.


STMicroelectronics AN2501 Application Note for $T10 Electric Motor Control Library Current Sensing Driver - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
13
File format
PDF
File size
135 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
1696C39576E14FD9EC4F066A70F9E7DA

About this manual

The document details a set of functions included in the ST10 Electric Motor Control Library (EMCL) designed to process current measurements. It explains how to use two ADC channels to sample currents from shunt resistors, measuring one as an instantaneous value and the other as an average value.

A specific strategy is described for using a single A/D converter multiplexed on two channels to reduce costs while minimizing measurement errors. The note provides API specifications for initializing, starting, and registering control functions, along with details on synchronizing ADC sampling with PWM signals.

What's inside

  • Functions set overview
  • Overview on current sensing strategy
  • API specification
  • Synchronization of signals
  • Current_sensing_Init parameters
  • Current_sensing_Start parameters
  • Current_sensing_Register parameters

Specifications

Library Name$T10 electric motor control library (EMCL)
ADC Channels UsedTwo ADC channels (c1 and c2)
Measurement StrategyOne instantaneous, one average value

Frequently asked questions

What is the purpose of the Current_sensing_Init function?

This function configures two ADC channels in Injection Mode and synchronizes current sampling with the PWM period.

How many ADC channels are used to sample the currents?

The strategy uses two ADC channels to sample currents on two shunt resistors.

When are the current values available for control?

The current values are available for control only in the 2nd semiperiod of the PWM period.

Download PDF (135 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →