Davidv Posted October 7, 2015 Report Share Posted October 7, 2015 Hey,My car is 30+ years old, so things like the tacho and speedo dont work quite how you'd like. Especially when going RPM and speeds well past what was ever intended haha.So my problem is that if I calibrate the speedo at 100kph (or 50kph) it loses accuracy either side.I've tried fiddling with offset / multiplier etc a bit but I think it's because it uses an old style mechanical return spring that's a bit worn out so is less linear across the range than you'd hope.I could set a test PWM function and record the hz at which various key speeds are being hit. Then have say a 3 or 4 point cal table which helps maintain accuracy right from 0kph to ~180 or so if it was possible to input this info into the speedo calibration.Otherwise if I could link a general purpose PWM output to a 2D table that varies the hz at which it operates then I could manually configure it that way instead of the speedo function (Is there a way to do this?) Quote Link to comment Share on other sites More sharing options...
Dave Kriedeman Posted October 7, 2015 Report Share Posted October 7, 2015 Hi Davidv,I have never had to play with something like you are trying to achieve, however I just wanted to make sure that as well as your ideasĀ that you knew about the following settings in the software also.The driven wheel setting can obviously be derived via an electronic speedo transducer or mechanical to electronic transducer to help with a more accurate input as far as the speedo is concerned.RegardsDave, Quote Link to comment Share on other sites More sharing options...
Davidv Posted October 7, 2015 Author Report Share Posted October 7, 2015 (edited) Thanks Dave.The speedo signal that the ECU gets is accurate as per GPS. As I use it for gear detection / gear dependent shift light rpm.It's just that when displaying it to the factory gauge in the dash, if I calibrate it at say 100kph it pretty quickly loses accuracy when I'm going say 50kph or a bit faster at the track.Same for tacho, if I adjust the settings so that when the car is idling or mid rpm I can get the needle reading accurately. Then when the revs are high it is completely off target.Hmmmm maybe it would pay to actually log down some notes of what the indicated differences are, and then see if it follows a pattern that might be fixable by adjusting the offset or duty cycle in a way I havent tried. Edited October 7, 2015 by Davidv Quote Link to comment Share on other sites More sharing options...
mapper Posted October 8, 2015 Report Share Posted October 8, 2015 Why notĀ just use a PWM table on a AUX Ā with speed input as axis? bit fussy to calibrate, but should work.Ā Ā Quote Link to comment Share on other sites More sharing options...
Davidv Posted October 8, 2015 Author Report Share Posted October 8, 2015 Thanks Mapper,I initially had a look at the GP PWM but didnt see the table attached... I thought you could only statically set a HZ at which it runs at, and setting the switching criteria. (Which would be odd!)It should be easy enough to calibrate, I think should work great, thanks for the suggestion.I'll give it a try over the weekend and report back on how it goes. Quote Link to comment Share on other sites More sharing options...
Simon Posted October 9, 2015 Report Share Posted October 9, 2015 You are right the Hz are fixed so it wont work as a variable frequency drive. Quote Link to comment Share on other sites More sharing options...
Davidv Posted October 18, 2015 Author Report Share Posted October 18, 2015 I thought I'd better get some data to show what I'm meaning in terms of wandering accuracy etc.So I setup a test PWM and adjusted the frequency until it matched certain rpm / speed points on tacho and speedo.If they were accurate with a linear increase in hz then the graphs would show a flat line instead of rising with speed / rpm.Based on above it looks like if I aim to get my speedo accurate at the 80kph mark it should stay accurate-ish from there up. But will lose accuracy as speed drops.Ā The tacho looks like a lost cause though, which based on experience it just flaps around fairly meaninglessly once the revs get up there haha.But with a non linear calibration table it would be possible to get them both reporting bang on accurate. Ā Quote Link to comment Share on other sites More sharing options...
Scott Posted October 18, 2015 Report Share Posted October 18, 2015 Hi David,Ā I will ask for this to be added to our request list.Cheers,Ā Davidv 1 Quote Link to comment Share on other sites More sharing options...
Davidv Posted March 19, 2016 Author Report Share Posted March 19, 2016 Looking through the changelog, I see this has been addressed...Can now specify a frequency table for GP PWM. Awesome!Will give it a go this weekend. Quote Link to comment Share on other sites More sharing options...
Davidv Posted March 20, 2016 Author Report Share Posted March 20, 2016 Okay so just tested this out, on both speedo and tacho.... bloody well brilliant!They're now both super accurate. Quote Link to comment Share on other sites More sharing options...
Scott Posted March 21, 2016 Report Share Posted March 21, 2016 Glad it works well! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.