Electronic Components Datasheet Search
  English  ▼

X  

AP32112 Datasheet(PDF) 9 Page - Infineon Technologies AG

Part # AP32112
Description  TriCore Incremental Encoder Interface using the General Purpose Timer Unit (GPTU)
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

AP32112 Datasheet(HTML) 9 Page - Infineon Technologies AG

Back Button AP32112 Datasheet HTML 4Page - Infineon Technologies AG AP32112 Datasheet HTML 5Page - Infineon Technologies AG AP32112 Datasheet HTML 6Page - Infineon Technologies AG AP32112 Datasheet HTML 7Page - Infineon Technologies AG AP32112 Datasheet HTML 8Page - Infineon Technologies AG AP32112 Datasheet HTML 9Page - Infineon Technologies AG AP32112 Datasheet HTML 10Page - Infineon Technologies AG AP32112 Datasheet HTML 11Page - Infineon Technologies AG AP32112 Datasheet HTML 12Page - Infineon Technologies AG  
Zoom Inzoom in Zoom Outzoom out
 9 / 12 page
background image
AP32112
Incremental Encoder Interface
Implementation
Application Note
9
V1.1, 2007-03
To measure even lower speed values, fGPTU can be e.g. dynamically reduced. For higher
speed values the active edges can be set from both edges to only one edge to double
the
ω
max. To further exceed the maximum speed and/or the accuracy the software can
switch to method 2 to measure the timer between multiple edges. A configuration is
shown in Figure 6. Timer T2B is not cleared on every edge. The time and position
changes are measured in a control loop by the difference to the last values. The
calculation can be done quite fast if the 16-bit values of T2A and T2B are read using the
32-bit register GPTU_T2RC1 and the values are subtracted using packed halfword
substraction instruction sub.h.
Timer T0A with a reload value of FFH is used for signal conditioning, because Timer T2A
has dedicated edge selection for COUT_A and PLCP1_A. A direct connection of
channel A to COUT_A and PLCP1_A would results in an undefined signal order.
Figure 6
Encoder interface configuration for high speed (Method 2)
The maximum speed that can be measured can be expressed by
which means that there must be at least a timer tick for every pulse.
A more detailed analysis that takes the accuracy
δ and the control loop frequency f
C into
account results in a transcendental equation:
(6)
where
fC
:Control loop frequency
: floor(x) function
Encoder
Capture/Reload
T2ARC1
Capture/Reload
T2BRC1
Reload
T0RA
Timer T0A
Channel A
Channel B
UpDown_A
Count_A
RLCP1_A
RLCP1 B
Timer T2A
fGPTU
Timer T2B
(Timer)
(Quad. Counter)
ω
max
2
π
2N
------- f
GPTU
⋅
=
1
δ
–
δ
-----------
2N
2
π
------- ω
fC
-----
⋅
2
π
2N
-------
fGPTU
ω
---------------
⋅⋅
=
x



Html Pages

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


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