Saturday, November 5, 2011

robotics projects 1

from: http://www.robotshop.com/gorobotics/robotics-projects( for videos visit this site)


Carlitos’ Projects: Speech-Controlled Arduino Robot

Posted on March 1st, 2011 in Microcontrollers, Projects, Robotics Projects, Robots
We all dream of having appliances and machines that can obey our spoken commands. Well, let’s take the first step towards making this happen.  In this second iteration of Carlitos’ Projects, we are going to build a speech-controlled Arduino-based robot.
Speech Controlled Arduino Robot
You may be thinking that making such a robot must be a very complex task. After all, humans take many years before they can understand speech properly. Well, it is not as difficult as you may think and it is definitely lots of fun. The video below illustrates how to make your own speech-controlled Arduino rover.
After watching the video, read below the detailed list of parts and steps required to complete the project.

Materials

  • A DFRobotShop Rover kit. It constitutes the robot to be controlled.
  • A VRbot speech recognition module. It processes the speech and identifies the commands.
  • Two Xbee RF communication modules. They create a wireless link between the speech recognition engine and the robot.
  • An Arduino Uno. Controls the speech recognition module.
  • An IO expansion shield. Allows to connect the Xbee module to the DFRobotShop Rover
  • An Xbee shield. Allows to connect an Xbee module to the Arduino Uno.
  • Male headers. They are required by the Xbee shield.
  • A barrel jack to 9V battery adaptor. Allows to power the Arduino Uno trough a 9V battery.
  • An LED. It is not required since the IO expansion shield already has one but it can provide a more visible activity feedback.
  • An audio jack. It will be used to connect the microphone. This is optional
  • A headset or a microphone (a microphone is included with the speech recognition module).

Tools

  • A Wire Cutter. It will be used to cut the leads off components.
  • A Soldering Iron. In order to solder all the (many) connections, a soldering station might be preferable since it provides steady and reliable temperature control that allows for easier and safer soldering (you have less risk of burning the components if the temperature is set correctly).
  • A Third Hand. This is not absolutely required, but it is always useful for holding components and parts when soldering.
  • A Hot-glue gun in order to stick the components together.
  • A computer . It programs the DFRobotShop Rover and the Arduino Uno using the Arduino IDE.

Putting it Together

  1. Assemble the DFRobotShop Rover and mount the IO expansion shield, an Xbee Module and the LED. Se the picture above or the video for further information.
  2. Solder the headers onto the Xbee shield. Also solder four headers on the prototyping area as shown below. Do not like soldering? Then keep reading since there is no-solder-required version of the project.
    Speech Engine - 2
  3. Connect the four headers to the corresponding pins as shown below.
    Speech Engine - 3
  4. As shown above, you can also mount the headphone jack and use the cable included with the microphone in order to connect it to the VRbot module microphone input.
  5. Put the shield onto the Arduino and connect the battery.
    Speech Engine - 4
  6. Connect the VRbot speech recognition module wires and the microphone.
    Speech Engine - Back
  7. Program the DFRobotShop Rover and the Arduino Uno with these programs respectively:
    dfrobotshop_serial.zip and VRbot.zip
  8. Start talking to your robot! Say “forward”, “backward”, “left”, or “right” in order to make the robot move in the desired direction. The word “move” shown in the video has been removed from the program in order to improve the performance.

Go Further

Now that you have the basic program you can create new commands in order to build upon this project. For instance, it would be nice to program a “dance” command that would make the rover execute a predefined choreography. It is also possible to use this knowledge to control other devices such as lamps, TV sets, and more.
You can find more information about using the VRbot speech recognition module here:
In our case, we used two of these robots in order to create a ball-fetching challenge at the CRC 2011 with high-school and CEGEP students. As shown below, the students and general public loved the game.

CRC - Robot Fun
CRC - More Robot Fun

Get your own

RobotShop put together a full kit that you can buy in order to get started with speech control. This kit is a bit different than the project shown and does not require any soldering and uses the microphone included with the VRbot module:
Share the robot goodness:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks
  • Facebook
  • Twitter
  • Reddit
  • email

Carlitos’ Project: RGB LED Mood Cube

