EVERYTHING you need to know about about robot power

Articulated Robotics
1 Apr 202216:33

Summary

TLDRIn this video, the host covers essential concepts related to power in building robots, explaining key electrical terms like voltage, current, and power. They discuss how to plan and design the power circuit for an autonomous mobile robot, including choosing the right components like motors, batteries, and regulators. The video highlights important safety considerations, including the use of proper wiring, connectors, fuses, and regulators to prevent overheating or short circuits. The next video will show the practical steps of wiring the circuit. Viewers are encouraged to subscribe for future content.

Takeaways

  • 🔋 The video is about power management in building robots, focusing on concepts applicable to electronics in general.
  • 💡 Key terms to understand: Voltage (measured in volts), Current (measured in amps), and Power (measured in watts).
  • 🔧 Power equals voltage times current (P = VI), and adjustments to either voltage or current affect power consumption.
  • 🔌 Voltage is usually constant, and current fluctuates based on load; USB devices, for example, always operate at 5V but use varying current.
  • 🔥 Devices have maximum current or power ratings, which are critical to avoid overheating or damaging components.
  • ⚙️ Robots often need two different voltages: 5V for microcontrollers and USB devices, and higher voltages for motors (e.g., 12V).
  • 🔋 Regulators are used to convert higher input voltages to the required voltage, with switching regulators being more efficient than linear ones.
  • ⚡ Calculating the current draw for each component helps design a safe and functional circuit, ensuring regulators can handle the load.
  • 🔋 Lipo batteries are commonly used in robots, and selecting one with proper voltage, capacity, and discharge rating (C rating) is crucial for performance and safety.
  • 🔑 Safety measures include using proper wiring, connectors, a power switch, and a fuse to protect against short circuits and prevent fire hazards.

Q & A

  • What are the three main electrical terms discussed in the video, and how are they defined?

    -The three main electrical terms discussed are voltage, current, and power. Voltage (measured in volts) is the potential difference or 'pressure' that pushes electric current through a circuit. Current (measured in amperes or amps) is the flow of electricity through a conductor. Power (measured in watts) is the product of voltage and current, showing how much energy is being used or transferred.

  • How is power calculated in an electrical circuit?

    -Power is calculated by multiplying voltage and current, expressed as the equation P = V * I, where P represents power, V represents voltage, and I represents current.

  • Why are regulators important when designing circuits for robots, and what types of regulators are available?

    -Regulators are important because they ensure a stable and precise voltage for components, even when the input voltage fluctuates. The two main types of regulators are linear regulators, which are simple but inefficient, and switching regulators, which are more efficient and recommended when handling high currents.

  • What is the difference between linear regulators and switching regulators?

    -Linear regulators are simpler and cheaper but are inefficient, especially with high input voltage and large current. Switching regulators (also called switch mode power supplies or buck converters) are more efficient and suitable for situations where higher current is drawn.

  • Why is it important to choose the correct voltage for motors in a robot, and what should be considered?

    -Choosing the correct voltage for motors is important because motors have rated voltage levels they work best at. Motors can tolerate slightly higher or lower voltages, but exceeding the motor's rating can damage it. A safe bet for many robots is 12 volts, but checking the motor specifications is essential.

  • What is the significance of the current rating for both power supplies and components?

    -The current rating for a power supply indicates the maximum amount of current it can safely provide, while a component’s current rating shows the maximum current it will draw. It’s important to match these ratings to avoid overheating or damaging components.

  • What is the stall current for motors, and why should it be avoided?

    -The stall current is the maximum current a motor draws when its output shaft is held still. Running a motor at stall current for more than a brief moment can damage it, so designers should avoid operating the motor near this current.

  • What factors should be considered when choosing a battery for a robot?

    -When choosing a battery, consider the voltage, current requirements, and capacity. The battery must supply the required voltage and enough current to run the motors and components. Additionally, the capacity, measured in milliamp-hours (mAh), determines how long the battery will last.

  • What is the C-rating of a LiPo battery, and how does it affect current draw?

    -The C-rating of a LiPo battery represents the maximum current that can be safely drawn from it. To calculate this, multiply the battery’s capacity by the C-rating. For example, a 3000 mAh battery with a 20C rating can supply up to 60 amps.

  • Why are fuses important in a robot’s electrical circuit, and what do they protect against?

    -Fuses are important for protecting the wiring and battery from short circuits. If a short circuit occurs, the fuse burns out, stopping the flow of current and preventing damage to the wiring and battery. Fuses are essential for safety in electrical systems.

