RoboCup: Control Board 2011
Timeline | |
---|---|
Year | 2011 - 2014 |
Versions | |
Control Board | 2011 Rev c |
Kicker Board | - |
Main Components | |
MCU | Atmel AT91SAM7S256 |
FPGA | Xilinx Spartan-3E |
IMU | InvenSense IMU-3000 |
Motors | Maxon EC45flat 30W |
Battery | Thunder Power TP1350-4SPL25 |
Contents
Overview
This page contains reference information for the 2011c control boards.
Quick Links
Motor Operations
A three-phase bridge (figure 1) is the name of the circuit that is used to control each motor. The control signals for the motors come from the FPGA (Spartan-3E Series). The robot uses four (4) 30W three phase brushless motors to maneuver itself on the field. A fifth motor is also used for the dribbler. In order to operate each motor with the needed precision, a brushless motor driving circuit is used for every motor. The motors also contain hall effect sensors. These sensors send data back to the FPGA that is used to determine a motor�s rotational position. Each phase of a brushless motor is controlled using two (2) transistors. For this application, a MOSFET type transistor is used. Although MOSFET is the appropriate technical name, it is often shortened by simply saying FET. A p-channel MOSFET (IRF9310TRPBF) is used to connect to +12V and a n-channel MOSFET (IRF8734TRPBF) is used to connect to ground. The I/O pins from the FPGA could power the FETs directly, but this would result in a loss of performance (the FETs could not be in their best conduction mode). Therefore, a MOSFET Driver (TC4428) is used in order to boost the signal for the gate on each FET.
MOSFET Operation
A MOSFET or Metal-Oxide-Semiconductor Field-Effect Transistor, is basically a switch. There are 3 terminals: source, drain, and gate, and figure 2 outlines the physical layout of their relations. If you apply a voltage at the gate, this will allow a flow of charges from the source to the drain. These devices use metal oxides and the charges flow due to the effect of an electric field between the source and drain. Hence why they are called MOSFET. There are 2 types of MOSFETs, nMOSFET - where the majority of charge carriers are electrons - and pMOSFET - where the majority of charge carriers are holes. The gate-source voltage must be high (positive) to turn on a nMOS and low (negative) to turn on a pMOS. This voltage is refereed to as the threshold voltage and is defined in table 1 below. The pMOS is better at pulling the output high while nMOS is better at pulling the output low; Therefore, both MOSFETs are used in the motor driver circuit - they complement one another.
nMOS | pMOS |
---|---|
Vg - Vs > Vt | Vg - Vs < Vt |
Single Motor Winding Circuit Explanation
From figure 3, OUTA is the inverting output and OUTB is non-inverting output (from the MOSFET Driver). Q7 is the pMOS and Q8 is the nMOS. The source of the pMOS is connected to VDD (+12V) and the drain is connected to one of the motor coils. In the nMOS, the source is connected to the motor coil while the drain is connected to GND. When the signal from the FPGA is to activate one of the motor windings, M4C_H is high and M4C_L is low. So, OUTA becomes low while OUTB is still the same as INB. This turns the pMOS on and the nMOS off. Doing so connects M4C to VDD, thus M4C is set to high potential. At this same instant, a different motor winding circuit will connect its output to GND. For example, let�s say M4B (not shown) connects to GND when M4C connects to VDD. This means current will flow from M4C to M4B, thus powering the motor for a short instance of time. However, we must ensure that the 3rd motor winding circuit (M4A, also not shown) is disconnected from both VDD and GND. This means both FETs from M4A must be off at this instance in time. R128 is a resistor which limits the current from the FPGA�s I/O pin. R56 and R57 are pull-down resistors that ensure INA and INB maintain a proper value if there is no signal from the FPGA. R54 and R55 provide signal stability for the base of each FET (the voltage could oscillate back and forth without them). C26 is used to filter out unwanted high frequencies from VDD.
Debugging
If a fuse is blown, then a likely cause is that one of the FETs experienced a high back flow of current and broke. Ideally you should test for faulty FETs with the FET tester. If you are stranded on a deserted island without the FET tester, you can still determine if a FET is faulty or not. The steps for checking both nFETs and pFETs using a digital multimeter are outlined on the testing a MOSFET page. It is recommended to change the entire three-phase bridge (3 pFETs, 3 nFETs and 3 MOSFET drivers) if any 1 part is damaged.
Other Websites/Resources
- Youtube video explaining the operations of brushless DC motors (BLDC) - [1]
- PDF about more BLDC motors - DC (BLDC) Motor Fundamentals.pdf|electrathonoftampabay.org [2]
Power Operations
This is the main stage where the input, VDD, from the battery is converted to the different DC voltage levels required by the various components on the board. To protect the components on the board, two (2) things are done:
- The kicker's power supply is separated from the rest of the control board.
- A fuse is used for the kicker power supply and the power supply for the motors.
The big red,10A, fuse is used for connecting the battery to all of the motors and the kicker board. The 10A fuse is independent from all digital logic power.
Voltage Monitor for kicker
The voltage monitor is a circuit used to measure the voltage at the output of the transformers, since they are in the range of 150V and is a cause of concern for safety if it is exceeded. The main component of the voltage monitor is the analog-to-digital converter, ADC081C027. The type of architecture used in the ADC is an 8-bit Successive Approximation Register (SAR). In successive approximation, the ADC internally has a DAC, a comparator and 8-bit register. In one input of the comparator, the ADC�s input signal is applied. For the other input, the SAR produces an 8 bit sequence with only the MSB as 1 and the rest of the digits as 0. The DAC then converts it into an analog signal. This analog signal is compared with the input signal. If the analog signal is greater than the input signal, then the SAR MSB is reset to zero else, it remains one. Then the next bit is set to one and this process continues for 8 steps till the input signal and analog signals are equal. So, now, the value in the SAR is the digital equivalent of the input signal. The L1 inductor and C8 capacitance act as a filter which removes the oscillations in the power supply. The serial clock (SCK) and serial data (SDA) communicate with the FPGA, so that the value is processed.
LM2734 Switching Voltage Regulator
The LM2734 is a voltage converter that can convert a maximum of 24V to different output voltages depending upon its configuration in a circuit using external resistors, capacitors, inductors, and diodes. The circuit used to convert VDD to 5V is based on a similar circuit provided in the datasheet. The output voltage depends on the values of the resistors R83 and R84 at the feedback (FB) pin. From the reference diagram, the way to calculate output voltage is given by, R1 = R2 ( VO / Vref - 1 ). Usually, R2 is fixed as 10kohm. We need VO to be 5V. Vref is set internally in the IC as 0.8V, so R1 is calculated to be 52.5kohm and the control board reflects these values.
MCP1824 Linear Voltage Regulator
The MCP1824is the name for a series of LDO voltage regulatorsthat are capable of providing up to 300mA of current. The regulators come in various fixed and adjustable voltages when purchasing. The control board contains three (3) of these MCP1824regulators. All regulators on the control board from this series are the kind that produce a fixed voltage. These voltages are listed below and test points are located to the left of the power switch for easily probing the outputs of these regulators.
- 3.3V
- 2.5V
- 1.2V
Radio Operations
Halo Antenna |
Images of Control Board
Board Overview Videos
Board Overview | |
FPGA |