Professional Documents
Culture Documents
• It is desirable for the craft to have a draft of less than 5cm when fully
loaded and have a freeboard of at least 1cm below the bottom of the
plastic container.
• The watercraft must also have a power supply that enables it to last 10
minutes in total.
• The craft must comply with a $50 budget but must also be relatively cheap
at in the full scale design.
1.2.2 Assumptions
During the process of design, a number of assumptions will be made. These are
as follows;
• The force acting upon the craft due to surface tension will be taken as 0.
• As the craft will be travelling at low speeds, the drag acting upon the craft
will be assumed to be negligible.
• Low manoeuvrability
Figure 1. Flat Bottomed Hull
A pontoon has two separate hulls that are connected via the deck. Its features
are outlined below:
• Provides exceptional grip in tight turns
• Deck remains relatively dry due to distance raised above the water
• Figureconstruction
Simplicity of design and construction results in lower 2. Pontoon Hull
costs
• Lower surface area in contact with water than for other hulls results in
greater draught
The pontoon hull is more suitable for the automated watercraft due to the
available storage space and greater manoeuvrability than a flat bottomed hull.
2.3 Propulsion Systems
Table 4. Propulsion options
Propulsion Description Pros Cons Suitability
System
Propeller Propellers are +Can be -Higher RPM The fact that above water
(Above fans that placed above required / propellers can be placed, above
water convert axial water (No Larger fan the water, and thus have little to
rotation into interference size for equal no effect on the net or draft,
thrust. with draft or thrust. makes them an attractive option.
net)
However, larger diameter
required makes this design
unsuitable due to the
dimensional restraints of the
craft.
Paddlewheel Waterwheel +Motors can -Much less Despite the advantages relating
incorporating be placed on efficient than to the placement and
scoops around the top of propeller. attachment of paddlewheels, the
the wheel to deck. (Force has unavailability of such
push through upward and paddlewheels in combination
water downwards with the inefficiency of the
+Gearbox component) paddlewheel design makes it an
can be unattractive option.
directly
connected to -Very draft
paddlewheel sensitive This, in combination with the fact
that paddlewheels are very
sensitive to shallow drafts,
-Not as makes this design highly
readily unsuitable. One of the vital
available as design specifications of the craft
propellers is a small draft. Thus, a trade-off
occurring between speed and
draft is undesirable.
2.4 Electrical Systems
There are two main types of battery that can be used in powering the
watercraft. Primary batteries can produce current immediately whilst
secondary batteries must be charged before use (Thomas and David
2010). Primary batteries cost less per battery and have a higher capacity
and initial voltage that secondary batteries (Castelvecchi 2009) however,
secondary batteries can be reused and are therefore more
environmentally friendly and may work out more cost efficient if the
batteries are needed for an extended period of time (Armand and
Tarascon 2008). Primary batteries will be used in the watercraft design
because of the higher initial voltage and capacity. Size, weight and power
capacity of each battery will need to be considered in the design. The
table below compares voltage, weight, size and service characteristics of
different types of Energizer batteries (one brand was used for
standardisation and simplicity).
• Performance: How much debris does the boat collect in a given time
period.
• Size: It is desirable for the boat to fit in a box measuring 150 x 200 x
200mm
• Buoyancy: The craft must float with a draft of less than 5cm.
Having assessed each design option it was decided that a balsa wood boat
powered by a 9V and 6V battery with two propellers would use infrared
and bump sensors to implement a spiral search pattern algorithm.
The bottom section of each hull is 70mm wide at the widest point.
However, the hull tapers down to 50mm in width at the front of the craft.
This was done in order to work in conjunction with the funnel at the front
of the craft. A 5mm gap in the inner corner of each hull was included to
house the casing for the propellers. This was done to prevent any
unwanted movement in the propeller shafts.
The craft’s weight force is 6.63N. The dimensions of the hull result in a
draft of 25mm, which means the hull displaces 4.06 x 10-3 m3 of water,
see calculations in appendix . The centre of buoyancy, which is the point
that the upward buoyant force acts through was determined to be
12.5mm above the bottom of the craft. While the centre of gravity is 69
mm above the bottom of the craft, see appendix for stability calculations.
The upright component of each L-shaped hull is 40mm high, and 20mm
wide. This means that the overall height of the hulls is 75mm, allowing a
space of 50mm between the deck and the surface of the water. This
spacing was included in order to allow ping pong balls to pass through
freely and ensure all electronics remain dry.
These hulls were made out of balsa wood for optimal buoyancy and
durability. To prevent these hulls from swelling due to contact with water,
each hull was coated in Emerclad, a plastic paint. For further
waterproofing, as well as to prevent splintering and breakage, the hulls
were also covered in a layer cloth tape.
The deck, connecting these two hulls was made from a high density
polyethylene. This material was chosen as it was waterproof, cheap, and
strong even at a relatively small thickness. The deck is 2mm thick by
200mm wide by 200mm long. At the front of the craft, on either side, a
cutout measuring 45mm in length and 25mm in width was made to house
the gearboxes.
To fabricate the hull, a hacksaw was first used to cut the balsa wood to
length. These pieces of balsa were then assembled using hot glue. To cut
the deck material to size, a set of heavy duty scissors were used. Each
pontoon was then positioned on the outer edge of the deck and connected
using hot glue.
The floating rope net at the back is comprised of bubble wrap 460mm in
length. Bubble wrap was chosen as it is cheap and buoyant. This
buoyancy is desirable as it reduces the likelihood that the net will interfere
with the propellers. The net is attached to the craft with cloth tape to
allow for removal incase of damage.
The collection system involves balls being funneled through the front of
the craft, out to the rear of the craft. The balls are then contained by the
floating rope to allow for collection after deployment. The use of the
floating rope net theoretically provides a storage area of approximately
67388mm2 or 42 ping-pong balls.
Lmotor = int(((float(-x)/maxcm)*(minmotor-maxmotor))+maxmotor);
Rmotor = int(((float(x)/maxcm)*(minmotor-maxmotor))+maxmotor);
Where:
x is the difference between the distance sensor reading and the
desired distance,
maxmotor is the maximum motor speed which is 255,
minmotor is the minimum motor speed,
maxcm defines the x value in cm when the motor should first reach
minimum speed.
Figure 4 graphically demonstrates these motor speeds and how they vary
based on the distance sensor reading.
Figure 4. Motor Speeds
In order to avoid this, the last 20 distance sensor values are stored in an
array which is updated every half second. If the last 20 values are all more
than 20cm from the desired distance sensor reading the boat realizes that
it is stuck. The boat then turns and continues to turn until the difference of
successive distance sensor readings becomes positive. This means it will
turn until it is just past parallel with the closest wall. It then resumes its
spiral algorithm. See the If (runningStuck) { } code section in the full
code listing in appendix for the code used to perform this maneuver.
5.4.4 Hardware
The algorithm runs on an Arduino Uno, which is a microcontroller board. A
microcontroller is a standalone integrated circuit including a simple CPU,
clock, Input/Output ports and memory. The arduino Uno features a 16MHz
microprocessor, 14 Digital I/O pins, 6 analog inputs, a USB connection and
a power jack.
d = 26.58v-1.08
v is voltage in volts.
The watercraft also uses two tactile bump sensors mounted on the front of
the craft. These sensors are just switches, one pin is connected to the
arduino 3V output and the other pin is wired to a digital input see figure .
When the sensor is pressed this digital pin is raised to 3V, which the
software registers as a high signal. The
digitalRead(bumpPin) function is used to
detect if the bump sensor is depressed.
Figure 6. IR Distance
Sensor
5.5 Power Supply
The watercraft is powered by two separate batteries as recommended by
D Robotics (2011). A standard 9V 300mAh battery is connected to the
Arduino UNO board. This battery delivers power to the Arduino, the
sensors and the motor shield electronics but not the motors. A separate
6V battery pack consisting of four 1.5V 1000mAh AA cells was connected
to the motor shield in order to power the motors. The table below outlines
current requirements for different components of the craft.
As seen in the table above, the 9V battery will theoretically last for 3.7h
and the 6V battery will last for 3.8h, see appendix for calculations. The
L298P motor shield is rated for a maximum of 35V, 2A and 35W (Little Bird
Electronics, 2011). At 6V the motors consume 1.56W and 260mA, which
easily fall within the shield’s requirements. The main battery has a charge
capacity of 1000mAh. However, this is not the energy capacity of the
battery, the energy capacity is 6Wh. This is found by multiplying the
voltage by the charge capacity.
The reason for the separation of the motor battery and Arduino battery is
because of the electrical noise that is characteristic of DC motors. This
electrical noise results in an uneven voltage supply to the Arduino board,
which could result in failure (D Robotics, 2011). Although the noise could
be filtered using a capacitor, a different battery guarantees that the
microcontroller receives a consistent 9V supply.
τ = k I1.5
Where τ is torque in N,
I is current in Amps.
(Johns, 2003)
For our given motor, k = 5.4 x 10-3. Figure 7 shows this relationship
between torque and current.
8.0 Recommendations
In order to implement the automated watercraft design a number of
improvements must be made. Firstly, the