View full-text article in PMC Sensors (Basel). 2020 Oct 20;20(20):5928. doi: 10.3390/s20205928 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 3 Recursive clock parameter estimator 1:Previous time records: {xN,yN}={C1(tN),C2(tN)} Previous sum parameter: Φ Input: {xN+1,yN+1}={C1(tN+1),C2(tN+1)} Output: τ^12, α^12 Parameters: λ 2: Update the sum parameter Φ←λΦ+(xN+1−xN)2yN+1−yN 3: Update the clock skew α^12←α^12+xN+1−xNΦ1−α^12xN+1−xNyN+1−yN 4: Calculate the time-offset τ^12←yN+1−α^12xN+1 5: Save the time records {xN,yN}←{xN+1,yN+1} 6:returnα^12 and τ^12