Outlines

00:00

🤖 Introduction to Power for Building Robots

This paragraph introduces the video, focusing on the importance of understanding power in building robots. The video is part of a larger series on building autonomous mobile robots, and it aims to provide fundamental knowledge of voltage, current, and power. The speaker mentions the plan to start by designing a circuit on paper and continue with more detailed discussions in upcoming videos, encouraging viewers to subscribe.

05:02

🔋 Key Concepts: Voltage, Current, and Power

The speaker introduces key electrical concepts essential for understanding power: voltage, current, and power. Voltage is the potential difference (measured in volts), current is the flow of electricity (measured in amps), and power is the product of voltage and current (measured in watts). These principles are crucial for understanding how electricity works in circuits, and the speaker uses the analogy of water pipes to simplify the explanation. Additionally, they emphasize that power equals voltage times current, highlighting the relationship between these terms in various applications.

10:02

⚡ Practical Example of Voltage in Robots

The discussion shifts to applying voltage principles in a robot, particularly the use of 5 volts for microcontrollers like Raspberry Pi and Arduino. The speaker explains that 5-volt batteries don't exist and suggests using a regulator to convert higher voltages to a precise 5V. Two types of regulators are introduced: linear (less efficient) and switching regulators (recommended for their efficiency). The paragraph concludes by addressing the importance of choosing components with appropriate power ratings to avoid overheating or fire hazards.

15:02

🔌 Choosing the Right Voltage and Current for Your Robot

This section explains how to decide on supply voltage based on the robot’s components, such as motors that typically require 12V. Current draw is a critical factor in determining the design, and the speaker shares tips on estimating current usage for different robot components. They recommend being careful and ensuring that the regulator can handle the required power, particularly focusing on the 5V components and their current requirements.

🚀 Motors and Their Power Requirements

The speaker focuses on the current requirements of motors, emphasizing the need to understand stall current, which is the maximum current a motor draws when it stops moving. They explain that exceeding this can damage the motor and suggest reviewing the motor’s datasheet for details. For this robot, two DC motors will be used, and the speaker calculates the total current draw from the 12V power supply.

🔋 Choosing the Right Battery

The speaker provides a detailed explanation of selecting a suitable battery for the robot, recommending LiPo batteries due to their compact size and power. They discuss important battery characteristics like the S number (cell count), voltage, capacity (milliamp-hours), and discharge rating (C number). Safety precautions when working with LiPo batteries are emphasized, including proper charging and avoiding over-discharging.

🔧 Powering Components for Testing

During testing, using a mains-powered power supply instead of a battery is suggested to avoid frequent charging. The speaker describes various power supply options, from a professional bench power supply to makeshift options like using a car battery. The focus is on ensuring the supply provides the correct voltage and current.

🛠️ Wiring, Connectors, and Safety

Wiring and connectors are critical components for safety. The speaker advises using wiring rated for the appropriate current and connectors designed to handle the load. They mention specific connector ratings and caution against using breadboards or jumper wires for high-current applications. An external USB hub is recommended for the Raspberry Pi to handle additional power requirements safely.

🔌 Adding a Power Switch and Fuse

A power switch is recommended to safely turn off the robot and disconnect the battery. The speaker also stresses the importance of adding a fuse to prevent damage from short circuits, explaining how fuses act as a safety measure by breaking the circuit if the current exceeds a safe level. This section emphasizes circuit protection to avoid hazards like wiring damage or battery fires.

📋 Conclusion and Next Steps

The final paragraph wraps up the theory portion of the video. The speaker hints at the upcoming video where the robot will be wired, components examined in detail, and safety measures ensured. They invite viewers to subscribe and leave comments, particularly about safety issues, and encourage feedback for improving future content.

Mindmap

Keywords

💡Voltage

Voltage, often referred to as potential difference, is the amount of electric potential energy between two points in a circuit. In the video, it is described as one of the core concepts to understand about power in robotics. The analogy of voltage being like pressure in a pressurized water tank is used to explain how it drives current through wires, similar to how pressure forces water through pipes. Voltage is measured in volts, and in the context of robots, it's important to select the right voltage for components like microcontrollers and motors.

