MotoSPEC provides two methods for plotting chassis math channels in data acquisition systems: Data Equations and Data Tables.

Chassis math channels allow values around the track to be easily investigated graphically, versus looking at momentary potentiometer readings in the MotoSPEC interface.

Rider feedback and inputs such as throttle and brake pressure can be compared to the chassis math channels.

The following chassis math channels are available from MotoSPEC:

Chassis math channels allow values around the track to be easily investigated graphically, versus looking at momentary potentiometer readings in the MotoSPEC interface.

Rider feedback and inputs such as throttle and brake pressure can be compared to the chassis math channels.

The following chassis math channels are available from MotoSPEC:

Rake

Ground Trail

Swingarm Angle

Anti-squat (percentage or angle)

Front Force

Rear Force

Rear Wheel Travel

Wheel/Shock

Shock/Wheel

It is important to note that the MotoSPEC Data Equations and Data Tables should be re-generated and updated in the data aq software when setup changes are made.

It is also important to note that the effects of lean angle are not considered, as the channels are only functions of front and rear potentiometer readings.

It is also important to note that the effects of lean angle are not considered, as the channels are only functions of front and rear potentiometer readings.

## MotoSPEC DATA EQUATIONS

MotoSPEC Data Equations are available with both the Standard and PRO licenses.

MotoSPEC will write a Data Equation for each chassis math channel in a single maths file, that can then be imported into:

AIM Race Analysis

MoTeC i2 PRO

Marelli WinTAX4

2D WinARace

MoTeC i2 PRO

Marelli WinTAX4

2D WinARace

The Data Equations are significantly easier to use in i2 Pro, versus using Data Tables. The single maths file is easier to import and update, versus copying-and-pasting the Data Table for each math channel.

AIM Race Studio does not have provision for using the Data Tables, so the Data Equations are required.

The Data Equations menu item is found under the DATA AQ tab on the right side of the ribbon.

AIM Race Studio does not have provision for using the Data Tables, so the Data Equations are required.

__The Data Equations are only functions of front and rear potentiometer readings and do not include the effects of lean angle, tire profile or tire stiffness.__The Data Equations menu item is found under the DATA AQ tab on the right side of the ribbon.

Click the down-arrow to expand the Data Equation instructions for each data system.

MoTeC i2 Pro

__CREATING THE DATA EQUATIONS__

In the MOTEC expander of the DATA EQUATIONS, specify the MotoSPEC column to be used and the MoTeC front and rear potentiometer channel names.

Click the 'Browse' button to specify the file name and location of the math file to be written. The MoTeC maths file will have a .xml extension. If an existing maths file is not specified, a new file will be written.

Clicking on the ‘Write’ button will write the MotoSPEC Data Equations into the maths file..

Click the 'Browse' button to specify the file name and location of the math file to be written. The MoTeC maths file will have a .xml extension. If an existing maths file is not specified, a new file will be written.

Clicking on the ‘Write’ button will write the MotoSPEC Data Equations into the maths file..

IMPORTING THE EQUATIONS INTO i2 PRO

IMPORTING THE EQUATIONS INTO i2 PRO

In i2 Pro, click on Tools>Maths, or use shortcut Ctrl+M.

In the Maths form, click on '

In the Maths form, click on '

**Import**' and then select the .xml maths file that the Data Equations were written to.The MotoSPEC math channels will then appear under 'Workspace Maths' as shown below.

The channel names should not be modified as MotoSPEC will look to these names to update the Data Equations when they are next written to the maths file.

The channel names should not be modified as MotoSPEC will look to these names to update the Data Equations when they are next written to the maths file.

__PASTING THE EQUATIONS INTO THE LOG FILE__

The Data Equations can be copied-and-pasted into the Log File Maths.

__The chassis math channels are then retained within the Log File, rather than the Workspace.__The MotoSPEC channels in the Workspace Maths can then be deleted.After clicking 'Close' in the Maths form, the MotoSPEC math channels can be added to the graphs.

__UPDATING THE EQUATIONS__

When settings or components (for example, spring rates or linkage) are changed, it is necessary to regenerate MotoSPEC Data Equations and then update the math channels in MoTeC.

To update the maths file, it is only necessary to open the Data Equations form and click 'Write MoTeC Equations',

The steps in i2 Pro are shown below with balloons:

The revised math channels will be plotted after closing the i2 Maths form.

Math channel groupings are retained for the revised channels.

To update the maths file, it is only necessary to open the Data Equations form and click 'Write MoTeC Equations',

__assuming the front and rear channel names nor the maths file have changed.__The steps in i2 Pro are shown below with balloons:

