COEF EMULATION STROBE Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Flutlichter COEF EMULATION STROBE herunter. TMS320x2833x, 2823x Enhanced Quadrature Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 43
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
TMS320x2833x, 2823x Enhanced Quadrature
Encoder Pulse (eQEP) Module
Reference Guide
Literature Number: SPRUG05A
August 2008 Revised December 2008
Seitenansicht 0
1 2 3 4 5 6 ... 42 43

Inhaltsverzeichnis

Seite 1 - Reference Guide

TMS320x2833x, 2823x Enhanced QuadratureEncoder Pulse (eQEP) ModuleReference GuideLiterature Number: SPRUG05AAugust 2008 – Revised December 2008

Seite 2

v(k)[x(k)* x(k * 1)T+DXT(1)v(k)[Xt(k)* t(k * 1)+XDT(2)2 DescriptionDescriptionwww.ti.comSome typical applications of shaft encoders include robotics a

Seite 3 - Contents

2.1 EQEP Inputs2.2 Functional Descriptionwww.ti.comDescriptionThe eQEP inputs include two pins for quadrature-clock mode or direction-count mode, an i

Seite 4

QWDTMRQWDPRD16QWDOGUTIMEQUPRDQUTMR32UTOUTWDTOUTQuadraturecapture unit(QCAP)QCPRDLATQCTMRLAT16QFLGQEPSTSQEPCTLRegistersused bymultiple unitsQCLKQDIRQIQ

Seite 5

www.ti.comDescriptionTable 1. EQEP Memory Map (continued)Size(x16)/Name Offset #shadow Reset Register DescriptionQPOSCTL 0x17 1/0 0x00000 eQEP Positio

Seite 6 - Read This First

3 Quadrature Decoder Unit (QDU)0110QAQB1100QDECCTL:QBPQuadraturedecoder00011011iCLKxCLKxCLKxCLK01111000iDIRxDIR10QDECCTL:QSRC2QFLG:PHEPHEQDECCTL:QAPx1

Seite 7

3.1.1 Quadrature Count Mode(00)(10)(11)(01)(A,B)=QEPAQEPBeQEP signals100100 11IncrementcounterDecrementcounterDecrementcounterIncrementcounterDecremen

Seite 8 - Enhanced QEP (eQEP) Module

+1 +1 +1+1 +1+1+1 −1 −1 −1−1 −1−1−1−1 −1−1 −1 +1+1+1−1 −1 −1 −1 −1 −1 −1 +1 +1 +1 +1 +1 +1 +1+1+1+1 +1 −1−1−1QAQBQCLKQDIRQPOSCNTQAQBQCLKQDIRQPOSCNT3.1

Seite 9 - Introduction

3.1.4 Down-Count Mode3.2 eQEP Input Polarity Selection3.3 Position-Compare Sync Output4 Position Counter and Control Unit (PCCU)4.1 Position Counter O

Seite 10 - 2 Description

F9DF9E0F9F321 4 3 12F9DF9EF9F0F9BF9C F9AF97F98F99QAQBQCLKQEPSTS:QDFQPOSCNT F9C 4 5F9F 0QIIndex interrupt/ index event markerQPOSILATQEPSTS:QDLF4.1.2 P

Seite 11 - 2.2 Functional Description

QAQBQCLKQDIRQPOSCNTOV/UFQAQBQCLKQDIRQPOSCNTOV/UF1 2 3 4 0 1 2 1 0 4 3 2 1 0 4 3 2 1 2 3 4 01 0 4 3 2 1 0 1 2 3 4 0 1 2 3 4 0 1 0 4 34.1.3 Position Cou

Seite 12 - 2.3 eQEP Memory Map

2 SPRUG05A – August 2008 – Revised December 2008Submit Documentation Feedback

Seite 13 - Description

4.2 Position Counter Latch4.2.1 Index Event LatchPosition Counter and Control Unit (PCCU)www.ti.comThe eQEP index and strobe input can be configured t

Seite 14 - Quadrature Decoder Unit (QDU)

F9CF9DF9EF9FFA0FA1FA2FA3FA4FA5FA4FA3FA2FA1FA0F9FF9EF9DF9CF9BF9AF99F98F97F9F 0QAQBQIQCLKQEPSTS:QDFQPOSCNTIndex interrupt/index eventmarkerQPOSILATQEPST

Seite 15

4.3 Position Counter Initialization4.4 eQEP Position-compare UnitQPOSCTL:PCSPW8PulsestretcherQFLG:PCMQPOSCNT32QPOSCMPQFLG:PCR32QPOSCTL:PCSHDWQPOSCTL:P

Seite 16

POSCMP=201234321012343210eQEP counterPCEVNTPCSOUT (active HIGH)PCSOUT (active LOW)PCSPWDIRQPOSCMPQPOSCNTPCSOUT (active HIGH)PCSPWPCSPWPCSPWPCEVNTwww.t

Seite 17 - Submit Documentation Feedback

5 eQEP Edge Capture Unitv(k)+Xt(k)* t(k * 1)+XDT(3)eQEP Edge Capture Unitwww.ti.comThe eQEP peripheral includes an integrated edge capture unit to mea

Seite 18

QCAPCTL:CENCapture timercontrol unit(CTCU)QCPRDQCTMRQCTMRLATQCPRDLAT16163-bit binarydividerx1, 1/2, 1/4...,1/128CAPCLKQCAPCTL:CCPS3SYSCLKOUT160xFFFF16

Seite 19

∆Xx(k−1)∆Tt(k)t(k−1)TQEPAQEPBQCLKQPOSCNTUPEVNTQCTMRUTOUTx(k)v(k)+x(k)* x(k * 1)T+DXTor(4)eQEP Edge Capture Unitwww.ti.comFigure 17. eQEP Edge Capture

Seite 20 - 4.2 Position Counter Latch

6 eQEP WatchdogQFLG:WTOQWDPRD16QWDTMR16QEPCTL:WDEQWDOGRESETSYSCLKOUT/64SYSCLKOUTQCLKWDTOUT7 Unit Timer Basewww.ti.comeQEP WatchdogParameter Relevant R

Seite 21

QFLG:UTOQUPRD32QUTMR32QEPCTL:UTEUTIMESYSCLKOUTUTOUT8 eQEP Interrupt StructureClrSetLatchQFRC:PCEPCEQCLR:PCEQFLG:PCEQEINT:PCEQCLR:UTOQFRC:UTOQEINT:UTOs

Seite 22

www.ti.comeQEP RegistersFigure 21. QEP Decoder Control (QDECCTL) Register15 14 13 12 11 10 9 8QSRC SOEN SPSEL XCR SWAP IGATE QAPR/W-0 R/W-0 R/W-0 R/W-

Seite 23

ContentsPreface ...

Seite 24 - 5 eQEP Edge Capture Unit

eQEP Registerswww.ti.comFigure 22. eQEP Control (QEPCTL) Register15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0FREE, SOFT PCRM SEI IEI SWI SEL IEL QPEN QCLM UT

Seite 25

www.ti.comeQEP RegistersTable 4. eQEP Control (QEPCTL) Register Field Descriptions (continued)Bits Name Value Description6 SEL Strobe event latch of p

Seite 26

eQEP Registerswww.ti.comTable 5. eQEP Position-compare Control (QPOSCTL) Register Field Descriptions (continued)Bit Name Description1 Load when QPOSCN

Seite 27 - 7 Unit Timer Base

www.ti.comeQEP RegistersFigure 25. eQEP Position Counter (QPOSCNT) Register31 0QPOSCNTR/W-0LEGEND: R/W = Read/Write; R = Read only; - n = value after

Seite 28 - 9 eQEP Registers

eQEP Registerswww.ti.comTable 10. eQEP Position-compare (QPOSCMP) Register Field DescriptionsBits Name Description31-0 QPOSCMP The position-compare va

Seite 29

www.ti.comeQEP RegistersFigure 32. eQEP Unit Timer (QUTMR) Register31 0QUTMRR/W-0LEGEND: R/W = Read/Write; R = Read only; - n = value after resetTable

Seite 30

eQEP Registerswww.ti.comTable 17. eQEP Watchdog Period (QWDPRD) Register Field DescriptionBits Name Value Description15-0 QWDPRD This register contain

Seite 31

www.ti.comeQEP RegistersTable 18. eQEP Interrupt Enable(QEINT) Register Field Descriptions (continued)Bits Name Value Description0 Interrupt is disabl

Seite 32

eQEP Registerswww.ti.comTable 19. eQEP Interrupt Flag (QFLG) Register Field Descriptions (continued)Bits Name Value Description3 QDC Quadrature direct

Seite 33

www.ti.comeQEP RegistersTable 20. eQEP Interrupt Clear (QCLR) Register Field Descriptions (continued)Bit Field Value Description5 PCU Clear position c

Seite 34

www.ti.comList of Figures1 Optical Encoder Disk ...

Seite 35

eQEP Registerswww.ti.comTable 21. eQEP Interrupt Force (QFRC) Register Field Descriptions (continued)Bit Field Value Description7 PCR Force position-c

Seite 36

www.ti.comeQEP RegistersTable 22. eQEP Status (QEPSTS) Register Field Descriptions (continued)Bit Field Value Description4 QDLF eQEP direction latch f

Seite 37

eQEP Registerswww.ti.comTable 25. eQEP Capture Timer Latch (QCTMRLAT) Register Field DescriptionsBits Name Description15-0 QCTMRLAT The eQEP capture t

Seite 38

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Seite 39

www.ti.comList of Tables1 EQEP Memory Map ... 122

Seite 40

PrefaceSPRUG05A – August 2008 – Revised December 2008Read This FirstThis reference guide describes the enhanced quadrature encoder pulse (eQEP) module

Seite 41

www.ti.comRelated Documentation From Texas InstrumentsSPRU949— TMS320x2833x, 2823x External Interface (XINTF) User's Guide describes the XINTF, w

Seite 42

1 IntroductionQEPAQEPBQEPIReference GuideSPRUG05A – August 2008 – Revised December 2008Enhanced QEP (eQEP) ModuleThe enhanced quadrature encoder pulse

Seite 43 - IMPORTANT NOTICE

T00 1 2 3 4 5 6 7 N−6 N−5 N−4 N−3 N−2 N−10QEPAQEPBQEPIClockwise shaft rotation/forward movementAnti-clockwise shaft rotation/reverse movement0 N−1 N−2

Kommentare zu diesen Handbüchern

Keine Kommentare