Showing posts with label The Unnamed. Show all posts
Showing posts with label The Unnamed. Show all posts

Friday, 4 October 2013

The Unnamed Electronic Systems

While I'm working on mechanical structure of The Unnamed I also need to consider how I will control the final robot. The rules state that there need to be 2 elements before my robot is allowed to enter:
  • Removable link
  • Powered indicator
Of course the robot will need other items to operate such as:
  • Battery
  • Motor Drivers
  • Radio Control Receiver

Removable Link

The idea behind requiring a removable link is simple, it provides a guaranteed way of cutting of the power in case of emergency. It must be located in an accessible place and may only be covered by a clearly marked, and easily moved cover. In many robots the removable link also does double duty as the master power switch.

They are commonly made out of a high power collector that has the male plug pins shorted together and the female receptacle pins in line with the battery power leads. The female connector is used in line with the main power wiring to reduce the chances of a short circuit activating the robot unexpectedly.

Powered Indicator

The powered indicator must be a steady indicator that is lit when the robot is powered, it cannot be a filament bulb. This gives a clear indication if the robot is powered.

As it cannot be a filament bulb LEDs are often used. It will need to be connected into the removable link side of the robot so that it will only light if the link is in place and the robot is active.

Motor Drivers

I'm planning to have 3 motors in my robot, 2 for drive and 1 for the weapon, in all 3 cases I will need to control the motors in both directions. As the motors I shall be using are powerful I will need motor drivers that can withstand high voltages and currents continuously as well as far higher peak currents. Of course despite these requirements they need to be compact but affordable as I don't want to spend all my money on awesome motor controller only to not have enough money for a weapon, or worse, no money for a chassis. One other important feature is reliability, often many robots lose a bout simply because their motor controller suffered a fault, burnt out or became disconnected, I do not want that to be the case for my robot.

For the moment I'm planning to use modified TZ-85A brushless speed controllers.

Movement

I will be using two Gimson GR02 18 Volt 1:24 motors to drive two wheels each via a High Torque Drive (HTD) belt. The motors will pull approximately 8 Amps under load but will pull up to 62 Amps when stalled which means I will ideally want a motor controller that can take 10 Amps continuously and withstand short spikes of up to 65 Amps.

As I shall be using differential steering to control my robot I will need some way of mixing a remote control channel with left and right signals with a remote control channel with forward and backwards signals. This can be done either with a suitably intelligent dual channel motor controller or by using a V-Tail mixer to combine the signals.

Weapon

My current plans for a weapon call for an electrically powered actuator as part of a four-bar-lifter. I'm expecting the actuator to be a Gimson GLA-S 100mm linear actuator. Gimson state that the expected stall current is 62 Amps and the expected load current is 23 Amps, this means ideally I want a motor controller than can survive 62 Amps peak but I'll definitely want to be able to manage 30 Amps continuously. This actuator should reach full extension (205mm to 305mm) in approximately 5 seconds under load which could be too slow however this will require further work before I am certain.

Linear actuators do not spin continuously and will reach a limit where they cannot travel any further without damaging the motor or the actuator, to signal when the actuator has hit these points limit switches are installed. While limit switches are built into the SLA-S actuator they are not connected to the motor directly as they would not be able to handle the current, this requires me to add a circuit to detect inputs from these switches and control the motor accordingly.

Battery

To power the motors in the robot a battery is needed, its characteristics such as voltage and capacity are defined by what I need it to power. The Unnamed has:

Qty 
Description 
Load Current (Amps)
Sub-Total (Amps)
Stall Current (Amps)
Sub-Total (Amps)
2
Gimson GR02
8
16
62
124
1
Gimson GLA-S
23
23
62
62
1
Misc Electronics 
0.2
0.2
0.2
0.2
Totals:
39.2
186.2

Assuming a bout lasts 10 minutes then I will need a battery capacity of 6.6 Amp hours (Ah) if all the motors are constantly operating, the absolute worst case suggests I'd need a 31 Ah battery if the motors were continuously stalled. Neither of these estimates are particularly realistic as I will not be driving at top speed for all of a bout, and nor will the lifter be constantly extending and retracting.

