- 1) based on analog gear position sensor 0-5V - this solution is dedicated mainly for motorbikes with stock gear sensor,
2) based on gear ratio (rpm/speed) - this alternative solution has few disadvantages, but sometimes this is the only possibility to measure gear position without dedicated sensor.
Re 1: Gear indicator based on analog gear position sensor 0-5V
Gear position sensor generates different voltage levels on output for each gear position. This is the most reliable and effective solution but unfortunately not possible in many cases. Sensor should be calibrated in UTCOMP settings. You need to enter voltage levels for each gear position, e.g. if you have 1V for 1st gear, 2V for 2nd gear etc. you should enter range instead of constant value, e.g. 0.9 - 1.1V for 1st gear, 1.9 - 2.1V for 2nd gear etc. This will make readings immune for noise, voltage fluctuations etc. Voltage ranges should be as wide as possible, but should not overlap each other.
Re 2: Gear indicator based on gear ratio
There is also possibility to calculate current gear from gear ratio ie. ratio of engine rotation speed (RPM) to vehicle speed (VSS). Each gear has different final ratio. Unfortunately, this solution has few disadvantages such as:
- there are required accurate measurements for vehicle speed (VSS) and engine rotation speed (RPM) - if measurement resolution will be to low than gear calculations will be not accurate,
- there is no possibility to detect reverse gear,
- there is no possibility to calculate properly gear position during gear change - there is at least 1 second delay required for readings stabilize.
We need to calculate gear ratio ranges (instead of constant gear ratio) to make more reliable readings. There are few methods for it. The easiest one is to drive with constant engine rpm (e.g. 2000 RPM) and write down vehicle speed for each gear, e.g.
We need to consider that our readings are not perfect. The measurement resolution is also limited. That's why we should extend these values and make gear ratio ranges, e.g. +/- 5%:
Highlighted values should be entered to UTCOMP settings:
Please note that ranges SHOULD NOT overlap each other. UTCOMP calculate gear ratio in real-time. If calculated ratio fit to any range, than UTCOMP will display gear number for this range. If it will not fit to any range, than it will display gear "N" (neutal position) - that's why we need to have "free space" between gear ranges.
Propably you will need to make few experiments before it will work properly. You can try to increase or decrease gear ratio ranges (e.g. +/- 7% instead of +/- 5%). Please note that it is impossible to get proper gear indicator during gear change. This method is not perfect but sometimes it is the only one possible.
Here you have excel for calculations: