công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

DSPIC33FJ12MC02ESS bảng dữ liệu(PDF) 168 Page - Microchip Technology

tên linh kiện DSPIC33FJ12MC02ESS
Giải thích chi tiết về linh kiện  High-Performance, 16-Bit Digital Signal Controllers
PDF  284 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC33FJ12MC02ESS bảng dữ liệu(HTML) 168 Page - Microchip Technology

Back Button DSPIC33FJ12MC02ESS Datasheet HTML 164Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 165Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 166Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 167Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 168Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 169Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 170Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 171Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 172Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 168 / 284 page
background image
dsPIC33FJ12MC201/202
DS70265B-page 166
Preliminary
© 2007 Microchip Technology Inc.
15.1
Quadrature Encoder Interface
Logic
A typical incremental (or optical) encoder has three
outputs: Phase A, Phase B and an index pulse. These
signals are useful and often required in position and
speed control of ACIM and SR motors.
The two channels, Phase A (QEA) and Phase B (QEB),
have a unique relationship. If Phase A leads Phase B,
the direction of the motor is deemed positive or for-
ward. If Phase A lags Phase B, the direction of the
motor is deemed negative or reverse.
A third channel, termed index pulse, occurs once per
revolution and is used as a reference to establish an
absolute position. The index pulse coincides with
Phase A and Phase B, both low.
15.2
16-bit Up/Down Position
Counter Mode
The 16-bit up/down counter counts up or down on
every count pulse, which is generated by the difference
of the Phase A and Phase B input signals. The counter
acts as an integrator whose count value is proportional
to position. The direction of the count is determined by
the UPDN signal, which is generated by the
Quadrature Encoder Interface logic.
15.2.1
POSITION COUNTER ERROR
CHECKING
Position counter error checking in the QEI is provided
for and indicated by the CNTERR bit (QEICON<15>).
The error checking applies only when the position
counter is configured for Reset on the Index Pulse
modes (QEIM<2:0> = 110 or 100). In these modes, the
contents of the POSCNT register are compared with
the values (0xFFFF or MAXCNT + 1, depending on
direction).
If these values are detected, the CNTERR bit is set,
generating an error condition, and a QEI counter error
interrupt is generated. The QEI counter error interrupt
can
be
disabled
by
setting
the
CEID
bit
(DFLTCON<8>).
The position counter continues to count encoder edges
after an error has been detected. The POSCNT regis-
ter continues to count up/down until a natural rollover/
underflow. No interrupt is generated for the natural
rollover/underflow event.
The CNTERR bit is a read/write bit and is reset in
software by the user application.
15.2.2
POSITION COUNTER RESET
The Position Counter Reset Enable bit, POSRES
(QEI<2>), controls whether the position counter is reset
when the index pulse is detected. This bit is applicable
only when QEIM<2:0> = 100 or 110.
If the POSRES bit is set to ‘1’, the position counter is
reset when the index pulse is detected. If the POSRES
bit is set to ‘0’, the position counter is not reset when
the index pulse is detected. The position counter con-
tinues counting up or down, and is reset on the rollover
or underflow condition.
The interrupt is still generated on the detection of the
index pulse and not on the position counter overflow/
underflow.
15.2.3
COUNT DIRECTION STATUS
The QEI logic generates a UPDN signal, based upon
the relationship between Phase A and Phase B. In
addition to the output pin, the state of this internal
UPDN signal is supplied to an SFR bit, UPDN
(QEICON<11>), as a read-only bit. To place the state of
this signal on an I/O pin, the SFR bit, PCDOUT
(QEICON<6>), must be set to ‘1’.
15.3
Position Measurement Mode
Two measurement modes are supported, x2 and x4.
These modes are selected by the QEIM<2:0> mode
select bits located in SFR QEICON<10:8>.
When control bits QEIM<2:0> = 100 or 101, the x2
Measurement mode is selected and the QEI logic only
looks at the Phase A input for the position counter
increment rate. Every rising and falling edge of the
Phase A signal causes the position counter to be
incremented or decremented. The Phase B signal is
still used for the determination of the counter direction.
Within the x2 Measurement mode, there are two
variations of how the position counter is reset:
• Position counter reset by detection of index pulse,
QEIM<2:0> = 100
• Position counter reset by match with MAXCNT,
QEIM<2:0> = 101
When control bits QEIM<2:0> = 110 or 111, the x4
Measurement mode is selected and the QEI logic looks
at both edges of the Phase A and Phase B input
signals. Every edge of both signals causes the position
counter to increment or decrement.
Within the x4 Measurement mode, the position counter
can be reset two ways:
• Position counter reset by detection of index pulse,
QEIM<2:0> = 110.
• Position counter reset by match with MAXCNT,
QEIM<2:0> = 111.
The x4 Measurement mode provides for finer
resolution data (more position counts) for determining
motor position.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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