# Is it plausible to add an comparator after the pwm capture to ensure the stability of real-time testing?

**URL:** <https://forum.plexim.com/t/is-it-plausible-to-add-an-comparator-after-the-pwm-capture-to-ensure-the-stability-of-real-time-testing/964>\
**Category:** RT Box\
**Tags:** rt-box, c2000\
**Created:** [February 19, 2021, 4:11am UTC](https://forum.plexim.com/t/is-it-plausible-to-add-an-comparator-after-the-pwm-capture-to-ensure-the-stability-of-real-time-testing/964 "2021-02-19T04:11:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shichenseu](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@shichenseu](https://forum.plexim.com/u/shichenseu)\
**Post date:** [February 19, 2021, 4:11am UTC](https://forum.plexim.com/t/is-it-plausible-to-add-an-comparator-after-the-pwm-capture-to-ensure-the-stability-of-real-time-testing/964/1 "2021-02-19T04:11:42Z")

</div>

Is it plausible to add an comparator after the pwm capture to ensure the stability of real-time testing?

---

<div class="post-metadata">

**Author:** ![shichenseu](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@shichenseu](https://forum.plexim.com/u/shichenseu)\
**Post date:** [February 19, 2021, 4:16am UTC](https://forum.plexim.com/t/is-it-plausible-to-add-an-comparator-after-the-pwm-capture-to-ensure-the-stability-of-real-time-testing/964/2 "2021-02-19T04:16:17Z")

</div>

Maybe I have solved the stupid question, what you should do is simply change your IGBT/MOSFET module with a sub-cycle average module
