Computer Buses and Interfaces
Computer Buses and Interfaces
Bekkeng 15.1.2011
The most common data acquisition
buses available today
Internal computer buses
• Internal bus connectors (card slots) makes it
possible to insert peripheral electronic
boards
• Important buses today:
– PCI
– PCI Express
PCI
• PCI = (Peripheral Component Interconnect)
• Supports 32 and 64 bits
• Shared parallel bus!
• Maximum bandwidth (peak) of 133 MB/s (32-
bits at 33 MHz)
• 33 MHz and 66 MHz versions
• Theoretical maximum of 532 MB/s (64 bits at
66 MHz)
• However, anything above 32 bits and
33 MHz is only seen in high-end systems)
PCI-X
• Satisfied the higher bandwidth demanded by servers
• Running at up to four times the clock speed of PCI
(33 MHz x 4), but is otherwise similar in electrical
implementation and uses the same protocol
• Maximum bandwidth of 1064 MB/s (64-bit at 133
MHz)
• Parallel interface
• PCI-X has been replaced in modern designs by PCI
Express
PCI Express (PCIe)
• A point-to-point serial bus, rather than a shared parallel bus
architecture
• PCIe slots may contain from one to thirty-two lanes, in powers
of two (1, 2, 4, 8, 16 and 32).
• Dedicated bandwith for each device/slot
– x1 : bandwith of 250 MB/s (duplex)
– x4 : bandwith of 1 GB/s (duplex)
– x16: bandwith of 4 GB/s (duplex)
CompactPCI
• It is electrically a superset of PCI with a different (smaller) physical
form factor
• CompactPCI supports twice as many PCI slots
• Compact PCI cards are designed for front loading and removal from a
card cage. The cards are firmly held in position by card guides on both
sides, and a face plate which solidly screws into the card cage.
• Cards are mounted vertically allowing for natural or forced air
convection for cooling
• Better shock and vibration characteristics than the card edge
connector of the standard PCI cards
• Allows hot swapping, a feature that is very important for fault tolerant
systems and which is not possible with standard PCI.
PXI and PXI-Express
• PXI = PCI eXtensions for Instrumentation (PXI)
• National Instruments developed and announced the
PXI specification in 1997
• Based on and compatible with CompactPCI
• PXI defines a rugged PC-based platform for
measurement and automation systems
• Gives the ability to expand your system far beyond
the capacity of a desktop computer with a PCI/PCIe
bus.
• One of the most important benefits PXI offers is its
integrated timing and triggering features. Without
any external connections, multiple devices can be
synchronized by using the internal buses resident on
the backplane of a PXI chassis
• By taking advantage of PCI Express technology in the
backplane, PXI Express increases the available PXI
bandwidth from 132 MB/s to 8 GB/s
PCMCIA (PC Card)
• PCMCIA = Personal Computer Memory Card International
Association
• “PC Card” is the name used for PCMCIA 2.0
• PCMCIA is the form factor of a peripheral interface designed for
laptop computers
• Commonly used for DAQ cards, network cards and modems for
laptops
• Maximum data rate:
– PCMCIA : 7.8 MB/s
– PC card : 133 MB/s
16X
9.6 kHz up to 115.2 kHz (or higher) klokke
RJ45
Ethernet network
• Category 6 cable (Cat 6)
– today standard for Gigabit Ethernet
– backward compatible with the Category 5/5e
– suitable for 10-Gigabit Ethernet (10GBASE-T)
• PC connection to an Ethernet network
– NIC (Network Interface Controller/Card) for PCI or PCIe
– Every NIC has a unique 48-bit serial number (MAC address)
stored in a ROM
PCIe x4
dual port NIC
Unicast, multicast and broadcast in
computer networks
• Unicast
– sending of messages (packages) to a
single network destination identified by a
unique address.
• Multicast
– sends data only to interested destinations
by using special address assignments
• Broadcast
– transmitting the same data to all possible
destinations (every device on the
network)
LXI
http://www.lxistandard.org/
• Two wires carry equal and opposite signals and the receiver detects the
difference between the two.
• Noise sources introduce signals into the wires by coupling of electric or
magnetic fields and tend to couple to both wires equally. The noise thus
produces a common-mode signal which is cancelled at the receiver .
• This method starts to fail when the noise source is close to the signal wires; the
closer wire will couple with the noise more strongly and the common-mode
rejection of the receiver will fail to eliminate it. This problem is especially
apparent in long cables as one pair can induce crosstalk in another, and it is
additive along the length of the cable.
• Twisting the pairs counters this effect as on each half twist the wire nearest to
the noise-source is exchanged. Providing the interfering source remains
uniform, the induced noise will remain common-mode.
• The twist rate (twists per meter) makes up part of the specification for a given
type of cable. Where nearby pairs have equal twist rates, the same conductors
of the different pairs may repeatedly lie next to each other, partially undoing the
benefits of differential mode. For this reason it is commonly specified that, at
least for cables containing small numbers of pairs, the twist rates must differ.