Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

« Vorherige Version anzeigen Version 4 Nächste Version anzeigen »

cb11 Board

Features

  • 1 x Ethernet

  • 2 x CAN

  • 24 DIO

  • 8 Analog Out

Important: For this board you have to load a different FPGA configuration as for the cb20.

Existing Boards

  • 1 x cb11 Prototype (EMS) 2015






cb20 Board

Features

  • 1 x Ethernet

  • 2 x CAN

  • 1 x USB Host

  • 1 x Konsole, 1 x UART

  • 24 DIO

  • 8 Analog Out (+/-10V)

The board has a EP4CE22F17C8 FPGA from Altera which is connected over the EIM bus to the Colibri module.

The FPGA configuration for the cb20 is made with flink. The available blocks for flink can be found on flink-Wiki.

Existing Boards

  • 8 x cb20 INF (Variosystems 2016) without CAN-GND

  • 2 x cb20 EMS (Variosystems 2016) without CAN-GND

  • 5 x cb22 INF different power plug (Anronaut 2017)

Test Program

There is a test program using EEROS under https://gitlab.ost.ch/tech/inf/public/cb20 for the above standard configuration. Use the steps described  in https://wiki.eeros.org/getting_started/install/use_with_cb20 to fetch all necessary repositories and build the application. The application reads the suitable hardware configuration file HwConfigCb20.json and configures all pins. The analog and digital and PWM outputs are driven. The encoder inputs are periodically logged.
There is a second application cb11Test which uses HwConfigDb11.json. It only has 4 encoder inputs, together with analog ouputs, ready and enable signals. This test is used to check all the necessary functions for the later use of the cb20 with the drive board Drive Board db11.


flink Configurations

Standard FPGA Design

The FPGA is driven by a 50MHz clock. The system incorporates a Avalon ALTPLL component which multiplies this clock with 4 leading to a internal clock of 200MHz. The flink blocks which depend on this clock must set their base clock setting accordingly. This configuration defines the following subdevices:

flink componentunique ididnof channelsdescription
PWM0x1270C00108
FQD0x1270600118
Analog Out0x1270200128
Info Device0x127000013
cb20 standard, 28.5.2020
Dig I/O0x1270500248
Dig I/O (Enable/Ready)0x1270500159


FPGA Design with Watchdog and PPWA


flink componentunique ididnof channelsdescription
PWM0x1270C00104
PPWA0x1270600112
Watchdog0x1271000121
FQD0x1270600138
Analog Out0x1270200148
Info Device0x127000015
cb20 with wdt, 28.5.2020
Dig I/O0x1270500268
Dig I/O (Enable/Ready)0x1270500179

The pins are assigned as with the standard configuration with the following exceptions: P11 has 4 PWM channels (pin 1 to 4), PPWA is on pin 5 and 6, Watchdog is on pin 7 (granted) and 8 (pwm).

FPGA Design with MPU9250

This design incorporates a SPI connection to a MPU9250 sensor. The SPI occupies 4 pins on the PWM connector.

flink componentunique ididnof channelsdescription
PWM0x1270C00104
MPU92500x127110011

FQD0x1270600128
Analog Out0x1270200138
Info Device0x127000014

Dig I/O0x1270500258
Dig I/O (Enable/Ready)0x1270500169


SPI Interface to MPU-9250

cb20 Board Pin Assignment

The header and pin assignment are shown below. :


Layout of the cb20 when loading with the standard FPGA configuration



Connector details


Known Errors

If CAN is used to connect to a drive with high power, CAN GND must be connected. This connection is missing on the board version 11 and 20. You have to connect GND_ISO with pin4 of the CAN connector. The highlighted lines are GND_ISO and CAN GND.


Fix for CAN-GND on CB11 Board
Fix for CAN-GND on CB20 board



  • Keine Stichwörter