2015 Beta Control System Brunswick Eruption November 8, 2014

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.
Hauppauge Robotics Conference
TCP-IP Primer David Cozens. Targets Have a basic understanding of Ethernet network technology Be aware of how this technology is applied on the 5000 series.
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.
Introduction to 2015 Control System
Programming and Electronics Training
Wiring the new control system MVRT 2010 – 2011 Season.
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.
Travis Reed Todd Hummel Kwan-Truc. Concept USB 1.1 SPI b.
Today’s Agenda New Hardware Setup of RoboRIO
AS-i, The Simplest Automation Networking Solution Dated: 10/30/2008.
G3 Electronics Platform Overview Presentation. G3 Electronics Platform Pneumatic Valve Side 32 Solenoid Output Capability Including Valve side Sub-D.
                      Part IV Reading Power.
MUST HAVE SHOULD HAVE COULD HAVE Module # 010. Qi Hardware Objectives Recognize hardware Know how to interface to field equipment Know the 4 different.
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.
2009 Control System Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
2015 Control System New IDEs and CAN. Programming Languages Labview, C++, Java Labview remains basically the same C++ and Java now use Eclipse IDE You’ll.
SXBlue II GPS CHAPTER – I ABOUT HARDWARE AND SOFTWARE.
2012 Beta Seminar 694 Software Engineering. Overview WPILib ▫Command-based programming ▫NetworkTables ▫SmartDashboard ▫Preferences ▫Laptop-based vision.
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.
Components of a Successful FRC Electrical System
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.
Page 1 ADAM-6000 Web-enabled Smart I/O Γιάννης Στάβαρης Technical Manager Ιούνιος 26, 2007.
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.
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Electrical Rules and Components
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.
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
1923 Virtual Robot Part 4 By Nihar Sidhu.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor 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.
Hardware Training Product: ITMS2.
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
Session 11 Intro to FRC API.
Electronics and Controls
Electrical subsystem Manual vs Automation.
Cr yptonite robotics labview beta findings December 19, 2015.
Electrical and Controls Workshop – The Basics Mike McIntyre & Rahamath Shaik September 26, 2015 (with props to Tom Barch!)
Electrical Layout and Construction Techniques for FRC
Cass Lake Bena Robotics Team 3134 & Team  Drivetrains  Electrical System  Operator Interface.
SbRIO Control System Summer 2012 Release 1.0 Christopher Gerth – Development Lead.
CompactLogix Controllers Portfolio
FIRST ROBOTICS COMPETETION Introduction to Electrical & Control System Power and Signal Distribution/Interconnection Sensors, Motors, Speed Controllers,
The FRC Control System Brought to you by the electrical subteam of FRC Team 2177, the Robettes.
FRC Robot Electronics.
Team 5950 Code name “Ozotron 300”.
Trainings 10/28 Woooooo!!.
Electrical System Team FIRST Stronghold.
Acronyms Galore: Wired for Success
Field Management System
The bios.
Presentation transcript:

2015 Beta Control System Brunswick Eruption November 8, 2014 Mark McLeod FRC team 358 team358.org

Agenda Layout New Components Old vs New Networking Programming Support Tools Hands on (try Weidmuller connectors) Presentation is located at: http://team358.org/files/workshops/

Parts is Parts roboRIO w/ MyRIO Expansion Port (MXP) Pneumatics Control Module (PCM) Power Distribution Panel (PDP) Voltage Regulator Module (VRM) Victor SP Talon SRX

New vs Old Overall 1/3 smaller footprint, 1/2 vertical clearance roboRIO Old: cRIO/modules/Digital Sidecar(DSC)/Analog Breakout PCM Old: Solenoid Breakout & DSC Compressor relay/pressure DIO PDP Old: Power Distribution Board (PDB) VRM Old: PDB 12v output + 12v/5v converter Old: 5v power for camera Victor SP Old: Victor 888/Talon SR/Jaguar(PWM) Talon SRX Old: Jaguar (CAN)

Layout

roboRIO PWM (10) + up to (10) on MXP DIO (10) + up to (16) on MXP (4) Relay Analog Input (4) + (4) on MXP (2) Analog Output on MXP Communications (2) SPI ports 1x4 & 1x1 (2) I2C ports UART (1) RS-232 + (1) TTL (2) USB host ports (1) USB device port (1) Ethernet (1) CAN Power pins for 6v(2.2a), 5v(1a), 3.3v(1.5a) Note 6v measures low if not loaded DIO/I2C/SPI are 3.3v but handle 5v Short circuit protection Specs: https://decibel.ni.com/content/servlet/JiveServlet/download/30419-56-79765/roboRIO+Overview.pdf

PDP Direct replacement of old PDB Minuses: (4) fewer 20/30a Wago connections No warning LEDs for blown or missing breakers Pluses: Per channel current monitoring (25ms update rate) Per channel short circuit sticky fault Input battery under voltage sticky fault CAN communications Other Notes: Battery power lugs must fit within protective cover (.44” wide) Special roboRIO/PCM/VRM outputs aren’t special. If more PCM/VRM devices are needed just use regular wago power.

PCM Replaces old Solenoid Breakout, Compressor Relay, Pressure Switch DIO Automatic control of compressor operation- no direct user code involvement Supports either 12v or 24v solenoids, pick one The 24v for solenoids is guaranteed. The 12v just follows battery voltage. (8) solenoid outputs - that’s (8) single or (4) double or a mixture Additional PCMs can be powered directly from a PDP Wago connection CAN communication Smart monitoring for faults Compressor/solenoid over voltage or short circuit Compressor current Solenoid on/off Solenoid jumper setting 12v or 24v 25ms update rate No Relay Spike for the compressor Short circuit protection