Posted on January 14th, 2011 in Microcontrollers, Miscellaneous, Projects, Robotics Projects
This is the first in a series of electronic or robotic DIY projects. These projects are accompanied by instructional videos that will help you trough the many steps involved in completing the task at hand. For this first iteration, we are making an RGB LED Mood Cube.
Glowing colour-changing objects are always cool. So why not make your own? Mood lights have been around for some time and, while it is cool to have a colour changing light, it would be even cooler to have something more complex and geekier. An RGB LED Mood Cube seems to be the way to go.
RGB LED Mood Cube Fully Assembled
In this project, we are going to build a 4x4x4 RGB LED cube that can be used to display cool colourful patterns. This project should be straight-forward and the most significant difficulty will be soldering all the connections for the cube structure and the 64 LEDs (since they are RGB, this means 256 joints for the LEDs alone!). In short, if you are looking to have a cool mood-light and get razor-sharp soldering skills, this is the right project for you.
Below you can see the video of the LED cube being put together and the final result.

If you need more information or you simply prefer written instruction, here you will find the full list of materials, tools, instructions and documents required for the build.

Materials

  • An LED Cube Kit. Provides the LEDs and all the structure required to create an LED cube.
  • A Rainbowduino. It is a special Arduino built to control up-to 192 LEDs.
  • A UartSB (USB-to-serial adaptor). A USB to serial interface that is used to program the Rainbowduino (or for serial communication in general) trough a USB port.
  • A USB Cable. A cable to hook-u the UartSB to the Computer
  • A 9V Wall Adapter. A power supply that will power the cube once the assembly and programming are done.

Tools

  • A Wire Cutter. It will be used to cut the leads off components.
  • A Soldering Iron. In order to solder all the (many) connections, a soldering station might be preferable since it provides steady and reliable temperature control that allows for easier and safer soldering (you have less risk of burning the components if the temperature is set correctly).
  • A Third Hand. This is not absolutely required, but it is always useful for holding components and parts when soldering.
  • A Flat Head Screwdriver. This will be used for un/tightening terminal blocks
  • A computer . It programs the Rainbowduino using the Arduino IDE.

Putting it Together

  1. The first step is to assemble the LED cube kit. This kit is much easier to put together than the more common way of constructing an LED cube using the LED leads as the supporting structure.
    The kit includes all the parts required to hold the LED together and takes care of all the complex wiring. Full instruction on how to put the cube together are available in PDF format.
  2. Once the cube is assembled, we need to drive it in order to display cool stuff in it. For this, we use the Rainbowduino, an Arduino clone created specifically for driving massive amounts of LEDs. The cube fits directly on top of the Rainbowduino, and can provide power to it by using the included JST cable. When connecting both modules together, it is important to make sure the “Green” male headers from the LED cube match the “Green” female headers on the Rainbowduino. Also, it is important to set the Rainbowduino switch to “JST”.
    RGB LED Cube and Rainbowduino Power Connected
  3. Now that all electrical connections are done, we need to write some software in order to make it display cool stuff in our new cube. We took the liberty of modifying, cleaning and updating the plasma code readily available for the Rainbowduino. This new code should display a nice smooth wave as of colours that propagates softly though the cube. The code can be downloaded from here: Rainbowduino-RGB-LED-Matrix-Plasma.zip.
    In order to upload this code to your Rainbowduino, you will need to use the Arduino software, so, if it is not already done, it has to be installed. Also you will need to install the USB-to-Serial adaptor drivers.
  4. Once the code and the Arduino software are downloaded and installed, simply unzip the code and open the .pde sketch file found inside of the unzipped folder using the Arduino software. Then, upload the sketch to the Rainbowduino using the USB-to-serial interface.
    Rainbowduino with Serial Interface (UartSB) and USB Cable
  5. Now that the Rainbowduino is programmed, simply remove the USB interface, plug-in the power adapter and admire the light show!
    RGB LED Mood Cube Connected to the Power Supply

Additional Programming and Hacking

Of course, colourful lights are pretty and everything, but for those of you who would like to program your own patterns and animations, there are functions in the provided code that allow you to set the LEDs individually. You could also add some sensors and make the cube interactive. There are even some Xbee headers that could be used to send information to the cube remotely from a nearby computer Using an Xbee module.

On the physical side, you can make a cover for your cube out of paper, plastic, fabric or whatever other materials you have on hand (make sure the material is translucent though)
Finally, at the end of the construction, you will have many RGB LEDs and a bunch of male and female headers left-over. Make sure you put them to good use in your next project.

Getting Your Own LED Cube

