Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1712 Datasheet(PDF) 6 Page - STMicroelectronics

Part # AN1712
Description  GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1712 Datasheet(HTML) 6 Page - STMicroelectronics

Back Button AN1712 Datasheet HTML 2Page - STMicroelectronics AN1712 Datasheet HTML 3Page - STMicroelectronics AN1712 Datasheet HTML 4Page - STMicroelectronics AN1712 Datasheet HTML 5Page - STMicroelectronics AN1712 Datasheet HTML 6Page - STMicroelectronics AN1712 Datasheet HTML 7Page - STMicroelectronics AN1712 Datasheet HTML 8Page - STMicroelectronics AN1712 Datasheet HTML 9Page - STMicroelectronics AN1712 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 14 page
background image
6/14
GENERATING A HIGH RESOLUTION SINEWAVE USING ST7 PWMART
2 IMPROVING SINEWAVE RESOLUTION
Sinewave resolution depends on three factors:
– tPWM
– the number of samples in a sinewave cycle
– “COUNTER” value
By changing any of these parameters you can get a different resolution.
If fCOUNTER is fixed, you can only change tPWM by varying the ARTARR value. The minimum
change you can do to ARTARR is 1. So, the minimum change in tPWM is tCOUNTER. For ex-
ample:
If fCOUNTER is 4 MHz and ARTARR value is 56, then tPWM is 50us. If the number of samples
in a sinewave cycle is 40 and COUNTER is 10, fSINE will be 50 Hz.
If you change the ARTARR value to 57, tPWM will change to 49.75us. So, fSINE will be ~50.25
Hz (assuming the number of samples and COUNTER value are fixed). So, the resolution is
~0.25 Hz.
Now to improve resolution, change ARTARR = 36, COUNTER = 7 and number of samples in
a sinewave cycle = 52.
Assuming fCOUNTER is still 4MHz, tPWM will be 55us. In this case fSINE will be 49.95 Hz, which
gives improved resolution (~0.05Hz).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com