{"id":6381,"date":"2021-10-11T15:48:45","date_gmt":"2021-10-11T19:48:45","guid":{"rendered":"https:\/\/blogs.mathworks.com\/student-lounge\/?p=6381"},"modified":"2021-10-29T09:30:51","modified_gmt":"2021-10-29T13:30:51","slug":"avl-racing-models-shock-absorbers-for-race-cars","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/student-lounge\/2021\/10\/11\/avl-racing-models-shock-absorbers-for-race-cars\/","title":{"rendered":"AVL Racing Models Shock Absorbers for Race Cars"},"content":{"rendered":"<p><em>Today\u2019s guest bloggers are <a href=\"https:\/\/www.linkedin.com\/in\/mscheiber\/\">Marco Scheiber<\/a> and <a href=\"https:\/\/www.linkedin.com\/in\/eduardo-gimenez-63472018\/\">Eduardo Gimenez<\/a> from <a href=\"https:\/\/www.avl.com\/racing\">AVL Racing<\/a>. They are here to talk about the modeling of shock absorbers for race cars.<\/em><\/p>\n<p>&#8212;<\/p>\n<h1>Introduction<\/h1>\n<p>Recently, a master&#8217;s thesis regarding damper modeling and the approach to consider the non-linearity and transient behavior of hydraulic race car dampers was executed in the racing department of the <a href=\"https:\/\/www.avl.com\/racing\">AVL<\/a> List GmbH. Dampers or shock absorbers are known to be mainly velocity depended devices, but they are also dependent on oil compressibility and other parameters which typically lead to hysteretic damping characteristics. As physical damper models are typically suitable only for one specific damper architecture, we focused on empirical\/mathematical models based on measurement data logged by damper dynamometers. From a variety of investigated damper modeling approaches, one approach, basically known as the restoring force method [3], is presented in the next few pages.<\/p>\n<h1>Motivation<\/h1>\n<p>Accurate vehicle models are needed to achieve a good correlation between simulation and reality. Furthermore, the main motivation in a lap time simulation is to give us an opportunity to predict how the vehicle will perform on a certain racetrack for a given setup. The purpose of dampers is to reduce the oscillations of the chassis and wheels respectively. As the contact patch and therefore friction coefficient between tires and the track surface is highly influenced by the vertical wheel load variations, dampers are designed to reduce the load variations to a minimum and to have adequate body control, mainly in high downforce race cars. Accurate damper models are needed, to better understand the effects of the damping forces on vehicle dynamics. Typically, conventional mathematical damper models do not consider hysteretic effects on the damping force, mainly coming from the oil\u2019s compressibility. Therefore, we decided to look for opportunities to take the hysteresis of shock absorbers into account within mathematical models. Figure 1 illustrates the purpose of a lap time simulation and the main requirements of our damper model.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"769\" class=\"aligncenter size-full wp-image-6672\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-1.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 1: Damper Modelling &#8211; Motivation<\/p>\n<h1>Methodology<\/h1>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"812\" class=\"aligncenter size-full wp-image-6675\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-2.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 2: Force State Map Approach &#8211; Model Overview<\/p>\n<p>Based on the observations of Duym [3], we used the restoring force method for modeling purposes. Figure 2 depicts a general overview and usage of a restoring force model in a vehicle simulation. To apply the restoring force method and the force state map respectively, several sinusoidal damper dynamometers run need to be executed. The objective of the measurement series is to provide a wide range of peak velocities and peak accelerations by varying the excitation frequency and travel amplitude. Further processing of the measurement data includes the usage of signal filters. Additionally, each cyclical run is divided and cropped into cycles and only one cycle is used for the model generation. To consider hysteretic effects measured by shock testers, the force is described as a function of two state variables, the damper velocity and the damper acceleration. Finally, we implemented the generated models in our transient vehicle simulation AVL VSM\u2122 RACE 4.<\/p>\n<p>As the model accuracy prior depends on the surface fitting algorithm, we executed and compared several approaches to solve the fitting problem. Figure 3 illustrates two exemplary surface fitting methods which are applied. The models are labeled as <em>CL Curve Fit<\/em> and <em>ML Curve Fit<\/em> respectively. The model denotation is attributed to internal nomenclature for two different types of fitting algorithms. We used the <em>gridfit<\/em> function [4] for our first model while for the second model, the <a href=\"https:\/\/www.mathworks.com\/products\/curvefitting.html\">MATLAB\u00ae curve fitting toolbox<\/a> [5] was used.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"843\" class=\"aligncenter size-full wp-image-6678\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-3.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 3: Used MATLAB\u00ae Fitting Algorithms<\/p>\n<h1>Model Validation<\/h1>\n<p>We calculated root mean square errors to validate the models and to get a first general indication on how good the surfaces fit to the measured data. Additionally, we determined the fitting times which are also depicted in Figure 4. While the RMSE of both force state maps are almost identical, the fitting time of the <em>CL Curve Fit<\/em> <em>Model<\/em> is considerably faster than the fitting time of the <em>ML Curve Fit Model<\/em>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"824\" class=\"aligncenter size-full wp-image-6681\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-4.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 4: Force State Map Models &#8211; Map Validation<\/p>\n<p>The validation results of the entire measurement series of the first damper are visually summarized in Figure 5. The data has been sorted according to the chronological order of the measurements. On the x-axes of this illustration, the excitation frequency and therefore the peak velocity increases until the stroke changes. At this point, the procedure is repeated. Firstly, it can be noticed, that the RMSE of the <em>CL Curve Fit<\/em> model and the <em>ML Curve Fit<\/em> <em>Model<\/em> are below 51 N for the entire measurement series. Mostly the error is even smaller than that. In general, the <em>CL Curve Fit<\/em> <em>Model<\/em> tends to fit slightly better than the <em>ML Curve Fit<\/em> <em>Model<\/em>. The fit errors of all force state map models tend to increase at lower peak velocities referring to both depicted strokes.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"994\" class=\"aligncenter size-full wp-image-6684\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-5.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 5: Force State Map Models &#8211; Single Run Validation &#8211; damper 1<\/p>\n<p>The overall validation of the models is illustrated for a second shock absorber in Figure 6. It can be noticed that the RMSE of the <em>CL Curve Fit<\/em> <em>Model<\/em> and the <em>ML Curve Fit<\/em> <em>Model<\/em> are below 21 N for the entire measurement series. In general, the <em>ML Curve Fit<\/em> <em>Model<\/em> does slightly better than the <em>CL Curve<\/em> Fit <em>Model<\/em>.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"994\" class=\"aligncenter size-full wp-image-6687\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-6.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 6: Force State Map Models &#8211; Single Run Validation &#8211; damper 2<\/p>\n<h1>Model Implementation<\/h1>\n<p>The generated models are implemented in the transient vehicle simulation AVL VSM\u2122 RACE 4 by using <em>lookup tables<\/em> and <em>S-function<\/em> blocks in a virtual MATLAB\u00ae\/ Simulink\u00ae environment. Figure 7 depicts a general overview of the Vehicle Simulation Model (VSM) and the AVL Customer Model.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"843\" class=\"aligncenter size-full wp-image-6690\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-7.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 7: Overview &#8211; Vehicle Simulation Model<\/p>\n<p>Finally, the areas of operation in the three-dimensional force state maps of the simulated vehicle are shown in Figure 8.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1800\" height=\"815\" class=\"aligncenter size-full wp-image-6693\" src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure-8.png\" alt=\"\" \/><\/p>\n<p style=\"text-align: center;\">Figure 8: Areas of Operation in Force State Maps &#8211; CL Curve Fit<\/p>\n<h1>Conclusion and Perspective<\/h1>\n<p>We found that the force state map approach can capture the damper&#8217;s non-linearity and was able to model the behavior of different shock absorber types with high accuracy. The damper maps allowed us to model individual shock absorbers without knowing their specific component geometries. As empirical models depend on field observations, damper dynamometers were necessary prior to the model generation. Furthermore, the acceleration dependent hysteretic behavior of dampers was considered by this approach which is neglected by simple force-velocity damper models.<\/p>\n<p>By using the <em>gridfit<\/em> function the measurement data could be fitted much faster than the thin plate-spline interpolation method from the curve fitting toolbox. RMSE was reasonably low and similar in both investigated approaches. Also, we found that the thin plate-spline interpolation model tended to overfit the measurement, especially if a lower number of dynamometer runs were executed.<\/p>\n<p>Parametrizing the force state maps give us the opportunity to run a variety of simulation runs in our AVL-Cloud Client application to find the theoretical optimum of user defined performance parameters. A map parametrization example can be found in Bed\u00fck et. al. [7]. Typically, the optimum can be determined not only by objective parameters but also subjective feedback from professional racing drivers. The subjective evaluation can be done by using the models on our AVL RACING DRIVER in the LOOP (DiL) simulator. Besides performance investigations on racecars, the variation of damper map parameters can be also used to investigate the ride comfort in the passenger car application.<\/p>\n<p>For each individual damper, further investigations on the effect of the oil temperature on the damping force are needed. Depending on the damper design, the temperature operating range can change to a various extent.<\/p>\n<h2>References<\/h2>\n<ol>\n<li>AVL List GmbH. AVL DRIVE RACE User Manual. AVL List GmbH, Graz, Austria, 2020. https:\\\\www.avl.com<\/li>\n<li>M. Trzesniowski. <em>Fahrwerk<\/em>. Handbuch Rennwagentechnik. Springer Vieweg, Wiesbaden, 2019.<\/li>\n<li>S. Duym. An alternative force state map for shock absorbers. <em>Proceedings of the Institution of Mechanical Engineers<\/em>, <em>Part D: Journal of Automobile Engineering<\/em>, 211(3):175-179, 1997.<\/li>\n<li><em>J. D&#8217;Errico.\u00a0Surface Fitting using gridfit\u00a0(https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/8998-surface-fitting-using-gridfit), MATLAB Central File Exchange. Retrieved\u00a0August 12, 2021.<\/em><\/li>\n<li><em>The MathWorks, Inc. Curve Fitting Toolbox, 2021. Available at https:\/\/www.mathworks.com\/help\/curvefit\/index.html?s_tid=CRUX_lftnav, Accessed on 14 March 2021.<\/em><\/li>\n<li>D. Madier. The Formula 1 Hybrid Power Units 2014-2015: F1 Season 2015, 2016. Available at https:\/\/www.f1-forecast.com\/pdf\/The%20Formula%201%20Hybrid%20Power%20Units%202014-2015.pdf, Accessed on 04 April 2021.<\/li>\n<li>M. D. Bed\u00fck, K. \u00c7al\u0131\u015fkan, R. Henze, and F. K\u00fc\u00e7\u00fckay. Advanced parameter analysis for damper influence on ride dynamics. Journal of Vibration and Control, 24(8):1393-1411, 2018.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/student-lounge\/files\/2021\/10\/Figure1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>Today\u2019s guest bloggers are Marco Scheiber and Eduardo Gimenez from AVL Racing. They are here to talk about the modeling of shock absorbers for race cars.<br \/>\n&#8212;<br \/>\nIntroduction<br \/>\nRecently, a&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/student-lounge\/2021\/10\/11\/avl-racing-models-shock-absorbers-for-race-cars\/\">read more >><\/a><\/p>\n","protected":false},"author":165,"featured_media":6378,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6,8],"tags":[70,564,579,573,576,30,567,570],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/posts\/6381"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/users\/165"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/comments?post=6381"}],"version-history":[{"count":8,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/posts\/6381\/revisions"}],"predecessor-version":[{"id":6696,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/posts\/6381\/revisions\/6696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/media\/6378"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/media?parent=6381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/categories?post=6381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/student-lounge\/wp-json\/wp\/v2\/tags?post=6381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}