Beruflich Dokumente
Kultur Dokumente
UNIT 16:
AUTOMATED
COMPUTER
SYSTEMS
Task 1: Automated systems
Identify the features
The NXT module has 3 output ports and 4 input ports. In the given setup, there
are 4 different sensors: Touch, sound, light, ultrasonic. These sensors allow the
robot to know if there are object in its surroundings and have it do multiple tasks
to make sure it does not encounter them or so it can use them, depending on
what its programmed to do.
Touch Sensor: enables the robot to feel and react to the environment around it.
Ultrasonic Sensor: Enables the robot to see, measure distance to an object, and
react to movement.
Strengths:
A strength of having the hardware is to get the robot to be advanced enough to
be able to have different simulated approaches to scenarios. As a brief example
if the robot were to be on a path going forward and an object was in the way
then the ultrasonic sensor would detect it and adjust the path to make sure they
do not collide.
An advantage of having a NXT is that the way the manufactures made so the
creator can modify and construct anything they choose making a good product
although it can only do as many jobs as the creator is capable of to the extent of
it being AI.
The NXT module is relatively easy to program and is very useful as you can use
the same program on more than one robot using a USB or the Bluetooth method.
Weaknesses:
The build of the NXT is reliant on Lego so the structural contents are going to be
fragile and easy to break, the Lego used in not all bricks so the Lego is able to
move. In this It is a sturdy and useful bit of hardware.
The NXT is all built off the imagination of the creator for the system to work
though is through the knowledge of coding and that Is nothing to do with
imagination but calculations a robust testing for the programming.
Page 1 of 9
Flowol 4
This is a software system designed to simulate real life scenarios to show if what
was made would work. To use Flowol 4 you will need to create a flow chart for a
system that is to be used then tested on situations like a walking robot. But to
have this work the user will need to know how to handle moving parts of the
simulation.
The software has a selection where the user will choose the command and drop
it into the place they think is correct or need it to go. This is a good way of
having the setup for the user because it is easy to use and will make it a fast way
of making the simulation the user wants to create.
Below is showing the setup I used to create the traffic light simulation, and gives
some information about it.
Page 2 of 9
modified by the additional hardware sensors that will include the extra code used
to make sure the robot doesnt collide with any objects in its way.
The user must be able to accommodate the robot and have the full experience of
what a automated system can do, this will be done by the programming I have
set up for the robot or by the Bluetooth connection method via smart phone.
Page 3 of 9
System Hardware
Ultrasonic
Sensor
Motion
sensor
Motor
NXT
Module
Sound
Sensor
Constraints
The Mindstorms NXT is software that I to program the NXT module, it is a good as
the user makes it, the options available can be useful depending on how the user
requires and uses it. There are tutorials that give basic step-by-step introduction
and instructions.
This software can have the robot do mediocre or much more advanced
movement but it all relies on the ability of the creator. The paths can be modified
by the hardware if correctly programmed.
One of the benefits of using this software is the trial and error method, this can
easily be done because the user can just modify the program when needed and if
needed can use completely different code and substitute the existing program to
better suit the robot.
Page 4 of 9
Test plan
What I will test How I will test it
NXT Module I will test the NXT Module by
running some predefined code on
it to test whether it send the
correct information.
Motor Testing the motors reaction and
productivity to the main module
of the NXT
Code for I will test my code by running it
movement and observing what the vehicle
does.
Alternative solutions
Alternatively, I could have designed a 5-wheeled robot with 1 motor. I have
realised that some of my equipment were not fully functional so I had to
compromise by only using on motor
Justification of design
I decided to use one wheel because the wheel was just slowing it down and
increased the amount of the weight of the main part of the structure had to
receive making it faster.
The second problem I had was the equipment no fully functional meaning that I
had to increase the speed and sensitivity of the parts to make sure they were
more suited in doing what they were tasked to complete.
The lack of effort put in by the other team members influenced how well the
calculations were fit to the robots programming making it a successful robot but
not having optimise it capability to do a more than adequate performance.
Programmable devices
Page 5 of 9
This is the touch sensor, this will
detect if there is anything blocking
the path of the vehicle.
Page 6 of 9
be sturdy and stay
together when the
vehicle is moving.
Code for When run, the The robot can go Better rotation
movement code should make full speed and
the vehicle move rotate whilst
forward for 3 moving
seconds, turn left,
move forward for
another 3 seconds,
turn right, move
for 3 seconds then
end
Adjusting for The vehicle should I can move around N/A
obstacles move towards and the objects
object, notice it
then adjust its
path so it avoids
the object.
The second and most clear problem was the rotation and that there was on
forwards and backwards, this meant that when the user was needing move out
of the way of an object there was no way of doing it. this is one of the bigger
adjustments that I had to deal with. Some of the other improvements that I had
to take were the sensors, this was with all of them. It seemed that with the
Page 7 of 9
malfunction of the some of the equipment I was not able to code and use all the
required parts. This had a massive impact on the user requirements that I have
already mentioned.
Conclusion
As my conclusion, the prototype automated robot does meet the requirements
and purpose because it can move forwards, backwards, left, right and being able
to manoeuvre around obstacles. The robot does show the that an automated
vehicle can do required objectives and they could be used in different situations.
It gives a written demonstration of how fast and safe the robot can do tasks. As
described through the testing outcomes, the robot has had problems when it
comes to the equipment as well as the complications with the sensors when it
came to doing the trial and error method and I learned that the robot could do
what it is required to do. The problems with the sensors were technical errors
that could be dealt with.
Page 8 of 9