La Couleur De La Vie

                                       "C’est un peu de mon histoire"

In Memorial
Chat Room
My Music


Leave Your Message
Your Time Now
Vote For Me
Is My blog's content and design appealing to you to visit back again?

100% Yes!
50% Yes
Less than 50% yes
Not at all
No Comment

View Results

Weather @Depok
The WeatherPixie
Prayer Time
Visitor Counter
Live Page Popularity


Google
 
BASIC ROBOT MECHANICS TUTORIALS (Part 5)
Tuesday, January 15, 2008
ENERGY

Robot Energy Calculation Tutorial

Introduction to Mechanical Engineering Theory, Energy
This tutorial will cover the practical applications of understanding energy with respect to robots. I do not want to lecture you on high school physics, so I will just go straight to the juicy stuff. What will make this tutorial very useful is that you can simply use the laws of physics to determine the minimal amount of energy your robot needs to perform any desired task (will help you select a battery).

A warning to those who don't like math - this tutorial has a lot of it. If you don't want to bother with the theory, feel free to simply skip to my Robot Energy Calculator.


Potential Energy

Potential energy is the energy 'stored' within an object 'at rest'. For example, if you hold a rock in your hand, it has a potential energy of:

potential energy (measured in joules) = mass (kg) * gravity (m/s^2) * height (m)

Now unless your robot is a rock, this at first appears to be useless math. Now suppose your robot were to climb a cliff, how much energy will be drained from your robot battery? Well, the energy your robot would need would be equal to the potential energy at the top of the cliff.

Or suppose you had a robot helicopter and you wanted to determine the maximum altitude it can go with a particular battery. Then you would simply reorder the equation slightly and get this:

    battery_energy / (mass * gravity) = maximum_height_possible

(note that this does not leave enough energy to survive the trip back down)


Kinetic Energy

Kinetic energy is the amount of energy required to accelerate/decelerate a robot.

Lets say you have a typical wheeled robot running on perfectly flat zero friction loss terrain. In this scenario, there are only two drains on energy - acceleration and deceleration. Both can occur at any time, not just at stop and start locations, but also when turning and rotating.

So how do we calculate this? Simple, use the kinetic energy equation:

    energy = 1/2 * mass * velocity^2

where velocity is the desired maximum velocity.

For example, lets say our 1kg robot starts at rest and accelerates to 1 m/s, rotates 90 degrees and then travels at 2 m/s, then decelerates back to zero velocity. How much energy was spent?

Simplifing the above, it starts moving, stops to rotate, moves again, and then stops again. Or:

    energy = 1/2 * 1 kg * ( 1 m/s + 2 m/s)^2 * 2 = 18 Joules

Notice that I multiplied by two - this is because the robot accelerated twice and decelerated twice. The energy to start moving equals the energy to stop moving!


Unified KE/PE

Now at any point in time your robot has some amount of both kinetic energy and potential energy. For simplicity, in this tutorial we will assume that horizontal motion requires kinetic energy and vertical motion requires potential energy (see below image). When summing this amount, we can then calculate how much energy your robot will require to perform any task.

For example, lets suppose our wheeled robot is driving up a hill. In other words, your robot is doing two things - going up, AND driving horizontal. If you calculate each separately, you can then sum them up for total energy required.

    energy = mass * gravity * hill_height + 1/2 * mass * velocity^2 * 2


Energy Losses

The above examples only occur in ideal situations. In reality your robot will lose energy from a great multitude of sources such as air friction, ground friction, gears, thermal losses, circuit resistance losses, etc.

Typically, these sources are too complex to mathematically calculate, and so we have two choices. We build mockups/prototypes to test, or we just guess based on intuition. If you are unable to create a mathematical model for your first design, you must use intuition and guesswork. If you wish to build 'new and improved' designs, then you can experiment on your previous prototype.

Since you are reading this tutorial I am assuming you do not have a good intuition when determining these energy losses so here is a quick guide:

For most robots air friction can be ignored. Only account for air friction when your robot is very large (huge surface area), shaped like a parachute (you get the idea), or has a high velocity (air friction is proportional to velocity). To otherwise mathematically model this would require CFD, or computational fluid dynamics simulations.

Ground friction losses occur as distance is traveled. If your robot was operating on say rough terrain and traveled a specific distance, your robot would need to constantly accelerate to counter the friction induced deceleration.

For example,

deceleration_ratio = # of times to re-accelerate / unit_distance
energy loss from friction = deceleration_ratio * distance_traveled * kinetic_energy

A perfectly designed system in an ideal environment would yield a deceleration ratio of 0. A ratio of 1 would be realistic, and even higher would represent high friction in your system.

Gearing losses are much easier to calculate. Check out my gearing efficiency tutorial.

Gears

If your robot does not use a thermal form of energy (like a combustion engine), then you can ignore thermal losses as they would be fairly small. Calculating thermal losses (in realistic settings) is way to complex for all but the experts.

Circuit losses can be calculated: unused_power = current^2 * resistance, where resistance and current can be derived from your schematic, ohm's law, and part datasheets. With today's electronics this can be considered neglible for most robots.


Battery Energy

I have been saying 'energy' for a while now, but how do you relate this number to the energy stored in your robot battery?

    power (watts) = voltage * current
    joules = watts * seconds
    Battery Energy = voltage * mAh (watt hours) * 60 * 60 / 1000

