| Electronic Components Datasheet Search |
|
AP32112 Datasheet(PDF) 9 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
AP32112 Datasheet(HTML) 9 Page - Infineon Technologies AG |
|
9 / 12 page ![]() 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 |
|
|
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 |
| 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 |