Stormworks: Build and Rescue

Stormworks: Build and Rescue

Nedostatek hodnocení
Better PID
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Vehicles: Air, Sea, Land, Mechanical
Značky: v1.13.3
Velikost souboru
Přidáno
Aktualizováno
26.885 KB
5. led. v 16.08
6. led. v 17.00
Poznámky ke změnám (2) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Better PID

Popis
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).