summaryrefslogtreecommitdiff
path: root/eurobot/2008/electronic-architecture.txt
blob: 701880817a45b7c10b9a33bf09eeed906d44996c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
=========================
 Electronic architecture
=========================

Boards
======

IO:
    Input/Output board. It acquires information from sensors (switches, IR
    distance detectors, color sensors...) and it controls actuators (servo
    motors, auxiliary motors...).

    The main component is an AVR, surrounded by many connectors.
AI:
    Artificial intelligence board, may optionally be merged with IO board.  It
    runs the robot automaton and decision algorithms.
    
    The main component is an AVR, as the board is the same as the IO one.  It
    contains a flash memory to record the decisions taken by the robot.
Asserv:
    Motor control board.  Run the algorithms to control robot movement and
    position.

    An AVR runs the control logic, and a programmable logic component (an
    XC9572, a CPLD from Xilinx) computes the encoders positions.
Motor Power:
    It applies consigns from the Asserv board to the motors.  An AVR is
    responsible to control the current sunk in the motors and a owned-built
    H-bridge drive the power.

Communications
==============

I²C:
    High level communication bus between boards.  The AI board is the master
    of this bus.
SPI:
    The motor power board is connected using a serial high speed bus.
PWM:
    Pulse Width Modulation used to drive the motors.
Quadrature:
    Raw signal given by the encoders to determine rotation steps and direction.
AVR ISP:
    Used to program the AVR microcontrollers.
AVR JTAG:
    Used for in circuit debugging.
DEBUG UART:
    Used for debug control and diagnostic messages.
CPLD JTAG:
    Used to program the CPLD.