💡Current

Current, also called amperage, is the flow of electric charge through a circuit, measured in amperes or amps. In the video, it is emphasized that current fluctuates based on the load, meaning different components in a robot will draw varying amounts of current. The relationship between voltage and current is crucial because together they determine the amount of power a device consumes or produces. Components like motors and cameras often require specific amounts of current to function effectively.

💡Power

Power is the rate at which energy is used or transferred in a system, measured in watts. The video explains that power is calculated using the formula P = VI, where power equals voltage multiplied by current. Power ratings are important when choosing batteries, components, and connectors for robots, as exceeding these ratings can lead to overheating, equipment damage, or fire hazards. The presenter emphasizes that ensuring the correct power supply is key to building a safe and efficient robot.

💡Regulator

A regulator is a component that converts a fluctuating input voltage into a stable output voltage, often essential for precise electronic components like microcontrollers. In the video, two types of regulators are mentioned: linear regulators, which are simple and cheap but inefficient, and switching regulators, which are more efficient and preferred for robotics projects. The regulator ensures that components like the Raspberry Pi receive a consistent 5 volts despite the variability in battery output.

💡Stall Current

Stall current refers to the maximum current a motor can draw when it is not able to rotate, such as when its output shaft is forcibly held in place. In the video, the presenter warns against allowing motors to operate near their stall current for prolonged periods, as it can damage the motor. Understanding a motor's stall current is important when choosing appropriate drivers and power supplies for robots, particularly those with heavy loads or high torque requirements.

💡Battery

A battery is a device that stores and provides electrical energy to power a circuit. In robotics, selecting the correct battery is crucial for supplying the right voltage and current to components. The video discusses LiPo (lithium polymer) batteries, commonly used in robotics due to their high energy density and current output. However, the presenter highlights the safety risks associated with LiPo batteries, such as over-discharge and short circuits, which can lead to fires if not handled properly.

💡Linear Regulator

A linear regulator is a type of voltage regulator that uses resistive components to convert higher input voltages to a lower, stable output voltage. While they are simple and inexpensive, they are inefficient when used in circuits that require high current, as they waste energy as heat. The video contrasts linear regulators with switching regulators, explaining that linear regulators are typically included on microcontroller boards like Arduino, but are not suitable for powering high-current robotics systems.

💡Switching Regulator

A switching regulator, also called a switch-mode power supply or buck converter, is a more efficient type of voltage regulator that converts input voltage to a desired output voltage with minimal energy loss. The video suggests using a switching regulator for robotics projects because it efficiently handles higher input voltages and current loads without generating excessive heat. This type of regulator is particularly useful when powering components like motors or microcontrollers that require stable voltages.

💡Fuse

A fuse is a safety device that protects electrical circuits from excessive current by breaking the connection if the current surpasses a certain threshold. The video highlights the importance of including a fuse in robotic circuits to prevent short circuits and overheating. Fuses act as deliberate failure points that sacrifice themselves to protect more expensive components, ensuring that a surge in current doesn't damage wiring or cause a fire.

💡Motor Driver

A motor driver is a component that controls the current sent to motors, allowing them to operate within safe current and voltage ranges. In the video, the presenter explains that motor drivers are essential for managing the current draw of motors, especially in robotics applications where motors can draw large amounts of current under heavy loads. The motor driver ensures that the motor receives the appropriate current without overloading the power supply or the motor itself.

Highlights

Introduction to power concepts for building robots and other electronics, focusing on the principles applicable to autonomous mobile robots.

Explanation of key electrical terms: voltage, current, and power, along with their units of measurement (volts, amps, and watts).

Analogy of voltage as pressure in a water tank, illustrating how voltage drives current through a circuit, with resistance affecting the flow.

Formula: Power equals voltage times current (P = VI). More voltage or current results in more power, and vice versa.

Emphasis on choosing components that match the power supply rating to avoid overheating or potential fire hazards.

Explanation of how voltage regulators work, converting a higher input voltage into a stable lower output voltage for microcontrollers and USB devices.

Comparison between linear regulators and switching regulators, with a recommendation for switching regulators due to their efficiency.

