2013:Electrical Controls Subteam: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Electrical Controls Design =
= Electrical Controls Design =
[[2013 ControlsToDoList|To Do List When Metalwork Arrives]]
'''Control Board Layout'''
[[File:Control Board.jpg]]
<br/>'''Block Diagram'''
[[File:Controls Block Diagram.png]]
'''Controls Overview'''
[[File:Controls pic 1.PNG]]


= Resources =
= Resources =


&nbsp;
<u>'''Operator Controls:'''</u>


{| width="295" cellpadding="0" cellspacing="0" border="0" style="width: 400px;"
Joystick 1 (Drive Left)
|- height="20"
 
| style="width: 115px; height: 20px;" height="20" | '''Aux Joystick&nbsp;'''
{| cellspacing="1" border="1"
| style="width: 107px;" | '''Button Number&nbsp;'''
|-
| style="width: 75px;" | '''Function&nbsp;'''
| Button/Axis
|- height="20"
| Function
| style="height: 20px;" height="20" |
|-
| align="right" | 1
| 1
| Shoot Disc&nbsp;
| Turbo
|- height="20"
|-
| style="height: 20px;" height="20" |
| 2
| align="right" | 2
| Slow
| Feed Mode
|-
|- height="20"
| 3
| style="height: 20px;" height="20" |
| Change to Shooter or Climber Mode (press and hold for Climber mode)
| align="right" | 3
|-
| Index Disc (manually control index motor)
| 4
|- height="20"
|  
| style="height: 20px;" height="20" |
|-
| align="right" | 4
| 5
| Tilt Camera Down
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 5
| Tilt Camera Up
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 6
| Deploy
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 7
| Climb (non-broken mode)
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 8
| Control Light Ring
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 9
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |  
| 6
| align="right" | 10
| Debug Shooter
|-
| 7
| Debug Climber
|-
| 8
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 9
| align="right" | 11
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |  
| 10
| Debug Target
|-
| 11
| Debug Drive
|-
| X-axis
| X-axis
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| Y-axis
| Y-axis
| Manually climb for arm (forwards/backwards)
| Drive Forward/Drive Backwards (Left Wheels)
|- height="20"
|}
| style="height: 20px;" height="20" |
 
|
<br/>Joystick 2 (Drive Right)
|
 
|- height="20"
{| cellspacing="1" border="1" cellpadding="1"
| style="height: 20px;" height="20" |
|-
|
| Button/Axis
|
| Function
|- height="20"
|-
| style="height: 20px;" height="20" | '''Joystick 1 (Drive)'''
| 1
| '''Button Number'''
| '''Function'''
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 1
| Turbo
| Turbo
|- height="20"
|-
| style="height: 20px;" height="20" |
| 2
| align="right" | 2
| Slow
| Slow
|- height="20"
|-
| style="height: 20px;" height="20" |
| 3
| align="right" | 3
| Change to Shooter or Climber Mode (press and hold for Climber mode)
| Shooter/Climber Mode
|-
|- height="20"
| 4
| style="height: 20px;" height="20" |
| align="right" | 4
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 5
| align="right" | 5
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 6
| align="right" | 6
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 7
| align="right" | 7
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 8
| align="right" | 8
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 9
| align="right" | 9
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 10
| align="right" | 10
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 11
| align="right" | 11
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| X-axis
| X-axis
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| Y-axis
| Y-axis
| Drive Forward/Drive Backwards (Left Wheels)
| Drive Forward/Drive Backwards (Right Wheels)
|- height="20"
|}
| style="height: 20px;" height="20" |  
 
<br/>Joystick 3 (Aux)
 
{| cellspacing="1" border="1" cellpadding="1"
|-
| Button/Axis
| Function
|-
| 1
| Shoot Disc
|-
| 2
| Feed Mode
|-
| 3
| Index Disc (Manually control index motor; only used when <u>Storage Broken Switch</u> is set)
|-
| 4
| Tilt Camera Down
|-
| 5
| Tilt Camera Up
|-
| 6
| Deploy
|-
| 7
| Climb (press and hold during entire climb; climb will stop when released; only used when <u>Auto-Climb Broken Switch</u> is NOT set)
|-
| 8
| Control Light Ring
|-
| 9
|  
|  
|-
| 10
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" | '''Joystick 2 (Drive)'''
| 11
| '''Button Number'''
| '''Function'''
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 1
| Turbo
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 2
| Slow
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 3
| Shooter/Climber Mode
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 4
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| X-axis
| align="right" | 5
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |  
| Y-axis
| align="right" | 6
| Manually climb for arm (up/down; only used when <u>Auto-Climb Broken Switch</u> is set)
|  
|}
|- height="20"
 
| style="height: 20px;" height="20" |  
<br/>Joystick 4 (Extended IO)
| align="right" | 7
 
{| cellspacing="1" border="1" cellpadding="1"
|-
| Button/Axis
| Function
|-
| 1
| Storage Broken Switch (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed.)
|-
| 2
| Shooter Broken Switch (allow manual power input to shoot)
|-
| 3
| Lift (Angle Mech) Broken Switch. (When broken, the angle mech can still move either "up" or "down" if over dead center position.
|-
| 4
| Shooter/Storage Broken Switch (not allowed to shoot mode, control angle, or move storage motor!)
|-
| 5
| Auto-Climb Broken Switch (When broken, the primary driver will need to align arms with horizontal bars and aux driver will use buttons to move lifting arms.
|-
| 6
| Arm Pot Broken Switch (Auto-climb moves arms up/down at set constant speed, no PID)
|-
| 7
| Climbing Completely Broken Switch (Not allowed to climb mode; Set broken when any motors/servors/actuators are broken)
|-
| 8
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 9
| align="right" | 8
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 10
| align="right" | 9
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| 11
| align="right" | 10
|  
|  
|- height="20"
|-
| style="height: 20px;" height="20" |
| align="right" | 11
|
|- height="20"
| style="height: 20px;" height="20" |
| X-axis
| X-axis
|  
| Power potentiometer (Slider)
|- height="20"
|-
| style="height: 20px;" height="20" |
| Y-axis
| Y-axis
| Drive Forward/Drive Backwards (Right wheels)
| Angle Potentiometer (Slider)
|- height="20"
| style="height: 20px;" height="20" |
|
|
|- height="20"
| style="height: 20px;" height="20" | '''Broken Switches'''
| '''Button Number'''
| '''Function'''
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 1
| Storage Broken (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed). )
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 2
| Shooter broken (allow manual power input to shoot))
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 3
| Lift (Angle Mech) Broken. (When broken, the angle mech can still move either "up" or "down" if over dead center position.
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 4
| Shooter/storage broken (not allowed to shoot mode, control angle, or move storage motor!)
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 5
| Auto-Climb Broken (When broken, the primary driver will need to align arms with horizontal bars and aux driver willl use buttons to move lifting arms.
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 6
| Arm Broken (Arms move at set constant speed)
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 7
| Climbing Completely Broken (Not allowed to climb mode? Set broken when any motors/servors/actuators are broken.)
|- height="20"
| style="height: 20px;" height="20" |
| align="right" | 8
|
|}
|}


&nbsp;
<br/>SmartDashboard
 
&nbsp;


{| cellspacing="1" border="1" cellpadding="1"
|-
| Area
| Description
| Operation
| Notes
| Name
| Data Type
|-
| Main
| Camera Feed
| This will be a direct feed from the camera.
| The internet address will be based on the <u>Team Number</u>.
| n/a
| n/a
|-
| Main
| Camera Crosshairs
| The Crosshairs that show the center of the shooter, to help align shooter to fire discs appropriatly.
| This would mostly be a simple line down the middle of the <u>Camera Feed</u> and across the middle of it to help line up where the disc will shoot.
| n/a
| n/a
|-
| Main
| Power meter
| Meter next to the <u>Camera Feed</u> that shows the robot shooter's current power. Would be a bar with a label next to it with a number representing power, scaling from 0 to 100 (???)
| There is no real delay for desired power, so this is just shown as a one green bar.
| Shooterpower
| TBD
|-
| Main
| Angle meter
| Meter next to the <u>Power Meter</u> that displays what angle the robot is currently at and the desired angle (i.e. slider position). Would be a bar with a two labels next to it.
| There are two colors for the bar, red and green. The green will go towards the red (the red will get smaller) as you reach your desired angle. The tip of where the red is is the desired angle, and the green is the current angle. There are also two numbers, one showing desired angle and one showing current angle.
| Actualangle, Desiredangle
| TBD
|-
| Setup Dialog
| Discs in Robot
| Set by driver prior to match to indicate how many discs they put in the robot for the match
|
| &nbsp;Startdisks
| TBD
|-
| Setup Dialog
| Team Number
| Numberbox
| Sets the team number for the robot to set the camera feed. Should remain constant until we change the IP address of the robot. Should not change very much.
| n/a
| n/a
|-
| Setup Dialog
| Numeric Up/Down (aka spin box)
| Autonomous Delay
| Number of seconds before the auto mode starts. The number is from 0 to 9.
| Delay
| TBD
|-
| Setup Dialog
| Auto-Mode
| Select which autonomous mode to run. The number is from 0 to 3.
| 0 means no autonomous is run
| Automode
| TBD
|}


= Electrical Controls's Engineering Notebook =
= Electrical Controls's Engineering Notebook =
Line 237: Line 279:
== Week 1 ==
== Week 1 ==


*[[2013:Electrical Controls 01.10|1/10]]
*Came up with general idea for this year's design including;
*[[2013:Electrical Controls 01.12|1/12]]
**joystick placement
**laptop placement
**button placements
**switches and others


== Week 2 ==
== Week 2 ==


*[[2013:Electrical Controls 01.13|1/13]]
*Created and sautered the basic frame
*[[2013:Electrical Controls 01.15|1/15]]
*Ended up changing the basic look of the controls into a much more fitting and organized design.
*[[2013:Electrical Controls 01.16|1/16]]
*Spray painted frame
*[[2013:Electrical Controls 01.17|1/17]]
*[[2013:Electrical Controls 01.19|1/19]]


== Week 3 ==
== Week 3 ==


*[[2013:Electrical Controls 01.20|1/20]]
*Drilled and cut the holes into the frame, equally spaced inbetween each other.&nbsp;
*[[2013:Electrical Controls 01.22|1/22]]
*[[2013:Electrical Controls 01.23|1/23]]
*[[2013:Electrical Controls 01.24|1/24]]
*[[2013:Electrical Controls 01.26|1/26]]


== Week 4 ==
== Week 4 ==


*[[2013:Electrical Controls 01.27|1/27]]
*Finished up the last of the holes and got started on installing the buttons and switches
*[[2013:Electrical Controls 01.29|1/29]]
*[[2013:Electrical Controls 01.30|1/30]]
*[[2013:Electrical Controls 01.31|1/31]]
*[[2013:Electrical Controls 02.02|2/02]]


== Week 5 ==
== Week 5 ==


*[[2013:Electrical Controls 02.03|2/03]]
*Installed Joysticks for driver and auxillary driver
*[[2013:Electrical Controls 02.05|2/05]]
*Installed Laptop with Built-in Interface
*[[2013:Electrical Controls 02.06|2/06]]
*[[2013:Electrical Controls 02.07|2/07]]
*[[2013:Electrical Controls 02.08|2/08]]
*[[2013:Electrical Controls 02.09|2/09]]


== Week 6 ==
== Week 6 ==


*[[2013:Electrical Controls 02.10|2/10]]
*Finished controls completely and ready for competitions.
*[[2013:Electrical Controls 02.11|2/11]]
*[[2013:Electrical Controls 02.12|2/12]]
*[[2013:Electrical Controls 02.13|2/13]]
*[[2013:Electrical Controls 02.14|2/14]]
*[[2013:Electrical Controls 02.15|2/15]]
*[[2013:Electrical Controls 02.16|2/16]]
*[[2013:Electrical Controls 02.17|2/17]]
*[[2013:Electrical Controls 02.18|2/18]]
*[[2013:Electrical Controls 02.19|2/19]]


Engineering Notebook Templates Available at:[[Engineering Notebook Template|Engineering_Notebook_Template]]
Engineering Notebook Templates Available at:


Please Label All Notebook Pages&nbsp;<u>2013:Electrical Controls XX.XX</u> to avoid confusion.
Please Label All Notebook Pages&nbsp;<u>2013:Electrical Controls XX.XX</u> to avoid confusion.

Latest revision as of 16:23, 7 March 2013

Electrical Controls Design

To Do List When Metalwork Arrives

Control Board Layout

Control Board.jpg


Block Diagram

Controls Block Diagram.png

Controls Overview

Controls pic 1.PNG

Resources

Operator Controls:

Joystick 1 (Drive Left)

Button/Axis Function
1 Turbo
2 Slow
3 Change to Shooter or Climber Mode (press and hold for Climber mode)
4
5
6 Debug Shooter
7 Debug Climber
8
9
10 Debug Target
11 Debug Drive
X-axis
Y-axis Drive Forward/Drive Backwards (Left Wheels)


Joystick 2 (Drive Right)

Button/Axis Function
1 Turbo
2 Slow
3 Change to Shooter or Climber Mode (press and hold for Climber mode)
4
5
6
7
8
9
10
11
X-axis
Y-axis Drive Forward/Drive Backwards (Right Wheels)


Joystick 3 (Aux)

Button/Axis Function
1 Shoot Disc
2 Feed Mode
3 Index Disc (Manually control index motor; only used when Storage Broken Switch is set)
4 Tilt Camera Down
5 Tilt Camera Up
6 Deploy
7 Climb (press and hold during entire climb; climb will stop when released; only used when Auto-Climb Broken Switch is NOT set)
8 Control Light Ring
9
10
11
X-axis
Y-axis Manually climb for arm (up/down; only used when Auto-Climb Broken Switch is set)


Joystick 4 (Extended IO)

Button/Axis Function
1 Storage Broken Switch (When broken, the aux driver will use a joystick button to move the fan blade motor (motor moves at constant speed and for the duration the button is pressed.)
2 Shooter Broken Switch (allow manual power input to shoot)
3 Lift (Angle Mech) Broken Switch. (When broken, the angle mech can still move either "up" or "down" if over dead center position.
4 Shooter/Storage Broken Switch (not allowed to shoot mode, control angle, or move storage motor!)
5 Auto-Climb Broken Switch (When broken, the primary driver will need to align arms with horizontal bars and aux driver will use buttons to move lifting arms.
6 Arm Pot Broken Switch (Auto-climb moves arms up/down at set constant speed, no PID)
7 Climbing Completely Broken Switch (Not allowed to climb mode; Set broken when any motors/servors/actuators are broken)
8
9
10
11
X-axis Power potentiometer (Slider)
Y-axis Angle Potentiometer (Slider)


SmartDashboard

Area Description Operation Notes Name Data Type
Main Camera Feed This will be a direct feed from the camera. The internet address will be based on the Team Number. n/a n/a
Main Camera Crosshairs The Crosshairs that show the center of the shooter, to help align shooter to fire discs appropriatly. This would mostly be a simple line down the middle of the Camera Feed and across the middle of it to help line up where the disc will shoot. n/a n/a
Main Power meter Meter next to the Camera Feed that shows the robot shooter's current power. Would be a bar with a label next to it with a number representing power, scaling from 0 to 100 (???) There is no real delay for desired power, so this is just shown as a one green bar. Shooterpower TBD
Main Angle meter Meter next to the Power Meter that displays what angle the robot is currently at and the desired angle (i.e. slider position). Would be a bar with a two labels next to it. There are two colors for the bar, red and green. The green will go towards the red (the red will get smaller) as you reach your desired angle. The tip of where the red is is the desired angle, and the green is the current angle. There are also two numbers, one showing desired angle and one showing current angle. Actualangle, Desiredangle TBD
Setup Dialog Discs in Robot Set by driver prior to match to indicate how many discs they put in the robot for the match  Startdisks TBD
Setup Dialog Team Number Numberbox Sets the team number for the robot to set the camera feed. Should remain constant until we change the IP address of the robot. Should not change very much. n/a n/a
Setup Dialog Numeric Up/Down (aka spin box) Autonomous Delay Number of seconds before the auto mode starts. The number is from 0 to 9. Delay TBD
Setup Dialog Auto-Mode Select which autonomous mode to run. The number is from 0 to 3. 0 means no autonomous is run Automode TBD

Electrical Controls's Engineering Notebook

Week 1

  • Came up with general idea for this year's design including;
    • joystick placement
    • laptop placement
    • button placements
    • switches and others

Week 2

  • Created and sautered the basic frame
  • Ended up changing the basic look of the controls into a much more fitting and organized design.
  • Spray painted frame

Week 3

  • Drilled and cut the holes into the frame, equally spaced inbetween each other. 

Week 4

  • Finished up the last of the holes and got started on installing the buttons and switches

Week 5

  • Installed Joysticks for driver and auxillary driver
  • Installed Laptop with Built-in Interface

Week 6

  • Finished controls completely and ready for competitions.

Engineering Notebook Templates Available at:

Please Label All Notebook Pages 2013:Electrical Controls XX.XX to avoid confusion.