The 6.6 Ah figures is closer to being realistic so I will aim to have a battery that is close to this. Another consideration is the voltage of the battery, the GR02s and the GLA-S are both rated at 18 Volts however I'm planning to overvolt them by using a 5 cell Li-Poly battery at 18.5 Volt nominal.

Radio Control Receiver

To control the robot I am planning to use a DSM2 compatible transmitter and receiver set, DSM2 is a 2.4GHz standard that allows different receivers and transmitter from different manufacturers to work together. My robot will require a minimum of 3 channels, one for each drive motor and one for the weapon. I could use a further 4th channel to enable inverted control for when my robot is flipped over or to enable other functions remotely.

My Solution

With these considerations in mind I came up with the following circuit:


I've chosen a 5 cell 4.7 AmpHour 30C Lithium Polymer battery from OptiPower, this should provide enough power for long enough to last a bout. It will be capable of sourcing 141 Amps (30C × 4.7AHr) continuously with peaks of 376 Amps (80C × 4.7AHr).

To protect the motor drivers and RC electronics I've put a 100 Amp automotive Maxi Fuse. As it is a cartridge fuse it's easy to replace if it gets blown but is also robust enough to act as a removable link. By choosing an automotive fuse cartridge it should be easy to buy spares and even replacement fuses with smaller ratings.

I'm going to use a high power red LED to indicate that the robot is powered, this will be connected after the fuse such that if the fuse blows the LED will not light.

The terminal block is ideal for the central connection node of my electronics system. The screw clamps will allow me to easily make and remove connections whilst securely grabbing any cable and holding it tight. It should also allow me to keep the wiring neat and tidy which will help me in maintaining the robot.



I've omitted the connectors from this diagram to keep it simple, however I'm planning to use XT60 connectors like the ones above left to join the motors to the speed controllers. The battery will connect to the wire link with an XT90 connector, show above right, which is a the bigger brother of the XT60. By containerising these key parts of the system it enables me to quickly re-configure the robot for maintenance or debugging. They're polarised so I cannot plug things in backwards as well as gendered so I can ensure that the parts of the system that supply power have female plugs to reduce the chances of shorts.

Thursday, 26 September 2013

Rules of Thumb for Designing 4-bar Lifters

The main weapon for The Unnamed is a 4-bar lifter. It takes its name from the Four-bar Linkage used to move the lifting arm

One of the most famous 4-bar lifter robots is the American Biohazard, it coupled a very low robot with the ability to lift the opponent very high. Below is a video of it defeating Greenspan in May 2002.


As I'm trying to emulate the weapon of Biohazard for The Unnamed I need design my own 4-bar lifter.

Design

While it is called a 4-bar linkage one of the bars is actually the robots chassis so this is fixed from a design point of view. The other 3 bars however are very much up to the designer, and because of this the number of variables it is very hard to work out the "best" design.

I began my design with a number of aims:

  • It needs to fit into an area roughly 300mm by 50mm to stay inside the robot
  • It needs to be reasonably fast, ~2 seconds to complete a lift


To do this I used SketchUp to position the bars which allowed me to easily get the lengths and angles. These lengths and angles where then inputted into "Four Bar", a 4-bar lifter calculated written by Adam Wrigley and available from here.

Note: This software is old and will need an older version of dotNet in order to install.

Rules of Thumb

After playing around with it a lot I've decided on these rules of thumb, I'm not a mechanical engineer so there is no theoretical justification, just what's happened when I've altered it.

  • The rear bar controls how far forwards or backwards the lifter throws
    • if it's at a 45° angle then you will have a vertical lift with little forward or backwards throw
    • if it's less than a 45° angle then the lifter blade will move forward during the lift
    • if it's more than a 45° angle then the lifter blade will move backwards during the lift
  • The forward bar controls the height the lifter reaches at the end of a throw
    • the longer the forward bar is, the higher the lifter will be able to reach
    • the shorter the forward bar is, the less height the lifter will be able to reach
 After spending quite some time playing around with the lengths and angles I finally came up with a design that produced a result I was happy with.


 Note: The calculator uses the units that you enter, in my case millimetres and kilograms.

The drawing on the left shows the lowered position in red and the raised position in blue. The tip of the lifter is traced through the entire range with the pink line. As you can see the lifter raises 22.5 centimetres and also moves forwards by 5.0 centimetres, this the advantage of using a 4-bar linkage compared to a simpler flipper.

