Not applicable
Aug 08, 2017
02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 08, 2017
02:44 AM
Hello,
maybe I understand it not, but I have the following problem.
I have to build the frequency (~50 Hz) and the RMS-value of an electrical 3-phase system. For that I use the PWM App. From each wave I take 32 measurements with the ADC-MEASUREMENT App.
So, at the end of the wave the period duration is calculated (and also the frequency).
Included in this calculation for the period is the calcuation for the next PWM-frequency. The ADC-MEASUREMENT-Conversion is started with the PWM-compare-period Interrupt.
So far, so good, but it seems to me, that, after changing the PWM-frequency, something happens, so that I have the same ADC-MEASUREMENT-Values for exact 2 PWM-Interrupts.
I am not sure, if I have explained it in a way, that can be understood. But if, please ask for more details.
Best regards,
Oliver
maybe I understand it not, but I have the following problem.
I have to build the frequency (~50 Hz) and the RMS-value of an electrical 3-phase system. For that I use the PWM App. From each wave I take 32 measurements with the ADC-MEASUREMENT App.
So, at the end of the wave the period duration is calculated (and also the frequency).
Included in this calculation for the period is the calcuation for the next PWM-frequency. The ADC-MEASUREMENT-Conversion is started with the PWM-compare-period Interrupt.
So far, so good, but it seems to me, that, after changing the PWM-frequency, something happens, so that I have the same ADC-MEASUREMENT-Values for exact 2 PWM-Interrupts.
I am not sure, if I have explained it in a way, that can be understood. But if, please ask for more details.
Best regards,
Oliver
- Tags:
- IFX
1 Reply
Not applicable
Aug 10, 2017
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 10, 2017
05:33 AM
No one with an idea? Maybe you need some more information?
Best regards,
Oliver
Best regards,
Oliver