データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN1353 データシート(PDF) 3 Page - STMicroelectronics

部品番号 AN1353
部品情報  ASD ST62000C software description for cooling thermostat applicatons
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1353 データシート(HTML) 3 Page - STMicroelectronics

  AN1353 Datasheet HTML 1Page - STMicroelectronics AN1353 Datasheet HTML 2Page - STMicroelectronics AN1353 Datasheet HTML 3Page - STMicroelectronics AN1353 Datasheet HTML 4Page - STMicroelectronics AN1353 Datasheet HTML 5Page - STMicroelectronics AN1353 Datasheet HTML 6Page - STMicroelectronics AN1353 Datasheet HTML 7Page - STMicroelectronics AN1353 Datasheet HTML 8Page - STMicroelectronics AN1353 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 17 page
background image
AN1353
Main program
Rev 2
3/17
3
Main program
3.1
Mains period measurement
As the board does not embed an oscillator or resonator, the internal resonator of the MCU is
used to achieve the clock. But, in this case, the running frequency is given within a range of
20%. This is not enough to ensure an optimum pulse gate current control with a power
consumption as little as possible.
To increase the timer accuracy, the MCU uses the Zero Voltage Crossing (ZVC) events to
have time infor-mation. The LINE voltage is connected to the NMI pin through a high
impedance resistor. An interruption will then occur at each ZVC event. The MCU has just to
launch the timer decrementation between two NMI interrupts to calculate how much one
must load the TCR register to count down 20 ms.
Of course, in normal operation, the timer can be used for other tasks than counting the
mains period. The period measurement will then be based on the rest of time from the last
timer utilization and the next NMI interrupt. This measured time is saved as DELTAT (see
Figure 2) by the software. The 20 ms will then equal the DELTAT, plus the sum of times T1 to
T3, plus the time lost due to calculator operations between each timer stop and launch (see
Section 4.3).
Note:
Such a method is only valid when the mains frequency is know in advance; i.e. for a board
dedicated to one range of AC mains voltage. In our case, the software and hardware are
dedicated to 220/240 V 50 Hz applications.
Table 2.
Port A configuration registers
Pin Name
USE
DDR
OR
DR
PA1
START ACST6 ON / START ACST6 OFF
1
1
0/1
PA2
RUN ACST6 ON / RUN ACST6 OFF
1
1
0/1
PA3
LIGHT BULB ON / LIGHT BULB OFF
1
1
0/1



Html Pages

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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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