- Select all the Log File maths (Ctrl + A in the 'Items' window).
- Click 'Remove', or right-click and select 'Delete'.
- Click 'Import' and select the MotoSPEC maths file.
- Copy the math equations to the Log File maths as before.

The revised math channels will be plotted after closing the i2 Maths form.

Math channel groupings are retained for the revised channels.

__RETAINING CUSTOM CHANNEL COLOR SETTINGS__

If the colors of the MotoSPEC chassis math channels have been customized in i2 Pro, the channel color choices can be retained by exporting the math channels to a .xml file.

Writing revised math channels into the exported file will retain the channel colors while replacing only the Data Equations.

It is only necessary to export the math channel equations in order to retain the channel colors.

Writing revised math channels into the exported file will retain the channel colors while replacing only the Data Equations.

It is only necessary to export the math channel equations in order to retain the channel colors.

AIM Race Studio Analysis

It is suggested that the MotoSPEC Data Equations are added to your working session, rather than under the 'General' tab of the Race Studio Math channels form.

To add the MotoSPEC Data Equations to your existing math channels, export the math channels from your current session.

It is necessary to add the Data Equations to an existing maths file, rather than writing to a new file from MotoSPEC. MotoSPEC will not create a new AIM maths file.

MotoSPEC will look in 'C:/ProgramData/MotoSPEC v5' for the exported .AMC math channel file. You can browse to any directory to locate your exported maths file.

__Importing a maths channel file into a Race Studio session will overwrite the existing math channels.__To add the MotoSPEC Data Equations to your existing math channels, export the math channels from your current session.

__You may wish to copy the exported math channels file as a backup before modifying it.__It is necessary to add the Data Equations to an existing maths file, rather than writing to a new file from MotoSPEC. MotoSPEC will not create a new AIM maths file.

MotoSPEC will look in 'C:/ProgramData/MotoSPEC v5' for the exported .AMC math channel file. You can browse to any directory to locate your exported maths file.

After exporting the .AMC file, use the MotoSPEC Data Equations function to add the chassis channels to your existing math channels.

In MotoSPEC, open the Data Equations form. Specify the front and rear channels and maths file, then click on 'Write AIM Equations'.

In MotoSPEC, open the Data Equations form. Specify the front and rear channels and maths file, then click on 'Write AIM Equations'.

In Race Studio 2, click on the 'Import set' button which will bring up a warning about overwriting the exisiting math channels.

Select the .AMC math channels file that was modified by MotoSPEC.

The MotoSPEC chassis math channels will be added to the channels list (circled in green below).

The MotoSPEC chassis math channels will be added to the channels list (circled in green below).

After clicking okay, the channels will be added to the Measures list and graph.

2D WinARace

In the 2D expander of the Data Equations form, specify the MotoSPEC column to be used, and the 2D front and rear potentiometer channel names. Click the 'Browse' button to specify the math file to be written. The 2D maths file will have a .CAL extension.

Click on the ‘Write 2D Equations’ button to generate the 2D .CAL maths file containing the MotoSPEC Data Equations.

The .CAL chassis maths file can be opened using the 2D CalcTool. The 2D AutoCalc-Configuratior can execute the .CAL file after downloading data, or the .CAL file can be calculated manually.

Marelli WinTAX4

MotoSPEC will generate a Virtual Channel file (.vch), containing the Data Equations in the format required for Marelli WinTAX.

The Data Equations form has an expander for Marelli, as shown in the image below, where the pot channel and file names can be the specified.

The Data Equations form has an expander for Marelli, as shown in the image below, where the pot channel and file names can be the specified.

__CREATING THE .VCH FILE__

- In MotoSPEC, click on 'DATA AQ' > 'Data Equations'.
- Specify the front and rear suspension channels.
- Specify the .vch file name. The file must reside in 'C:\WinTAX4\Libraries'
- If there is a file name beside the 'Browse' button, this file will be used.
- If there is no file name beside the 'Browse' button, click 'Browse' and input a file name.

- Click 'Write Marelli Equations'
- If the 'Close Data Equations form' checkbox at the top of the form is checked, the form will close automatically.
- If not checked, a confirmation message that the Marelli maths file was written will be shown. Close this message and close the 'DATA EQUATIONS' form.

- If not checked, a confirmation message that the Marelli maths file was written will be shown. Close this message and close the 'DATA EQUATIONS' form.

__LOADING THE DATA EQUATIONS__

- In WinTAX, select Tools > Virtual Channels to 'Open Math Libraries Setup'.
- Select the Load Icon, or File > Load.
- Select .vch file written by MotoSPEC in the WinTAX Libraries folder.
- In the 'Math Libraries Setup' form, click the green checkmark to add the MotoSPEC Data Equations from the .vch file.

__REFRESHING__

__THE DATA EQUATIONS__

