Wednesday, July 16, 2008

TigerCad

A completely free, simple technical drawing software (CAD).



Ideal for garden design, mechanical engineering drawings, electrical / electronic, building and room plans, and general diagramming. Output in PDF format for the web. Copy and paste graphics. Create standard symbols to re-use. Scale, mirror and rotate. Accurate scale drawing printing. Drafting tools to compare with pro packages.

Links
Download ... download TigerCad 3.001 Free
Example drawing ... a big PDF example drawing
Discussion group ... support page

Software Downloads

TigerCad ... A free, 2D Windows CAD package








Viterbi ... A graphical demonstration of the Viterbi algorithm









Pete's Piano ... Piano sheet music - graphical editing and sound playback

Professional Services

I offer professional software development services - working with companies like Airbus, BAE Systems, Qinetiq, Panasonic and HP - as well as smaller organisations.

I develop small projects personally, or lead / manage larger projects.

See my CV / Resume.

See a summary of my technical skill areas.

Sunday, July 13, 2008

TigerCad Discussion Page

Please contribute to the discussion by adding comments - Pete Howard.

Sunday, June 22, 2008

Macavity - take 2

T. S. Eliot created the unforgettable feline assocation for the name Macavity in his "Old Possum's Book of Practical Cats" . His Macavity was a "Napolean of Crime", but recent events have suggested to me a new interpretation of the name.

A little while ago, we realised that our cat Millie was pregnant. Brains were racked. Arithmetic was done - and we realised that the kittens might just be born on Jessica's birthday (our nine year old daughter). What a present that would be!

The day comes ... and it happened! Birthdays for nine/ten year old girls don't get much better than that do they?

For the next seven days, Millie and her four kittens settled very contentedly in their luxury kittening suite (old cardboard box with a hole in). Pure sweetness and charm. Eyes still closed.

Now this may not seem immediately relevant, but at this time, the hole leading to the attic in the ceiling of Jessica's room was temporarily exposed - waiting for me to finish fixing up a trapdoor.

Five O'Clock in the morning. We are woken by disgruntled kitten squeeks and squawks. Pretty reasonable reaction I'd say - as we see them being unceremoniously 'flown' up to the attic. I say flown because this journey entails a four foot vertical-take-off leap from the tiny launch pad offered by the top of a bed post.

Forty eight hours later, I've finished the trap door and can now attempt to extricate them without them being taken straight back again. The first challenge is finding them up there. My attic is let's say 'well stocked'. Let's also say that it isn't perhaps as well-ordered as it could be.

May I just return for a moment to the theme of Jessica's birthday. This is the day we've organised a bit of a party for her. She's invited most of the girls in her class to a swimming-pool party, followed by a smaller group supping at the local Italian, and finally a couple of them coming back for a sleep-over. Well the kitten extrication exercise is going on about half an hour before we should leave for the pool to anticipate the arrival of her friends.

Millie is eventually persuaded to join us in the attic and soon reveals the hiding place, but we are initially confused because there are only two kittens there - not four. We hunt around the immediate vicinity, but the awful realisation gradually dawns on us that the missing two have gone AWOL.

We need to search the more inaccessible places where the joists are not boarded over, and there is very little room. Jessica is pretty small and can reach these places without falling through the ceiling and she very nobly tries to help, but she's not daft and realises that we may be facing a horrible prospect. After a while the emotion gets the better of her and she retreats distraught.

I think I can hear the occassional faint cry in the attic, but I can't tell where it's coming from.

Jessica's friends will be arriving at the pool in about ten minutes. We quickly decide on a contingency plan. Another of the mums kindly steps into the breach to explain the situation to the arriving families at the pool, and we divide and conquer. My wife Ali leaves to take our tearful children to the pool, while I stay behind to see if I can do anything else.

Now the house is silent, I persuade Millie to come up again, in the hope that she too will hear something and give me a pointer. After about 20 minutes of waiting it pays off, there's a tiny peep, and Millie is suddenly very alert and darts over to a tiny space under the eaves - and focusses all her intense interest - looking downwards.

The horrible truth is suddenly revealed. They've fallen down inside the cavity wall!

