Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Better PID
   
奖励
收藏
已收藏
取消收藏
Vehicles: Air, Sea, Land, Mechanical
标签: v1.13.3
文件大小
发表于
更新日期
26.885 KB
1 月 5 日 下午 4:08
1 月 6 日 下午 5:00
2 项改动说明 ( 查看 )

订阅以下载
Better PID

描述
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).