Overview of 12V motors, discussing how they can tolerate over- or under-voltage, and the importance of checking motor specifications.

Calculating current requirements for 5V components in the robot, estimating 5A total draw and ensuring the regulator can handle the load.

Discussion on motor current draw, focusing on stall current (maximum current a motor can draw) and how it affects motor performance and safety.

Choosing the right battery: Introduction to LiPo batteries, including key specifications such as voltage, capacity, and discharge rating.

Safety warnings about LiPo batteries, including proper charging, handling, and storage practices to avoid hazards.

The significance of the C rating in LiPo batteries, which indicates the maximum current the battery can safely supply.

Recommendation for using a mains-powered power supply during bench testing to avoid constant recharging of batteries.

Importance of using appropriate wiring, connectors, and fuses to ensure safe operation and to prevent short circuits or fires.

Transcripts

play00:00

hey everyone today we're going to be

play00:01

chatting about power i want to try and

play00:03

cover everything that you would need to

play00:04

know when it comes to the topic of power

play00:06

for building robots now the principles

play00:08

in this video will apply to all

play00:10

different kinds of robots in fact all

play00:12

different kinds of electronics really

play00:13

but since this is also part of a bigger

play00:15

series where we're going through how to

play00:16

build an autonomous mobile robot from

play00:18

start to finish i'll be using that in

play00:20

all the examples throughout if that

play00:22

project sounds interesting to you check

play00:24

out the description i'll include a link

play00:25

to the full playlist so you can watch

play00:27

that later today we're going to be

play00:28

planning out the circuit on paper making

play00:30

sure we understand everything and then

play00:32

in the next video i'll be wiring up the

play00:34

circuit and we'll be able to go through

play00:35

a bunch of the components in more detail

play00:37

make sure you subscribe so that you

play00:39

don't miss out on that

play00:41

let's start by reviewing some of the key

play00:42

concepts to understand about power

play00:45

when we're talking about electricity and

play00:46

kind of how much of it there is there

play00:48

are three terms we'll usually come

play00:50

across firstly there's voltage sometimes

play00:52

called potential difference and that's

play00:54

measured in volts

play00:56

then we've got current which is

play00:57

sometimes called amperage because we

play00:59

measure it in amperes or amps or

play01:01

sometimes milliamps which is a

play01:02

thousandth of an amp

play01:04

and then thirdly we've got power which

play01:06

is sometimes called wattage because we

play01:08

measure it in watts or horsepower if

play01:11

it's a car you can also see there in the

play01:13

table i've got the common symbols that

play01:15

are used when we talk about these in

play01:17

equations

play01:19

these three concepts can sometimes be a

play01:21

little bit tricky to understand and

play01:22

plenty of people have tried to explain

play01:24

it over the years i'll try and find some

play01:25

videos and include a link in the

play01:27

description

play01:28

but generally they're going to involve

play01:29

some sort of analogy with water pipes

play01:32

the voltage in the battery is like

play01:34

pressure in a pressurized tank there's

play01:36

potential there but there's nothing

play01:38

flowing

play01:39

if you connect that tank battery to pipe

play01:42

wires then the pressure will force the

play01:44

water or the electricity to flow through

play01:46

the pipes

play01:47

the amount of pressure and the size of

play01:49

the pipe for the resistance of the pipe

play01:50

will affect how fast the water flows

play01:53

or something like that the three things

play01:55

that are probably the most important to

play01:57

understand for now is firstly that power

play02:01

equals voltage times current or p equals

play02:03

vi

play02:04

so if you've got more of voltage or

play02:06

current then you've got more power and

play02:08

if you've got less of it you've got less

play02:10

power

play02:10

if you keep the voltage the same but you

play02:12

double the current you've doubled how

play02:14

much power you're using or if you keep

play02:15

the current the same and half the

play02:17

voltage you halve the power

play02:19

secondly for any particular application

play02:21

the voltage is usually kept constant and

play02:23

the current will fluctuate up and down

play02:25

depending on what the load is for

play02:27

example until very recently every single

play02:29

usb device out there ran at 5 volts

play02:32

but they would all use different

play02:34

currents so a wired keyboard might only

play02:37

use a few milliamps but say you had

play02:39

