Skip to main content
. 2015 May 26;15(6):12358–12376. doi: 10.3390/s150612358

Algorithm 1: After receiving the step data sent by the MN.

1. Start:
2. Let Pinewm={Tiendm+Tf,Tiendm+Tf+Tpl}
3. If PinewmPm=0
4.  Goto Label 1
5. Else
6. Update Pinewm={Tinewm+Tf,Tinewm+Tf+Tpl+Toinew}
7.  Adjust Toinew by TSU, to satisfy PinewmPm=0
8. Label 1:
9. Let Pim=Pinewm
10. Pm=PmPim
11. End