background image

USB-1808-OEM User's Guide 

Functional Details 

14 

Quadrature encoder input 

The USB-1808-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-1808-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. 

Summary of Contents for USB-1808-OEM

Page 1: ...USB 1808 OEM Eight Channel Simultaneous Sampling Multifunction Device User s Guide May 2019 Rev 4 Measurement Computing Corporation ...

Page 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 Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and or devices without prior written consent from Measurement Computing Corporation Life support de...

Page 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 Totalize counter mode 13 Period measurement mode 13 Pulse width measurement mode 13 Quadrature encoder input 14 Timer output 14 Synchronous I O mixing analog digital and counter scanning 15 Clock I O 15 Dig...

Page 4: ...1 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 connector 25 Differential mode pinout 26 Single ended mode pinout 27 EU Declaration of Conformity 28 ...

Page 5: ...sed 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 more information Additional information about USB 1808 OEM hardware is available on our website at www mccdaq com You can also contact Measurement Computing Corporation with specific questions Knowledge...

Page 6: ...o 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 clock inputs and two clock outputs for synchronous input and output operations with more than one device Header connectors for field wiring connections The device is powered by the 5 V USB supply fr...

Page 7: ...uter 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 system detects the device When the dialog closes the installation is complete The Status LED on the USB 1808 OEM turns on after the device is successfully installed If the Status LED turns off If communic...

Page 8: ...ectors 2 Pull up down jumper LED indicators 2 USB connector Figure 2 USB 1808 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 up down jumper DIO USB connector The USB connector provides 5 V power and communication No external power supply is required ...

Page 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 2 LO 36 CH5H AI channel 5 HI 9 AGND Analog ground 37 AGND Analog ground 10 CH3H AI channel 3 HI 38 CH4L AI channel 4 LO 11 CH3L AI channel 3 LO 39 CH4H AI channel 4 HI 12 AGND Analog ground 40 AGND An...

Page 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 1808 OEM has two LED indicators that indicate the status of power and data The LEDs are stacked one above the other see Figure 2 on page 8 The Status LED turns on when the device is detected by the computer The Activity LED bli...

Page 11: ...clock 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 Synchronous I O mixing analog digital and counter scanning on page 15 for information on running analog output scans at the same time as other subsystem scans Digital I O You can connect up to four dig...

Page 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 together turn the device over and rest it on the surface then carefully remove the top section of the case to expose the circuit board Figure 4 shows the location of the DIO jumper on the circuit boa...

Page 13: ...ments 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 Description Clear on read The counter is cleared after each read synchronous or asynchronous The value of the counter before it was cleared is latched and returned Range limit When counting up The counter rolls...

Page 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 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...

Page 15: ...lock is available at ICLKO The USB 1808 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 available at OCLKO Digital triggering The ITRIG for triggering input operations and OTRIG for triggering output operations pins are external digital trigger inputs The trigger mode is software selectable fo...

Page 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 analog channels The digital ground GND pins provide a common ground for the digital trigger counter and encoder pins Power output The VO pin can output up to 10 mA maximum You can use this pin to supply...

Page 17: ...USB 1808 OEM User s Guide Functional Details 17 Mechanical drawings Figure 9 USB 1808 OEM circuit board dimensions ...

Page 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 0 V to 10 V range 10 1 V 0 V to 5 V range 10 1 V Common mode rejection ratio fIN 1 kHz all input ranges 90 dB Crosstalk 10 V adjacent channels DC to 100 kHz 95 dB Input coupling DC Sample rate 0 0...

Page 19: ...tion 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 bits ENOB 15 3 bits 5 V SNR 91 dB SINAD 91 dB THD 105 dB SFDR 107 dB ENOB 14 8 bits 0 V to 10 V SNR 87 dB SINAD 87 dB THD 104 dB SFDR 109 dB ENOB 14 5 bits 0 V to 5 V SNR 83 dB SINAD 83 dB THD 103 d...

Page 20: ...r 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 update rate 0 023 Hz to 125 kHz per channel Slew rate 15 V µS Throughput Software paced 33 S s to 8 000 S s typ system dependent Hardware paced 250 kS s max system dependent Note 1 Leave unused AOUTx outp...

Page 21: ...to 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 50 kHz input 125 kHz output based on the internal clock speed of 100 MHz Scan clock source for input Internal input scan clock or external input scan clock ICLKI pin Scan clock source for input Internal output scan clock or external output scan clock OCLKI pin Tri...

Page 22: ... low 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 typ 1 3 V min 2 2 V max Input low voltage threshold 0 98 V typ 0 6 V min 1 5 V max Input low voltage limit 0 5 V absolute min 0 V recommended min Quadrature inputs Table 12 Quadrature input specifica...

Page 23: ... 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 descriptions xCLKI Receives sampling clock from external source xCLKO Outputs the internal input scan or internal output scan clock or the pulse generated from xCLKI when in external clock mode Input ...

Page 24: ...t equal 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 17 Memory specifications Parameter Specification Data FIFO 4 kS analog input 2 kS analog output Non volatile memory 32 KB 28 KB firmware storage 4 KB calibration user data Power Table 18 Power spe...

Page 25: ...ntal 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 Table 21 Mechanical specifications Parameter Specification Dimensions L W H 119 38 86 36 1 57 4 7 3 4 0 062 in User connection length 3 m 9 84 ft max Header connector Table 22 Header connector specif...

Page 26: ...I 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 Timer 0 output 44 GND Digital Ground 17 TMR1 Timer 1 output 45 DIO0 DIO channel 0 18 ICLKO Input scan clock output 46 DIO1 DIO channel 1 19 OCLKO Output scan clock output 47 GND Digital Ground 20 GND D...

Page 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 GND Digital Ground 17 TMR1 Timer 1 output 45 DIO0 DIO channel 0 18 ICLKO Input scan clock output 46 DIO1 DIO channel 1 19 OCLKO Output scan clock output 47 GND Digital Ground 20 GND Digital ground 48...

Page 28: ...icable 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 standards EMC Emissions EN 61326 1 2013 IEC 61326 1 2012 Class A EN 55011 2009 A1 2010 IEC CISPR 11 2009 A1 2010 Group 1 Class A Immunity EN 61326 1 2013 IEC 61326 1 2012 Controlled EM Environments EN 6100...

Page 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 info mccdaq com www mccdaq com ...

Reviews: