background image

USB-1808X-OEM User's Guide 

Functional Details 

14 

Quadrature encoder input 

The USB-1808X-OEM can simultaneously decode signals from up to two encoders. Quadrature encoders, 

50 MHz maximum pulse frequency, and X1, X2, and X4 count modes are supported. 
The USB-1808X-OEM provides A, B, and Z inputs – ENCxA, ENCxB, and ENCxZ – for each connected 

encoder. A typical encoder generates the A and B signals at a 90° phase shift with respect to each other. These 

signals are used to determine system position (counts), velocity (counts per second), and direction of travel or 

rotation. The Z signal can be programmed to latch the current count or reload the counter with the MINLIMIT 

value (counting up) or the MAXLIMIT value (counting down). 
The Z signal may be used to establish an absolute reference position within one count of the encoder travel or 

rotation. This signal can be used to reload the position counter, which is useful at system startup when the 

incremental encoder cannot determine the starting position.  
Encoder input operations can be paced by the internal clock or by an external clock (

ICLKI

 – refer to

 Clock I/O

 

on page 15). They can be initiated by a digital trigger (

Digital triggering

 on page 15) or a pattern trigger 

(

Pattern triggering

 on page 15). 

Refer to 

Synchronous I/O – mixing analog, digital, and counter scanning

 on page 15 for information on running 

quadrature encoder scans at the same time as other subsystem scans. 
Each supported quadrature encoder option is explained in following table: 

Quadrature encoder options 

Encoder 

option 

Description 

Count mode 

Select X1, X2, or X4. Count modes provide different levels of accuracy with respect to the encoder 

position.  

 

X1: counts rising edges on input A. 

 

X2: counts rising edges and falling edges on input A. 

 

X4: count rising and falling edges on both inputs A and B. 

Range limit 

When counting up: The counter stops when the maximum count (specified by the MAXLIMIT 

value) is reached. Counting resumes if direction is reversed or the counter is cleared. 

When counting down: The counter stops when the minimum count (specified by the MINLIMIT 

value) is reached. Counting resumes if direction is reversed or the counter is cleared. 

Quadrature encoder options that are specific to the Z signal (ENCxZ) are is explained in following table. 

Z input quadrature encoder options () 

Counter mode 

Description 

Clear on Z 

The counter is cleared by the Z signal. 

Latching 

Latching mode allows the count to be latched by the Z signal. 

Timer output 

You can use 

TMR0

 through 

TMR1

 as 32-bit timer outputs. Each timer can generate pulse rates of up to 50 MHz, 

with programmable pulse widths down to 10 ns. 
The timer output rate and pulse width can be updated asynchronously at any time, however, doing so results in a 

pulse stream that is not seamless. 
The following timer output options are software-selectable: 

 

pulse frequency 

 

duty cycle (pulse width divided by the pulse period) 

 

number of pulses to generate 

 

time delay before starting the timer output after it is enabled 

 

idle state of the output (idle high or idle low) 

The time delay can range from 0 seconds to 42.94 seconds. 

Содержание USB-1808X-OEM

Страница 1: ...USB 1808X OEM Eight Channel Simultaneous Sampling Multifunction Device User s Guide May 2019 Rev 4 Measurement Computing Corporation...

Страница 2: ...ed in any form by any means electronic mechanical by photocopying recording or otherwise without the prior written permission of Measurement Computing Corporation Notice Measurement Computing Corporat...

Страница 3: ...ents 8 USB connector 8 Header connectors 9 LEDs 10 Analog input 10 Channel Gain queue 11 Analog output 11 Digital I O 11 Digital input scanning 11 Pull up down configuration 12 Counter input 13 Totali...

Страница 4: ...Digital input output 21 Counter 22 Quadrature inputs 22 Timer 23 External clock input output 23 External trigger 24 Pattern trigger 24 Memory 24 Power 24 USB 25 Environmental 25 Mechanical 25 Header...

Страница 5: ...ed for the names of objects on a screen such as buttons text boxes and checkboxes Italic text is used for the names of manuals and help topic titles and to emphasize a word or phrase Where to find mor...

Страница 6: ...high speed general purpose counters Two quadrature encoder inputs Two timer outputs One external digital trigger for data acquisition and one external digital trigger for data generation Two external...

Страница 7: ...puter Connect the other end of the USB cable to the USB connector on the device No external power is required When connected for the first time a Found New Hardware dialog opens when the operating sys...

Страница 8: ...ctors 2 Pull up down jumper LED indicators 2 USB connector Figure 2 USB 1808X OEM components 1 Header connector pins 1 to 28 4 LED indicators 2 2 Header connector pins 29 to 56 5 USB connector 3 Pull...

Страница 9: ...CH1H AI channel 1 HI 32 CH6L AI channel 6 LO 5 CH1L AI channel 1 LO 33 CH6H AI channel 6 HI 6 AGND Analog ground 34 AGND Analog ground 7 CH2H AI channel 2 HI 35 CH5L AI channel 5 LO 8 CH2L AI channel...