On the RSPA's advice I call the fire brigade - who are very willing to help. They arrive quickly - and to my amazement, with the full treatment of flashing lights and sirens. I learn the next day that the driver - who has to remain in the vehicle, spent his time entertaining the other local children by letting them get in.

I greet the firemen with a wringing of hands and 'thanks for coming'. The bossman sets the tone for the afternoon by responding with 'well, thanks for inviting us'.

The four firemen are soon stuck in with fantastic professionalism and gravity. We do much detective work - tapping walls and trying to work out the implications from the way the house is built - greatly assisted by one of their number who is something of a part time building expert.

We form a hypothesis about where they are most likely to be, and the bossman suggests that by removing a few roof tiles and some felt - it might be possible to see down inside the cavity wall with a bright light. This plan works brilliantly. With the aid of their powerful lamp - they can see down. And they can see the kittens too - stuck on top of a lintel at first floor height - but crucially moving a bit.

Expectations soar. I 'risk' the thought that it might turn out ok.

They set about measuring where the kittens are exactly using the latest high tech fire brigade equipment(bamboo sticks and insulating tape - you work it out). The suggestion is to remove a block or brick from the outside wall at a position we reckon will be above them and to one side. They're soon up a ladder chiselling and drilling away. You get a sense of the team work that must be so valuable in really serious situations - when they spontaneously offer help to each other taking turns with the chiselling.

The point is reached when a long drill bit can penetrate into the cavity, and for the first time the bossman looking down from above can see if we are in the right place. He warns the guy down below that he is much closer than intended - and suggests he checks what colour the drill bit is coming out. (Ugggh) (Women and children still at pool fortunately).

15 minutes later the block is out. 5 seconds later again, the first ball of AWOL fluffiness is also out. Appears to be in working order, but they were black before. Now they are white? One fireman's lungs worth of puff puts that right, creating a cloud of concrete dust. The second one takes a little untangling and leverage, but emerges in due course similarly unscathed.

Four burly firemen ascend stairs to see Millie re-united with her errant offspring - under a bed. All four lined up in a row at the milk bar (the kittens). Deafening purring. Firemen make well controlled ooh-ing and aagh-ing noises - within the limits that fireman-dignity permits.

I ring mum and our three children - who are now at the Italian restaurant. Spectacular loss of composure at the other end. What must the restaraunt staff have thought I was saying!

Firemen get back to business and make very helpful suggestions about how to repair the hole in the wall by fitting a ventilation block into it. Much gratitude all round. Bossman says there will be no charge, but would we 'like' a home fire-safety visit in due course? After all, there are quotas to be attended to, and the other watch are creeping up on them!

Thanks chaps.

Tuesday, June 3, 2008

Software

Software downloads ... TigerCad, Viterbi, Pete's Piano etc.
Articles ... Software development and management

Thursday, March 20, 2008

Articles

Software Management
Interviewing software developers
... A suggested approach and sample questions
Agile development ... Survey of practical problems and suggested solutions

Software - Technical
Licencing ... Licencing scheme for software applications - with source code.
Help generator ... Windows help system generator - with source code.
Viterbi algorithm demo ... Mobile phone error correction - with demo application download.

Tuesday, March 18, 2008

Cute phrases

Amusing utterances from children

Isabelle (6): Q> How was school today, A> Splendid

Friday, March 14, 2008

Oar+Some - Physics Diversion

This is a diversion into some of the physics involved in water propulsion - and how it affects Oar+Some's design. Just for fun.

Why not use a screw, or water jet, or some mechanism that more naturally fits a pedalling action - with perhaps continuous rotation?

There are two good reasons.

Firstly, these alternatives require additional mechanisms or power transmission elements (chains / belts / gears etc. ) - and these all sap power, and add overall weight.

Secondly there's some fundamental physics involved, that comes out in favour of paddling or rowing - which is what I survey below.

It's called Froude Efficiency. I believe this was named after William Froude. To honour his work, not because he discovered or formulated it.

