dsPIC30F
9.3.2
PWM TIME BASE
The Up/Down Counting modes support center aligned
The PWM time base is provided by a 15-bit timer with
a prescaler and postscaler. The PWM time base can be
configured for four different modes of operation:
PWM generation. The Single-Shot mode allows the
PWM module to support pulse control of certain
Electronically Commutated Motors (ECMs).
?
?
?
?
Free Running mode
Single-Shot mode
Continuous Up/Down Count mode
Continuous Up/Down Count mode with interrupts
for double-updates
Table 9-1 lists the frequencies and resolutions that can
be attained as a function of the dsPIC30F device
instruction cycle frequency.
TABLE 9-1:
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS, 1:1 PRESCALER
T CY (F CY )
33 ns (30 MHz)
33 ns (30 MHz)
50 ns (20 MHz)
50 ns (20 MHz)
100 ns (10 MHz)
100 ns (10 MHz)
200 ns (5 MHz)
200 ns (5 MHz)
PTPER Value
0x7FFF
0x03FF
0x7FFF
0x01FF
0x7FFF
0x00FF
0x7FFF
0x007F
PWM Resolution
16 bits
11 bits
16 bits
10 bits
16 bits
9 bits
16 bits
8 bits
PWM Frequency*
915 Hz
29.3 KHz
610 Hz
39.1 KHz
305 Hz
39.1 KHz
153 Hz
39.1 KHz
* PWM frequencies will be 1/2 the value indicated for center aligned operation.
9.4
QEI Module
The QEI module (Figure 9-3) includes:
Quadrature encoders (also referred to as Incremental
encoders or Optical encoders) are used in position and
speed detection of rotating motion systems.
Quadrature encoders enable closed loop control of
many motor control applications, such as Switched
Reluctance (SR) motor and AC Induction Motor
(ACIM).
Typically, three outputs, termed: Phase A, Phase B and
INDEX, provide information that can be decoded to
provide information on the movement of the motor shaft
including distance and direction.
A Quadrature Decoder captures the phase signals and
index pulse and converts the information into a numeric
count of the position pulses. Generally, the count will
increment when the shaft is rotating one direction and
decrement when the shaft is rotating in the other
direction.
DS70043F-page 28
? Three input pins for two-phase signals and index
pulse
? Programmable digital noise filters on inputs
? Quadrature decoder providing counter pulses and
count direction
? 16-bit up/down position counter
? Count direction status
? X2 and X4 count resolution
? Two modes of position counter reset
? General Purpose16-bit Timer/Counter mode
? Interrupts generated by QEI or counter events
? 2005 Microchip Technology Inc.
相关PDF资料
MA320002 MODULE PLUG-IN PIC32 USB OTG
MA320011 MODULE PLUG-IN PIC32MX220F32D
MA330024 MODULE PLUG-IN DSPIC33F 100TQFP
MA330027 MODULE PLUG-IN DSPIC33F 100TQFP
MA330029 MODULE PLUG-IN DSPIC33FJ16GP102
MA9D00-42 DSUB CONN W/DIAGNOSTIC PORT STRT
MAI ADAPTER PUSH-ON/M-SWTCH ATTCHMNT
MAV0020RP VARISTOR ARRY 2ELEMENT 120V 0405
相关代理商/技术参数
MA300013 制造商:Microchip Technology Inc 功能描述:Tools Development kit Kit Con
MA300014 功能描述:子卡和OEM板 dsPIC30F 80L Plug In Sample (6014A) RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300015 功能描述:子卡和OEM板 dsPIC30F 80L Plug In Sample (6010A). RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300016 功能描述:子卡和OEM板 dsPICDEM 80-PIN PIM RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300118 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300128 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300140 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300228 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit