2009 Control System Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.

Slides:



Advertisements
Similar presentations
Apple Pi Robotics Logic System and Programming Basics 1 1.
Advertisements

Alpha Control System TheRobettes.com.
US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Lab7: Introduction to Arduino
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Presented by Team 3350 (T-BOTS).  Students should lead their teams in the building, design, and all other aspects of the robot.  Knowledge of the Kit.
Introduction To Frc electronics
Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.
2010 KOP Control System Workshop January 16, 2010 Hauppauge High School SPBLI – LI FIRST Mark McLeod Hauppauge Team 358 Northrop Grumman Corp.
1. 2 FRC 2010 Driver Station Doug Norman & Stephanie Brierty National Instruments January 8, 2010 Thanks to Joe Ross – Team 330.
Programming and Electronics Training
Wiring the new control system MVRT 2010 – 2011 Season.
Bread Boarding and Operating The IFI Robotic Control System.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
Overview of New System Beta Team from Wilsonville 1425 Wilsonville Robotics – Code Xero 2550 Oregon City Robotics.
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
Today’s Agenda New Hardware Setup of RoboRIO
 General notes/quirks › Letters only in the SSID › g & b only › Use a different router for internet and robotics › Use a simple password.
D-Link International Call Center Training and Staff Development Department Module: DAP-1350 Module: DAP-1350.
Old control system ( ) MVRT. Main Circuit Breaker Connected to the red wire (power) of the battery When turned off, all power is cut off and robot.
                      Part IV Reading Power.
2015 FRC Control System = MOL = DUK Power Distribution Board Volts -12 Volts (4) 40 amp Circuits (4) (6) 20/30 amp Circuits (6)
Electrical Workshop Session One 9/22/2014. FIRST Power Distribution Diagram.
Dr. Hoganson CSIS HC11 Demo Program This is our first lab using the 68HC11 microcontroller. We will “talk” to the microcontroller from a PC, run.
Team 358 Hauppauge High School Electrical Workshop October FIRST® For Inspiration and Recognition of Science and Technology.
Embedded Programming and Robotics
1. A guide to wiring your robot. Jerry Skene Past mentor – Chantilly Robotics
Electrical Components.  This supplies all the power to the robot. It is a single 12 V battery. They are sealed to prevent battery acid from leaking.
Chapter 7Assembling Your Own Computer System  7.1Assembling the Hardware 7.1Assembling the Hardware 7.1Assembling the Hardware  7.2Installing the Operating.
Test Tools Motor and Pneumatic Subsystems Aimi Abe-Lafond Sarah Kirke Natalia Sydorenko.
RM2C Understanding Connections on the Robot Control Board (RCB).
Drivers Station 2010 Joe Ross Team /12/2009.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
US First Kickoff 2012 Software Programming (And Control System) Daniel Kohn University of Memphis.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
Mentors Workshop Control System Sub-System Mark McLeod Team 358 Festo/Hauppauge H.S. F For I Inspiration and R Recognition of S Science and T Technology.
Available at: – Operate the Tumbler using a Jumper Pin Operate the Tumbler using the jumper pin.
High Speed Data Converter University
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Control System and Electrical Assembly Produced by Ed Latimer, Team 476 Ken York, Team 476 Ron Markum, Team
The New FTC Platform (Connecting your legacy hardware)
2009 FRC Control System Software Overview Dave Doerr, Mentor, Team 67 November 15, 2008.
VEX Parts – Batteries, Logic, and Controls
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
Dr. John Helferty.  Arduino  Wi-Fi Shield  Relay  H-Bridge  Standard Servos  DC Fans  Impeller  Battery  PCB  Headers.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
2010 LabVIEW Beginner Workshop October 9, 2010 Hauppauge High School SPBLI – LI FIRST Mark McLeod Hauppauge Team 358 Northrop Grumman Corp.
Original 8-slot Version – Chassis – 8-slots (6 available, 2 unused) – Modules & breakouts – Module order for 2012 (changed in 2012) – Slot.
Mechanics of LabVIEW Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
CANBus Hardware Setup. CANBus CANBus is a control system method that can be used instead of the conventional PWM system. It uses RJ12 cable, which is.
FRC Robot Programming 1.PID Continued 2.Downloading and Deploying Code 3.Program a 2012 Robot from Spec Basic code For FIRST Robotics.
Cass Lake Bena Robotics.  Drivetrains  Electrical System  Operator Interface.
Understanding The 2008 FRC Robot Controller Chris Gregory FRC1089 – Team Mercury
Computer Hardware Maintenance & Repairs Computer Hardware Maintenance & Repairs Suleiman Mohammed (mncs,mcpn) Instructor Institute of Computing & ICT,
Ethernet I/O Set-Up This presentation will step through a typical configuration of the DVT CON-IOE. Intellect 1.0 is used for the software portion.
Cass Lake Bena Robotics Team 3134 & Team  Drivetrains  Electrical System  Operator Interface.
Electrical Testers Basic test equipment used in today’s shops may include an analog type meter, a VAT (Volt-Amp-Tester), DMM (Digital Multimeter),
Samantha Module Set up. Items required Samantha receiver NXT - named with your number(Can be done in the download Firmware section) Robot Battery Computer.
FIRST ROBOTICS COMPETETION Introduction to Electrical & Control System Power and Signal Distribution/Interconnection Sensors, Motors, Speed Controllers,
FRC Team #1714. Team #1714 Introductions Project Leader:Michael Wittman - FRC Team #1714 Project Members: From Team #1714: Sarah Wittman, AJ Rehfeldt,
FRC Robot Electronics.
Do-more Technical Training
Fujitsu Training Documentation Hardware Installation
Arduino Development for Beginners
Yeti 400 Reprogram SOP 5/1/2017, Yeti firmware rev. 2.0.
fischertechnik® RoboPro Software for Gateway To Technology® RoboPro
Trainings 10/28 Woooooo!!.
Field Management System
Presentation transcript:

2009 Control System Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.

Agenda FIRST Control System Overview FIRST Control System Overview Team Assembly Team Assembly Benchtest Benchtest Firmware Updates Firmware Updates Wireless Setup Wireless Setup Re-Benchtest Re-Benchtest Download Programs & Test Download Programs & Test

FIRST Control System

Hardware Gather around demo robot Driver Driver –Driver Station (DS) –Router (for non-competition use only) –Disable/Enable Competition Port switch –Joysticks (HID compatible only) Robot Robot –cRIO –Bumpers (Analog, Pneumatic) –Digital Sidecar –Power Distribution Panel (PD) –Wireless Bridge –Jaguar (or Victor) Speed Controllers –Spike (primarily for compressor or other motors)

cRIO 400mHz, 64MB/128MB 400mHz, 64MB/128MB Fixed positions for: Fixed positions for: –(2) Analog modules –(2) Digital Modules –(1) Pneumatic Module (2) Ethernet ports (2) Ethernet ports (1) serial port (console) (1) serial port (console) 24v power 24v power

Driver Station (DS) 50Hz update rate 50Hz update rate (4) USB ports-joysticks (4) USB ports-joysticks (2) Ethernet ports (2) Ethernet ports (1) Competition Port (1) Competition Port (8) Digital Inputs (8) Digital Inputs (4) Analog Inputs (4) Analog Inputs (8) Digital Outputs (8) Digital Outputs Auto/Teleop toggle Auto/Teleop toggle No hot-swapping joysticks No hot-swapping joysticks Joysticks must be centered at bootup Joysticks must be centered at bootup Will run off 9v batteries Will run off 9v batteries Dongle MUST be attached for DS to run MUST be attached for DS to run Connects pin 8 to 9 Connects pin 8 to 9

Power Distribution Panel (PD) (8) 40A connectors (8) 40A connectors (12) 20/30A connectors (12) 20/30A connectors (2) Power-Safe Connections (2) Power-Safe Connections –24V output for cRIO –12V for WiFi 5V for camera 5V for camera Power input uses metric M6 nuts-don’t over torque Power input uses metric M6 nuts-don’t over torque LEDs for 3 special connectors LEDs for 3 special connectors

Digital Sidecar 12V via Wago connector 12V via Wago connector DB-37 cable to cRIO DB-37 cable to cRIO (10) PWM outputs (10) PWM outputs –Jumper for servo use (14) Digital IO (GPIO) (14) Digital IO (GPIO) (8) Relays (8) Relays I2C Interface (connector & pins) I2C Interface (connector & pins) 2-pin status light output 2-pin status light output Power status LEDs 5v, 6v, 12v Power status LEDs 5v, 6v, 12v Need to add cable nuts Need to add cable nuts

Analog Bumper/Breakout (7) Inputs (7) Inputs (1) Special Input (1) Special Input Jumper controlled –Battery voltage –Standard Input 12V Wago power 12V Wago power Green power LED Green power LED CANNOT survive reversed polarity CANNOT survive reversed polarity

Pneumatic Bumper/Breakout (8) Outputs (8) Outputs 12V Wago power 12V Wago power Green power LED Green power LED ONLY board with reverse power polarity protection ONLY board with reverse power polarity protection –Test white Wago connectors for other devices/boards here

Axis Ethernet Camera Ethernet Web-ready camera Ethernet Web-ready camera Connects to cRIO port 2 Connects to cRIO port 2 Requires special crossover cable (orange) Requires special crossover cable (orange) Black lens turns to focus Black lens turns to focus Reset button on back Reset button on back Use “Setup Axis Camera” on PC to configure it for FRC competition use Use “Setup Axis Camera” on PC to configure it for FRC competition use

Wireless Bridge/Wireless Router Bridge Bridge –On robot –12V power from PD –Ethernet to cRIO port 1 –Disconnect to tether in pits Router Router –For DS and PC –NOT for competition –AC power –Ethernet to DS ETH1 port

Jaguar Speed Controller 20kHz PWM frequency & 5ms update rate (Victors are 17ms) 20kHz PWM frequency & 5ms update rate (Victors are 17ms) Limit switch inputs (forward/reverse) Limit switch inputs (forward/reverse) Coast/Brake (jumper or DIO) Coast/Brake (jumper or DIO) PWM cable retention clips PWM cable retention clips Slow flashing Yellow LED indicates no valid pwm signal Slow flashing Yellow LED indicates no valid pwm signal Slow flashing Red LED indicates limit switch, over temp/current, or under voltage <6V Slow flashing Red LED indicates limit switch, over temp/current, or under voltage <6V Over-current protection can cause motors to cut out in pushing matches Over-current protection can cause motors to cut out in pushing matches Fan runs only when needed Fan runs only when needed

What We’ll Do Today Follow step-by-step directions in the 2009 Control System manual at: usfirst.org/frccontrolsystem usfirst.org/frccontrolsystem Connect everything Connect everything Bench test Bench test Update the firmware (DS & cRIO) Update the firmware (DS & cRIO) Bench test Bench test Setup wireless networking Setup wireless networking Bench test Bench test Download LabVIEW & Wind River programs Download LabVIEW & Wind River programs

Wiring-Power

Wiring-Data

Assembly Steps Wiring Wiring –Battery w/ Anderson Connector (6 awg) –120amp breaker w/ Anderson Connector w/ Power Distribution (PD) Board (6 awg) –cRIO to PD (18 awg) –Digital Sidecar DB37 cable to cRIO (attach cable nuts to Sidecar first) DB37 cable to cRIO (attach cable nuts to Sidecar first) White Wago connector to PD (18 awg) White Wago connector to PD (18 awg) Attach test servo to Digital Sidecar & add power jumper Attach test servo to Digital Sidecar & add power jumper –Analog & Solenoid Bumpers Directly attach to cRIO Directly attach to cRIO White Wago connector to PD (18 awg) White Wago connector to PD (18 awg) –Wireless Bridge (requires cutting the cord off the adaptor) –Camera power (requires cutting the cord off the extra adaptor) –Wire Jaguars/Victors to PD

Assembly Steps Triple check wiring polarity Triple check wiring polarity –Unplug Analog Bumpers to test in Solenoid Bumper first –Add circuit breakers –Add jumpers to Analog Bumpers (battery feedback vs normal) Power it up Power it up –One at a time plug the wago connectors into the Solenoid Bumper (a green light means is wired correctly) (2) for the Analog bumpers (2) for the Analog bumpers (2) for the Digital Sidecars (2) for the Digital Sidecars (1) for the Solenoid (1) for the Solenoid –Connect the verified power lines to the Sidecars & bumpers All lights should be green (or Jaguars blinking yellow) All lights should be green (or Jaguars blinking yellow) Connect Servos to Digital Sidecar – add jumpers Connect Servos to Digital Sidecar – add jumpers

Driver Station (DS) Connections Connect joysticks to USB1 & 2 Connect joysticks to USB1 & 2 Connect ETH1 port to cRIO port 1 Connect ETH1 port to cRIO port 1 Attach Disable/Enable switch Attach Disable/Enable switch Plug in power Plug in power

Bench Test I Verify green power status LEDs on PD, Bumpers and Digital Sidecar Verify green power status LEDs on PD, Bumpers and Digital Sidecar Basic objective is to move a joystick at the DS end and have a motor respond at the cRIO end Basic objective is to move a joystick at the DS end and have a motor respond at the cRIO end Default is Arcade (1 joystick) while a top button is pushed Default is Arcade (1 joystick) while a top button is pushed

DS Firmware Update Both DS & cRIO must be updated together Both DS & cRIO must be updated together Driver Station (DS) (Manual 5.1.1) Driver Station (DS) (Manual 5.1.1) –USB memory stick (some do not work) –Firmware update & detailed directions at –Rename update file to: “dsud_pkg.bin” (make sure file extensions are not hidden on your PC) –Copy to top level of USB memory stick –Plug USB stick into DS –Hold both up & down arrow buttons for ~8sec –Follow further directions on DS LCD screen quickly – if the DS screen goes back to normal then you’ve either been too slow or your memory stick/update file was rejected. –Do NOT interrupt the loading process once it puts up the big warning Set team number (Manual 5.3.2) Set team number (Manual 5.3.2)

cRIO Firmware Update Confirm PC LabVIEW update Confirm PC LabVIEW update Manual Manual Watch for laptop issues Watch for laptop issues Power up the cRIO and connect your PC through the DS ETH2 port Power up the cRIO and connect your PC through the DS ETH2 port Firmware update at as part of the LabVIEW FRC software update Firmware update at as part of the LabVIEW FRC software update Start the “FRC cRIO Imaging Tool” Start the “FRC cRIO Imaging Tool” –Choose Development Environment –Click “Format Controller” –Select Image: FRC_2009_v7.zip –Device Name: FRC-cRIO-team# –Team ID: team#

Bench Test II With new firmware behavior will differ With new firmware behavior will differ USB1 joystick throttle selects arcade or tank drive USB1 joystick throttle selects arcade or tank drive

Wireless Setup Bridge (Manual 5.6.1) Bridge (Manual 5.6.1) –Connect PC to Bridge via Ethernet –Set laptop IP to DHCP –Browse to (admin/admin) –Basic -> Wireless –Basic -> Network Settings –Connect to cRIO port 1 (disconnect DS Ethernet cable) Router (Manual 5.6.2) Router (Manual 5.6.2) –Set laptop IP to DHCP –Connect PC to Router via Ethernet –Browse to (blank/admin) –Wireless -> Manual –Setup -> Basic Setup –Set laptop IP to 10.XX.YY.6, Mask: , Gateway: 10.XX.YY.4 –Connect to DS ETH1 port –Connect PC to DS ETH2 port