something like a usb powered heater that

play02:41

might pull a few amps but no matter how

play02:43

many devices you're plugging in and

play02:45

unplugging they're always going to be 5

play02:47

volts

play02:48

and thirdly and this is probably the

play02:50

most important one to understand right

play02:51

now when a power supply gives you a

play02:54

current or a power rating that's the

play02:56

maximum amount of power that it can

play02:58

safely provide and when a device or a

play03:01

component gives you a power or current

play03:02

rating that's the maximum amount of

play03:04

power it will ever draw

play03:06

so that last point is going to be key to

play03:08

many of the decisions we make as we're

play03:10

building our robot

play03:11

when we start to exceed electrical

play03:13

ratings things tend to stop working and

play03:16

get hot and the worst case catch fire so

play03:18

when we're choosing our batteries our

play03:20

components our devices our connectors

play03:23

and our wiring we want to make sure that

play03:25

everything is designed to work correctly

play03:27

together

play03:28

okay so you want to start wiring up a

play03:30

circuit for a robot the first place to

play03:32

start is with the voltage we've got to

play03:34

figure out what voltage our robot is

play03:36

going to operate

play03:37

and in this case we're actually going to

play03:38

have two different voltages inside our

play03:40

robot

play03:41

first up is going to be 5 volts

play03:44

many microcontrollers like the raspberry

play03:46

pi and the arduino are based on a 5 volt

play03:48

input and all of the usb devices will be

play03:51

using operator 5 volts too sometimes

play03:53

you'll see 3.3 volt components crop up

play03:55

we're not going to worry about that for

play03:56

now

play03:57

but you should be aware that it's a

play03:58

thing the question is though where do we

play04:00

get five volts from maybe a battery

play04:03

this is where we'll start to run into

play04:05

some problems you see five volt

play04:06

batteries just don't exist for chemistry

play04:09

reasons

play04:10

and even if they did exist the voltage

play04:12

would probably fluctuate depending on

play04:14

the charge and other factors and these

play04:16

devices often require a very precise 5

play04:19

volts

play04:20

and the other thing is we'll also need

play04:22

power for our motors and generally

play04:23

they're going to need a lot more than 5

play04:25

volts

play04:26

so the solution then is to use a

play04:27

regulator

play04:29

this is a component that takes a

play04:30

different voltage usually higher

play04:32

sometimes lower but almost always higher

play04:35

and it converts it to a precise and

play04:38

regular output voltage in this case 5

play04:40

volts and there are two main types of

play04:44

regulators out there there's linear

play04:45

regulators and switching regulators

play04:48

linear regulators are simple small and

play04:51

cheap in fact the arduino and the motor

play04:53

driver board i'm using both include one

play04:55

on board just for the sake of

play04:56

convenience

play04:57

the problem is that they're not very

play04:59

efficient especially when you've got a

play05:01

high input voltage and if you're pulling

play05:03

a lot of current through it and because

play05:05

of that i'd recommend a switching

play05:06

regulator sometimes called a switch mode

play05:08

power supply or a buck converter we'll

play05:11

talk more about that pretty soon when we

play05:12

look at current so what goes into our

play05:14

regulator well that's our supply voltage

play05:17

and so the next question is going to be

play05:19

well what voltage should that be the

play05:21

first step is to look at what other

play05:23

components we have that are going to

play05:24

draw power

play05:26

in this case for me it's going to be my

play05:28

motors which are two dc motors that get

play05:30

the supply voltage via a motor driver

play05:32

chip

play05:33

so we want the supply voltage to be the

play05:35

right voltage for what our motors are

play05:36

rated for now dc motors are pretty

play05:39

resilient they'll pretty happily take

play05:40

voltage that's over or under what you

play05:42

want but you have to check what your

play05:44

motors are capable of

play05:46

12 volts is usually a pretty safe bet

play05:48

there are a lot of motors out there that

play05:49

are designed to work with 12 volts but

play05:51

sometimes you might find 6 volts or 24

play05:53

volts or something else so it will

play05:55

depend on what your project is

play05:58

so that's how voltage is sorted out 12

play06:00

volts coming in going to the motors and

play06:02

going to the regulator which gives us 5

play06:05

volts for the rest of our components but

play06:07

what about current like i mentioned

play06:09

before current is going to dictate a lot

play06:11

of the decisions that we make when

play06:13

building our robot we could go for a

play06:15

really small efficient low current robot

play06:17

or we could go for broke build a big

play06:20

beefy robot with massive motors that

play06:21

pull heaps of current

play06:23

whatever we're doing we just want to

play06:25

make sure we're being careful and aware

play06:26

as we design it

play06:28

let's start by focusing on our five volt

play06:30

components again we want to make a list

play06:32

of all the components our robot is going

play06:34

to have and try to get a rough estimate

play06:36

for the maximum current they can each

play06:37

draw

play06:38

now for some components it might be hard

play06:40

to find a data sheet this can be a bit

play06:42

difficult we just need to make do with

play06:44

what we can

play06:45

here you can see my estimates but don't

play06:47

trust these make sure you do your own

play06:49

calculations

play06:50

you can see the total is 4.7 amps which

play06:53

i'll just round up to five

play06:55

you can also see that most of this comes

play06:57

from a few heavy hitters the pi the

play06:59

lidar the depth camera and the lcd

play07:01

screen so if you don't have some of

play07:02

those components then your current draw

play07:04

is going to be a lot lower

play07:06

once we know how much current our 5 volt

play07:08

components are going to draw up to 5

play07:10

amps in this case we need to make sure

play07:12

we choose a regulator that's capable of

play07:14

supplying this

play07:15

even though the regulator is only

play07:17

forwarding on power that's come from

play07:19

another source there's still a limit to

play07:21

how much it can safely pass through so

play07:23

our regulator needs to be capable of

play07:26

supplying 25 watts of power

play07:28

i'll be using this 25 watt regulator and

play07:31

we'll take a closer look at it in the

play07:32

next video when we assemble everything

play07:36

so now we can kind of treat this whole

play07:37

part of the circuit as one big 25 watt

play07:40

component and if we're trying to pull 25

play07:42

watts of power out of the regulator we

play07:44

need to make sure we're putting 25 watts

play07:46

of power into it

play07:48

now if we're drawing exactly 5 amps at 5

play07:51

volts out and the regulator was 100

play07:54

efficient and our power supply was

play07:55

exactly 12 volts going in then we can

play07:58

calculate that the current draw from our

play08:00

power supply would be

play08:03

2.083 amps

play08:05

in reality though there's always going

play08:07

to be efficiency losses and we won't

play08:08

always have exactly 12 volts since our

play08:10

battery can fluctuate so i'm going to

play08:12

round this number up to 2.5 amps to use

play08:15

for future calculations

play08:18

so that's our 5 volt components what

play08:20

about our motors

play08:22

the motor current draw is going to be

play08:23

really dependent on the sort of motors

play08:25

you've chosen and what your robot's like

play08:27

how heavy it is how hard the motors have

play08:28

to work that sort of thing and that's

play08:30

because the more torque that a motor has

play08:32

to put out the more current that it's

play08:34

going to draw

play08:36

now the maximum amount of current that

play08:38

it's going to draw is when you stall the

play08:40

motor so that's like if this motor was

play08:42

spinning around right now and i just

play08:43

grabbed the output shaft and held it

play08:45

still and just let the power run through

play08:47

it that current running through is

play08:49

called the stall current and if you let

play08:52

that much current run through your motor

play08:53

for more than a moment it's probably

play08:55

going to wreck it so we don't want to go

play08:56

anywhere near that to find out what the

play08:59

stall current is without breaking your

play09:00

motor we want to take a look at the data

play09:02

sheet it should tell you the stall

play09:04

current and probably also some other

play09:05

currents at lower torques that you

play09:07

should be using

play09:08

so you can see here the motor that i

play09:10

plan to use has a stall current of 1.8

play09:13

amps and a rated current load of 0.75

play09:16

amps

play09:17

and remember that we've got two motors

play09:19

so the total current draw from our

play09:20

supply is going to be two times that so

play09:23

in this case the maximum amount of

play09:24

current that i'll be pulling from my 12v

play09:26

supply is 3.6 amps

play09:29

you also want to make sure that your

play09:30

motor driver is capable of supplying

play09:32

that much current to the motors we'll

play09:34

cover that in a couple of videos when we

play09:36