VRM Replaces 12v protected supply from the old PDB and the 12v/5v converter Good down to 3.5v (long after everything else blacks out) Short circuit protection 12v rail and 5v rail are separate, but each rail’s outputs are joint All outputs on a rail share the same overall constraints 1.5a total continuous current across all rail outputs 500ma current limited outputs piggy-back off the 2a Max outputs 2a Max momentary current matches the combined peak for a Dlink & AXIS camera (725ma+1.3a=2.025a). Normal continuous current draw for these two is about 500ma Additional VRMs can be powered directly from PDP Wago outputs

Victor SP/Talon SRX Victor SP Talon SRX PWM only Sealed enclosure 60a continuous/100a surge Much smaller footprint (2.5" x 1.125" x 0.875"tall) Much lighter weight (.2 lbs) LED indicators blink proportionately to output speed and in various colors (yellow blink=Disabled, green=forward, red=backwards) $60 Talon SRX CAN or PWM Slightly larger $80

Networking PC talks to roboRIO over USB or Ethernet connection DLink Rev B still being used CAN for roboRIO/PCM/PDP/speed controller communications CAN IDs are by device type, so the default is PDP id=0 and also PCM id=0 17 devices (15 Jags using %v+PCM+PDP) takes up 20% of bus bandwidth Multicast Domain Name System (mDNS) E.g., roboRIO-358.local Static IP vs DHCP Static 10.TE.AM.1 for robot DLink/default gateway .2-.19 set aside for the user to assign, e.g., IP cameras, secondary processors .20-.199 assigned via DHCP (Field Router or DLink at home) roboRIO Driver Station Development laptops The NI FRC Update installs a mDNS resolver, Mac OS and iTunes come with Bonjour. Linux distros have it or can install avahi, zeroconf, or mdns.

Considerations/Differences Self-protect Brownout Cutoff @ 7v @7v PWM output is cut @6.5v the 6v rail shuts down @6.2v the 3.3v rail shuts down @5v PDP looses CAN @3.8v roboRIO reboots @3.4v VRM drops out PWM connection Security, snug but potential for rattling loose Metal frag & pinout cups Weimuller connections Wire whiskers bunch up Wire size 16-18 (smaller gauge is easier to insert) USB thumb drives work on roboRIO (mount as U & V on root directory) Encoders: currently up to 12 quadrature encoders are supported (4) 4x dedicated encoders (8) 1x/2x Counters Dual purpose MXP pins Any Digital Output pins shareable with PWM will be Disabled with the robot Windows 7/8 to run Driver Station & if using LabVIEW environment

Programming Mostly the same programming API’s as last year for all three languages Some function name changes roboRIO will automatically run whichever language program was loaded last New Power API’s Battery voltage, PDP current monitoring, Over current/short circuit faults PCM & PDP, Sticky faults Indexing starts at 0 rather than 1 Joysticks, PWM, DIO, Analog I/O, Relay Compressor no longer under user code control other than stop/start Built-in 3-axis accelerometer w/selectable sensitivity of +/-2,4,or 8g Missing Cypress board support by the Driver Station discontinued Driver Station user message display Kinect support on Driver Station Backward compatibility for LabVIEW w/ 4-slot cRIO only Windows, Linux, OSX for Java, C++ development Eclipse for Java & C++ JRE 8 SE Embedded (standard Java release)

Joystick Handling POV as degrees Indexing from 0 Some Relocation of Controls Plans are for Rumble

LabVIEW Minor Palette Rearrangement Joystick functions revised Legacy vi’s, e.g., Joystick Get, will partially work - removed from palette Joystick Get Values replacement uses a generalized indexing scheme Modified Behavior Compressor Open not required, a Solenoid Open will activate the compressor Index from 0, e.g., USB 0, Button 0, Axis 0, PWM 0 Power palette roboRIO Input voltage, current, brownout 3.3v/5v/6v rail faults 6v rail voltage & current Disable 3.3v/5v/6v rails PCM Compressor current Compressor & Solenoid see & clear faults Input voltage Solenoid voltage PDP Battery input voltage (16) Wago channel currents PDP Energy & Power usage Outputs Enabled (DS Disabled, comms loss, overvoltage or brownout Disables) Potentiometer & Limit Switch palettes Read User Button

Support Apps, Tools, & Utilities No automatic shortcuts on desktop or Start menu (user has to add if wanted) Driver Station Dashboards WebDASH roboRIO Imaging Tool 2015 Setup AXIS Camera Tool Bridge Configuration Utility BCD Comm (new Jaguar firmware) 3rd Party Tools PuTTY for ssh ftp LV cRIO Backward Compatibility cRIO Imaging Tool 2015 Net Console for cRIO

Driver Station

WebDASH View and Modify roboRIO settings Versions Update firmware Force Safe Mode Disable RT Startup App System Resources Available/Used Set Static/DHCP IP CAN Bus Devices Set CAN Ids for PCM, PDP, speed controllers See PDP & PCM monitoring/clear sticky faults

Links NI Specs Team 358 Beta Other Beta Teams ChiefDelphi Community: https://decibel.ni.com/content/docs/DOC-30419 Team 358 Beta http://team358.org/files/programming/ControlSystem2015-2019/BetaResults.php http://team358.org/files/programming/ControlSystem2015-2019 Other Beta Teams Team 11: https://www.facebook.com/FRCBetaTest Team 1718: http://www.fightingpi.org/Resources/Controls/Beta/2015.shtml ChiefDelphi Community: http://www.chiefdelphi.com/forums/showthread.php?threadid=130303