Skip to content

Commit bf8d7e7

Browse files
committed
Update docs, add page Autotuning
1 parent 7b029eb commit bf8d7e7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ makedocs(;
2222
"Winchcontroller" => "winchcontroller.md",
2323
"Winchcontroller Settings" => "settings.md",
2424
"Performance Indicators" => "performance_indicators.md",
25+
"Autotuning" => "autotuning.md",
2526
"Tests" => "tests.md",
2627
],
2728
)

docs/src/autotuning.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
```@meta
2+
CurrentModule = WinchControllers
3+
```
4+
5+
# Autotuning
6+
7+
## Introduction
8+
The winch controller has 34 parameters (see [Winchcontroller Settings](@ref)). To determine and optimize all of them manually is time consuming and error prone, in particular if the physical system is changing. Therefore some form of automated tuning is desirable.
9+
10+
## Methodology
11+
When the [Performance Indicators](@ref) are defined, an optimizer can be used to determine the controller parameters. The controller is using three PID controllers and a mixer. The following parameters are tuned automatically:
12+
```julia
13+
wcs.i_speed # the speed controller gain
14+
wcs.p_speed # the speed controller proportional gain
15+
wcs.t_blend # the blending time for switching between controllers
16+
wcs.pf_low # the lower force controller gain
17+
wcs.if_low # the lower force controller proportional gain
18+
wcs.pf_high # the upper force controller gain
19+
wcs.if_high # the upper force controller integral gain
20+
wcs.df_high # the differential gain of the upper force controller
21+
```
22+
The global, blackbox optimizer package NOMAD is used for the optimization process, together with a test case that mimics extreme wind conditions.
23+
24+
## Example
25+

0 commit comments

Comments
 (0)