Signal Processing Asked by Yasin on December 17, 2021
I want to sample an ADC channel multiple times in one PWM cycle.
I can trig any ADC channel in anywhere in my PWM timer counter now. But I want to trig and sample same channel in many times within a pwm period.
I tried to explain by drawing below.
Is there any solution for this?
Thanks and best regards
Assuming your PWM above is ePWM1.
Since ePWM1 and ePWM4 are frequency-locked and phased-locked, it will be as if you sample at specific instants on the ePWM1 triangle.
In the image below I adjusted ePWM4 frequency to be 4 times greater than ePWM1. Thus, I would sample 8 times per ePWM1 period. You could also adjust the starting phase of ePWM4 to further adjust the sampling instants.
Answered by Ben on December 17, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP