Skip to content | Skip to navigation
Powered by RSPowered by RSPowered by RS

Blog posts by Aaron Berk

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [Technical Details]

The technical details of the project are as follows:

Components

1 x RS-EDP 4-slot Baseboard - EDP-BB-4A

2 x RS-EDP Brushed Motor Controller Application Module - EDP-AM-MC1

1 x RS-EDP mbed Carrier Module - RS-EDP-CM-MBED Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [Conclusion]

After a hectic last week or two of tuning and calibration, the mbed rover is finally ready. As a test of its odometry, inertial sensors and filter I decided to drive the rover around in a 1 metre square and see how close it could get back to its starting position.

I programmed the movements commands for it follow like so:

Image

The movement distances are in metres, and the amount to turn is in degrees.

Here's how the rover performed: Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [Rover State Machine]

We've now reached the point where all the separate components of the rover can come together to form something greater than the sum of its parts. The chassis is required as a physical platform for mounting our hardware such as motors and of course the EDP which holds the brains of the rover - the mbed. After this we saw the quadrature encoders give us control over the position of the wheels, and the PID controller allowed us to control the speed of the wheel. Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [Inertial Measurement Unit]

One of the initial goals of the rover was to be able to turn a precise angle, on the spot. One simple (albeit inaccurate) way of doing this is to measure the distance between the two wheels.This will tell you the diameter of the circle it will rotate in, from which you can work out the circumference and thus how many times you need to rotate the wheels to have turned a full circle.

Image

(The rover's "inertial measurement unit") Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [PID Velocity Control]

Proportional-integral-derivative, or PID, controllers are commonly used in industry to control processes such as temperature regulation, motor speed and flow rate. Here we will see how they can be incorporated into the RS-EDP Rover design to provide repeatable and reliable movement.

In order to drive the rover in a straight line, both its left and right motors need to rotate at the same speed. If one side was to rotate faster than the other, the rover would soon veer off from its current heading. Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed [Quadrature Encoders]

Image

(Home made quadrature encoder wheel)

When I first started working on the rover, I had little knowledge of how you could get a wheel to rotate a certain distance. I started off just with trial and error - working out how long and how hard I had to drive the motor to get one full rotation and then try to extrapolate that information to any number of rotations. Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed - [Chassis]

The initial rover chassis was an old radio controlled buggy which belonged to someone in the office - it had some impressive wheels, an MDF structure which allowed an RS-EDP to sit neatly on top of it and two pairs of decent motors which could be driven from the RS-EDP-MC1 motor control modules. Read more

Aaron Berk

United Kingdom

RS-EDP Rover using mbed - [Introduction]

I am currently working on a "rover", using the RS-EDP and an mbed as the brains, with the following concept:

Image

The idea is to control the motors on the rover with the RS-EDP-AM-MC1 motor control modules and provide feedback with quadrature encoders, and inertial sensors such as gyroscopes and accelerometers to perform dead reckoning. Read more

 
Syndicate content