Skip to main content
. 2021 Mar 29;21(7):2371. doi: 10.3390/s21072371
Algorithm 1: Power assistance with user’s posture (v = ZO)
Input variables: Sg, ff, fd, v
While Sg = PS or PL
 If ff = (L ⋁ M) ⋀ fd = S, then
controller output = slower or reversal
 else controller output = forward
While Sg = ZO
 If (ff = (L ⋁ M) ⋀ fd = S) ⋁ (ff = L ⋀ fd = M), then
  controller output = slow reversal
else if (ff = (L ⋁ M) ⋀ fd = L) ⋁ (ff = M ⋀ fd = M), then
controller output = forward slowly else stay the same
While Sg = NS or NL
 If (ff = M) ⋀ (fd = L ⋁ M), then
controller output = slower than general
 else controller output = reverse (fast or slow)
End