AC DIMMER WITH STM32F373
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-24 1:48 PM
hello
i am working on AC dimmer with stm32f373.i have a issue when the fire angle change in TIMx->ARR.
in this case the lamps have filkcer.
i use the timer of MCU that runs in timer mode with internal clock.
how can fix this issue ???
thank you
#dimmer #timer #flicker- Labels:
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-24 1:56 PM
The phase angle should be in CCRx, don't use Preload and ARR (period, but why?) will load new value at update.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-24 5:23 PM
thank you for response .
i should use timer in compare mode ???
How should I do it?thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-28 7:43 AM
What are you trying to modulate? Frequency or Duty
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-29 10:33 PM
I want to control the bulbs by controlling the fire angles.
i use timer in update mode and and control the ARR register in manual mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-30 7:33 AM
ARR changes the period/frequency, if you assume CNT is the phase/angle of the timer (ie 0 thru ARR), then CCRx is the angle trigger
Altering ARR will cause the frequency of the timer vs AC to precess with respect to each other, right?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-08 1:39 AM
ok
thanks