The graph on the right shows that the front arm is originally 12° from horizontal and rotates until it is 58° from the horizontal. The height increases linearly with rotation which should help the control of the lifter. The torque curve is constant around 39 Newton Meters for the majority of the lifter's movement however for the last 7 centimetres the torque rises very sharply to 129 Newton Meters. The torque figures are calculated assuming a 15 kg weight (opponent) on the tip of the lifter however increases to this mass (multiple opponents, the arena wall) will cause the torque requirements to increase.

Powering the Lifter

Of course just having a mechanical design for the lifter bars is great, most of the work in fact, however I still need a way to power the lifter. Using the calculator above I need to provide more than 150 Newton metres of torque to the front arm of the lifter. Looking back to Biohazard it uses 2 electronic linear actuators to push against the front arms.

Pneumatics

One of the main advantages of lifters is that they are very similar to a flipper but without the high impulse power that can be provided by pneumatics. It would be possible to drive the 4-bar lifter with a pneumatic ram however I don't feel like I have enough knowledge and understanding of pneumatic systems to do this safely and will save this for a future robot.

Motors

An alternative to linear actuators is to have a very high torque motor to drive one of the linkages directly. This was the approach taken by Charles Guan with his Test Bot 4.5 MCE. This would be more difficult for me to implement as I do not have lots of space and I need to source or design a suitable gear box. I will probably avoid this approach.

Linear Actuators

These are a popular method of driving lifters, although they're much rarer in HeavyWeight robots, Biohazard was an exception rather than a rule. A recent featherweight combat robot that made use of a lifter powered by linear actuators was Loki who did quite well for themselves in the 2014 Featherweight Championships.

Looking on Gimson Robotics they have the GLA750-S which seems like exactly what I need. It is capable of 2300 Newtons of force, 50 millimetres of throw, and a top speed of 37 millimetres per second. However I will need more than just a motor controller to drive this as I need it to stop at the lower and upper end points else it will lock itself together.

Control

The GLA750-S uses the same motor (RS 550) as the GR02 gear motors, therefore it makes a bit of sense to use the same motor controller, the TZ-85A. However I need to add some way of stopping the linear actuator when it has reached the minimum and maximum lengths. Typically actuator have end stop switches built in which are connected as shown below in the image from Gimson Robotics:


However for the GLA750-S the motor current is too high and will cause the switches to fail, even under no load conditions. This means I'd have to construct my own limit switches, most likely due to the currents the limit switches would then operate relays or MOSFETs to limit the motor.

Another option is to further modify the TZ-85A but not re-programming with the stock brushed DC motor control firmware. Instead further modifying the firmware to accept an analogue input and connecting a variable resistor or potentiometer to it. The potentiometer would vary in relation to the position of the linear actuator and would be in effect be a super sized servo. The advantage of this is that the RC pulses no longer specify a speed but a position which the linear actuator will always try and match. This way should external forces move the actuator out of position, it would apply more power (if available) until it matched the requested position again. This would require understanding the current modified firmware as well as extensive testing. Any mistakes could cause the linear actuator to irreparably damage itself.

That would be bad.

Tuesday, 17 September 2013

Speed Controllers

The Unnamed will be powered by 2 Gimson GR02s which drive a wheel and a pulley each, which turn another wheel and pulley combo. This gives me four wheeled drive which helps with acceleration and manoeuvrability. However I need something to take the servo signals (a period of 20 milliseconds with a high pulse between 1 millisecond to 2 milliseconds to determine speed and direction) and convert them into motor signals.

A GR02 will, when stalled, pull approximately 61.6 Amps according to the manufacturer. This means I need to find something that can withstand that much current for short moments of time. The best way to do this is to do some research and build up a table of options.

Channels 
2
1
1
2
Continuous Current 
30 Amps
85 Amps
85 Amps
25 Amps
Peak Current 
90 Amps
100 Amps
100 Amps
50 Amps
Min Voltage 
12 Volts
7.4 Volts
7.4 Volts
6 Volts
Max Voltage 
36 Volts
25.2 Volts
25.2 Volts
30 Volts
Dimensions 
?
?
?
?
Weight 
99.2 Grams
89 Grams
89 Grams
90 Grams
Price 
 £    116.16
 £    43.94
 £   28.22
 £      78.48


