Saturday, 28 November 2015

It's all in the application: Recon Instruments Snow 2 vs Paragliding (Part 2)

While it has been hectic week as we try to roll out a new toolset to the content creators, things are under control to the point that I get to have my weekend. To be honest, I'm pleasantly surprised at how little OT this return trip to the games industry juggernaut EA has involved (compared to my last stint a decade ago). *knock on virtual wood*

In any case, free time => back to the repurposing of a Recon Snow2 HUD for paragliding.

In the last post, I managed to get the device to show heading, altitude, ground speed, glide ratio, and climb rate. Now time for something a little more meaty - wind drift.

Wind drift is a rather useful morsel of info. It can be 'back of the hand' calculated by eyeing the ground speed while performing a complete turn - note the heading and degree with which ground speed drops off to its lowest value. That method works just fine if there are no obstacles (such as other pilots) nearby.

But I am lazy. Also when there are airborne obstacles nearby, my line of sight intersects the screen of my Flymaster with a frequency of about....oh....zero.

So having the digital navigator compute and display the value for perusal at my leisure is a big plus.

Before beginning: a big hat tip to Alistair Dickie @ BlueFlyVario and Dr. Micheal Doube @ the Royal Veterinary College. Without the prior works of these two gents, I'd be stuck doing the back of the hand method.

The baseline assumption: A paraglider has a very narrow range of speed compared to almost every other form of aircraft => the delta between trim and stall can be as narrow as 15 kph. This means we can treat airspeed as near constant.

An aircraft at a constant speed and at a constant bank will fly in a near perfect circle absent any outside influence (such as the wind). If one were to take the tangental ground speed velocities (constant in magnitude, varying in direction) and plop them down such that they share a common base - we could draw a circle connecting the tips of these ground velocity vectors. The radius of the circle would be the airspeed and in the case of zero wind it would match our ground speed.

In otherwords, if our PG has an airspeed of 30 kph and there is nil wind, our groundspeed will be 30 kph. Likewise, where we are facing is were we are going (no drift).

If we were to introduce wind, we know our ground speed will vary (facing into the wind will reduce our ground speed, running with the wind will increase it). But our airspeed will not change.

Back to our PG. 30 kph airspeed. 10 kph straight on headwind. Ground Speed? 20 kph. Likewise, 30 kph airspeed. 10 kph straight behind tailwind. 40 kph ground speed.

The simplest of vector addition.

What about crosswind? It is still vector math (but will not involve a little trig to determine direction).

Airspeed is still 30. Crosswind is perfectly square on to our side (90 degrees off our heading) and 10 kph.

What is our ground speed (and direction)?

Treat the heading as the Y component, treat the wind as the X component.
Y = 30 kph.
X = 10 kph.

The magnitude of a vector is the square root of the sum of the squares of its components.
Huh?

This: square root ( 30 * 30 + 10 * 10) => square root (900 + 100) => square root (1000) => 31.62 kph.

Our ground speed will be 31.62 kph. But not in the direction we are facing.

How do we find the direction?

We know from high school that the sine of an angle in a triangle is the ratio of opposite over hypotenuse. The cross wind (10 kph) is the opposite edge, the hypotenuse is our just computed ground speed (31.62 kph).

sin angle = 10/31.62 => 0.3162.
Inverse sin (arcsin) 0.3162 and we have our angle (in radians) => .31172129 rads.
In degrees: rads / PI * 180 => 18.4 degrees.

Because of the wind: we will travel @ 31.62 kph, 18.4 degrees off our heading.

A long winded way to say that the wind impacts not only the speed but also our direction of travel in the air.

That is all fine and dandy, but what if we don't know the wind component and only know the end result (only ground speed and a bearing). How do we determine the wind component?

Circular regression.

Huh?

Given a constant airspeed and bank angle (rate of turn), one can create a circle that best fits the tips of the ground speed vectors that share a common origin. The vectors will vary in magnitude due to the wind. This variation will mean the common point of original for the velocity vectors will not be the centre of the circle. This is very important, as it is this delta that we want.

A picture would help immensely here, but that will likely have to wait. Trust me.

One method of finding the best fit circle to a trio or more of non-colinear points is the Taubin-Newton Circular Regression algorithm. This is what we will use.

The regression gives us the centre and radius of the best fit circle. The radius will be our airspeed. The centre will be offset from the common point of origin. The magnitude of the vector joining the centre of our newly computed circle and the common origin of the wind drift influenced ground speed vectors will be the wind strength. The direction of this end vector will be line of wind travel.

We now have a wind direction and speed. Easy peasy in the words of a certain Brit SIV instructor.

In testing, I assume a 30 kph airspeed with a 10 kph straight south wind. The Y axis is North/South with North being positive. The X axis is East/West with East being positive.

The velocity vectors (X, Y) fed in look like:
(0, 40)
(0, -20)
(30, 10)
(-30, 10)

The output vector indicates wind out of the south @ 10 kph.

The result:



The blue arrow represents wind direction. I have yet to add a strength value above it. The bearing indicator (green) is being obscured as the line of travel is in direct opposition to the wind (there a pixel thick line of green just to the left of the blue wind direction indicator).

Next steps involve retaining the wind values over time, applying an exponential weighted average over these retained values to smooth out any sudden changes (and give more weight to more recent data), and optimizations.

Continued in Part 3.

Sunday, 22 November 2015

It's all in the application: Recon Instruments Snow 2 vs Paragliding.


Over the summer an online dealer in Utah for the Recon Instruments family of devices had the Snow2 + Scott googles on sale for over 50% off. Even with the exchange rate, it was a phenomenal deal compared to the price local dealers were charging. The Snow2 is a pseudo HUD in that it does not directly overlay ones view, but instead sits on a small display in the lower right field of view.

An image of what the HUD looks like within the goggles, from Necessary Coolness.



Here is a link to Recons info page.

The HUD software is geared almost exclusively towards snow sports (thus the name Snow2 and likely why I got it so cheap mid summer). But it runs on Android, and strangely enough yours truly has a decent amount of experience with Android fairly close to the metal.

Trivial to repurpose this device towards a more paragliding centric application. Grab the Recon SDK, the sample app, and a hacking we will go.

The result:



Fairly simplistic. It autostarts on boot, precluding the need for the all-too-easy-to-lose remote. The compass rotates in line with heading, the green arrow indicates bearing. If the user has a sufficient change in bearing or a climb rate above 0 m/s, the centre display will show climb rate, otherwise it shows glide ratio. Climb and glide are averaged.

Next up will be determination of wind direction and speed (a blue arrow on the compass?). After that, maybe speed to fly, maybe BLE connectivity (if Recon has finally updated the OS for the device with proper SDK support) to a PGing GPS such as the XC Tracer.

In any case, it and the laptop will follow me to Brazil for further testing/dev.

Continued in Part 2.

...Or skip ahead to the current refactor.

Saturday, 21 November 2015

Club Care

It's been a while since haunting this blog.

Since the last posting, I managed to get the Gin Carrera Plus up in the air a couple of times at Bridal Falls. Really like the improvement in 'feeling' over the base Carrera - feedback from the wing tips is spot on.

Health took another nose dive Sept/Oct bringing the flying season to an end (it has since started improving with an increase in dosage of the med cocktail).

AND....I'm no longer on the Board of Directors for our local club - the President, Tom, let me off the hook at the AGM (I think he realized I don't have enough left in me to give the role the attention it needs). When agreeing to run again last year, I wasn't counting on further health issues or ending up back in the games industry - balancing the needs of the club against real life has proved a bit much. But everything worked out in the end and new, eager blood has stepped in to take over.  Looking forward to seeing what new ideas they roll out over the next year.

Being on the Board for the largest paragliding/hang gliding club in the country certainly provided for an education in the legal and regulatory considerations that go into free flying and clubs in general.

Two big ones:

  1. The club must be incorporated. Being otherwise opens the entire membership to the risk of being named parties in litigation. Consult a lawyer if you need more info on the risks of joining an unincorporated club (as they will vary by juristiction).
  2. If you are asked to serve on the Board of a club, make sure they have Directors and Officers Insurance. It basically helps cover you as a Board member in the event of a lawsuit for a perceived mistake or omission in carrying out your role, but typically does not include willful illegal acts. Talk to an insurance provider more info on D&O insurance.
Small things to consider that could have a huge impact on you as a member and as a Director if you are asked to 'step up'.

Wednesday, 5 August 2015

Transformation: Gin Carrera to Gin Carrera+ (Plus): Part 3



In the basement sits a Gin Carrera+, its lines swapped over two weeks previous. The conditions that day allowed only for a short kiting session. Inaugural flight is still in the queue.

Today: a sunny Saturday morning with questionable winds - northwest, 15+ kts. A opportunity to head for the training hill @ Diefenbaker Park and try my hand at foot launching in rotor. The recently completed South Fraser Perim Road makes short work of the drive, allowing for a bypass of Burquitlam and New West. All in all, a 40 minute drive in non existent traffic.

Arrive to find the park empty - I gather iPG is none too keen to have students out in this. Wouldn't blame them as the conditions are leaning towards a plucked and dragged sort of day for newbs.

7AM on a summer Saturday, this place is typically filled with students and wings. But not today.

Setting up on the southern slope facing into the park bowl, I quickly clip in during a lull. A quick duck under to face the wing and a swipe of the brakes.

The rustle of leaves from the trees to the N/W followed by a rapidly building sway in the trees down the road to my right (west) signals an approaching gust. Gloved hands fumble to get at the C's - the risers miniscule width coupled with the new lines frustrate my efforts.

The gust builds, snatching the wing.

Pulling in the C risers, the tail is kept firmly planted. Looks like the new riser design does the job.

I use the dying wind to work the wing quickly into a wall and let it settle back onto the ground.


And wait...

And wait...