RGB LED Mood Cube Full Kit
For those of you wishing to make their own cube, you can use your own parts and buy the missing materials separately or you can get all the components in a convenient kit at RobotShop.
RGB LED Mood Cube - 1
You are also invited to share your results and experience in the RobotShop Forum and by simply leaving a comment below.
Share the robot goodness:
  • Digg
  • StumbleUpon
  • del.icio.us
  • Google Bookmarks
  • Facebook
  • Twitter
  • Reddit
  • email

LEGO Robotic Projects

Posted on September 24th, 2010 in Robotics Projects
If you want  be able to design, build and program complex autonomous robots but have limited experience and don’t know where to start, LEGO Mindstorms is perfect for you!
In the video below you can see one of Menno Gorter’s LEGO Creations:

LEGO has developed one of the most intuitive, easy to use programming software on the market today. Gone are the nuances and painstaking time to debug and check your code, replaced with a visual interface, similar to a LEGO modular brick structure.

Versatile LEGO TECHNIC elements

LEGO has expanded its range of classic bricks to include gears and complex parts to let your imagination run wild. This can always be mixed with standard LEGO bricks.
Versatile LEGO TECHNIC elements

State-of-the-art sensors and servo motors

Even the basic kit includes complex sensors which will allow your students to create complex autonomous robots.
State-of-the-art sensors and servo motors

Easy to use “drag and drop” programming software

Worried about complex programming? LEGO Mindstorms comes with an intuitive drag and drop user interface which allows your students to easily program the robot.
Easy to use “drag and drop” programming software

All of these connect to the NXT Intelligent brick

The NXT microcontroller is the brain of any MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform different operations.
NXT Intelligent brick
  1. The NXT is an intelligent, computer-controlled LEGO brick and is the heart of any LEGO MINDSTORMS autonomous robot
  2. The touch sensor enables the robot to feel and react to its environment
  3. The sound sensor enables the robot to hear and react to sound
  4. The light sensor allows the robot to detect light and colour
  5. The ultrasonic sensor gives your robot the ability to see, measure distance and react to movement
  6. The servo motors , which can be used for partial angle or continuous rotation, ensure your robot moves with precision.
LEGO Mindstorms SoftwareThe LEGO MINDSTORMS NXT software enables you to program your NXT robotic invention and upload your programs to the NXT via USB or Bluetooth connectivity. The intuitive Mac and PC compatible drag and drop software, powered by National Instruments LabVIEW, comes with building instructions and programming guides to easily begin constructing and programming with MINDSTORMS NXT.
Try the DEMO !
LEGO MINDSTORMS is a modular design system that allows you to creat almost any kind of robot.
LEGO provides detailed instructions as to how to build a variety of different robots. There are step by step graphical instructions to guide you through the building process.
Step-by-step graphical instructions

What type of robots can you do?

Spike:

SpikeSpike reacts like a real-life Scorpion. It craws on six legs, has a set of pincer arms (pedipalps), can see and hear with ultrasonic and sound sensors, and can quickly “paralyze” its prey with a touch-sensor enabled stinger!
This simple program allows the Scorpion to move forward to a target, play a sound when it hits the target with its stinger, retract the tail again and go back to its starting point.

RoboArm T-56:

RoboArm T-56RoboArm T-56 is a sophisticated robotic arm that can lift, pivot, and grab objects with its claws. It can detect colors with its Light Sensor and feel objects with its Touch Sensor . Three Motors power RoboArm T-56 – 1 motor powers the grabber claws and 2 motors enable the robotic arm to move up, down, and turn!
This simple program gives RoboArm T-56 the intelligence to distinguish between a red or blue ball with its light sensor. It grabs and moves the red ball, but rejects and releases the blue one when grabbed.

TriBot:

TriBot
TriBot is a flexible and fast 3-wheeled driving robot! It takes advantage of all four sensors to do the job you program it to do. TriBot can grab a ball when you give it a sound command (through its Sound Sensor ), can be programmed to follow a line with its Light Sensor , can feel objects with its Touch Sensor , and can see with its Ultrasonic Sensor.
This simple program enables TriBot to power 1 motor when the light sensor detects dark, and a second motor when the light sensor detects light. Use this program to have TriBot follow a line, modify it, or create one of your own!

Alpha Rex:

Alpha RexAlpha Rex performs tasks that only the most sophisticated robots can do… Walk on two legs like a real person! With built in rotation sensors on the two Servo Motors powering his legs, and an Ultrasonic Sensor enabling Alpha Rex to see, you can program Alpha Rex to go where you want with precision!
This simple program makes use of simultaneous tasks on two Sequence Beams. Alpha Rex’s heart beats on one task, while his legs are powered to move on the other.
Find even more project ideas on the official LEGO Activities website (School mindstorms), and see detailed instructions how to build a Classic Cuckoo Clock or Sound Bot .

New Robotics Projects Section

Posted on September 7th, 2010 in Robotics Projects In an effort to make robotics accessible to everyone, we will be posting robotics project ideas and guides. This will provide you some inspiration to start using your newly acquired skills from the How to Make a Robot Tutorial Series.
Project IdeasStay tuned for new projects to come. In the meantime, you can check out the RobotShop Learning Center for some cool Project Ideas.

topics for paper presentation

from:http://vanishd.wordpress.com/2008/04/17/topics-for-paper-presentation-mechanical-engg/



Considering the large amount of searches for good paper presentation topics which people seem to be making, here are some which i have come across in recent reading. Also a list was put up in our college, i picked up a few interesting ones from them…

  • Magnetic Refrigeration
  • Modern Refrigeration Systems: Solar, Thermionic, Vortex Tube…
  • Intelligent cars
  • Formula 1 cars: Aerodynamics, Steering Wheel, Safety, Engines.
  • Driver Assistant Systems
  • ABS
  • Electronic Stability Control
  • LiGov
  • Traction control
  • Active Steering Control
  • Rocket Booster Systems
  • Camless Engine
  • 6 stroke engine
  • Supply Chain Management
  • CVT
  • Latest Suspension Systems
  • Sky Bus
  • Pressure sensitive paint
  • Stratified Charge Engine
  • Exoskeleton for human performance augmentation
  • Pistonless rocket Engine
  • Ion Drive Engine
  • Automated highway systems
  • Variable timing Valve Trains (VTVT)
  • Maglev
  • Rocket Propulsion
  • Adaptive Light patterns for Automobiles
  • Robotic Vision
  • Ramjet, Scramjet
  • Negative Pressure Supercharging
  • Fluidised Bed Combustion
  • Tiptronic Gearbox
  • Vacuum Heat Treatment of Materials
  • Dry Ice Blasting
  • Quasi Turbine Engines
  • Airbus A380
  • Aircraft navigation Systems
  • Magnetorheological Fluids
  • Smart materials
  • Lean Burn Technology
  • Catalytic Convertors
  • Exhaust Gas Recirculation
  • Air Car
  • Reaction Engineering
  • Flexible Manufacturing systems
  • Quality Function Deployment
  • MRP I
  • MRP II
  • Enterprise Resource Planning
  • Statistical Quality Control
  • MEMS
  • Rapid Prototyping
  • Total Quality Management
  • JIT
  • Vertical Axis Wind Turbines
  • Pendulum Pump technology
  • TATA NANO – worlds most economic car
  • Automotive Lighting
  • Automotive suspension systems
  • DI Gasoline – Stratified charge operation
  • Non Conventional Manufacturing Technologies
  • Ergonomics in Plant layout
  • Ergonomic studies in Automotive seating – Vision and Suspension
  • Tribological Seals – Principles, types, operation, pressure distribution, non contact seals, materials
  • New Generation Integrated Roller bearings with wheel hub
  • Daimler – Branch Information Center –  A forward step in Customer Management
  • Bloom Box – Answer to our Energy woes?





line tracer with programming part2

from:http://www.roboticsindia.com/entry.php/183-Competitions-Robotics-3-The-Build-and-a-Fast-Line-Follower-using-PID


The above code is for a decently advanced line follower written by me over a Sunday evening. Most of the code comes from Pololu Documentation with some customizations for my Robot. The compiler is AVR-GCC being run inside AVR Studio.

The robot does self calibration based on environment to optimizes its sensor reading for line following, this can be seen in the video. Once calibrated it waits for user input to start.

There are basically two choices available -

void follow()

This is the simple line following function which just goes left and right based on the location of the line.

void followPID()

This is a PID based line following mechanism with some of my own customization to prevent robot from skidding. Please do optimize the code if you ever use it. The built robot is quite fast , but due to the small course we are not able to see the real speed.

For the documentation of functions and idea used please refer to the link below

Pololu QTR Sensor Functions



line tracer with programming part1

Competitions Robotics 3 - The Build and a Fast Line Follower using PID




If you are building this and already have bought the parts I will assume that you will need little help assembling it , but I would like to give some pointers so that you don’t make the mistakes which are usually made by people and things proceed fast for you.

Lets start with the PCB as it is the heart of your robot, the PCB files can be downloaded here.

Schematic and Board files in Eagle


Either get the PCB made by a PCB vendor or simply do it yourself using the Ferric chloride method ( tutorial ). This PCB is made for easy fabrication at home with all components available locally. Also this Board can easily be used for any of your own robots. And has been made with libraries compatible to orangutan so you have a good framework to fall back on.

We will first start off by assembling the electronic component and then in the end putting everything together. So starting out if you have made the PCB yourself you can TIN it yourself, doing it is quite simple and will stop your PCB from oxidizing. To do so simply put a small drop of Solder on our copper side of board and then rub it across using your hot solder head ( With Max possible temprature). This will create a very fine layer of solder on the copper.



Also you can print the top silk side on a paper cut it to size and paste it to make it look neater and to label everything.Next solder the components, start with the small ones and move to the bigger ones, this allows for easy soldering. Also use ample flux while soldering to get good joints.



To make FRC cables simply use a plier and put the cable in between it to make the connections, it works well. And with FRC cables you get a very neat robot.



So here is the final robot once again with the battery and the Orangutan Board from Pololu mounted on it -



Lets start moving –

Since we are using a framework and our PCB is built for it most of the things are already taken care of –

To move your robot forward for a second at speed 30 here is the code .

Code:
#include <pololu/orangutan.h>
 int main()
{
set_digital_input(IO_D4, PULL_UP_ENABLED);
while(is_digital_input_high(IO_D4)) {}    // Wait for user to press button
    red_led(1);                  // Indicate robot is ready
    delay_ms(1000);
    set_motors(30,30);  // Go straight 
    delay_ms(1000);       // 1 second 
    set_motors(0,0);       // Stop
    while(1) {} 
}
 
Now Lets do the hello world in robotics , which is line following , the code is self explanatory. If you need a introduction on PID please read here ( PID Tutorial ).

We are using the following line sensors as they give good price/performance. Other than that the allow for low ground clearance with minimal interference.

QTR-8RC Reflectance Sensor Array

Our Robot with Line Following setup -



The final robot



Now the Code - 
#include <pololu/orangutan.h>
  
unsigned char qtr_rc_pins[] = {IO_C0, IO_C1, IO_C2, IO_C3, IO_C4, IO_C5};
unsigned char qtr_rc_count  = 6;       
unsigned int  qtr_rc_values[6] = {0};

// Ideas is to keep line in the center 
void follow()
{
    int position = qtr_read_line(qtr_rc_values, QTR_EMITTERS_ON);

    int center = (( (qtr_rc_count - 1) * 1000) / 2);
    int error  = position - center;

    int leftMotorSpeed = 50;
    int rightMotorSpeed = 50;

    if (error < -(center/2) )  // the line is on the left
    leftMotorSpeed = 0;  // turn left
    if (error > (center/2) )  // the line is on the right
    rightMotorSpeed = 0;  // turn right

    set_motors(leftMotorSpeed,rightMotorSpeed); 

}


float KP = 3 ,KI = 50000 , KD = 16/1;

int   integral  = 0;
int   last_proportional = 0;

void followPID()
{
    int position = qtr_read_line(qtr_rc_values, QTR_EMITTERS_ON);

    int center = (( (qtr_rc_count - 1) * 1000) / 2);

    int proportional = position - center;

    int derivative = proportional - last_proportional;

    int power_difference = proportional / KP + integral / KI + derivative * KD;
    last_proportional    = proportional;
    integral  += proportional;


    const int max = 200;
    const int max_diffrence = 20;
    const int factor_diffrence = 2;

    if(power_difference > max)
        power_difference = max;
    if(power_difference < -max)
        power_difference = -max;

    
    // if diffrence is too much robot skids 

    int leftMotorSpeed  = max;
    int rightMotorSpeed = max-power_difference;

    if(power_difference < 0)
    {
        leftMotorSpeed  = max+power_difference;
        rightMotorSpeed = max;
    }


    if(leftMotorSpeed - rightMotorSpeed > max_diffrence)
    {
        leftMotorSpeed -= (leftMotorSpeed - rightMotorSpeed)/factor_diffrence;
    } 
    else if(rightMotorSpeed - leftMotorSpeed > max_diffrence)
    {
        rightMotorSpeed -= (rightMotorSpeed - leftMotorSpeed)/factor_diffrence;
    }

    set_motors(leftMotorSpeed,rightMotorSpeed);

}