One thing to note about this comparison is that the TZ-85As are only single channel, I will need two to drive both my motors. I'm also not confident that they will withstand 85 Amps continuously. However there have been widely used without complaints in the Australian robot combat leagues. I've included the pre-programmed ones sold by BotBitz as well as un-programmed ones directly from HobbyKing.


Looking at that table the TZ-85As seem to be the best for current handling capabilities and their maximum voltage is greater than the motor can handle. They are also quite compact and if I buy them from HobbyKing and re-program them myself they work out to be much cheaper. The lower cost also means that I feel a lot better about modifying them as having spares around will not be expensive.

Monday, 16 September 2013

Unnamed Design Revisions

After coming up with the first design I posted it on the Fighting Robot Association (FRA) forums to get some comments and suggestions. One of the worries was that it wouldn't be armoured enough to survive the spinners. Another concern raised was the need for a solid drive-train as the robot would need to be agile and fast to out manoeuvre opponents.

You can visit the forum post here.

What's Changed ?

All the internal UHMWPE support/structure is being replaced with 2"x1"x0.125" aluminium (6063 T3) channel. I'll be buying it from Aluminium Warehouse and they offer a cutting service which I'll use to get the lengths into ~500mm sections. This massively simplifies the mounting of the motors not to mention improving the rigidity of the robot. I'm going to keep the 20mm & 0.5mm tool steel composite armour for the moment however it can be changed out later.

  • I'll make nut strip using 12mmx12mm aluminium bar with M6 threads and use that to connect the aluminium channel together.
  • The front and rear armour has been upgraded to 4mm-6mm Hardox however this will need to be machined by someone with the tools.
  • The top and bottom armour/covers will also be upgraded to 5mm polycarbonate however I'm not too sure how to mount these.
  • The lifter will now be powered by 2 linear actuators from Gimson but the overall design & calculations are still in progress.
  • The wheels will be Banebots 2-7/8" Shure 50 tires with 3/4" hex mounting, I'll then use the 1/2" to 3/4" key way mount to affix these to the shafts. The gears will hopefully be attached to the wheels but I may get HPC to put a 1/2" key way mount on them too.

The revised total weight is 8.3kg minus lifting arm and revised total cost is £414.06.


Saturday, 14 September 2013

The Unnamed

I've been a great fan of Robot Wars since 1998 leading to me running a robot club in secondary school. None of the featherweight robots that were built in the club really got anywhere, and considering they were largely built out of MDF they weren't going to be very robust. However this did plant a seed in my mind which has been constantly growing and nagging. The MDF robots hit the painful snag of not having a decent way to mount wheels to the windscreen wiper motors and attempts to use the Rex's Robot Challenge method of washers and wood never worked well enough.

Now I've moved on a little bit and got a proper job I think it's time to have another go with 15 years of added experience.

Scope

I've got an electronic engineering degree and if that and my work experience have taught me one thing, requirements are king. With that in mind here I go:


  • To design, build and compete with a 12-13.6kg robot
  • To spend less than £500 on parts
  • To increase my mechanical knowledge
  • To enjoy the fact my 100s of hours of work may well be destroyed in seconds by a full body spinner.

Description

Now in order to fulfil the compete part of that specification I want something that is reasonably simple and robust, no esoteric weapons. Cutting and impact weapons always seemed to lack any visible damage element (heavy weight Razor aside). This leaves spinners and flippers and I much prefer Chaos 2 to Hypnodisk...

I've been a great fan of Charles Guan's blog and I'm going to heavily plagiarise from his designs, after all he is a mechanical engineer from MIT who builds successful featherweights. Unfortunately I do not have access to quite his wealth of machine tools, I have access to a friend's combination lathe & mill, a few mechanical engineers to run ideas by and that's about it. I personally own a hacksaw, a 14V drill and 1 working 3D printer.

Pneumatics are something I'm totally unfamiliar with and so I feel for safety I will leave them well alone, instead I shall use a 4 bar lifter. Four bar lifters seem to be complicated to design but straightforward to construct which certainly fits my limitations. I'll couple that with some high power, high speed drill motors with gear boxes in an attempt to mix "Test Bot 4 SP1" and "Null Hypothesis" from Charles Guan.

