{"title":"Preventing Unconstrained CBF Safety Filters Caused by Invalid Relative Degree Assumptions","authors":"Lukas Brunke, Siqi Zhou, Angela P. Schoellig","doi":"arxiv-2409.11171","DOIUrl":null,"url":null,"abstract":"Control barrier function (CBF)-based safety filters are used to certify and\nmodify potentially unsafe control inputs to a system such as those provided by\na reinforcement learning agent or a non-expert user. In this context, safety is\ndefined as the satisfaction of state constraints. Originally designed for\ncontinuous-time systems, CBF safety filters typically assume that the system's\nrelative degree is well-defined and is constant across the domain; however,\nthis assumption is restrictive and rarely verified -- even linear system\ndynamics with a quadratic CBF candidate may not satisfy this assumption. In\nreal-world applications, continuous-time CBF safety filters are implemented in\ndiscrete time, exacerbating issues related to violating the condition on the\nrelative degree. These violations can lead to the safety filter being\nunconstrained (any control input may be certified) for a finite time interval\nand result in chattering issues and constraint violations. We propose an\nalternative formulation to address these challenges. Specifically, we present a\ntheoretically sound method that employs multiple CBFs to generate bounded\ncontrol inputs at each state within the safe set, thereby preventing incorrect\ncertification of arbitrary control inputs. Using this approach, we derive\nconditions on the maximum sampling time to ensure safety in discrete-time\nimplementations. We demonstrate the effectiveness of our proposed method\nthrough simulations and real-world quadrotor experiments, successfully\npreventing chattering and constraint violations. Finally, we discuss the\nimplications of violating the relative degree condition on CBF synthesis and\nlearning-based CBF methods.","PeriodicalId":501175,"journal":{"name":"arXiv - EE - Systems and Control","volume":"27 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - EE - Systems and Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.11171","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Control barrier function (CBF)-based safety filters are used to certify and
modify potentially unsafe control inputs to a system such as those provided by
a reinforcement learning agent or a non-expert user. In this context, safety is
defined as the satisfaction of state constraints. Originally designed for
continuous-time systems, CBF safety filters typically assume that the system's
relative degree is well-defined and is constant across the domain; however,
this assumption is restrictive and rarely verified -- even linear system
dynamics with a quadratic CBF candidate may not satisfy this assumption. In
real-world applications, continuous-time CBF safety filters are implemented in
discrete time, exacerbating issues related to violating the condition on the
relative degree. These violations can lead to the safety filter being
unconstrained (any control input may be certified) for a finite time interval
and result in chattering issues and constraint violations. We propose an
alternative formulation to address these challenges. Specifically, we present a
theoretically sound method that employs multiple CBFs to generate bounded
control inputs at each state within the safe set, thereby preventing incorrect
certification of arbitrary control inputs. Using this approach, we derive
conditions on the maximum sampling time to ensure safety in discrete-time
implementations. We demonstrate the effectiveness of our proposed method
through simulations and real-world quadrotor experiments, successfully
preventing chattering and constraint violations. Finally, we discuss the
implications of violating the relative degree condition on CBF synthesis and
learning-based CBF methods.