Basics
Screws, water-jets, paddles, oars etc. all drive a boat along the same way - as far as physics is concerned. They all take some water that was sitting there perfectly still until you came along, and push it backwards - creating what is effectively a continuous, rearwards flow of water. You can't push something backwards without it pushing you back the other way - ie forwards by exactly the same amount. One "Isaac Newton" is pretty un-equivocal on this - viz. Newton's Third Law. This is what make your boat go along.

The problem
The problem is that creating thrust by setting some water in motion wastes power. There is absolutely nothing we can do about it. It is a fundamental fact of physics to do with kinetic energy. If the water was still before, and you made it move - you have given it kinetic energy. Period. And there's only one place that energy could have come from. Your legs. This kinetic energy does nothing to propell our boat. It is pure waste. We'll come back to this. One thing is sure - we need to look for ways to reduce the amount of kinetic energy we give the water!

What about the thrust?
Newton to the rescue again; this time his second law! This law when applied to liquids, says that the thrust we are going to get goes up in line with how fast we make the water flow backwards, and also with how much water we do it with. So if we turn a blind eye to our kinetic energy problem, we want to get as much water as we can, going backwards, as fast as possible.

So we're stuck then?
Oh no we're not. 'Because of a square law'. It turns out that increasing the speed of the flow has a far worse effect on kinetic energy losses than the benefit it gives to increasing thrust. This is because kinetic energy goes up with the square of the speed. What that means in practice is that we must find a mechanism that creates a flow with the maximum possible amount of water, but with only a miniscule speed of flow.

Enter the oar or paddle
Oars and paddles are not just a happy coincidental evolution. The physics is with them! When you think about it, a big oar or paddle graps a great lump of water on each stroke and pushes it backwards. In so doing it is creating a rearward flow - but a nice slow one. Theoretically the bigger the paddle the better as that gets closer to the perfect physics solution - but practical limitations come - like the ease and comfort of handling. If oars and paddlles don't 'slip' a little in the water as you pull them - it feels all wrong.

Exit the screw and water jet
These are the opposite of oars and paddles in this context. They catch only a relatively small volume of water, but create a very fast rearward flow. This makes them gravely inefficient - but then that doesn't matter if your motive power is an engine, not a pair of legs.

Oar+Some- Propulsion

This is a description of the propulsion system for Oar+Some- which is pretty much the central feature of the design.

You might want to look at the video again - to be reminded of how the paddle moves.

If you look at the picture above, you will see that the rider has finished pushing with his left leg, and consequently the right paddle blade is towards the rear, and at the end of its power stroke.

During this power stroke the right blade remained securely under water at just the right depth automatically. This is because the blade is angled a few degrees off the vertical, and therefore the reaction from the water on the blade gives it a tendency to dive, but it is then constrained to not go too deep by a kind of string arrangement. The string (or tie) is not shown, but you can see the lugs for it in this picture.

During the power stroke, the water is pressing on the rear face of the paddle blade and maintaining this submerged position, but of course the rider's pedalling action is cyclic and the blade slows down and ultimately stops at the end of the power stroke. As this begins to happen, and assuming Oar+Some has some forward momentum already, the water now is pressing on the front face of the paddle, which causes it to rise out of the water. As the right blade leaves the water, the paddle's momentum causes the left blade to enter the water, and the rider times his new forward thrust with the other leg to this point - and so begins the power stroke on the other side.

Oar+Some - Prototype story so far

The most important thing to try out is the novel (and key) propulsion idea. So the first prototype step was to make a simple timber chassis on which to mount an experimental pedal bar and oar assembly.

The first challenge ...

The cross beams have insufficient torsional stiffness. They don't deflect downwards problematically, but they twist forwards excessively - due to the rider's weight being significantly forwards of the structure.

Of course the timber chassis bears little resemblence to the triangular crosss section in the more detailed design - but that too is unlikely to be stiff enough in torsion and a re-think is needed.

The optimum structure to bear twisting moments is a circular cross section tube. So how do we integrate this with a structure that can also cope with the vertical loading - while remaining in our space envelope and being as light as possible?

Here's my idea - see picture. This is a minature cardboard model - intended to quickly and cheaply explore the stiffness and strength of this structure. It combines an I-beam and a circular tube co-axially, with the loads being presented via flanges with annular bonding to the outside of the tube.

