1 of 35

Electrical Principles

�OFF SEASON TRAINING

2 of 35

Volts vs Amperes vs Watts

  • Volts (Power), V
    • the potential difference in charge between two points
      • the size of the force that sends the electrons through a circuit
  • Amperes (Current), Amp, I
    • the unit used to measure electric current
      • The number of electrons flowing through a circuit.
  • Watts, W
    • A measure of the rate of energy transfer of an appliance
      • The rate of energy generated or consumed
  • Ohms (Resistance), 𝝮
    • A measure of the opposition to current flow in an electrical circuit

3 of 35

What is Electricity

Series v Parallel

A closed loop of conductive material.

Continuously flow of electric current. Positive to negative or ground. (+, -)

Series: Components are chained together from positive to negative to positive etc.

Parallel: Negative to Negative and Positive to Positive

Circuits

4 of 35

Electrical Safety

General:

  • Power off before doing any electrical work
  • Finish what you start
  • Always check for exposed conductor

Battery:

  • Check wires and breaker, make sure robot is ready to be turned on

Etiquette:

  • Once power is involved, listen to instruction if instruction is being given
  • No mistake is a singular person’s fault, we are a team
  • If you are bored, do not play with tools on the table

5 of 35

COMPONENTS

What makes up the Electrical system?

6 of 35

System Overview

7 of 35

Power Distribution Part 1

12V Lead Acid Battery

Nominal Voltage: 12V

Capable of over 180 amps

120 Amp Breaker

Used to disconnect and connect the battery and prevent the system from drawing too much power.

8 of 35

Power Distribution Part 2

PDH

Distributes power from battery to all components plugged into it

  • Breaker limits current to the component. ( 5 amp - 40 amp options)
  • The mini-fuse is not resettable ( 5 - 20 amps)

9 of 35

Power Distribution Part 3

VRM

Regulates voltage directed from PDH to smaller devices

(limelight, etc)

RPM

Supplies PoE (Power over Ethernet) for the radio.

10 of 35

Radio

Communicates with the driver’s station via it’s own WiFi network

Connects to PDH

and RPM for power and RoboRio with ethernet cable

11 of 35

Smaller Components Part 1

RSL

Controlled by the RoboRIO

Flashes whenever the robot is enabled

Stays solid when disabled.

CANcoder

Precisely measures the

rotation of a shaft or wheel

Integrated within CAN chain

12 of 35

Smaller Components Part 2

CANivore

Separates different CAN bus chains.

Ex. one for drive and one for upper shooter

13 of 35

14 of 35

RoboRIO

The brain

Any device that needs info must be connected here

15 of 35

CAN bus chain

Electrically, the FRC CAN network is a two-wire bus, designed to allow dozens of devices to talk to each other with a single network.

  • Needs two 120 ohm resistors to terminate the ends of the bus.

(The daisy chain is an example of a series circuit (if it breaks in once place, the whole circuit is useless).

16 of 35

Speed Controllers

  • “smart motor controller” for more advanced things like encoder positioning, software limit switches, and feedback loops
  • Regulates the speed and power of a motor
  • Communicates via the CAN bus

17 of 35

DISCUSSION

What is the RoboRio?

What is the RPM?

What is a CAN chain?

18 of 35

Pneumatics

How to move things with air.

19 of 35

  • Compressor

Charges air for components on the robot.

  • Pressure Switch

Works with a controller to tell the compressor when to shut off.

  • Solenoid Valves

Electronically controlled valves.

20 of 35

Pneumatic Controllers

PH/PCM

  • Controls the compressor and up to 8 solenoids.
  • It gains input for a pressure sensor to control the compressor when needed.
  • Can based communication

21 of 35

Electrical Solenoid Valve(s)

Actuates the different sides of a pneumatic component such as a shifter or piston. Can be single or double action.

22 of 35

Compressor

Charges air for components such as pistons and shifters on the robot. FRC-legal amount of air is 120 psi.

Emergency Relief Valve

Keeps the air under 125 psi if the compressor or pressure switch is working incorrectly

23 of 35

Pressure Switch

Manages amount of pressure in the robot

Acts as “go-between” for the PCM and compressor.

Dump Valve

Releases (or dumps) all air out of the robot.

24 of 35

Questions

25 of 35

DISCUSSION

What is the compressor?

What keeps the system from overcharging?

How do you release the air?

26 of 35

Sensors

How the robot knows things about its surroundings

27 of 35

Analog Signals and Digital Signals

Analog Signals

  • Smoothly and continuously go through a range of values
  • Accelerometers create analog signals

Digital Signals

  • Blocky and steps between two values 1 or 0
  • Limit switches create digital signals

28 of 35

Limelight

A smart camera that makes giving the robot vision simpler.

Used for april tag or retro reflective tape detection for targeting scoring elements.

29 of 35

Gyros and Accelerometers

Pigeon

What angle the robot is at on the X, Y, Z axis

Critical for autonomous or balancing

Able to tell how fast the robot is moving

30 of 35

Encoders

Both types are used to measure the rotation of an axle

Absolute encoders know their angle on startup while Incremental need to be zeroed

31 of 35

Limit Switches and Magnetic switches

Hitting the top button interrupts or starts the flow of electricity depending on how it’s wired. Good for hard limits

Detects when a magnet is close to the sensor, good for when you don't want something physically touching

32 of 35

Beam Breaks and Proximity Sensors

Uses light to tell if there is an object between the emitter and receiver

Tells how far away an object is by bouncing light off it and recording the time it takes to sense the light

33 of 35

Uses a change in resistance as the shaft rotates or slider moves to indicate position or adjust voltage levels

Linear and Rotary Potentiometers

34 of 35

Discussion

How does a optical encoder know its rotation?

Which signal type is smooth and which is blocky?

What switch requires contact?

35 of 35

Questions