summaryrefslogtreecommitdiff
path: root/board/lantis
diff options
context:
space:
mode:
authorTommy Chung <tommy.chung@quanta.corp-partner.google.com>2020-12-14 09:38:04 +0800
committerCommit Bot <commit-bot@chromium.org>2020-12-14 18:29:16 +0000
commit51c9774be21984e2e4bdf5bddf7a777868c908b9 (patch)
tree647f15ad2a87ddc7990e70539b4d49df4a06dc9f /board/lantis
parent04f7c1ed1bee9ea3c8c566a2b7e9aa293ad4d23e (diff)
downloadchrome-ec-51c9774be21984e2e4bdf5bddf7a777868c908b9.tar.gz
lantis: Update OCPC PID constants
This CL updates the OCPC PID constants along with crrev.com/c/2567036 since lantis was initialed with drawcia's image. BUG=b:174167890 BRANCH=dedede TEST=Verify that at low SOC, charging from the sub board results in lower overshoot and reduced time to correct steady state error. Signed-off-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com> Change-Id: If4f40913e533901fa6b8280857b480adb8c68e11 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2589134 Reviewed-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/lantis')
-rw-r--r--board/lantis/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lantis/board.c b/board/lantis/board.c
index 95a8b49528..8e43844bce 100644
--- a/board/lantis/board.c
+++ b/board/lantis/board.c
@@ -653,10 +653,10 @@ __override void ocpc_get_pid_constants(int *kp, int *kp_div,
int *kd, int *kd_div)
{
*kp = 3;
- *kp_div = 14;
+ *kp_div = 20;
*ki = 3;
- *ki_div = 500;
+ *ki_div = 125;
*kd = 4;
*kd_div = 40;