App Note: Various solutions for calculating a pulse and duty cycle

Posted on Sunday, December 16th, 2012 in app notes by DP


Here’s an app note from Microchip describing various methods for measuring pulse in periodic and non-periodic waveforms. Calculating duty cycle in periodic waveforms is also described.

Many times it is desirable to quantify the pulse  width of a periodic signal, such as that of a servo motor or duty cycle of a pulse-width modulated signal. There are other instances where a pulse that is non-periodic needs to be measured, such as those commonly found in a Capacitive Discharge ignition circuit. This application note describes six different strategies to measure a pulse of both periodic and non-periodic waveforms as well as six methods for calculating a duty cycle of a periodic waveform using an 8-bit PIC device.

This entry was posted on Sunday, December 16th, 2012 at 2:30 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Stephen Tinius: Thank you.
  • KH: Ah, the site sells boards, that's the reason. At least it's a XC6SL9 board that does not cost an arm and a leg, though it...
  • Max: While I understand this is more educational than practical in nature, I prefer my edutainment a lot more firmly grounded in economic reality. Sure, you...
  • KH: Using an alkaline coin cell down to 1.0V or under is a very bad idea anyway, unless you as the designer or manufacturer don't care...
  • KH: Farnell says TS1001 is no longer stocked. Not on RS. Digikey says it's obsolete. That said, there are a lot of nanoamp-class parts on sale...