RT DAC Part1
RT DAC Part1
RT-DAC/USB2
I/O Board
Board version 1.03
User’s Manual
Kraków 2010
Revision History
Table of contents
1. GENERAL INFORMATION................................................................................................................. 4
1.1 SPECIFICATION ................................................................................................................................... 4
1.2 BOARD ARCHITECTURE ...................................................................................................................... 6
2. BOARD INSTALLATION ..................................................................................................................... 7
3. DRIVER INSTALLATION.................................................................................................................... 8
NOTES
MATLAB, Simulink, RTW and RTWT are registered trademarks of The MathWorks, Inc.
Windows 95/98/NT/2000/XP are registered trademarks of Microsoft Corporation
1. GENERAL INFORMATION
The RT-DAC/USB2 is a multifunction analog and digital I/O board dedicated to real-time data acquisition
and control in the Windows 95/98/NT/2000/XP environments. The board contains a Xilinx FPGA chip. All
boards are built as the OMNI version. It means the boards can be reconfigured to introduce a new
functionality of all inputs and outputs without any hardware modification.
The default configuration of the FPGA chip accepts signals from incremental encoders and generates PWM
outputs, typical for mechatronic control applications and is equipped with the general purpose digital
input/outputs (GPIO), A/D and D/A converters, timers, counters, frequency meters and chronometers.
The RT-DAC/USB2 board is distributed in two versions:
• analog and digital (RT-DAC/USB2) and
• digital only (RT-DAC/USB2-D).
This manual contains description for the both versions. In the case, if any facility of the board relates to one
version only, this fact is clearly marked.
1.1 Specification
Analog Inputs
Channels: 16 single-ended, multiplexed
Resolution: 12 bit
Input ranges: ±10V, programmable gain (x1, x2, x4, x8, x16)
Conversion time: 5.4 µs
Trigger: all the A/D channels are scanned automatically when USB host
requires data
Reference voltage: on-board
Analog Outputs
Channels: 4
Resolution: 12 bit / 14 bit
Output range: ± 10V, ± 5V
Settling time: 10 µs (to 0.01%)
Reference voltage: on-board
Digital Timer/Counter
32 bit timer / counter : 2 channels, counts internal clock signal or external
impulses . External pulse duration: min 50ns
PWM Outputs
Channels: 4
Resolution: 8/12 bits (software selected)
Base frequency: programmable, initial 16-bits divider
Incremental encoders
Channels: 4
Output: 32 bit counter
Index Software configured. 2 modes: with and without index,
selectable active level of the index signal
USB features
USB 2.0 hi-speed specification compliant.
The block diagram of the RT-DAC/USB2 board is shown in Fig. 1.1. The block diagram of the digital
version is presented in Fig. 1.2.
encoders
XILINX
USB /FPGA
FPGA timer/counter
bridge
frequency meter
chronometer
USB Bus
Fig. 1.1. General block diagram of the RT-DAC/USB2 board
encoders
XILINX
USB /FPGA
FPGA timer/counter
bridge
frequency meter
chronometer
Configuration
USB Interface EEPROM
USB Bus
Reprogramming the XILINX FPGA chip at the boards can change functions of the board. The information
and specification how to reprogram XILINX FPGA is not included in this guide. Please, relate to
RTDAC/USB2 FPGA Programming Guide distributed by INTECO separately.
2. BOARD INSTALLATION
• RT-DAC/USB2 board,
• Two 40-pin ribbon cables (only one cable when the digital version is distributed ),
• USB cable,
• CD containing a software and e-manuals,
• terminal wiring board (optional),
• 9V-12V DC / 4W stabilised power supply (optional). The plug dimensions are given in Fig. 2.2.
RT-DAC/USB2
USB socket
Power socket
CN2 and CN1 metal part
LEDs: 40-pins connectors
Power (CN1 not visible)
Programming enable φ 5.5 mm
Ready
min 13 mm
On/Off
The CN1 connector is not visible at the Fig. 2.1 because it is placed below the CN2 connector. The digital
version of the board is equipped with the CN1 connector only. The CN2 connector contains pins connected to
A/D inputs and D/A outputs only.
The Power signalling LED is emitting light when the On/Off switch is on, Ready LED indicates that the
communication between the RT-DAC/USB2 board and computer is running and Programming Enable LED
is emitting light when the board is ready to be programmed.
3. DRIVER INSTALLATION
The driver for RT-DAC/USB2 board has to be installed. The user with administrator privileges must
install the drivers for Windows 2000 and Windows XP.
If the driver is not installed and the RT-DAC/USB2 device is connected to the PC it appears as
unknown device at the list of the devices in the Device Manager (see Fig. 3.1).
Fig. 3.1. Device list with an unknown device Fig. 3.2. Update driver option
Press the right mouse button at the Unknown device item and select the Update Driver Software item
(see Fig. 3.2). Select the Browse my computer for driver software option (DO NOT select the Search
automatically for updated driver software) and select the driver location as given in Fig. 3.3and Fig. 3.4.
Fig. 3.3. Browse the computer option Fig. 3.4. Select the driver
Windows displays the security warning caused by the uncertified driver. Please force the driver to be
installed (see Fig. 3.5). Finally the confirmation of the successful driver installation is given as presented in
Fig. 3.6.
The 64-bit versions of Windows require that all drivers are digitally certified, which the driver for
the RT_DAC/USB2 is not. A user needs to reboot the Windows PC and press F8 to show the boot
option list. The loading/installing unsigned drivers option has to be selected to allow installation of
the driver.
When the RT-DAC/USB2 is properly installed it is visible in the Device Manager at the list of devices
in the Universal Serial Bus controllers category as the InTeCo RT-DAC/USB2 entry (see Fig. 3.7).
The digital version the RT-DAC/USB2D board is equipped with one 40-pin I/O connector CN1. The pin
assignment of the connector is shown in Table 1 and Fig. 4.1.
Digital I/O
Counter
PWM
Encoder
Frequency meter
Chronometer
Power
Analog output
Analog input
Ground
A/I 0 1 2 GND
A/I 1 3 4 GND
A/I 2 5 6 GND
A/I 3 7 8 GND
A/I 4 9 10 GND
A/I 5 11 12 GND
A/I 6 13 14 GND
A/I 7 15 16 GND
A/I 8 17 18 GND
A/I 9 19 20 GND
A/I 10 21 22 GND
A/I 11 23 24 GND
A/I 12 25 26 GND
A/I 13 27 28 GND
A/I 14 29 30 GND
A/I 15 31 32 GND
A/O 0 33 34 GND
A/O 1 35 36 GND
A/O 2 37 38 GND
A/O 3 39 40 GND
It means that the functions of the specialized block are hardware-implemented. The specialized blocks
are:
• PWM generators – there are eight PWM blocks. The outputs are marked: PWM0, PWM1, PWM2,
PWM3, PWM4, PWM5, PWM6 and PWM7,
• incremental encoders – the device contains eight incremental encoder channels. Each channel
requires three input signals – wave A (named from ENC0_A down to ENC7_A), wave B (from
ENC0_B to ENC7_B) and index (from ENC0_I to ENC7_I),
• counters – there are two counters available. The input signals are marked CNT0 and CNT1
respectively,
• frequency meters – RT-DAC/USB2 contains eight such blocks. The signals are named from
Fr0_G, Fr0_St and Fr0_I to Fr7_G, Fr7_St and Fr7_I,
• eight chronometer blocks – the signals are named from Ch0_G, Ch0_St and Ch0_StSt down to
Ch7_G, Ch7_St and Ch7_StSt.
FPGA
FPGA Pin
FPGA
FPGA Pin