int main()
{

    set_digital_input(IO_D4, PULL_UP_ENABLED);

    while(is_digital_input_high(IO_D4)) {} // Wait for user to press button
    
    qtr_rc_init(qtr_rc_pins,qtr_rc_count, 2000, 255);  // 800 us timeout, no emitter pin

    red_led(1);
    delay(1000);

    int i;
      for (i = 0; i < 100; i++)  // make the calibration take about 2 seconds
      {
        if(i%25==0)
        {
            if((i/5)%2==0) set_motors(20,-20); 
                else set_motors(-20,20); 
        }

        if(i%5)
        {
            if((i/5)%2==0) red_led(0);
                else red_led(1); 
        }
        qtr_calibrate(QTR_EMITTERS_ON);
        delay(20);
      }
 
    set_motors(0,0); 
    red_led(1);

    while(is_digital_input_high(IO_D4)) {} // Wait for user to press button
    delay(1000);

    while(1)
    {
        //follow(); // If you want to use non PID method 
        followPID();
    }}
 
}
 


basic robotics

Robot Dynamics - Getting the Specs Right 

from:http://www.roboticsindia.com/entry.php/184-Robot-Dynamics-Getting-the-Specs-Right

Well this article covers the dynamics involved in making a good robot! So let’s see what are the dynamics involved in making a perfect Robot there are many factors that can affect like RPM torque of the motor, diameter of the wheel friction between the tyres and the floor etc. We shall discuss how to calculate your requirement and then proceed into its application. For that you’ll need to brush up your knowledge of kinematics and dynamics the first few pages explain the concept’s involved if you feel you know all the concepts right just go directly to the implementation of the concepts.

Rotations per Minute (RPM):

It’s the number of times the axle of the motor spins in a minute. I.e. the number of rotations the wheel makes in a minute. We get motors having different rpm’s the common ones being 45, 60,100,150,200,250,300 in normal gear motors and higher rpm’s for brushless motors.

Velocity:

Velocity is the distance travelled in unit time (unit time can be anything like second’s minutes or hours) so the units are meters per second or kilometres per hour etc. So how do we apply this to our robot and calculate the velocity of our robot. First of all we need to know the RPM of the motor used and the diameter of the wheel. Now we come to the fundamental concepts of circles. Consider a point on a circle let’s assume this point is touching the ground when rotating the circle without slippage the point again touches the ground when the circle finishes one rotation .the distance travelled during this time period is the distance travelled for one rotation



And that distance is the product of the diameter and π (π=3.14). The total distance travelled per minute.

Speed of Bot = RPM x Distance per rotation


I have used diameter in calculating if you consider the radius it will be 2πR.

Example:-

Let’s consider an example

RPM = 150;

Diameter = 7 cm (0.07 m)

Distance per rotation = 3.14 x 0.07 = 0.2198

Speed = 0.2198 x 150 = 32.98 m/min or 0.5496 m/s

Torque:-

It is the weight carrying capacity of the motor. The general units of torque are Kg/cm. I.e. the weight it can lift when attached at a distance of 1cm. Torque is also known as moment of force it is the force multiplied with the perpendicular distance from the point where the force is acting so the higher the torque the greater the force the robot can produce



Here you should notice the greater the radius the lesser will be the force at the end point you’ll need to consider this when choosing the radius of the wheel.


Stall Torque: -

This is the force that can stop the motors from rotating i.e. this force is equal to the maximum torque that is produced by the motors so the forces act against each other and nullify .This is also the condition when the motor pulls the maximum current and can damage itself. Care has to be taken so that the motor doesn’t stall. A motor shouldn’t be left in stalled condition for a long time you will end up losing the motor. In India we don’t find any local shop mentioning the torque of the motors (some online shops do list) and those things are the ones sold at the shop just look for similar models and take in those values for calculations. It is equally important to know the stall current of the motor so as to decide upon your power supply the stall torque is the highest current that a motor takes up when in stalled condition.