The Ingredients


  • 20mm thick Ultra High Molecular Weight PolyEthylene (UHMWPE) for the chassis frame held together with M8 bolts and threaded inserts
  • 0.5mm tool steel (or better) side armour
  • 3mm steel (or better) armour for front and rear
  • 3mm polycarbonate for the top & bottom armour held with M5 bolts and threaded inserts
  • 2 off Gimson GR02 18V 24:1 motors for drive
  • 4 off ~75mmx20mm wheels, either 3" no names or Banebots 2-7/8"
  • 4 off 5mm pitch, 9mm HTD belt & pulleys to drive 2 wheels per motor
  • 1 off 6S1P 22.2V 5000mAh 35-70C Turnigy Nano-tech LiPoly battery pack
  • 1 off custom motor & weapon controller with magic
  • 1 off 2.4GHz RC set (suggestions welcome)
  • 1 off weapon, 4 bar lifter, tending towards a linear actuator from Gimson.

The Result

This is the work of a few nights of playing around in SketchUp:


The side armour will consist of 0.5mm of tool steel mounted to a 20mm thick panel of UHMWPE. I'm hoping that this composite armour should be capable of surviving spinner attacks because the tool steel should stop the teeth from biting very well and the UHMWPE will flex absorbing some of the spinners impact. Of course it's fairly replaceable and I may redesign it in future as I finalise it.

I've chosen poly-carbonate for the top and bottom as I think featureless steel boxes are pretty boring to look at even if they are painted amazingly. I may have to thicken up the poly-carbonate in a later redesign but it should be both strong and transparent enough for this robot.

The Gimson GR02 motors will be the 18 Volt version with a 24:1 gear ratio output. I chose this rather than the 36:1 as while a ratio of 36:1 gave me a faster top speed, it had slower acceleration, the 24:1 gives me a faster acceleration which I feel will be better suited to arena combat. With 75mm wheels I'm estimating a top speed of around 3.2 metres per second, the number will go down due to the motors being loaded, but at the same time I'll be over-volting them from 18 Volts to 22 Volts.

Hopefully once I get an idea of how I'm going to mount the wheels and the dimensions of the lifter I should be able to push forward and order the parts. The current running cost is an estimated £350 minus the cost of steel armour, the lifter and the electronics. The current running weight is 9.7kg all included however I expect that to creep up as the wheels and lifter arrangements are finalised.

Thursday, 12 September 2013

*tock tock* Is this thing on?

I've decided to start a blog. I have lots of creative ideas and keep starting projects but never quite finish them. I'm hoping that by writing about them I'll end up finishing more of them, or at least getting them to a finished-ish state. So with out further ado...

Active projects

Makerbot Cupcake-o-Matic

This is my fairly successful attempt to convert my non-working Makerbot Cupcake into a working reliable 3D printer. I've largely finished this, it just needs the wires hiding to neaten the external appearance, of course it's not quite as simple as that but I'll save that for a subsequent post.

Prusa i3

Whilst the Cupcake-o-Matic works, and fairly reliable at that it does only have a 100mm x 100mm x 100mm build volume with a single extruder it's not very expandable. I do want to print large objects in multiple materials and so I began to construct a single sheet style Prusa i3. I have nearly all of the parts but I still need to print some and design some.

The Unnamed featherweight

I've been interested in combat robots since Robot Wars came out in 1998. I tried my hand at building a featherweight (12Kg max) class robot whilst at secondary school but it didn't work out at all. After reading Charles Guan's blog I've decided to have another go.

Powerbridge

Of course a 12kg combat robot will need some motor controllers, so I resurrected some designs I've been playing around and started to update them for the featherweight class of robots, it has the preliminary specs of 2x 20Amp 50Volt motor controller with easy firmware updates.

Claymore MiniSumo

Another combat robot I've been designing is a small autonomous 500gram sumo bot, I like the idea of robots that control themselves, the start of Skynet as it were.

That is it

I'm going to concentrate on these 4 projects until I complete as many of them as possible. My ideas for other projects like: a gokart, a home server, home automation, an updated Wave Bubble are all going on hiatus.