Optimization of Controller Parameters in Julia using ControlSystems.jl and Automatic Differentiation

Research output: Book/ReportReportResearch

1505 Downloads (Pure)

Abstract

We describe how to utilize the possibility of differentiating through arbitrary Julia codeto perform tasks such as controller optimization. The user specifies a cost function, forexample, the integrated squared error between output and reference, and constraints, suchas a maximum acceptable value of the sensitivity function. Julia performs the integrationand calculates the sensitivities of the cost and constraint functions with respect to controllerparameters automatically, using automatic differentiation. We conclude with a full exampleincluding gradient-based optimization of the cost function. All code required is open-sourceunder permissive licenses.
Original languageEnglish
PublisherDepartment of Automatic Control, Faculty of Engineering LTH, Lund University
Number of pages11
Publication statusPublished - 2019 Mar 6

Publication series

NameTechnical reports TFRT-7656
PublisherDept. Automatic Control
ISSN (Print)0280-5316

Subject classification (UKÄ)

  • Electrical Engineering, Electronic Engineering, Information Engineering

Fingerprint

Dive into the research topics of 'Optimization of Controller Parameters in Julia using ControlSystems.jl and Automatic Differentiation'. Together they form a unique fingerprint.

Cite this