Acceleration:-

This is a measure as to how fast will your bot get to its top speed. This is very tricky when correlating it to electronic motors so ill just explain you one thing straight if you feel your robot is going slower than it should and getting faster after a few seconds it’s because you are sacrificing acceleration for more weight (your bot is over loaded) you need to get higher torque motors with the same RPM ratings to get your bot to its top speed right from the beginning even here there will be a small time delay but it will be better than running a motor with less torque it will never reach the desired speed.

Traction:-

Traction is the maximum frictional force that can be produced between two surfaces without slipping. In general many people call this as grip on the floor. I.e. The force that prevents your robot from sliding off. you might be in a dilemma as to if high traction is good or not many believe that traction is only necessary for Sumo bot’s or battle bots but that isn’t true traction is required for all your bots if you have a good traction the turning and the control of the bot will be easy and precise. So, how can you have a good traction? The first thing I’d recommend is get your bot better wheels. If your robots motor has a higher torque which you think it won’t be using (like when you end up using overkill motors just because you can afford them or you have them lying around) then increase the weight of your bot as traction increases with the weight of the body. But we wise when involving concepts like this as you’ll need to be clear with the game plan to take these decisions as a wrong choice will make the bot vulnerable in some aspect or the other. Ok to make things simple ill give a few examples where you can put this into action but remember you are sacrificing some torque for this so you’ll need higher torque motors. In Battle robotics or if your robot should move on any other moving object or climbing steep inclines your bot SHOULD have a good traction in the other cases is might not be that needed but it’s always better to have some.

How to calculate forces?

F = m.a (mass x acceleration)

Calculating forces is a must when you build your Robot! Let’s get through the basics once. Every time we consider a set of forces we need to get the resultant force and its value to know how the body experiencing the force will behave. The resultant force as the name suggests is the net force acting i.e. the actual force the body is experiencing though there a number of forces the body experiences only the resultant of the forces acting on it. Look at the diagram below to understand.



In the above figure we are considering all the forces to be acting from centre but in reality there would be a rotational force due to the forces 10F, 5F and 10F there would be rotational torque produced. Like in the figure below.



Component of Force

You might consider some cases where force is acting at an angle then what will be the resultant force in the direction of movement of the body. Look at the diagram below and you’ll get it!



So in general when the force is acting at an angle as shown in the figure the force along the direction of movement can be found out by resolving it into its components like shown in the above diagram.
Some general Force you can encounter:-

Force of Gravitation:-

This is the force that is applied on the body directed towards the centre of the earth. This force is equal to the weight of the body (f=m.a; a=9.8 m/s^2; f=m.g)



Normal Reaction

Normal reaction is the force exerted opposite to the direction of the applied force this supports the Newton’s Third law. I.e. it gets things going for example it’s responsible for us standing on the ground.



CALCULATING FORCES ON INCLINES


UP the INCLINE:-

When climbing up the incline a component of the gravitational force acts against us so the force we have on the robot is reduced by this component as it acts in the opposite direction of the force we are applying to get our bot to the top the diagram below ill make it clear.



Down the Incline

When coming down the incline the component acts along with you so the force increases. Look at the figure below so get a clear picture



Friction on inclines:

Some times your bot might start slipping on inclines this is because the magnitude of the component of weight is greater than the force of friction in between the tyres and the surface of the inclines. When applying this concept we don’t have much to do other than to get a good set of tyres for your bot.

How things are related!

Now I’ll tell you how all the concepts are related with each other.

Distance from shaft v/s the effective force at the end point though the torque will remain constant for any value of the distance from shaft of the motor we should notice that as the distance from centre increases the force acting on the tip is decreasing. Because T=rxf and the total torque remains constant for a particular motor and you are increasing the radius so the effective force at the tip is reduced in turn. Have a look at the two examples below to get a clear picture



In this example the effective force at the end is torque/radius = 1 Kg



The same motor now has an effective force of 2Kg (Torque/radius = 2Kg) when the radius is reduced to 5 cm so it has to be noted that we shouldn’t go for huge radii unless inevitable. In the two pictures I used rod’s the same concept can be applied to wheels also

* When calculating force requirement for lifting objects you’ll need to consider the distance up to its centre of gravity!

Velocity V/s Rpm and Wheel Diameter

