The BOD Toolbox – Digital Magnitude Optimum (various inputs)

Direct design of discontinuous controllers (one loop, cascade, RST structure, lead-lag) via Magnitude and Symmetrical Optimum by C. Kessler
3,5K Downloads
Aktualisiert 8. Okt 2023

Lizenz anzeigen

The BOD Toolbox – Digital Magnitude Optimum (Digitales Betragsoptimum)
The BOD Toolbox offers the design of discontinuous (digital) controllers based on the optimization equations of the original Magnitude Optimum for continuous control (generalized results of C. Kessler) implemented on discontinuous control systems - without approximations, without restriction to PI controllers - but with consideration of the pre-filter, if applicable, and consideration of different control structures.
Definitions:
From today's point of view, it is reasonable to use the term’s Digital Magnitude Optimum (BOD) for undelayed input variables (implementation of the idea of the classical Magnitude Optimum on discontinuous control loops, without pre-filter, limited to one integrator in the open loop) and Digital Magnitude Optimum (BOD) for delayed input variables (implementation of the idea of the classical Symmetric Optimum on discontinuous control loops, with pre-filter, several integrators possible in the open loop). Thus, the use of the Digital Magnitude Optimum (BOD) generally makes it possible to avoid quasi-continuous methods for the optimization of discontinuous control loops, especially the discretization of continuous controllers due to discontinuous realizations.
Hints on the Z-transformation:
It is recommended to use the toolbox function trans.m for the Z-transformation. This facilitates different variants for modelling with regard to the coupling of controller and controlled system as well as the measurement of the controlled variable. This can be important with regard to actuator models (sampler or zero order sample&hold) and the investigation of measurement methods (instantaneous, mean value, arithmetic mean value). Please be aware that all these combinations affect the result in the Z domain. Furthermore, any integer or non-integer dead times can be taken into account very easily via application of the so-called modified Z-Transformation.
Hints on the control structure:
The toolbox functions enable the controller design for single control loops (bod.m, bod_gen.m), cascade control structures (kaskade.m - maximum 3 cascaded loops, variations of Digital Magnitude Optimum design and Finite Settling Time design) and RST control structures (bod_rst.m).
For basics of the RST structure definition see I.D. Landau / G. Zito, Springer 2010:
About fundamental differences of cascade structures in Laplace domain and in Z-domain see “Power Flow Modelling Based Electric Drive Control Optimization” by G.-H. Geitner and G. Kömürgöz, 11th ELECTRIMACS, 2014:
The application of the Digital Magnitude Optimum (BOD) to state control structures is illustrated by two examples (zust_au.m, zust_aug.m, ..., zust_bran_2.m), and can be applied to other state control structures on this basis.
Some more hints: Some toolbox functions for Digital Magnitude Optimum design (bod.m, bod_gen.m) partially provide mixed pole compensation or optionally damped derivative part as well as versions regarding the call of
the non-linear equation solver fsolve.m (bod.m, bod_2.m resp. zust_au2.m, zust_au1.m). In order to have a comparison to the very fast Finite Settling Time design such functions (eez.m, eez_gen.m) are part of the toolbox likewise. The toolbox also allows the determination of general weighted mean dead times for bus data transfer inside single control loops (gmt.m). Although the aim is to design discontinuous controllers directly, a conversion of controllers in both directions between Laplace domain and Z-domain is integrated with different methods (urlaz.m). Finally, there may be found a possibility for the calculation of step response quality criteria (single criteria or integral criteria) using SIMULINK simulation results of a closed loop (guete.m) and a proposal for an easy stand-alone symbolic definition of control and plant structures and resultant controller design including of examples with structure definitions and Simulink models – see folder SYMDEF and:
Examples: Some examples of the application of the toolbox functions are part of the toolbox, whereby one file for calculation and one file for simulation are prepared in each case, see also:
The examples also illustrate the use of control vectors for selecting specific properties of the controller instead of an optionally menu-driven approach. This enables an advantageous use of the toolbox functions in script files or functions of the users. In addition, some of the toolbox functions optionally use the MATLAB LTI syntax instead of passing numerator and denominator polynomials separately as input arguments for functions.
Final note:
For more basics on C. Kessler’s original Magnitude Optimum (Betragsoptimum) and some issues and recent developments, or if however the actual goal is to design a continuous controller, the following link to the Magnitude Optimum toolbox (toolbox BO) for continuous controller design should be considered:

Zitieren als

Gert-Helge Geitner (2024). The BOD Toolbox – Digital Magnitude Optimum (various inputs) (https://www.mathworks.com/matlabcentral/fileexchange/16-the-bod-toolbox-digital-magnitude-optimum-various-inputs), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Just for fun finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
3.02

V.3.1: new function "bod_prefi_opt.m" and examples "bod_prefi_opt_check01_..." until "bod_prefi_opt_check05_..." for hybrid design, i.e. controller setup causes behaviour for delayed inputs, but prefilter setup causes behaviour for undelayed inputs.

3.01

Revised file content.m

3.0

New function bod_rst.m for direct application of the Digital Magnitude Optimum to RST control structures by Landau/Zito, demo_BOD_rst.m available (plant with large dead time).
New homepage.

2.9

nargchk obsolete, replaced by narginchk

1.4.0.0

tuning for modified fsolve syntax;
one more state control example;

1.3.0.0

new function GMT (weighted mean dead time for bus systems)
new subdirectory SYMDEF (easy symbolic definition for control and plant) with examples and models for use of BOD

1.2.0.0

New function bod_gen uses general BOD optimization equations exclusively and offers 1./2. order lead/lag controller (LLC) calculation; bod_gen / bod_gen_eq may be used as a template for other controller types or control structures; LLC demo sim.;

1.1.0.0

Functions: complete English help and optionally menu;
Demos: complete English description;
Fsolve: consideration of current calling syntax

1.0.0.0

Minor changes reagrding call of fsolve