The following case study tripped me up numerous times, so I thought it would be a good time to revisit how to graph road speed via the ABS speed sensor signal:
Using a math channel to calculate the road speed from an ABS wheel speed signal can be very useful when faced with this kind of diagnosis or if you need to qualify vehicle speeds against serial data.
With a tyre size of 215 x 45 17 and an ABS pole/tooth count of 48, we have:
The formula for wheel speed in miles per hour is:
The formula required to calculate miles per hour from the wheel speed signal on Channel B is: 60/48*freq(B)*(3,14*0.625)*60/1000*0.621371
To create a math channel to calculate mph for the wheel speed signal on Channel B, open the Math Channel Wizard by clicking on 'Tools > Math Channels > Create > Next > Advanced', and type in the formula above. Follow the Math Channel Wizard, selecting a colour, measurement unit (mph) and range for the math channel. To make it easier to recognise the math channel you created, select a matching colour for the channel input that is to be graphed.
The image below highlights the math channel formula entry procedure.
Perhaps you require kilometres per hour as the road speed unit. Assuming that the ABS signal is on Channel A, the ABS pickup has 48 teeth and the tyre size is 215 x 45 17 the formula is as follows: 60/48*freq(A)*3.14*0.625)*60/1000
The .psdata file below has the math channels for mph in red and blue, the math channel for km/h is in magenta.
You can import the math channels from these files to your own library, where they will be available to apply and edit for future use. Highlight the applied math channel and click on Duplicate. The duplicated math channel will now be saved in your math channel library (see image below).