Skip to main content
Log in

Simulation is essential for embedded control systems with task jitter

  • Published:
Design Automation for Embedded Systems Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  1. 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

  2. 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

  3. 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

    Article  Google Scholar 

  4. Niculae D, Plaisanu C, Bistriceanu D (2008) Sampling jitter compensation for numeric PID controllers. IEEE Int Conf Autom Quality Test Robot 2:100–104

    Google Scholar 

  5. 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

  6. 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

    Article  MathSciNet  Google Scholar 

  7. Ohlin M, Henriksson D, Cervin A (2007) TrueTime 1.5-Reference Manual. Department of Automatic Control, Lund Institute of Technology, Lund University

  8. Mahmoud MS, Sabih M (2014) Experimental investigations for distributed networked control systems. IEEE Syst J 8(3):717–725

    Article  Google Scholar 

  9. 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

  10. 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

  11. 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

    Google Scholar 

  12. 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

    Article  Google Scholar 

  13. Curnow HJ, Wichmann BA (1976) A synthetic benchmark. Comput J 19(1):43–49

    Article  Google Scholar 

  14. Longbottom R (2014) Whetstone benchmark history and results. Roy Longbottoms PC Benchmark Collect

  15. McCalpin JD (1995) STREAM benchmark reference information. University of Virginia, Charlottesville

    Google Scholar 

  16. Niclausse N (2014) Tsung documentation. http://tsung.erlang-projects.org/user_manual/

  17. King CI (2018) Stress-ng. http://kernel.ubuntu.com/~cking/stress-ng/

  18. 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

  19. 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

  20. 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

    Article  Google Scholar 

  21. Williams C (2010) Finding realtime linux kernel latencies. http://people.redhat.com/williams/latency-howto/rt-latency-howto.txt

  22. Rowand F (2013) Using and understanding the real-time cyclictest benchmark. In: Embedded linux conference

  23. 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

  24. Coley G (2013) Beaglebone black system reference manual. Texas Instruments, Dallas

    Google Scholar 

  25. Love TS, Tomlinson J, Dunn D (2016) The orange pi: integrating programming through electronic technology. Technol Eng Teach Rest 76(2):24–29

    Google Scholar 

  26. Tran L (2018) Clock jitter measurement. https://github.com/qlong1505/Clock-jitter-measurement

  27. Dabacan M (2018) Analog Discovery 2 Reference Manual

  28. 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

  29. 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

Download references

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

Authors

Corresponding author

Correspondence to Long Tran.

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.

Table 3 Statistic result of the Arduino for measurement of several frequency signal

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10617-021-09248-8

Keywords

Navigation