数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST72141K2 数据表(PDF) 56 Page - STMicroelectronics

部件名 ST72141K2
功能描述  8-BIT MCU WITH ELECTRIC-MOTOR CONTROL, ADC, 16-BIT TIMERS, SPI INTERFACE
PDF  132 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST72141K2 数据表(HTML) 56 Page - STMicroelectronics

Back Button ST72141K2 Datasheet HTML 52Page - STMicroelectronics ST72141K2 Datasheet HTML 53Page - STMicroelectronics ST72141K2 Datasheet HTML 54Page - STMicroelectronics ST72141K2 Datasheet HTML 55Page - STMicroelectronics ST72141K2 Datasheet HTML 56Page - STMicroelectronics ST72141K2 Datasheet HTML 57Page - STMicroelectronics ST72141K2 Datasheet HTML 58Page - STMicroelectronics ST72141K2 Datasheet HTML 59Page - STMicroelectronics ST72141K2 Datasheet HTML 60Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 56 / 132 page
background image
ST72141K
56/132
MOTOR CONTROLLER (Cont’d)
Autoswitched Mode
In this mode the MCOMP register content is auto-
matically computed in real time as described be-
low and in Figure 35. This register is READ ONLY.
The C event has no effect on the contents of the
MTIM timer.
When a Z event occurs the MTIM timer value is
captured in the MZREG register, the previous cap-
tured value is shifted into the MZPRV register and
the MTIM timer is reset. See Figure 26.
One of these two registers (depending on the DCB
bit in the MCRA register) is multiplied with the con-
tents of the MWGHT register and divided by 32.
The result is loaded in the MCOMP compare reg-
ister, which automatically triggers the next com-
mutation (C event)
Table 18. Multiplier Result
When an overflow occurs during the multiply oper-
ation, FFh is written in the MCOMP register and an
interrupt (O event) is generated if enabled by the
OIM bit in the MIMR register.
Figure 35. Commutation Processor Block
When the timer reaches this value an RPI interrupt
is generated (timer overflow).
After each shift operation the multiply is recomput-
ed for greater precision.
Using either the MZREG or MZPRV register de-
pends on the motor symmetry and type.
The MWGHT register gives directly the phase shift
between the motor driven voltage and the BEMF.
This parameter generally depends on the motor
and on the speed.
Auto-updated Step Ratio Register: In switched
mode, the MTIM timer is driven by software only
and any prescaler change has to be done by soft-
ware (see Section 8.1.4.2 for more details).
– In autoswitched mode an auto-updated prescal-
er always configures the MTIM timer for best ac-
curacy. Figure 34 shows process of updating the
Step Ratio bits:
– When the MTIM timer value reaches FFh, the
prescaler is automatically incremented in order
to slow down the MTIM timer and avoid an over-
flow. To keep consistent values, the MTIM regis-
ter and all the relevant registers are shifted right
(divided by two). The RPI bit in the MISR register
is set and an interrupt is generated (if RIM is set).
– When a Z-event occurs, if the MTIM timer value
is below 55h, the prescaler is automatically dec-
remented in order to speed up the MTIM timer
and keep precision better than 1.2%. The MTIM
register and all the relevant registers are shifted
left (multiplied by two). The RMI bit in the MISR
register is set and an interrupt is generated if RIM
is set.
– If the prescaler contents reach the value 0, it can
no longer be automatically decremented, the
MTC continues working with the same prescaler
value, i.e. with a lower accuracy. No RMI in-
terrrupt can be generated.
– If the prescaler contents reach the value 15, it
can no longer be automatically incremented.
When the timer reaches the value FFh, the pres-
caler and all the relevant registers remain un-
changed and no interrupt is generated, the timer
clock is disabled, and its contents stay at FFh
The PWM is still generated and the D and Z de-
tection circuitry still work, enabling the capture of
the maximum timer value.
The automatically updated registers are: MTIM,
MZREG, MZPRV, MCOMP and MDREG. Access
to these registers is summarised in Table 21.
DCB bit
Commutation Delay
0
MCOMP = MWGHT x MZPRV / 32
1
MCOMP = MWGHT x MZREG / 32
MWGHT [an+1]
MZREG [Zn]
§
A x B / 32
MZPRV [Zn-1]
§
3
DCB bit
SWA bit
MCOMP [Cn+1]
§
Z
set
8
8
8
n
n-1
O
To
§ = Register updated on R event
generator
interrupt
MCRA Register
MCRA Register



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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