get our motors up and going so the

play09:37

maximum amount of current required from

play09:39

our 12 volt power supply is going to be

play09:41

6.1 amps and since this is a mobile

play09:45

robot that power is almost certainly

play09:47

going to be coming from a battery

play09:49

so how do we figure out what kind of

play09:50

battery we use

play09:52

so if we're looking for a battery that

play09:53

can supply about 12 volts and at least 6

play09:56

amps of current then our most likely

play09:58

candidate is going to be a lipo battery

play10:00

if you're not familiar with lipos i'll

play10:02

try and find a good video to include in

play10:04

the description there are five things

play10:05

though that it's worth knowing about our

play10:07

battery

play10:08

first up is a warning

play10:10

lipo batteries pack a lot of power and

play10:12

energy into a pretty small package which

play10:15

is great for powering a robot but also

play10:17

poses a safety risk whenever you're

play10:19

working with lipos you want to be

play10:21

careful don't let the charge get too low

play10:24

don't let the wires short on anything

play10:26

make sure you charge them with a proper

play10:27

charger in a fireproof area with the

play10:29

balance leads in under supervision store

play10:32

them safely etc

play10:34

secondly is the s number this is the

play10:37

number of cells in the battery see the

play10:39

battery you buy is actually a bunch of

play10:41

smaller cells joined together so this

play10:43

battery says 3s on it that means it's

play10:46

three cells joined together to get a

play10:48

higher voltage

play10:49

speaking of voltage each cell of a lipo

play10:52

has a nominal voltage of 3.7 volts so

play10:55

our 3 cell battery is going to have a

play10:57

total of 11.1 volts

play10:59

but lipos actually vary a lot in their

play11:01

voltage depending on how charged they

play11:02

are so when they're fully charged each

play11:04

cell is going to have 4.2 volts so

play11:06

that's 12.6 total for our 3 cell battery

play11:09

and then the voltage is going to drop

play11:10

down as we use the battery

play11:13

now if you let it get too low it can be

play11:15

bad for the battery or even dangerous so

play11:17

i don't like to let mine get below 10

play11:19

volts make sure you're checking the

play11:21

voltage regularly and also if anyone

play11:23

knows of a good cheap simple

play11:26

adjustable low voltage cut-off unit for

play11:28

use in small robots like this let me

play11:30

know because i'd like to include it

play11:32

the next number to look at on our

play11:34

battery is the capacity this is usually

play11:36

measured in milliamp hours

play11:38

that's how much current you could

play11:40

continuously draw from the battery to go

play11:43

from full to empty in exactly an hour

play11:46

and if you're pulling more current it'll

play11:47

last less time so this 3000 milliamp

play11:51

hour battery could run at six amps or

play11:53

six thousand milliamps for half an hour

play11:56

or 30 minutes

play11:57

but you don't want to run it the whole

play11:59

way down you want to aim to maybe use

play12:01

two thirds of that and like i said

play12:02

before keeping an eye on the voltage as

play12:04

you go

play12:06

finally the discharge rating or the c

play12:09

number tells you the maximum current

play12:11

that can be drawn from the battery

play12:13

but this number is a bit weird the way

play12:16

you calculate it is you multiply the

play12:18

capacity of the battery by the c number

play12:21

so this battery is 3 000 milliamp hours

play12:23

and 20 c

play12:25

so that's 60 000 milliamps or 60 amps

play12:28

which is plenty that's like 10 times

play12:30

more than the 6 amps that i calculated

play12:32

i'll need

play12:33

now if you want you can be doing all of

play12:35

your testing using a battery but you'll

play12:37

pretty quickly get tired of having to

play12:39

charge it all the time so that's why i

play12:41

recommend while you're doing bench

play12:42

testing to have some kind of mains

play12:44

powered power supply now the best option

play12:47

is probably to get a proper bench power

play12:49

supply like this one here

play12:51

they're not too expensive and they let

play12:53

you adjust the voltage and the maximum

play12:55

current to whatever you need i should

play12:57

probably get around to getting one for

play12:58

myself but if you can't afford that

play13:00

there are plenty of other choices out

play13:01

there you can get dedicated high current

play13:04

12 volt supplies

play13:05

you can use a computer power supply you

play13:08

could probably use a normal ac to dc