I've been pleasantly surprised at the performance of this model. Take a look at this picture. The minature model is only cardboard, and weighs just 3 oz = but it can cope with the considerable weight of 5 litres of oil - with no perceptible deflection.

So the next step is to make a full size prototype chassis based on this structure - which is the point I've reached - and the status quo!

Oar+Some - A fast pedal driven catamaran

Oar+Some is a boat concept and design project. The quickest way to get the idea is to view the video, or the browse the pictures. In essence it is a human powered (you pedal it), catamaran designed for speed. Think of it as a top notch, high performance touring bicycle for water.

Design goals
To aspire to the straight-line efficiency in the water of a racing kayak or rowing shell. To exploit human leg power, comfort and endurance. To provide a facing forward sitting position. To be sufficiently stable for non-experts to use. To have very low power transmission losses.

Current status
A concept is designed - including a novel propulsion system using a semi-automated oar-paddling action. This has been detailed to an extent in 3D CAD - as a communication and 'buy-in' medium. This is where the 'virtual' photos and video come from. Prototyping and validation of the key concepts has started. Early consultation with water sports experts and manufacturers has taken place.

Take it on - get involved - collaborate - help!
I have decided to turn this over to being an open and collaborative project. This act of placing the design in the public domain means that no-one can now patent it ! (Patent law). Anyone is welcome to take the idea forward in any way they want to. If like me you are chiefly interested in validating and developing the design - please get in touch, or go your own way and keep me informed. If you are an entrepreneur and think there is money making potential - by all means go for it - but I would appreciate being kept in the loop.

The propulsion system
This is the key unique feature of Oar+Some. See the dedicated page describing the propulsion system.

The story so far - prototype
See dedicated prototype page

A physics diversion
Interested in some water propulsion physics? - here's a brief discussion of Froude Efficiency.

Hobie's competitive pedal power system
The water sports product company "Hobie Cat" have a product for pedal-powering kayaks - called the Mirage Drive system. It is a stand alone kit that can be fitted to existing boats, and converts your reciprocal pedalling action into a wave like motion of fins under the hull. Very interesting. See their Mirage-Drive site here.

Thursday, March 13, 2008

Viterbi Demo

The Viterbi algorithm is used in mobile phones to remove noise from the received signal.

Demo application
The screenshot shows a demo application - written in C# / .Net as a learning exercise.


Links
Download ... Download and run the demo application (double click on 'setup.exe' inside this zip file)
Article ... A more detailed article

Pete's Piano - Software Development

Please see the new dedicated site

Engineering and Design

Under construction

Home Life

A celebration (mostly) of family life.

Cosy Nocturnal Adventure Taking daughter to airport

Soggy Story 6 year old writing, 11 year old singing

Amusing utterances Funny things our children come out with

Macavity take 2 Feline adventure story

Cosy nocturnal adventure

3:30 am, driving my 9 year old daughter through the city to the airport. She's off to a gymnastics competion in Portugal with her club.

So many pleasures. Special companionship of just one of the three daughters alone. half asleep in the vaguely menacing night-time urban scenery. Lovely swooshy drive through the empty streets. Bright eyed enthusiasm of the other children as we gather. Paternal pride in her sporting accomplishements. Esprit de corps, and gratitude towards the coaches and judges. She rings at 0930 to say she's arrived, and that it's all sunny and warm. (Unlike here).

Soggy story

How can life with children be anything other than just brilliant? Stupid assertion that really, but I hope you know what I mean. The eleven year old daughter is practising a song for an audition. I have to make an effort to take an interest - but I'm so glad I did - the joy she's getting from the feedback and the anticipation is heart warming.

The six year old has quite suddenly latched on to writing (barely comprehensible) stories - removing sheets of paper to scribble on from the printer at a rate of about one every five minutes. She's gets rather fixated by such enthusiams (just like Dad) and quite happily writes while the breakfast "spoil" seeps up through the paper.

That's getting your priorities right. (comment from Ali (wife) - you rotten liar, it drives you up the wall really) Ok I'm torn.