Skip to main content

Embedded Software Monitoring Using Pulse Width Modulation as a Communication Channel for Low Pin Count Microcontroller Applications

  • Conference paper
  • First Online:

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 763))

Abstract

Low pin count microcontrollers are used in numerous applications, especially in power control. Pin number reduction complicates real–time monitoring and debugging. Two modulation techniques for transmission data using PWM (Pulse Width Modulation) channel without significant influence on main application of this channel are proposed in this paper. Two modulation techniques: Additive Pulse Width Fluctuation and Differential Pulse Width Fluctuation are proposed with appropriate demodulation methods.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Alter, D.M.: Using PWM Output as a Digital–to–Analog Converter on a TMS320C240 DSP, SPRA490, Texas Instruments, November 1998

    Google Scholar 

  2. Aviran, S., Siegel, P.H., Wolf, J.K.: An improvement to the bit stuffing algorithm. IEEE Trans. Inf. Theory 51(8), 2885–2891 (2005)

    Article  MathSciNet  Google Scholar 

  3. ATtiny4/5/9/10 8–bit AVR Microcontroller with 512/1024 Bytes In–System Programmable Flash, Atmel (2010)

    Google Scholar 

  4. Bech, M.M., Pedersen, J.K., Blaabjerg, F., Trzynadlowski, A.M.: A methodology for true comparison of analytical and measured frequency domain spectra in random PWM converters. IEEE Trans. Power Electron. 14, 578–586 (1999)

    Article  Google Scholar 

  5. Clark Jr., G.C., Cain, J.B.: Error-Correction Coding for Digital Communications. Plenum Press, New York (1981)

    Book  Google Scholar 

  6. Dushistova, A., Rusev, A., Mehaffey, J.: Debugging with JTAG, Montavista (2009). http://tree.celinuxforum.org/CelfPubWiki/ELC2009Presentations?action=AttachFil e&do=get&target=DebuggingWithJtagCelf2009.pdf

  7. Maxim/Dallas DS1822 Econo 1–Wire Digital Thermometer Datasheet

    Google Scholar 

  8. Maxim/Dallas DS2450 1–Wire Quad ADC with Programmable Resolution

    Google Scholar 

  9. National Communications System Technology and Standards Division, Telecommunications: Glossary of Telecommunication Terms, General Services Administration Information Technology Services (1996)

    Google Scholar 

  10. Haller, C.A.: The ZEN of BDM 1996–1997. www.macraigor.com/zenofbdm.pdf

  11. I2C–bus specification and user manual, UM10204, NXP 2007. http://www.standardics.nxp.com/support/documents/i2c/pdf/i2c.bus.specification.pdf

  12. Mazurek, P.: Hardware supported debugging in 32–microcontrollers and digital signal processors. In: 6th International Conference on Advanced Computer Systems ACS 1999 Szczecin, pp. 169–178 (1999)

    Google Scholar 

  13. Palacherla, A.: Using PWM to Generate Analog Output, AN538, Microchip Technology (1997)

    Google Scholar 

  14. Peterson, W.W., Brown, D.T.: Cyclic codes for error detection. In: Proceedings of the IRE, vol. 49, pp. 228–235, January 1961. https://doi.org/10.1109/JRPROC.1961.287814

    Article  MathSciNet  Google Scholar 

  15. PIC10F200/202/204/206 Data Sheet 6–Pin, 8–bit Flash Microcontrollers, Microchip (2007)

    Google Scholar 

  16. Proteus Design Suite. Product Guide. Labcenter Electronics. http://downloads.labcenter.co.uk/proteus7brochure.pdf

  17. Song, Z., Sarwate, D.V.: The frequency spectrum of pulse width modulated signals. Sig. Process. 83(10), 2227–2258 (2003)

    Article  Google Scholar 

  18. Stankovic, A.M., Lev-Ari, H.: Randomized modulation in power electronic converters. Proc. IEEE 90(5), 782–799 (2002)

    Article  Google Scholar 

  19. Wilson, Stephen G.: Digital Modulation and Coding. Prentice-Hall, Englewood Cliffs (1996)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dawid Bak .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mazurek, P., Bak, D. (2019). Embedded Software Monitoring Using Pulse Width Modulation as a Communication Channel for Low Pin Count Microcontroller Applications. In: Silhavy, R. (eds) Software Engineering and Algorithms in Intelligent Systems. CSOC2018 2018. Advances in Intelligent Systems and Computing, vol 763. Springer, Cham. https://doi.org/10.1007/978-3-319-91186-1_33

Download citation

Publish with us

Policies and ethics