Mathjax

Wednesday, December 7, 2016

Maybe the bicycle wheel truing algorithm will go public after all.

It is Christmas and I am trying my best to give the bicycle wheel truing algorithm away.  The bicycle wheel is in moving toward a release for free use.  Actually, there is already a release, albeit one suitable for a limited audience.  I made contact with some cyclists who also happen to work for Mathworks.  I translated my algorithm from Scilab to Matlab and uploaded two cases to the Mathworks File Exchange to facilitate the work with Mathworks folks.  It is my sincere hope that this collaboration with Mathworks will result in something for the bicycling community.  But, since the algorithm is on the Mathworks File Exchange server which is up in the public domain, if you are a Matlab programmer and have a copy of Matlab on you computer and want to get really deep into coding to see how this great idea works, you can go here

https://www.mathworks.com/matlabcentral/fileexchange/60333-modeling-verification-and-truing-example-for-bicycle-wheel

and here

https://www.mathworks.com/matlabcentral/fileexchange/60333-modeling-verification-and-truing-example-for-bicycle-wheel

For the rest of the world, the plan at the moment is to develop a graphical user interface that calls the Matlab routines as royalty-free, compiled functions.  The graphical user interface should make it accessible to an average person who knows how to use a browser.  I am currently working on a version that embeds the truing algorithm in an Excel spreadsheet.  A user would be able to download the spreadsheet and true his wheel.

I am also adding features to check the design of the submitted wheel.  I will calculate the spoke tension under limiting load conditions so that the maximum and minimum tension are calculated.  The maximum should be compared to the yield stress of the spoke and the load limit of the rim at the spoke seat.  The minimum is compared to zero tension.  Zero tension means the spoke is slack and not supporting the rim.  I will also calculate the spoke tension for buckling, deflection at maximum load, and other parameters that are useful in wheel design.  This project is still challenging and fun.  I hope to engage others in pursuing the many ideas the spring from the development.

I am giving away my part of the bicycle wheel truing work.  That is great and to all of you who download and use the algorithm, you are welcome.  It still is not totally free because you still need wheel truing gear.  [Disclaimer, I get nothing from the equipment suppliers from whom you purchase your wheel truing gear.]  This is what you will need.  You will need a wheel truing stand with dial indicators for the radial and lateral displacement measurements and a tension meter.  I think digital indicators make the job infinitely easier than mechanical indicators.   I personally have been keeping Park Tool Company (http://www.parktool.com) afloat for the past couple of years with my many purchases.  Among them, I have a Park 2.2 truing stand and the dial indicator accessory TS 2DI.  I also have one of every type of spoke wrench Park Tool sells.  I replaced the mechanical indicators in the TS 2DI with iGaging digital units.  It was a one for one swap.  Igaging is a great place to get innovative digital measuring tools, www.igaging.com.   I am waiting for the multiplexed wireless indicators to be available from iGaging for this application, http://www.igaging.com/page26.html.  All three measurements use an indicator device so potentially the truing operation could avoid transferring readings manually from the indicator to the computer.   You can use any spoke tension measurement that you prefer.  I have a Park TM-1 and I also have Douglas Pepelko's most excellent app for measuring tension with an iPhone.  You can get his app from the iTunes store:

https://itunes.apple.com/us/app/spoke-tension-gauge/id518870820?mt=8

I crave a WheelFanatyk tension meter but am holding out for a tool that interfaces wirelessly with the bicycle wheel algorithm.  http://www.wheelfanatyk.com/store/digital-tension-gauge/  I hope wheelfanatyk will adopt the iGaging indicators with wireless communication to make my truing system really computerized.


Wednesday, May 18, 2016

Anybody know a app developer

So I am pretty much out of options on finding a way to commercialize the truing algorithm.  Truing machine companies are not interested in buying it.  Same for bicycle companies.  I tried to team up with app developers who already have developed bicycle related software, no interest.   It is hard to face but the truing algorithm is just an idea that only I see the value in.   Sad that when I got such good results.  I also want to do an app the calculates maximum spoke tension, stiffness, and margin to buckling for a wheel.  This would be useful to custom wheel builders and to users who want to compute real information about wheels they are considering buying.  No hype, this is all science.

If you want to develop an app using the algorithm, send me some contact info in the comments.

Tuesday, May 17, 2016

Trying to find a way out.

Dear readers,
I had a comment.  First one ever.  Thank you, Anonymous.  Solving math problems when the answer is not in the back of the book is sort of like walking a tight rope.  You never know if you will fall.  The act of balancing is similar for all who choose to attempt the solution.

Not much is happening on the wheel problem.  I am more committed to being ready for a bike tour in Italy than in math these days.  For readers who do not know me in real life, I am going on a bike tour in the Dolomites in June.  I have been riding 3 or so hours a day to be sure to be the next to slowest cyclist on the tour.   No Lanterne Rouge for the Geezer.  The time for training cuts into the time to do wheel research.

I have been planning to apply the wheel algorithm to build wheels.  The first candidate for building may be the wheels for my old classic Raleigh Grand Prix.  I broke a spoke on the old Mavic wheel that came with this bike (it was not the standard wheel) trying to test the wheel model.  I think I should build a wheel to replace it.   The original wheels were Mavic tubular rims on the very classic, high flange Normandy hubs.  The Normandy hubs were the only quality component.  The rim was a low tech aluminum box.  The spokes were extremely low tech galvanized steel spokes.  So, I plan to build a 36 spoke, three cross clincher wheel set around the original Normandy hubs using a new clincher rim and spokes.  Dear readers, what would you recommend as a rim and spoke combination?   The Raleigh Grand Prix was a touring bike with carbon steel frame and 2x5 gearing.   I have all the original parts.  All parts are functional.

What say the Internet readers of the  Solving Math Problems blog?  What modern rim and spokes should I pair to test the wheel algorithm and build an interesting and useful wheel set for a classic bike?

TW

Friday, January 29, 2016

Problem resolved?

I think I have figured out my flaky wheel results.  I was comparing experimental data which I took using an old wheel against the model.  It was a different wheel than the wheel I had used for my main test cases.  The wheel did not seem that different so I expected things would be similar, but the results were really bizarre.  In the end, I found a couple of programming errors and I learned something about the model.   The errors were things that were perfectly obvious on inspection, but if your results look good it is hard to make yourself inspect carefully.  It takes something really strange to focus the attention on the programming and really see anything wrong.

The thing I learned about is the effect of exceeding the buckling load in the model.  Buckling limit is one of the things I wanted to be able to calculate with the model.  I know that the spokes increase the buckling load compared to the bare rim but I did not know how to calculate from the model.  I am on the track of a tidying up the theory.  Just by chance, the stiffness data (Izz, Irr, and J) and spoke tension I picked for this wheel were right on the limit for buckling.  The matrices are singular at the buckling point so the inverse of the matrix near it is unreliable.  That accounts for the flaky results.

The good news is that putting stiffness parameters from my first case (a good bit stiffer to both bending and torsion) pushes the buckling limit out to higher value.  With that set of parameters, the model gives excellent displacement results in comparison to the experiment.  In playing with the parameters, the predictions of displacement and spoke tension are very sensitive to stiffness parameters near buckling but not so sensitive away from it.  The stiffness parameters I first estimated for the second wheel are not particularly accurate.  I do think this wheel is close to the buckling limit.

I am working on getting some help to calculate stiffness parameters accurately for a given rim profile.


Wednesday, January 27, 2016

Some progress ....

I woke in the middle of the night last night with a thought of a possible error in the wheel model.  I lay awake thinking about it until 6 am then got up and, even before coffee, checked the code to see that sure enough that it was indeed a problem with the model.  I fixed it, ran some tests, and could see that things were better but still not completely correct.  I am using a simple test of logic, a symmetric wheel should have symmetric elements of its matrices.  A leading spoke should be same magnitude but opposite sign as a trailing spoke.  So far today, I found three errors.  Middle of the night wake-up error was the biggest, the next two smaller, and yet the modeling matrices are not exactly symmetric as I expect they should be. It is surprising but true that it is easy to see asymmetry but it is hard to detect where it comes from.

Perhaps, I should sleep on it and the answer will come to me in the middle of the night. For all those following along at home, Janice thinks that the wheel problem can wait and the answer will come to me as I complete the kitchen cabinet additions.  I shall follow her sage advice.

Tuesday, January 26, 2016

One step forward, Two steps back

Well, I learned today that all is not well in my model.  I tried to apply the model with rim profile twist to an set of data that I took on a Real Design Supersphere wheel.  The original model without twist or buckling did reasonably on this wheel.  That model predicted the response to the single spoke perturbations and the truing algorithm trued up the wheel up nicely (>.15 mm in both directions).  The wheel has fewer spokes and lower tension than the last wheel I reported that did very well with the model with twist.   It seemed likely that this wheel would be have less effect from the buckling instability because tension was lower.   I thought success was a foregone conclusion.  Not so fast.  

The short version of the story is that the new model of this wheel is unstable at a much lower tension than actually exists in the wheel.  It becomes stable if I decrease the spoke tension or increase torsional stiffness beyond reasonable values.  In further investigation, I also find that a symmetry that the wheel should possess (every forth spoke should have the same influence function) turns out not to be true for the new model.  I think these are two separate problems, but maybe not.

I do not have time to work on the wheel right now.  I must make some cabinets.

Thursday, January 14, 2016

A summary and conclusion of the bicycle wheel problem

I have reached, if not an final answer to the wheel problem, a stopping point.  I have used the methods of flexural-torsional bending to solve the structural mechanics problem.  The results are pretty good finally.  The predicted and measured displacements are certainly good enough to apply the LQG control theory to the truing problem.   So the part I set out to do is done.  The structural model is a success and there are many more things that could be done with it besides just truing at this point.  What I had hoped was that someone who wanted to commercialize this idea would take it over now.  The most I can offer in the future is a journal article to document the method of solution.  If you are interested in a great structural model of a bicycle wheel or a wheel truing algorithm, I am having a sale this week.  Best prices.  Can't be beat.

Here are some final images of the comparisons of prediction versus measurement.  In this comparison, a single spoke is tightened one full turn and the change in shape is plotted.  I think I nailed it.  The input wheel parameters are dead nominal.  There was no adjustment of parameters to improve the fit.  This is the raw data.

The sample wheel is a difficult wheel to model.  This wheel has a large number of spokes and a fairly high tension.  As a result, the structure is close to the flexural torsional bucking load for the rim.  The taco shape of the rim reflects how sensitive the wheel is to the spoke perturbation.  In the figures, I am also showing the earlier, less successful models that do not account for the instability.  The good comparison from the final model and experimental data  is the turquoise line (final model) and red line (experimental data) in each figure.  I previously got acceptable results on other wheels with fewer spokes or lower tension.  The wheel shown here was the one that was hard to get right.  The final model reduces naturally to the earlier model as the parameters leading to the instability are modified to make the wheel more stable.  The first model had no elastic instability modeling.  The second had flexural instability but not torsional.  The final model had flexural and torsional instability.  This mode gives the lowest buckling load.