It is necessary to update the Data Equations in WinTAX to be representative of the logged data being viewed.

- Generate a revised .vch file containing the MotoSPEC Data Equations file referencing the settings applicable to the logged data being viewed.
- In WinTAX, select Tools > Virtual Channels to 'Open Math Libraries Setup'.
- Select MotoSPEC maths library
- Click the red X to remove the current MotoSPEC maths from WinTAX Maths library.
- Proceed to load the updated .vch file with the revised MotosPEC Data Equations.

The Data Equations are created by modelling each channel as a function of front and rear potentiometer reading.

As a result of the model fit, the calculated channel values in data will be very close but not exactly the same as seen in MotoSPEC at the same potentiometer readings. These differences can be greater for motocross applications versus roadracing applications, due larger suspensions travels.

For roadracing applications, the maximum differences between MotoSPEC and the calculated math channel values are:

As a result of the model fit, the calculated channel values in data will be very close but not exactly the same as seen in MotoSPEC at the same potentiometer readings. These differences can be greater for motocross applications versus roadracing applications, due larger suspensions travels.

For roadracing applications, the maximum differences between MotoSPEC and the calculated math channel values are:

Rake: less than 0.05 degrees

Ground Trail: less than 0.1 mm

Swingarm Angle: less than 0.05 degrees

AntiSquat: less than 0.1% or 0.05 degrees

Front Force: less than 1%

Rear Force: less than 1%

Rear Wheel Travel: less than 0.1 mm

Wheel/Shock: less than 0.001

Shock/Wheel: less than 0.001

For motocross applications, the maximum differences between MotoSPEC and the calculated math channel values are:

Rake: less than 0.2 degrees

Ground Trail: less than 0.5 mm

Swingarm Angle: less than 0.2 degrees

AntiSquat: less than 0.5% or 0.2 degrees

Front Force: less than 3%

Rear Force: less than 3%

Rear Wheel Travel: less than 0.2 mm

Wheel/Shock: less than 0.001

Shock/Wheel: less than 0.001

In most cases, the difference between MotoSPEC and the calculated math channel will be less than the values given above.

Currently, front and rear bump rubbers are not included in the Data Equations for the Front and Rear Forces.

Currently, front and rear bump rubbers are not included in the Data Equations for the Front and Rear Forces.

__Similar to the Data Tables, the Data Equations are only functions of front and rear potentiometer readings and do not include the effects of lean angle, tire profile or tire stiffness.__

## MotoSPEC DATA TABLES

MotoSPEC Data Tables can be used to plot chassis math channels in most data aquisition software, including MoTeC, Marelli, Pi and 2D.

Below are instructions for generating the Data Tables in MoTeC and Marelli.

For instructions on integrating MotoSPEC with other data acquisition software, please contact me at jeff@motospec.ca.

In MotoSPEC, the Data Tables function is found under the

**DATA AQ**drop-down menu at the top right of the MotoSPEC ribbon.Click the down-arrow to expand the Data Table instructions for MoTeC, Marelli and 2D below.

MoTeC i2 Pro

In the Data Tables form,

The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MoTeC is the default table format.

**select the MotoSPEC column**containing the setup that you want to use.The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MoTeC is the default table format.

Click on

In the directory specified, you will see files have been created as shown in the following image.

There is one file containing the table for each chassis channel.

The 'Info.csv' file contains the setup specfications from the column used to generate the tables.

**Calculate**, and you will then be asked for a directory to save the files in.In the directory specified, you will see files have been created as shown in the following image.

There is one file containing the table for each chassis channel.

The 'Info.csv' file contains the setup specfications from the column used to generate the tables.

Opening one of the files in Excel will show the table that was generated, as shown below, where the top row is front pot and the left column is rear pot.

At the intersection of each front (column) and rear (row) pot reading is the value at that combination of readings.

The value at each intersection can be verified in MotoSPEC by entering those front and rear pot readings.

Below is an example of the Trail.csv table:

At the intersection of each front (column) and rear (row) pot reading is the value at that combination of readings.

The value at each intersection can be verified in MotoSPEC by entering those front and rear pot readings.

Below is an example of the Trail.csv table:

In Excel, select and copy the filled cells from the table.

In MoTeC, go to

Fill in the

Specify

Click on

In MoTeC, go to

**Tools>Maths**then**'Add 3D Table'**on the right.**Right-click on the uppermost left cell**to paste the cells from the CSV file into the blank Motec table.Fill in the

**Channel Name.**

Select the X-axis as the front pot channel and the Y-axis as the rear pot channel.Select the X-axis as the front pot channel and the Y-axis as the rear pot channel.

Specify

**'Linear'**interpolation as shown circled in green below.Click on

**OK**.The Trail channel is then created and you can add it to your graphs, as shown in the image below.

You can verify the calculated Trail value using the Data Table values..

For example, in the image below, at 107.9 mm front pot and 6.89 mm rear pot, the calculated Trail value is 86.97 mm.

The same value results from doing the math manually using the values in the Trail table.

You can verify the calculated Trail value using the Data Table values..

For example, in the image below, at 107.9 mm front pot and 6.89 mm rear pot, the calculated Trail value is 86.97 mm.

The same value results from doing the math manually using the values in the Trail table.

Marelli WinTAX4

In the Data Tables form,

The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MotoSPEC will generate the Data Tables in the format required by WinTAX4:

**select the MotoSPEC column**containing the setup that you want to use.The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MotoSPEC will generate the Data Tables in the format required by WinTAX4:

- First Row = front potentiometer reading
- First Column = rear potentiometer reading
- columns separated by TAB
- rows end with CR+LF
- file names with '.DAT' extension

Click on

The MotoSPEC Data Tables files should be saved in

There is one file containing the table for each chassis channel.

The 'Info.DAT' file contains the setup specfications from the column used to generate the tables.

**Calculate**, and you will then be asked for a directory to save the files in.The MotoSPEC Data Tables files should be saved in

__C:/WinTax4/Libraries__.There is one file containing the table for each chassis channel.

The 'Info.DAT' file contains the setup specfications from the column used to generate the tables.

Opening one of the files in Notepad will show the table that was generated, as shown below, where the top row is front pot and the left column is rear pot.

At the intersection of each front (column) and rear (row) pot reading is the value at that combination of readings.

The value at each intersection can be verified in MotoSPEC by entering those front and rear pot readings.

At the intersection of each front (column) and rear (row) pot reading is the value at that combination of readings.

The value at each intersection can be verified in MotoSPEC by entering those front and rear pot readings.

In Marelli WinTax, the 'lookup2' math function is used to generate the math channels from the MotoSPEC Data Tables.

For example, to generate the 'TRAIL' math channel, the following formula is used.

For example, to generate the 'TRAIL' math channel, the following formula is used.

TRAIL = LOOKUP2("Trail", Fork, Shock)

"Trail" = Data Tables file name for the channel, without .DAT extension

Fork = front potentiometer channel

Shock = rear potentiometer channel

"Trail" = Data Tables file name for the channel, without .DAT extension

Fork = front potentiometer channel

Shock = rear potentiometer channel

2D WinARace

In the Data Tables form,

The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MotoSPEC will generate the Data Tables in the format required by WinTAX4:

**select the MotoSPEC column**containing the setup that you want to use.The front and rear travels are editable, but pre-populated from the fork and shock specifications when you open the form.

Reducing the number of pot steps will reduce the time taken to generate the tables, but sacrifice some accuracy.

MotoSPEC will generate the Data Tables in the format required by WinTAX4:

- First Row = front potentiometer reading
- First Column = rear potentiometer reading
- columns separated by semi-colon ( ; )
- file names with '.csv' extension

Click on 'Calculate' and then save your files in C:\ProgramData\Race2018\System\Tables. Or the 'Race201X' directory for the version of 2D that you are using.

2D will refer to the tables in the directory when calculating the math channels for the data you have loaded.

The 2D formulas are shown below, assuming that SUSP_F and SUSP_R are the front and rear potentiometer channels respectively.

2D will refer to the tables in the directory when calculating the math channels for the data you have loaded.

The 2D formulas are shown below, assuming that SUSP_F and SUSP_R are the front and rear potentiometer channels respectively.

RAKE = F(#SUSP_F, #SUSP_R, T(Rake.csv, Lin)

TRAIL = F(#SUSP_F, #SUSP_R, T(Trail.csv, Lin)

FRONT_FORCE = F(#SUSP_F, #SUSP_R, T(FrontForce.csv, Lin)

REAR_FORCE = F(#SUSP_F, #SUSP_R, T(RearForce.csv, Lin)

ANTISQUAT = F(#SUSP_F, #SUSP_R, T(AntiSquat.csv, Lin)

SWINGARM_ANGLE = F(#SUSP_F, #SUSP_R, T(SwingarmAngle.csv, Lin)

TRAIL = F(#SUSP_F, #SUSP_R, T(Trail.csv, Lin)

FRONT_FORCE = F(#SUSP_F, #SUSP_R, T(FrontForce.csv, Lin)

REAR_FORCE = F(#SUSP_F, #SUSP_R, T(RearForce.csv, Lin)

ANTISQUAT = F(#SUSP_F, #SUSP_R, T(AntiSquat.csv, Lin)

SWINGARM_ANGLE = F(#SUSP_F, #SUSP_R, T(SwingarmAngle.csv, Lin)