Another gust begins, but more west. There is enough to bring the wing up, turn, and run more or less across slope.


And wack!

The left tip falls victim to the rotor being formed off of the trees backstopping the main slope of the hill.

Kill the wing, ball it up, trudge back up.

A trio of attempts follow before calling it a day. I have one question answered - can I ground handle (thus launch) it in strong conditions?

Yes.

But how will it handle in light to nil conditions?

A question that will have to wait for the FlyBC training hill tomorrow morning.

Video of the First Flight on the Gin Carrera Plus






Friday, 24 July 2015

Planning Ahead: 2016

The lackluster state of flying here in the Fraser Valley means an early start to planning for next season.

Now add a dash of slow motion currency freefall (I would not be surprised to see the CAD = 0.65 USD by years end).

The result is a rush to get things booked and paid for ASAP.

I had chanced upon a course being offered by Dean Crosby (the gent who vol biv'd the Pyrenees back in 2012) of Active Edge Paragliding in Iquiquie, Chile in November, but work was a no go with my disappearing during that time period.

Plan B. Same company, same instructor, different time/location.

Brazil, early 2016.

Here's why (from a group flying there in 2011):










Sunday, 19 July 2015

Transformation: Gin Carrera to Gin Carrera+ (Plus): Part 2



As, Bs and Brakes down. The Cs took another 1.5 hours in the backyard.

Sunday morning, off to FlyBC. I need more space to spread the full wing out and trace the lines from maillon to attachment tab - to make sure nothing is crossed or wrapped.


One pair of crossed lines on the left C, easy enough to sort.

I expected the riser swap to be very straight forward and aside from the B maillons, it would have been. Both maillons were a right sob to get clear of their respective riser loops. But perseverance paid off and the lines eventually made their way across. All of the maillons were taken to finger tight as there was no point in adding the quarter turn by wrench until after kiting the wing.

New riser left, old riser right.

Curious.
Transformation complete. Time to kite.
Laid out in the LZ. Very switchy winds today (SE right now).


Pull up. The tips noticeably lag compared to the base model.
Back down, South wind now. Notice the Altocumulus Virga?
Rebuild wall, winds now SW.
Pull up, again tips lag -a good sign for strong conditions.
I also tried my hand at A+Cs, and it appears this new configurations is much more user friendly. I was concerned I might have to engage the floating Cs, but all is good.

Due to the switch winds, more kiting will be needed to ensure there are no problems (mistakes in line attachment) followed a few jaunts up and down the training hill. 

Friday, 17 July 2015

Transformation: Gin Carrera to Gin Carrera+ (Plus)

Finally!

After two months, the line set has arrived.

When I first demo'd the Gin Carrera, I remarked on the inability to A+C's the wing during launch due to a rather unique riser configuration. The C3 line is mounted to a floating maillon between the main B and C attachment points. The webbing upon which this maillon rides significantly limits the C riser range of motion. The updated Carrera+ riser is expected to help address this short coming by lowering the rear attachment of the webbing strap.


Original Carrera riser layout.Note short C3.
Courtesy of Gin Gliders.  
Carrera+ riser layout. Note extended C3.
Courtesy of Gin Gliders.  

The other thing that stood out was the 'floppy' wing tips. The brake fan layout on the first generation Carrera would engage the centre portion of the trailing edge well ahead of the tips. The byproduct of this configuration is a reduced 'feeling' for an impending collapse short of riding somewhat deep into the brake range. The new line layout on the Carrera+ is expected to 'slow' the tips and engage the trailing edge in a more even manner.

The upgrade kit itself consists of 50 lines (for XS through to M) or 56 lines (for L and XL), an instruction set, a pair of new risers, a new certification/serial number label, packing bag tab, and a '+' sticker to affix to the right of the 'Carrera' label on the wing tip.

The instructions are a single double sided page:



The line set is organized into a collection of daisy chains, grouped by riser and by tier.

I set out to break the chains down and subgroup by pairs of individual lines.

Brake lines mid tier. Each pair (L and R) is placed in a single marked baggie.

Once all of the pairs are divided, its time to label the old lines that are to be replaced. As the instructions are not available online, I went overkill and created a label for every line, unsure which would be flagged for replacement.

Line labels.
Wing laid out in the backyard.

A check of the instructions to confirm which line is next.

Crack open the maillon, slip the line free, follow it to the attachment, un-hitch.

Place the tagged old line in a large baggie and extract the new line from its individual baggie. Check the tag holding the line pair to confirm the index (there is a slight inconsistency in how the lines are labeled on the instructions and on their tags - but it is easy to deduce what goes where). 

Follow the new line end to end, being sure to follow the instructions to attach the thicker sheath portion of the bottom most lines to the bottom of the mid cascade.

Re-attach. Rinse and repeat for other lines. When done, place back on old risers in same order.

I will do the riser swap at the dealers, as he has a rigging loft when I can also check each line end to end before taking for a spin kiting.

Thus far, both sides:
  • A+Bs -> 1.5 hours
  • Brakes -> 40 mins.