The velocity is also another thing which will give the winning edge to your robot so it is also a thing you need to think about! There are two ways in which you can increase your velocity either increase the Rpm or the Wheel diameter. You can do either of them but in general it is advised to go for higher rpm motor they somehow seem to have an edge over increasing wheel diameter but whatever you are doing you need to keep the requirement of torque in mind otherwise the winning edge if not understood or applied properly will make you lose.

Rpm V/S Torque:-

We could be confused in choosing the correct combinations of Rpm and torque. In general they are inversely proportional i.e. for a particular base motor as the rpm increases the torque decreases the maximum torque for a motor occurs at 0 RPM and the Minimum torque occurs when the motor is running at its highest possible RPM if you’re not utilizing that much torque Where does that extra torque go? The extra torque is used in accelerating your Bot though not to 100% most of it goes that way.

Let’s go a bit electrical!

You might have mastered these concepts and made a bot involving good mechanics but you’ll be powering up the entire thing using electrical energy. Many people design bot’s excellent mechanical concepts but fail when choosing the power supply. I have myself had the leading edge of a good enough power supply many times as the opponents though had good mechanism etc they didn’t have enough juice to pump through their bot. Whenever choosing a power supply you should keep in mind the power requirement of each and every part of your bot and get appropriate batteries and also never ignore the voltage recommendations of the components you are using. For example you have four motors on your bot which consume 3amps current at stall (yes! You’ll need to consider the stall current when calculating) then the battery should have a current capacity at minimum 13amps (one amp extra just to be sure) alongside you should also know the voltage requirements if the rating of the motors is 12 volts the battery should be rates 12V 13 A (considering motors are wired parallel)

Example:-

Challenge: - SUMO ROBOT

Now it’s time we apply all the things we learnt to building an example Bot! Let’s take up a challenge we have to build a Sumo bot and the general restriction a sumo bot goes like

Specifications:-

Max Weight 5Kg

Dimensions 30x30x30

Max voltage 12V

Now our task is to build a bot that will emerge as a winner in the competition .So let’s start out calculating our requirements of force the first main task will be to push the other bot outside the arena also there will be other tasks like pushing bricks against inclines etc in qualification rounds now let’s get to business so what would be our force requirements? First and foremost we will have to push the other bots outside the arena and they will weight around 5 Kg most people will go wrong here only they will consider this force only but there are other factors you will also need to consider the weight of your bot and some other force dampening factors like rough terrain etc. So the force will need to be around 11kg (5Kg to push + 5Kg to carry our bot + 1Kg for possible situations) now comes the incline part we need to know the angle of inclination beforehand generally around 25 degrees . Then comes in the speed of the bot this is dependent on you how much do you want? Well something around 0.50 m/s is good for sumo bots. Now let’s list out all the

Requirements:-

Force: - 11 Kg

Velocity: - 0.50 m/s

So now we have the force required that is the effective force at the tip of the wheels what we have left to calculate is the diameter of the wheel the RPM and the torque of the motors required. Lets first get through the velocity first we have seen that

Speed of Bot = RPM x Distance per rotation


Now, 0.50 m/s = Rps distance per rotation
(Rps = rotations per second *conversion taken as speed in m/s)
And Distance per rotation = 3.14 x 2 x radius
Keeping it aside,
Torque = Radius x Force
And Rps = Speed of the Bot / Distance per rotation
= 0.50/2x3.14xRadius
As we can see there are a number of possible combinations you’ll need to chose based on the material available in general the diameter of the wheels available is 7cm (radius = 3.5cm) or (0.035 m) now let’s calculate the rpm needed
RPM = RPS x 60
Rps = 0.50/2x3.14x0.035
= 2.2747
RPM = Rps x 60
= 2.2747 x 60 = 136.482
So now we got the Rpm to be 136.482 and the nearest readymade values is 150 RPM
Torque = Radius x Force
= 3.5 x 11
= 38.5 Kg/cm

Again this load is shared by the number of motors on your bot! So if it is 2 the rating would be 150RPM and 19.25 Kg/cm torque.


NOTE:-
The calculations above are considering a 100% efficient functioning of everything but that just never happens and will never happen so you’ll need to keep all efficiency reducing factors in mind I will just list a few examples undercharges batteries, things which reduce the traction of your bot like oil, water plastic sheets etc. Also things which can increase traction like adhesives etc other factors like, slopes, errors in motors can also affect your calculations by a good margin so consider all these and then decide what will be your winning configuration.