For example, a 6V battery rated at 2000mAh would have 43200 joules of energy.

Batteries


Energy Conversion (and losses from)

Energy conversion is when a form of energy is changed into another form of energy. For example, your robot battery stores chemical energy. When you attach a motor to your battery, this chemical energy is converted to spin motors which then creates rotational mechanical energy.

As a robot builder, you want to have as few possible conversions as possible. Why is this? Because no conversion is 100% efficient. This is why motors get hot - thermal energy losses that provide no benefit! As a matter of fact, you can typically expect most conversions to be between 30% and 70% efficient. That's a huge loss in energy!

Energy Conversion Loss

Let me give you a good example on this, a specific example that you should be able to relate to. And I'm apologizing now for those who think electric cars will save the world . . .

So suppose I ask you which is more efficient, an electric car or gasoline powered car? I would make the argument that a gasoline-powered car is significantly more efficient, and hence wastes much less energy. What is the basis for my argument? Well, energy conversion efficiency!

Lets start off with how to power the electric car:
Coal at a power plant (chemical energy) is burned (thermal energy) to expand water vapor gas to spin a turbine (mechanical energy) which acts as a generator to create electricity (electrical energy) which is then stored in your car battery (chemical energy) and then used to power the car motors (electrical energy) to provide mechanical motion (mechanical energy).

Counting, that's 7 forms of energy with 6 conversions. Assuming each conversion is on average 70% efficient, thats:

    efficiency^(conversions) = final efficiency
    or
    .7^6 = .118 = 11.8% efficient

Now for a gasoline powered car:
Gasoline is stored in your car (chemical energy) and ignited in the engine (thermal energy) to expand gasses to push pistons (mechanical energy) that rotate your car wheels.

Counting again, that's 3 forms of energy with 2 conversions. Assuming each conversion is on average 70% efficient, that's:

    efficiency^(conversions) = final efficiency
    or
    .7^2 = .49 = 49% efficient

I want to stress this is not proof that gasoline powered cars are lesser/greater polluters than electric cars, just that gasoline cars are significantly more efficient energy-wise. In reality, the typical conversion efficiency of a typical power plant is around 30%, with yet more losses are experienced when transporting electricity down power lines. And then there are yet more energy losses such as with trucking in gasoline/coal to various locations, etc.

So if you wanted to calculate a conversion loss for a battery-powered robot, you would do say:

    90% battery to electricity
    60% electricity to mechanical motion

Therefore:

    Battery energy after conversion = Battery_Energy * efficiencyA * efficiencyB . . .
    or
    = Battery_Energy * .9 * .6

So to calculate loss of energy from conversion,

    Battery_Energy*(1 - efficiencyA * efficiencyB) = Energy Loss


Final Equation

Summing up everything you learned we can now form a general equation for calculating required energy for your robot:

    Required_Energy
    = 2 * Kinetic_Energy
    + Potential_Energy
    + Energy_Losses
    + Conversion_Losses

or filled out:

    Required_Energy
    = mass * velocity^2
    + mass * gravity * height
    + deceleration_rate * distance traveled * (1/2 * mass * velocity^2)
    + Battery_Energy * (1 - efficiencyA * efficiencyB)

or solved for Battery_Energy:

    voltage * mAh * 60 * 60 / 1000
    = mass * (velocity^2 + gravity * height
    + deceleration_rate * distance traveled * 1/2 * velocity^2)
    / (efficiencyA * efficiencyB)

If your robot makes a lot of stop/start motions, multiply Required_Energy by that number of motions while distance equals the distance between each motion.

Energy Calculator
To better help you, check out the energy calculator to do the math for you.

Sumber : Society Of Robots

Labels: , ,

posted by Musa @ 7:31 PM  
0 Comments:
Post a Comment
<< Home
 
About Me

Name: Musa
Home: Depok, Jawa Barat, Indonesia
About Me: Seorang yg sederhana, moderat, individu serta suka dedikasi dan komitmen dalam semua aspek hidup. Dalam pandanganku sendiri sebagai seorang stabil, bertanggung jawab, percaya diri dan orang penuh kasih yang mempunyai niat baik. Kenangan dari segalanya langkahku merupakan pengalaman berharga dimasa mendatang. Petualanganku dimulai dari pulau “Celebes” yang lebih dikenal dengan Sulawesi. Tepatnya di daerah Gorontalo tempat kelahiran dan masa-masa kecilku bermain dan tumbuh. Minat yang berkisar akademis terutama hardware system, petualangan. Mengunjungi suatu tempat dan hidup bebas dari “penjajahan” kesenangan penuh kasih. Bagaimanapun, seorang Purnawarman Musa masih merasakan bahwa aku bukanlah seorang yang sempurna.


YM ID : adadegh
See my complete profile
Facebook ID
Previous Post
Archives
Current Moon
CURRENT MOON
moon info
Other My Blog

Coretan

↑ @Gunadarma University

Serpihan-serpihan Catatanku

↑ @Blogsome dot Com

Links
This Day in History

Total Online
UG Radio
Powered by

BLOGGER

© 2005 La Couleur De La Vie Template by Isnaini Dot Com