Stormworks: Build and Rescue

Stormworks: Build and Rescue

Zbyt mało ocen
Better PID
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Vehicles: Air, Sea, Land, Mechanical
Tagi: v1.13.3
Rozmiar pliku
Zamieszczono
Zaktualizowano
26.885 KB
5 stycznia o 16:08
6 stycznia o 17:00
Listy zmian: 2 ( zobacz )

Zasubskrybuj, aby pobrać
Better PID

Opis
Stormworks PID controller has many problems and often is unusable because of them. This controller tries to deal with it's issues.

1. It includes support for clumping PID control with backcalculating integral component - preventing any integral windup
2. It supports temporary disabling of integral calculation, without also stopping proportional (and derivative) control
3. It uses no lua, so it is fully multiplayer-friendly
4. It is very simple and includes no additional bloat (KISS)

Usage:
1. Connect it where it is needed
2. As any PID, it requires manual tuning. First - proportional coefficient. Please note, this controller uses PID coefficients in standard form[en.wikipedia.org], so "integral time" is proportional gain / integral gain, "derivative time" is derivative gain / proportional gain.
3. Set control output boundaries. Controller will use this boundaries also for integral backcalculation.
4. Enjoy.

Also you might be interested in jet engine tuned version of this controller.

You are allowed to use this controller in your own creations, disassemble, study, reverse-engineer and modify it freely. Attribution is welcome (but not required).