BRiM: A Modular Bicycle-Rider Modeling Framework. Stienstra, T. Master's thesis, 2023.
Paper abstract bibtex Bicycles have been studied extensively over the past 200 years, with mathematical models providing valuable insights into various aspects of bicycle dynamics and rider control. However, the lack of a common framework for creating and sharing bicycle-rider models hinders the development of advanced models, research reproducibility, and dissemination. This thesis addresses this gap by introducing <i>BRiM</i>: an open-source modular and extensible framework for creating <b>B</b>icycle-<b>Ri</b>der <b>M</b>odels.<br/><br/>The modular setup of <i>BRiM </i>relies on a systematic approach to define a model and form the analytical equations of motion. For the involved analytical computations <i>BRiM</i> utilizes <i>SymPy</i>, a Computer Algebra System. The systematic approach consists of four stages. The first stage defines the objects in the system, such as symbols and bodies. Secondly, the kinematic relationships between the objects, such as angular velocities between reference frames, are established. The third and the fourth stages, which are order-independent, specify the loads and constraints acting upon the system. The decoupling <i>BRiM </i>required to achieve modularity is enabled through this systematic approach, because computations within a stage are mostly order-independent.<br/><br/>The core of <i>BRiM </i>employs the systematic approach within a unified framework for modeling mechanical systems in general. It describes a model using a tree representation, in which a model is defined as an aggregation of smaller submodels. The relationships between submodels are established by parent models, using interchangeable connections to accommodate complex relations, such as tyre models between the ground and a wheel. This application of submodels enables swapping and adding submodels, making the overarching model both modular and extensible. Actuation within <i>BRiM </i>can either be specified by attaching prespecified groups of loads to models and connections, or by utilizing the interface provided by the mechanics module in <i>SymPy</i>, which offers the flexibility to even manipulate equations in detail.<br/><br/><i>BRiM </i>applies this generalized framework to create modular bicycle-rider models. Both a stationary bicycle and a modular bicycle based on Moore's convention of the Carvallo-Whipple bicycle have been constructed. These bicycle models are extensible to bicycle-rider models by including an upper and/or lower body. Within the rider models each joint can be actuated by a linear torsional spring-damper. <i>BRiM</i> integrates parametrization of models, which provides mappings between symbolic quantities used in equations and experimentally determined values, using the existing open-source <i>BicycleParameters </i>library. Additionally, <i>SymMePlot</i>, a visualization package for symbolically defined mechanical systems, has been developed and integrated within <i>BRiM </i>to visualize the created bicycle-rider models.<br/><br/>The effectiveness of <i>BRiM </i>is demonstrated through optimization and simulation tasks. Firstly, a real-time forward simulation of a torque-driven upper body bicycle-rider is performed. Secondly, an optimization problem is solved, involving the tracking of a rolling disc along a sinusoidal trajectory while minimizing the control torques. These demonstrations highlight the seamless integration of <i>BRiM </i>with other scientific tools and <i>BRiM</i>'s potential for practical applications.<br/><br/>In conclusion, <i>BRiM </i>fills the gap in bicycle dynamics research by providing a modular and extensible framework for creating and sharing bicycle-rider models. Its systematic approach, unified framework, and integration capabilities enable efficient model development, research reproducibility, and further advancement in bicycle research.<br/>
@mastersthesis{stienstra_brim_2023,
title = {{BRiM}: {A} {Modular} {Bicycle}-{Rider} {Modeling} {Framework}},
shorttitle = {{BRiM}},
url = {https://repository.tudelft.nl/islandora/object/uuid%3Aa2b132e9-8d38-4553-8587-0c9e3341b202},
abstract = {Bicycles have been studied extensively over the past 200 years, with mathematical models providing valuable insights into various aspects of bicycle dynamics and rider control. However, the lack of a common framework for creating and sharing bicycle-rider models hinders the development of advanced models, research reproducibility, and dissemination. This thesis addresses this gap by introducing \<i\>BRiM\</i\>: an open-source modular and extensible framework for creating \<b\>B\</b\>icycle-\<b\>Ri\</b\>der \<b\>M\</b\>odels.\<br/\>\<br/\>The modular setup of \<i\>BRiM \</i\>relies on a systematic approach to define a model and form the analytical equations of motion. For the involved analytical computations \<i\>BRiM\</i\> utilizes \<i\>SymPy\</i\>, a Computer Algebra System. The systematic approach consists of four stages. The first stage defines the objects in the system, such as symbols and bodies. Secondly, the kinematic relationships between the objects, such as angular velocities between reference frames, are established. The third and the fourth stages, which are order-independent, specify the loads and constraints acting upon the system. The decoupling \<i\>BRiM \</i\>required to achieve modularity is enabled through this systematic approach, because computations within a stage are mostly order-independent.\<br/\>\<br/\>The core of \<i\>BRiM \</i\>employs the systematic approach within a unified framework for modeling mechanical systems in general. It describes a model using a tree representation, in which a model is defined as an aggregation of smaller submodels. The relationships between submodels are established by parent models, using interchangeable connections to accommodate complex relations, such as tyre models between the ground and a wheel. This application of submodels enables swapping and adding submodels, making the overarching model both modular and extensible. Actuation within \<i\>BRiM \</i\>can either be specified by attaching prespecified groups of loads to models and connections, or by utilizing the interface provided by the mechanics module in \<i\>SymPy\</i\>, which offers the flexibility to even manipulate equations in detail.\<br/\>\<br/\>\<i\>BRiM \</i\>applies this generalized framework to create modular bicycle-rider models. Both a stationary bicycle and a modular bicycle based on Moore's convention of the Carvallo-Whipple bicycle have been constructed. These bicycle models are extensible to bicycle-rider models by including an upper and/or lower body. Within the rider models each joint can be actuated by a linear torsional spring-damper. \<i\>BRiM\</i\> integrates parametrization of models, which provides mappings between symbolic quantities used in equations and experimentally determined values, using the existing open-source \<i\>BicycleParameters \</i\>library. Additionally, \<i\>SymMePlot\</i\>, a visualization package for symbolically defined mechanical systems, has been developed and integrated within \<i\>BRiM \</i\>to visualize the created bicycle-rider models.\<br/\>\<br/\>The effectiveness of \<i\>BRiM \</i\>is demonstrated through optimization and simulation tasks. Firstly, a real-time forward simulation of a torque-driven upper body bicycle-rider is performed. Secondly, an optimization problem is solved, involving the tracking of a rolling disc along a sinusoidal trajectory while minimizing the control torques. These demonstrations highlight the seamless integration of \<i\>BRiM \</i\>with other scientific tools and \<i\>BRiM\</i\>'s potential for practical applications.\<br/\>\<br/\>In conclusion, \<i\>BRiM \</i\>fills the gap in bicycle dynamics research by providing a modular and extensible framework for creating and sharing bicycle-rider models. Its systematic approach, unified framework, and integration capabilities enable efficient model development, research reproducibility, and further advancement in bicycle research.\<br/\>},
language = {en},
urldate = {2023-09-04},
author = {Stienstra, Timo},
year = {2023},
keywords = {bicycle dynamics, computational modeling, open source, uses sympy},
}
Downloads: 0
{"_id":"gLse7PNHRjfdxXQQP","bibbaseid":"stienstra-brimamodularbicycleridermodelingframework-2023","author_short":["Stienstra, T."],"bibdata":{"bibtype":"mastersthesis","type":"mastersthesis","title":"BRiM: A Modular Bicycle-Rider Modeling Framework","shorttitle":"BRiM","url":"https://repository.tudelft.nl/islandora/object/uuid%3Aa2b132e9-8d38-4553-8587-0c9e3341b202","abstract":"Bicycles have been studied extensively over the past 200 years, with mathematical models providing valuable insights into various aspects of bicycle dynamics and rider control. However, the lack of a common framework for creating and sharing bicycle-rider models hinders the development of advanced models, research reproducibility, and dissemination. This thesis addresses this gap by introducing <i>BRiM</i>: an open-source modular and extensible framework for creating <b>B</b>icycle-<b>Ri</b>der <b>M</b>odels.<br/><br/>The modular setup of <i>BRiM </i>relies on a systematic approach to define a model and form the analytical equations of motion. For the involved analytical computations <i>BRiM</i> utilizes <i>SymPy</i>, a Computer Algebra System. The systematic approach consists of four stages. The first stage defines the objects in the system, such as symbols and bodies. Secondly, the kinematic relationships between the objects, such as angular velocities between reference frames, are established. The third and the fourth stages, which are order-independent, specify the loads and constraints acting upon the system. The decoupling <i>BRiM </i>required to achieve modularity is enabled through this systematic approach, because computations within a stage are mostly order-independent.<br/><br/>The core of <i>BRiM </i>employs the systematic approach within a unified framework for modeling mechanical systems in general. It describes a model using a tree representation, in which a model is defined as an aggregation of smaller submodels. The relationships between submodels are established by parent models, using interchangeable connections to accommodate complex relations, such as tyre models between the ground and a wheel. This application of submodels enables swapping and adding submodels, making the overarching model both modular and extensible. Actuation within <i>BRiM </i>can either be specified by attaching prespecified groups of loads to models and connections, or by utilizing the interface provided by the mechanics module in <i>SymPy</i>, which offers the flexibility to even manipulate equations in detail.<br/><br/><i>BRiM </i>applies this generalized framework to create modular bicycle-rider models. Both a stationary bicycle and a modular bicycle based on Moore's convention of the Carvallo-Whipple bicycle have been constructed. These bicycle models are extensible to bicycle-rider models by including an upper and/or lower body. Within the rider models each joint can be actuated by a linear torsional spring-damper. <i>BRiM</i> integrates parametrization of models, which provides mappings between symbolic quantities used in equations and experimentally determined values, using the existing open-source <i>BicycleParameters </i>library. Additionally, <i>SymMePlot</i>, a visualization package for symbolically defined mechanical systems, has been developed and integrated within <i>BRiM </i>to visualize the created bicycle-rider models.<br/><br/>The effectiveness of <i>BRiM </i>is demonstrated through optimization and simulation tasks. Firstly, a real-time forward simulation of a torque-driven upper body bicycle-rider is performed. Secondly, an optimization problem is solved, involving the tracking of a rolling disc along a sinusoidal trajectory while minimizing the control torques. These demonstrations highlight the seamless integration of <i>BRiM </i>with other scientific tools and <i>BRiM</i>'s potential for practical applications.<br/><br/>In conclusion, <i>BRiM </i>fills the gap in bicycle dynamics research by providing a modular and extensible framework for creating and sharing bicycle-rider models. Its systematic approach, unified framework, and integration capabilities enable efficient model development, research reproducibility, and further advancement in bicycle research.<br/>","language":"en","urldate":"2023-09-04","author":[{"propositions":[],"lastnames":["Stienstra"],"firstnames":["Timo"],"suffixes":[]}],"year":"2023","keywords":"bicycle dynamics, computational modeling, open source, uses sympy","bibtex":"@mastersthesis{stienstra_brim_2023,\n\ttitle = {{BRiM}: {A} {Modular} {Bicycle}-{Rider} {Modeling} {Framework}},\n\tshorttitle = {{BRiM}},\n\turl = {https://repository.tudelft.nl/islandora/object/uuid%3Aa2b132e9-8d38-4553-8587-0c9e3341b202},\n\tabstract = {Bicycles have been studied extensively over the past 200 years, with mathematical models providing valuable insights into various aspects of bicycle dynamics and rider control. However, the lack of a common framework for creating and sharing bicycle-rider models hinders the development of advanced models, research reproducibility, and dissemination. This thesis addresses this gap by introducing \\<i\\>BRiM\\</i\\>: an open-source modular and extensible framework for creating \\<b\\>B\\</b\\>icycle-\\<b\\>Ri\\</b\\>der \\<b\\>M\\</b\\>odels.\\<br/\\>\\<br/\\>The modular setup of \\<i\\>BRiM \\</i\\>relies on a systematic approach to define a model and form the analytical equations of motion. For the involved analytical computations \\<i\\>BRiM\\</i\\> utilizes \\<i\\>SymPy\\</i\\>, a Computer Algebra System. The systematic approach consists of four stages. The first stage defines the objects in the system, such as symbols and bodies. Secondly, the kinematic relationships between the objects, such as angular velocities between reference frames, are established. The third and the fourth stages, which are order-independent, specify the loads and constraints acting upon the system. The decoupling \\<i\\>BRiM \\</i\\>required to achieve modularity is enabled through this systematic approach, because computations within a stage are mostly order-independent.\\<br/\\>\\<br/\\>The core of \\<i\\>BRiM \\</i\\>employs the systematic approach within a unified framework for modeling mechanical systems in general. It describes a model using a tree representation, in which a model is defined as an aggregation of smaller submodels. The relationships between submodels are established by parent models, using interchangeable connections to accommodate complex relations, such as tyre models between the ground and a wheel. This application of submodels enables swapping and adding submodels, making the overarching model both modular and extensible. Actuation within \\<i\\>BRiM \\</i\\>can either be specified by attaching prespecified groups of loads to models and connections, or by utilizing the interface provided by the mechanics module in \\<i\\>SymPy\\</i\\>, which offers the flexibility to even manipulate equations in detail.\\<br/\\>\\<br/\\>\\<i\\>BRiM \\</i\\>applies this generalized framework to create modular bicycle-rider models. Both a stationary bicycle and a modular bicycle based on Moore's convention of the Carvallo-Whipple bicycle have been constructed. These bicycle models are extensible to bicycle-rider models by including an upper and/or lower body. Within the rider models each joint can be actuated by a linear torsional spring-damper. \\<i\\>BRiM\\</i\\> integrates parametrization of models, which provides mappings between symbolic quantities used in equations and experimentally determined values, using the existing open-source \\<i\\>BicycleParameters \\</i\\>library. Additionally, \\<i\\>SymMePlot\\</i\\>, a visualization package for symbolically defined mechanical systems, has been developed and integrated within \\<i\\>BRiM \\</i\\>to visualize the created bicycle-rider models.\\<br/\\>\\<br/\\>The effectiveness of \\<i\\>BRiM \\</i\\>is demonstrated through optimization and simulation tasks. Firstly, a real-time forward simulation of a torque-driven upper body bicycle-rider is performed. Secondly, an optimization problem is solved, involving the tracking of a rolling disc along a sinusoidal trajectory while minimizing the control torques. These demonstrations highlight the seamless integration of \\<i\\>BRiM \\</i\\>with other scientific tools and \\<i\\>BRiM\\</i\\>'s potential for practical applications.\\<br/\\>\\<br/\\>In conclusion, \\<i\\>BRiM \\</i\\>fills the gap in bicycle dynamics research by providing a modular and extensible framework for creating and sharing bicycle-rider models. Its systematic approach, unified framework, and integration capabilities enable efficient model development, research reproducibility, and further advancement in bicycle research.\\<br/\\>},\n\tlanguage = {en},\n\turldate = {2023-09-04},\n\tauthor = {Stienstra, Timo},\n\tyear = {2023},\n\tkeywords = {bicycle dynamics, computational modeling, open source, uses sympy},\n}\n\n\n\n","author_short":["Stienstra, T."],"key":"stienstra_brim_2023","id":"stienstra_brim_2023","bibbaseid":"stienstra-brimamodularbicycleridermodelingframework-2023","role":"author","urls":{"Paper":"https://repository.tudelft.nl/islandora/object/uuid%3Aa2b132e9-8d38-4553-8587-0c9e3341b202"},"keyword":["bicycle dynamics","computational modeling","open source","uses sympy"],"metadata":{"authorlinks":{}}},"bibtype":"mastersthesis","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC"],"keywords":["bicycle dynamics","computational modeling","open source","uses sympy"],"search_terms":["brim","modular","bicycle","rider","modeling","framework","stienstra"],"title":"BRiM: A Modular Bicycle-Rider Modeling Framework","year":2023}