Electronic Components Datasheet Search
  English  ▼

X  

AN2030 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN2030
Description  BACK EMF DETECTION DURING PWM ON TIME BY ST7MC
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2030 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN2030 Datasheet HTML 5Page - STMicroelectronics AN2030 Datasheet HTML 6Page - STMicroelectronics AN2030 Datasheet HTML 7Page - STMicroelectronics AN2030 Datasheet HTML 8Page - STMicroelectronics AN2030 Datasheet HTML 9Page - STMicroelectronics AN2030 Datasheet HTML 10Page - STMicroelectronics AN2030 Datasheet HTML 11Page - STMicroelectronics AN2030 Datasheet HTML 12Page - STMicroelectronics AN2030 Datasheet HTML 13Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 11 / 13 page
background image
11/13
BACK EMF DETECTION DURING PWM ON TIME BY ST7MC
5 APPENDIX
Following code will be put in the commutation interrupt routine MTC_C_D_IT.
if (MCPUH < threshold_duty)
// if D< threshold_duty , sample at PWM off time.
{
SET_MTC_PAGE(1);
MCONF = mem_MCONF;
SET_MTC_PAGE(0);
MCRC = mem_MCRC;
PEDDR = 0x00;
//PE7 to PE4 floating Input.
PEOR = 0x00;
//PE3 to PE0 floating Input.
}
else
// if D> threshold_duty, sample at PWM on time.
{
SET_MTC_PAGE(1);
MCONF = mem_MCONF_ontime;
SET_MTC_PAGE(0);
MCRC = mem_MCRC_ontime_HF;
PEDDR = 0x0F;
//PE7 to PE4 floating Input
PEOR = 0x0F;
//PE3 to PE0 push pull output
PEDR = 0;
//PE1,2,3=0
}
In the head file MTC_Settings_Sensorless.h, some variables are defined as:
#define mem_MCONF
((u8)2)
// Sample during PWM off time
#define mem_MCONF_ontime ((u8)162)
// Sampling during PWM on time, 25us delay
#define mem_MCRC
((u8)67)
// Internal voltage reference
#define mem_MCRC_ontime_HF((u8)79)
// External reference voltage, Z sampled at high frequency
#define threshold_duty
((u8)16)
// at fs=18.1k, T=883, this number corresponds to
around 60%



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com