Abstract
Sampling or task jitter affects the performance of digital control systems but realistic simulation of this effect has not been possible to date. Our previous work has developed a novel method to simulate sampling jitter in MATLAB/Simulink simulation software where the jitter is generated randomly. What has been missing is a way to capture sampling jitter from a target platform and then feed this timing information into the simulation. This paper presents a low-cost and novel solution to these problems. The method uses an Arduino board to capture task jitter from two different hardware platforms with multiple stressing conditions. Then the recorded performance data is used to drive realistic simulations of a control system. Measurement shows that the task jitter data does not follow any specific random distribution such as Gaussian or Uniform. Furthermore, very occasional timing patterns, which may not be picked up while testing a real system, can result in extreme controller responses. This novel method allows comparisons of different platforms and reduces the effort required to choose the most appropriate platform for full implementation.
Similar content being viewed by others
References
Tran LQ, Radcliffe P, Wang L (2017) A new approach to clock jitter simulation in digital control system. In: 11th Asian control conference. IEEE, Gold Coast, Australia, pp 2563–2568
Tran LQ, Radcliffe P, Wang L (2018) Designing greener real time controllers. In: The 4th international conference on green technology and sustainable development, Ho Chi Minh City, Vietnam
Smeds K, Lu X (2012) Effect of sampling jitter and control jitter on positioning error in motion control systems. Precis Eng 36(2):175–192
Niculae D, Plaisanu C, Bistriceanu D (2008) Sampling jitter compensation for numeric PID controllers. IEEE Int Conf Autom Quality Test Robot 2:100–104
Marti P, Fuertes J, Fohler G, Ramamritham K (2001) Jitter compensation for real-time control systems. In: 22nd IEEE real-time systems symposium, pp 39–48
Yang H, Xia Y, Shi P (2011) Stabilization of networked control systems with nonuniform random sampling periods. Int J Robust Nonlinear Control 21(5):501–526
Ohlin M, Henriksson D, Cervin A (2007) TrueTime 1.5-Reference Manual. Department of Automatic Control, Lund Institute of Technology, Lund University
Mahmoud MS, Sabih M (2014) Experimental investigations for distributed networked control systems. IEEE Syst J 8(3):717–725
Vásquez MC, Katebi R (2016) Comparison of PID methods for Networked Control Systems. In: UKACC 11th international conference on control. NY, USA, New York, pp 1–6
Liu T, Jiang S, Pan F (2016) Analysis and design of the time-delay compensation for networked control systems with random communication delay. In: 35th Chinese control conference (CCC), pp 7234–7239
Islam T, Rajabpour L, Leon RE, Husain AR (2018) Simulation and real-time analysis of active suspension system over controller area network. Appl Model Simul 2(2):70–75
Cervin A, Henriksson D, Lincoln B, Eker J, Arzen KE (2003) How does control timing affect performance? Analysis and simulation of timing using Jitterbug and TrueTime. IEEE Control Syst 23(3):16–30
Curnow HJ, Wichmann BA (1976) A synthetic benchmark. Comput J 19(1):43–49
Longbottom R (2014) Whetstone benchmark history and results. Roy Longbottoms PC Benchmark Collect
McCalpin JD (1995) STREAM benchmark reference information. University of Virginia, Charlottesville
Niclausse N (2014) Tsung documentation. http://tsung.erlang-projects.org/user_manual/
King CI (2018) Stress-ng. http://kernel.ubuntu.com/~cking/stress-ng/
Vaucher S, Schiavoni V, Felber P (2018) Stress-SGX: load and stress your enclaves for fun and profit. In: International conference on networked systems. Springer International Publishing, Cham, pp 358–363
Javadi SA, Mehra S, Vangoor BKR, Gandhi A (2016) UIE: user-centric interference estimation for cloud applications. In: IEEE international conference on cloud engineering (IC2E), pp 119–122
Khan KN, Ou Z, Hirki M, Nurminen JK, Niemi T (2016) How much power does your server consume? Estimating wall socket power using RAPL measurements. Comput Sci Res Dev 31(4):207–214
Williams C (2010) Finding realtime linux kernel latencies. http://people.redhat.com/williams/latency-howto/rt-latency-howto.txt
Rowand F (2013) Using and understanding the real-time cyclictest benchmark. In: Embedded linux conference
Cerqueira F, Brandenburg BB (2013) A comparison of scheduling latency in linux, PREEMPT RT, and LITMUSRT. In: 9th Annual workshop on operating systems platforms for embedded real-time applications, pp 19–29
Coley G (2013) Beaglebone black system reference manual. Texas Instruments, Dallas
Love TS, Tomlinson J, Dunn D (2016) The orange pi: integrating programming through electronic technology. Technol Eng Teach Rest 76(2):24–29
Tran L (2018) Clock jitter measurement. https://github.com/qlong1505/Clock-jitter-measurement
Dabacan M (2018) Analog Discovery 2 Reference Manual
Santina M, Stubberud AR (2010a) Design methods for discrete-time, linear time-invariant systems. In: Levine WS (ed) The control handbook: control system fundamentals, pp 545–574. CRC Press
Santina M, Stubberud AR (2010b) Discrete-time systems. In: Levine WS (ed) The control handbook: control system fundamentals, 2nd edn, pp 473–493. CRC press
Acknowledgements
The authors would like to thank Eugine Tomson Palatty, Master student in Electronic Engineering, RMIT University for his contribution in testing multiple hardware platforms performance using stress-ng library.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
See Table 3.
Rights and permissions
About this article
Cite this article
Tran, L., Radcliffe, P.J. & Wang, L. Simulation is essential for embedded control systems with task jitter. Des Autom Embed Syst 25, 177–191 (2021). https://doi.org/10.1007/s10617-021-09248-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10617-021-09248-8