VSS VR circuit improvements
Posted: Tue Aug 11, 2009 11:03 am
One issue that has come up for some beta testers is the VSS input triggering many times at low speeds, sending the indicated speed high and shifting the trans to 4th gear. The root of this is some false triggering in the VR circuit, in which the signal drops out very briefly creating multiple pulses (rising or falling edges) at low frequencies and low amplitudes.
I have made some improvements to the code (especially the masking boundary calculations, which had a serious bug in them). However, the hardware could also be part of the solution. I have been playing around with the circuit in LTspice, and it looks like changing both R37 and R45 to 680K Ohms helps a lot with the low amplitude triggers. The circuit will then trigger reliably down to 50 millivolts and 20 Hetrz (in LTspice - real world result yet to be confirmed!).
These changes shift the trigger point with the frequency though, and wouldn't be good for a positional input (like a crank wheel input for MS-II). However, in the case of the VSS, we aren't looking at position, only speed. In any case, switching C29 for a 47pF capacitor (from a 470 pF capacitor) alleviates most of the phase shift. I suspect fine tuning of the value for C29 could result in good performance (especially on a crank signal where the total speed range is relatively small).
These changes will also simplify the BOM, so they may become the 'official' build once they have been proven in a number of installations. Any beta testers that are seeing the issue describe above might try these changes.
Lance.
I have made some improvements to the code (especially the masking boundary calculations, which had a serious bug in them). However, the hardware could also be part of the solution. I have been playing around with the circuit in LTspice, and it looks like changing both R37 and R45 to 680K Ohms helps a lot with the low amplitude triggers. The circuit will then trigger reliably down to 50 millivolts and 20 Hetrz (in LTspice - real world result yet to be confirmed!).
These changes shift the trigger point with the frequency though, and wouldn't be good for a positional input (like a crank wheel input for MS-II). However, in the case of the VSS, we aren't looking at position, only speed. In any case, switching C29 for a 47pF capacitor (from a 470 pF capacitor) alleviates most of the phase shift. I suspect fine tuning of the value for C29 could result in good performance (especially on a crank signal where the total speed range is relatively small).
These changes will also simplify the BOM, so they may become the 'official' build once they have been proven in a number of installations. Any beta testers that are seeing the issue describe above might try these changes.
Lance.