Tuesday, 23 March 2010
Case Statements
Let b0 = pins
let b1 = 000111 & pins
select b1
case = 000000; both motors off and return to select
case = 000001; Right hand motor on and return to select
case = 000010; both motors on and return to select
case = 000011; Right hand motor on and return to select
case = 000100; Left hand motor on and return to select
case = 000101; Error
case = 000110; Left hand motor on and return to select
case = 000111; both motors on and return to select
The individual case (ie how to drive both motors will be developed in a later blog).
Programming limitations
IF/ELSE Case Statements
Let b0 = pins
Debug Pins; This command would indicate what the device 'thinks' to the observer
let b1 = 000111 & pins
If b1 = % 00000000; No Action
Else b1 = 000001; Hard right turn
Else b1 = 000010; Continue straight
Else b1 = 000011; Gentle right turn
Else b1 = 000100; Hard left turn
Else b1 = 000101; Error.
Else b1 = 000110; gentle left trun
Else b1 = 000111; Continue straight
Monday, 22 March 2010
Autonomous Vehicles


Autonomous Vehicles and Robots
Introduction
Autonomous Vehicles and Robots are machines that interact with its environment. They use various types of sensors to determine the area around them. Based upon the received signal a microcontroller that has been pre-programmed to decides what should happen next. Because of the initial programming complete by humans they need little contact to perform the required jobs that they are designed to undertake.
Example of Autonomous Vehicles and Robots
There are many examples of Autonomous Vehicles. They range from UAV (unmanned aerial vehicle) to UGV (unmanned ground vehicle) and UUV (unmanned underwater vehicle) . All of these are normally used within the military. However they are not restricted to military use.

Oil and Gas industry's use UUV to construct detail maps of the seafloor before they start building pipework and rigs. They can also be used to survey pipes once the have been laid. In Particular UUV can allow research to be undertaken in areas that would not initial be possible by humans. Many different sensors can be attached to the UUV. For example they can determine the concentration of various elements or compounds. The absorption or reflection of light and the possibility of microscopic life.
As well as Autonomous Vehicles, robots are available and are used commonly in industry. In industry the robots are designed and used to perform repetitive task. These task would have normally ben complete by humans. By reducing the need from humans to perform the task it has reduced the amount of work a company offers but this in turn reduced the overall cost of the products they sell, however a line of robots will have a couple of operators. This is were the human interaction needs to be. If any errors occur the system can be shut and re-programmed. Even though the robots take over a high amount of labour work they provided jobs to the specialist skilled workers (i.e. the ones who can program the machine). From the industrial point of view robots are invaluable to a company that needs to turn out a high volume of products consistently.
Autonomous Robots are highly used within the car industry. Each robot will have six-axis and be mounted with several tools. A few examples of the jobs that they would undertake are:
- Drilling Holes
- Welding Panels
- Screwing
- Painting
- Cutting
The benefit of using automatic robots are they work to a much higher degree of accuracy then a human can. Not only do they have high accuracy they will complete the jobs at speed reducing the amount of time speed on the convenor belt in construction. They will have an a high initial start-up cost but this can easily be overturn with a quick turn around time with reduced number of rejects. Also if a company wish's to produce a new product they can easily be re-programmed where as a human would need to be retrained with time taken to familiarise them with the process of construction, hence increasing the value of having robots.

Conclusion
Autonomous Vehicles and Robots are extremely cleaver machines that have been pre-programmed by humans to do repetitive or dangerous tasks. They have been invaluable to all types of industries and occupations. Without them a large amount of what we have now would not be available - for example oil rigs that are build more than 500m under water. Using robots has increased the quality of products that can be produced which should to more reliability and confidence in company to produce quality made as well as designed products.
Programming
Autonomous Robots- Industrial andDomestic

Autonomous robots (Picture courtesy of KUKA Robotics) and vehicles are machines that are capable of interacting with the enviroment through use of sensors and programming. In effect they are "Intelligent" in the way they need little human contact, to carry put they're desired tasks.
Group Research - Human Factors and concerns with UAV's.
1. Displays and Controls.
2. Automation and System Failures.
3. Crew Composition, Selection and Training.
To add an interesting addition to the automation category however, at what level of automation should a human decision be compulsory. Is it okay for an UAV to decide to destroy a high profile military target at cost to civilian life/infrastructure?
(1) McCarley S.J. & Wickens C.D. (2005)
HUMAN FACTORS CONCERNS IN UAV FLIGHT
Institute of Aviation, Aviation Human Factors Division
University of Illinois at Urbana-Champaign
Saturday, 20 March 2010
Wednesday, 17 March 2010
Programming and Limitations


Practically using sensors i can determine position on the line and can start preparing Programming flow diagrams, however these will be quick to change in the debugging process once the rest of the robot is built.
Tuesday, 16 March 2010
Initial Testing - Motor Torque
Initial Testing - Motor Torque
Today Initial testing was undertaken on the motors provided. This was to identify if the motors that have been supplied are of high enough torque to potential move the buggy along.
This was carried out buy a simple test of mounting the motors and attaching some wheels. To simulate the weight of the batteries/ circuit board etc. The mains power supply was used. See images and video bellow.
As can been seen in the video the initial test was successful, however some issues did arise.
It became apparent that the wheels that have been supplied do not have enough friction to handle the power of the motors (see video below). To overcome this issues we simply placed some duck tape onto the wheels to gain more traction. As a result the test rig moved much better(see video below).
Further developments to undertake from test rig.
See if the design will be stable under loading
See if the design will work with the designated sensor
Increase the friction of the wheels
Circuit board/motor/battery layout.
Progress report - 15/3/10 - Ian Thomas
Type of Design -
4 Wheels. Harder to setup - Unnecessarily so.
2 Wheels. Unless perfectly balanced it would be likely to drag - this was seen as an unprofessional approach.
3 Wheels. Manouevrable and reasonably easy to construct, if not the most original design.
Tracked. Good manouevrability but complicated to construct and needs specific parts.
Hover craft. Too complicated with a lack of manouevrability.
The group decided to analyse a 3 wheeled design and a tracked design further.
TRACKED - Luke Hildred to investigate available track parts.
3 WHEELED - Excellent control. Favourite of the group.
Sensor Choice -
MAGNETIC - Reed switches (Requires further investigation and testing). The less sensitive switch provided in class isn't up to the task - Duncan Scriven to investigate other options.
INFRA RED - Cheap and effective in the right conditions. Lots of online reviews have recommended that these aren't used so the group have decided to forget using them).
LDR - Cheap and effective with extensive research readily available.
Monday, 15 March 2010



Gantt Chart, Ian Thomas
Sunday, 14 March 2010
Tuesday, 9 March 2010
Group Composition and responsibilities
Chassis Design - Luke Hildred
Programmer - Alec Kingsnorth
Electrical Design - Duncan Scriven
Researcher - Mark Lomato