Bench Test III Same behavior as Bench test II Same behavior as Bench test II Start LabVIEW Dashboard project Start LabVIEW Dashboard project

Cautions The cRIO and camera cases must be electrically isolated. Don’t mount on metal. The cRIO and camera cases must be electrically isolated. Don’t mount on metal. The DS must NOT lose power or be interrupted while the firmware is being updated The DS must NOT lose power or be interrupted while the firmware is being updated Don’t reverse polarity anywhere! Triple Check! Don’t reverse polarity anywhere! Triple Check! Don’t mixup the voltage (24v,12v,5v) requirements Don’t mixup the voltage (24v,12v,5v) requirements Test all 12v white Wago power cables on the pneumatic bumper first. It alone has reverse power protection and a green light means your cable is good. Test all 12v white Wago power cables on the pneumatic bumper first. It alone has reverse power protection and a green light means your cable is good. Don’t over-torque the Power Distribution M6 nuts (10mm wrench) Don’t over-torque the Power Distribution M6 nuts (10mm wrench) Don’t confuse the (2) Analog bumpers with the (1) Solenoid Bumper Don’t confuse the (2) Analog bumpers with the (1) Solenoid Bumper The robot WiFi MUST be powered by the special connector on the PD. That connector is protected against sudden power drops while the regular 12v connections will be shutdown momentarily to conserve power. The robot WiFi MUST be powered by the special connector on the PD. That connector is protected against sudden power drops while the regular 12v connections will be shutdown momentarily to conserve power. The cRIO modules and bumper power connectors can be shaken loose The cRIO modules and bumper power connectors can be shaken loose

Notes The DS inputs have a value if nothing is attached The DS inputs have a value if nothing is attached The orange Ethernet cable is a special crossover cable for use with the camera. The orange Ethernet cable is a special crossover cable for use with the camera. Servos require a jumper on the Digital Sidecar Servos require a jumper on the Digital Sidecar The system takes a long time to startup. The system takes a long time to startup. The cRIO and WiFi will operate at 4.5V and survive transients down to ~3.5V The cRIO and WiFi will operate at 4.5V and survive transients down to ~3.5V The Digital Sidecar will shutdown the PWMs when battery voltage hits ~5V, so they’d start dropping out as the voltage dips below 5V The Digital Sidecar will shutdown the PWMs when battery voltage hits ~5V, so they’d start dropping out as the voltage dips below 5V Joysticks must be centered when the DS is powered up. Similar to N64 or Gamecube. Joysticks must be centered when the DS is powered up. Similar to N64 or Gamecube.

Oddities The DS LCD can blank out from a static discharge, but the DS keeps working fine. The DS LCD can blank out from a static discharge, but the DS keeps working fine. Some Power Distribution 5v LEDs don’t work, but the power is fine. Some Power Distribution 5v LEDs don’t work, but the power is fine. The PD will squeal at times from the 12 & 24V boost supplies cycling The PD will squeal at times from the 12 & 24V boost supplies cycling Some redundant loose parts found in PD and Digital Sidecar should be removed. Some redundant loose parts found in PD and Digital Sidecar should be removed.

Links to Further Information Firmware Updates & Control System Manuals: Firmware Updates & Control System Manuals: Jaguar Getting Started: p?option=com_remository&func=downlo ad&id=1127&chk=ed03ce56ed b33a1fe7e20&Itemid=591 Jaguar Getting Started: p?option=com_remository&func=downlo ad&id=1127&chk=ed03ce56ed b33a1fe7e20&Itemid=591 p?option=com_remository&func=downlo ad&id=1127&chk=ed03ce56ed b33a1fe7e20&Itemid=591 p?option=com_remository&func=downlo ad&id=1127&chk=ed03ce56ed b33a1fe7e20&Itemid=591

Presentation slides at: Presentation slides at: Team358.org Team358.org Questions/Help please Questions/Help please