play13:11

wall wart but make sure that you check

play13:12

that the current and voltage are correct

play13:14

first

play13:15

or if you got really stuck you could

play13:17

even use something like a car battery

play13:19

even though it's still only a battery

play13:21

it's going to drain a lot slower than

play13:22

one of these will that's all the main

play13:24

components of our circuit covered but

play13:26

there are a few other parts of our

play13:28

circuit infrastructure that we want to

play13:29

make sure we talk about before we're

play13:31

done don't switch off now because these

play13:33

are some of the most important parts for

play13:35

safety something to make sure we don't

play13:37

forget is our wiring and our connectors

play13:39

we have to make sure that they are all

play13:41

rated for the currents that we're using

play13:43

and i say current because the voltage

play13:46

doesn't matter it's all about the

play13:47

current when it comes to this so i'll

play13:49

include a link in the description to a

play13:51

table where you can see for a particular

play13:53

gauge a particular thickness of wire how

play13:55

much current that wire can safely carry

play13:58

and for connectors you want to be

play13:59

checking their data sheets for example

play14:01

this xt60 connector is rated for 60 amps

play14:04

but this rcy plug is only rated for 5

play14:06

amps and breadboards and jumper wires

play14:08

should only be used for very low

play14:10

currents in the milliamps

play14:12

related to this is something i mentioned

play14:14

in the last video which is that the

play14:16

raspberry pi has a limit on how much

play14:18

current can pass through the usb ports

play14:20

that are on board and so that's why i'll

play14:22

also be including an external usb hub so

play14:26

we can supply extra power to this and

play14:28

get all the current we need to our

play14:29

devices

play14:31

once we've got safe wiring and

play14:32

connectors we want to make sure we add a

play14:34

power switch to our robot this lets us

play14:36

turn it off when we're not using it so

play14:38

that we can safely disconnect and

play14:40

connect the battery without risk of

play14:41

shorting things out

play14:43

and the last thing we need to add to our

play14:45

circuit diagram is a fuse

play14:47

without a fuse if positive gets

play14:49

connected to negative somewhere in the

play14:51

circuit maybe there's a loose wire or a

play14:53

failure in a component

play14:55

it creates what's called a short circuit

play14:57

and a huge amount of current will flow

play15:00

from the battery through all the wiring

play15:02

it'll basically use as much power as it

play15:04

possibly can and burn out the wiring or

play15:06

worse set the battery on fire

play15:09

that's generally regarded as something

play15:10

to avoid so by adding a fuse we're

play15:13

creating a deliberate failure point in

play15:15

our circuit

play15:16

if the current gets too high it'll burn

play15:18

out the fuse break the short circuit and

play15:20

keep us safe

play15:22

we don't want it to burn out under

play15:23

normal use though so we need to make

play15:25

sure we choose a fuse that is rated for

play15:27

the current that we have in our circuit

play15:29

and that way it'll let through current

play15:31

up to that point and then burn out if

play15:33

the current is going beyond that

play15:35

now keep in mind that this fuse is

play15:37

designed just to protect the wiring and

play15:38

the battery it won't necessarily protect

play15:40

your components from short circuits

play15:43

there are fuses that we can install for

play15:45

that but we're not going to talk about

play15:46

that right now and remember just like

play15:48

with everything else in the next video

play15:50

i'll be showing you the fuse that i'm

play15:51

using in my circuit

play15:53

so i think that'll do it for the theory

play15:54

side of things in the next video i'll be

play15:56

wiring everything up and we'll be able

play15:58

to take a closer look at some of the

play16:00

components make sure you subscribe so

play16:02

that you don't miss out on that

play16:03

now i've tried to cover everything that

play16:05

i can but i'm sure there are things that

play16:07

you think i should have mentioned and

play16:08

you'll let me know in the comments but

play16:10

if there's anything particularly

play16:11

relevant to safety please leave a

play16:13

comment letting me know so that i can

play16:15

update the description and if you're

play16:17

really quick i'll try to get it into the

play16:18

next video otherwise i'll catch you next

play16:20

time

Rate This

5.0 / 5 (0 votes)

Related Tags
roboticspower circuitsvoltagecurrentrobot buildingautonomous systemsArduinoRaspberry PiDC motorslipo batteries