Страница 10: ...ENC1A Encoder 1 Input A 54 ENC0A Encoder 0 Input A 27 ENC1B Encoder 1 Input B 55 ENC0B Encoder 0 Input B 28 ENC1Z Encoder 1 Input Z 56 ENC0Z Encoder 0 Input Z LEDs The USB 1808X OEM has two LED indica...

Страница 11: ...lock or by an external clock OCLKI refer to Clock I O on page 15 They can be initiated by a digital trigger Digital triggering on page 15 or a pattern trigger Pattern triggering on page 15 Refer to Sy...

Страница 12: ...ounded object to eliminate any stored static charge 3 Remove the rubber fee from the bottom of the device and the four screws using a 1 Philips head screwdriver 4 Hold both the top and bottom sections...

Страница 13: ...ements when the TTL levels transition from low to high or from high to low Each option supported in Totalize mode is explained in following table Totalize counter mode options Counter option Descripti...

Страница 14: ...encoder option is explained in following table Quadrature encoder options Encoder option Description Count mode Select X1 X2 or X4 Count modes provide different levels of accuracy with respect to the...

Страница 15: ...clock is available at ICLKO The USB 1808X OEM provides one external clock input OCLKI and one clock output OCLKO for output operations Connect an external clock signal to OCLKI The pacer clock is avai...

Страница 16: ...The result of this operation is that only bit 3 is included in the pattern to detect Figure 8 Trigger mask with some bits excluded Ground The analog ground AGND pins provide a common ground for all an...

Страница 17: ...USB 1808X OEM User s Guide Functional Details 17 Mechanical drawings Figure 9 USB 1808X OEM circuit board dimensions...

Страница 18: ...nce 1 G power on 1000 power off Input bias current 50 pA Input bandwidth All input ranges small signal 3 dB 2 0 MHz Input capacitance 50 pf Common mode voltage range 10 V range 10 1 V 5 V range 10 1 V...

Страница 19: ...ion Specification 10 V Signal to noise ratio SNR 94 dB Signal to noise and distortion ratio SINAD 94 dB Total harmonic distortion THD 108 dB Spurious free dynamic range SFDR 112 dB Effective number of...

Страница 20: ...source OTRIG see External trigger on page 24 Digital pattern detection see Pattern trigger on page 24 Scan clock source Internal output scan clock or external output scan clock OCLKI pin Output updat...

Страница 21: ...o 8 000 port reads writes or single bit reads writes per second typ system dependent Digital I O transfer rate synchronous 0 023 Hz to 200 kHz input 500 kHz output based on the internal clock speed of...

Страница 22: ...w voltage 1 5 V max 0 5 V min Schmitt trigger hysteresis 0 4 V min 1 2 V max Input frequency 50 MHz max Schmitt trigger hysteresis 0 76 V typ 0 4 V min 1 2 V max Input high voltage threshold 1 74 V ty...

Страница 23: ...k I O specifications Parameter Specification Terminal names ICLKI ICLKO OCLKI OCLKO Terminal types xCLKI Input active on rising edge xCLKO Output power on default is 0 V active on rising edge Terminal...

Страница 24: ...qual pattern Trigger stability Digital port must be stable for 50 ns to be recognized as a pattern Trigger bit width Up to 4 adjustable through bitmask Trigger latency Up to 1 scan period Memory Table...

Страница 25: ...tal Table 20 Environmental specifications Parameter Specification Operating temperature range 0 C to 55 C max Storage temperature range 40 C to 85 C max Humidity 0 to 90 non condensing max Mechanical...

Страница 26: ...channel 4 HI 12 AGND Analog ground 40 AGND Analog ground 13 VO 5V power output 41 AOUT0 AO channel 0 14 AGND Analog ground 42 AOUT1 AO channel 1 15 GND Digital Ground 43 AGND Analog ground 16 TMR0 Ti...

Страница 27: ...2 AGND Analog ground 40 AGND Analog ground 13 VO 5V power output 41 AOUT0 AO channel 0 14 AGND Analog ground 42 AOUT1 AO channel 1 15 GND Digital Ground 43 AGND Analog ground 16 TMR0 Timer 0 output 44...

Страница 28: ...cable European Directives Electromagnetic Compatibility EMC Directive 2014 30 EU Low Voltage Directive 2014 35 EU RoHS Directive 2011 65 EU Conformity is assessed in accordance to the following standa...

Страница 29: ...ion NI Hungary Kft 10 Commerce Way H 4031 Debrecen H tar t 1 A Hungary Norton Massachusetts 02766 Phone 36 52 515400 508 946 5100 Fax 36 52 515414 Fax 508 946 9500 http hungary ni com debrecen E mail...

Отзывы: