TYRE MODELLING / MAGIC FORMULA

Tyre Modelling and Magic Formula Fitting.

Fitting supplied tyre data in MATLAB and Excel, then comparing modelling approaches for motorsport use.

SAM MCCARTNEYOXFORD BROOKES UNIVERSITYENGINEERING STUDIES / 2025–26

Introduction

I fitted experimental tyre data with the Magic Formula and reviewed how different tyre models support vehicle-dynamics analysis. The work combined numerical fitting with a critical review of the information, computing effort and evidence needed to use each model.

I fitted two relationships: cornering stiffness against vertical load, and lateral force against slip angle. I used MATLAB Curve Fitter and Excel Solver to compare the numerical results. I then reviewed empirical, physical and data-driven approaches, considering the information and computing effort each requires.

The experimental data were supplied for this study. My contribution was the fitting, analysis and review.

Fitting cornering stiffness

I first fitted the load-dependent cornering-stiffness expression. The supplied data covered vertical loads from 1000 to 8000 N, with a reference load of 5000 N. The two fitting parameters controlled the magnitude and load dependence of the curve.

I started MATLAB with PKY1 = 10 and PKY2 = 1. In Excel, I calculated the residual at each data point and used Solver to minimise the sum of squared residuals. Both tools produced closely matching coefficients.

Tyre modelling report, Table 1 and appendix Table A6. The appendix spreadsheet resolves the P_KY2 transcription difference in main-text Table 5.
ParameterMATLABExcel Solver
PKY10.47470.474698
PKY21.72001.719960
Reference load5000 N5000 N
MATLAB fit of cornering stiffness against vertical load
The fitted curve and the supplied cornering-stiffness points. Tyre modelling report, Figure 1. View full size

The Excel residual sum was approximately 22,593 in the squared units of the supplied cornering-stiffness data. At the reference load, the fitted stiffness was approximately 2062.68 N/degree. Agreement between the tools checks the fitting implementation; both use the same dataset.

Fitting lateral force

The second fit used lateral-force data from 0° to 12° slip angle at a fixed 5000 N vertical load. I used the fitted reference-load stiffness and adjusted the shape, peak and curvature parameters of the selected expression.

The initial parameter values did not give a satisfactory fit within MATLAB’s default evaluation limit. Increasing the limit to 10,000 evaluations resolved this numerical problem. Starting nearer the eventual solution also allowed convergence with the default limit. This demonstrated the effect of initial values on nonlinear fitting.

Tyre modelling report, Table 6 and appendix Tables A12–A13. The original main-text Tables 9–10 repeat earlier data; these values follow the appendix fitting outputs.
ParameterMATLABExcel Solver
PCY11.53501.535028
PDY10.83120.831161
PEY1−31.6781−31.678275
MATLAB fit of lateral force against slip angle in radians
The original MATLAB fit uses slip angle in radians on the horizontal axis. Tyre modelling report, Figure 3. View full size

MATLAB reported R² = 0.9952 for this fit. This is agreement with the fitted sample, not an independent test of tyre behaviour. Before reusing these coefficients, I would check the equation grouping and the conversion between stiffness in N/degree and slip angle in radians. A close numerical fit alone does not resolve those implementation questions.

View the documented fitting outputs
MATLAB fitted coefficients and goodness-of-fit values for lateral force
MATLAB coefficients and fit statistics. Tyre modelling report, Table A12. View full size
Excel Solver coefficients and lateral-force residuals
Excel coefficients, fitted values and residuals. Tyre modelling report, Table A13. View full size

Reviewing tyre-model choices

I compared model families by their purpose, calibration needs and computational cost. The review considered Magic Formula and TMeasy, physical tread/contact approaches such as TreadSim, and neural-network methods.

Summary of the tyre-modelling literature review. This was a review of published work, not a benchmark in which I implemented all three approaches.
Approach reviewedQuestion consideredEvidence needed for use
Empirical and semi-empiricalCan the model reproduce the required force–slip behaviour efficiently?Relevant tyre-test data and checks across the intended load and slip range.
Physical tread/contact modelsDoes representing deformation help answer the design question?Material, structural and contact inputs, followed by comparison with measurements.
Data-driven modelsCan measured patterns improve a particular prediction?Representative training data, independent test data and checks outside the training range.

The practical fitting task covered a limited set of steady lateral conditions. It did not assess combined braking and cornering, temperature, pressure changes, wear or transient tyre dynamics. These are limits of this exercise, rather than limits shared by every Magic Formula implementation. For example, MathWorks documents a combined-slip Magic Formula model.

The useful outcome is a method for selecting a model against a defined task. The review does not establish that one model family is always more accurate or suitable for motorsport.

Reflection and next steps

This was my first detailed investigation of tyre modelling and nonlinear curve fitting. I developed skills in MATLAB and Excel Solver, residual analysis and concise technical writing.

I would next audit the units and fitted equation, use independent test points, and compare candidate models on the same dataset. A wider set of loads and operating conditions would make the model-selection argument stronger.

Sources and credits

Primary source: Sam McCartney’s Tyre Modelling and Magic Formula Fitting project report, Oxford Brookes University, 2025. Fitting sections, Figures 1–4, Tables 1 and 6, appendix Tables A6 and A12–A13, tyre-modelling review and individual reflection. Main literature reviewed includes Pacejka and Besselink (1997), Hirschberg et al. (2002), de Hoogh (2005), Uil (2007) and Salari et al. (2023).

Figures are reproduced from the project report with their original labels. The write-up distinguishes reported outputs, model checks and proposed further work. No new simulations, tyre tests or damper tests were performed for this portfolio page.