| поискавой системы для электроныых деталей |
|
UM0324 датащи(PDF) 78 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 датащи(HTML) 78 Page - STMicroelectronics |
|
78 / 105 page ![]() Library functions UM0324 78/105 TAC_GetRotorFreq GetLastTachoPeriod GetAvrgTachoPeriod Synopsis u16 TAC_GetRotorFreq (void) Description This routine returns rotor frequency with a unit that can be directly integrated (accumulated) to get the rotor angular position in the main control loop. Input None. Output Rotor mechanical frequency with rad/PWM period unit (2 π rad = 0xFFFF), assuming the control loop is executed in each and every PWM interrupt service routine. Functions called GetAvrgTachoPeriod, GetLastTachoPeriod (both private functions) Note Result is zero if speed is too low (glitches at start for instance). Excessive speed (or glitches) will result in a pre-defined value returned (see Section 2.2.4 on page 21). Maximum expectable accuracy depends on CKTIM: 60MHz will give the best results. Caution This routine returns the mechanical frequency of the rotor. To find the electrical speed, use the following conversion: electrical frequency = mechanical frequency * number of pole pairs Synopsis u32 GetLastTachoPeriod(void) Description This routine returns the rotor period based on the last tacho capture. Input None. Output Tacho signal period, unit is 1 CKTIM period, unsigned 32-bit format. Functions called None. Note This function is private to the 75x_tacho.c module. Synopsis u32 GetAvrgTachoPeriod(void) Description This routine returns returns the rotor period based on the average of the four last tacho captures. Input None. Output Tacho signal period, unit is 1 CKTIM period, unsigned 32-bit format. Functions called None. Note This function is private to the 75x_tacho.c module. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |