參數(shù)資料
型號: DRM040
英文描述: Single Phase Digital Power Meter Reference Design
中文描述: 單相電能表的數(shù)字參考設計
文件頁數(shù): 35/80頁
文件大?。?/td> 1025K
代理商: DRM040
Software
Software Routines
DRM040 — Rev 0
Designer Reference Manual
MOTOROLA
Software
35
3.1.5 Meansq
This Subroutine is used to calculate the mean squared current. The
measured current is copied and multiplied with itself using the “smpy16”
routine. The squared current value is then added to the previous squares
to build up a mean value composed of 256 samples.
Figure 3-6
shows
meansq flow diagram.
Figure 3-6. meansq
3.1.6 Add2tar
Subroutine “add2tar” adds the scaled instantaneous power to the active
tariff buffer and checks whether the value in the active tariff buffer
(48-bit) fits into the 8-digit LCD display. If the result (in decimal) is greater
than 99999999 it is made to rollover to 00000000. If the meter is
recording power delivered to the utility, the display displays
decrementing numbers and a rollover from all zero to all nines is
performed.
meansq
copy temp_long+2
to rms_long (16-bit)
copy temp_long+2
to rms_long+2 (16-bit)
call smpy16
16x16 signed multiply
add 32-bit result to
previous squares
return
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關PDF資料
PDF描述
DRM041 Building an USB-DDC ICP Interface Board HardwareReference Design
DRM042 Universal Serial Bus Wireless Optical Mouse and Multimedia Keyboard reference design designer reference manual
DRM043 Li-on Battery Charger Reference Design Designer Reference Manual
DRM044 Central Heating Controller using the MC68HC908LJ12
DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board Designer Reference Manual
相關代理商/技術參數(shù)
參數(shù)描述
DRM10 功能描述:DIP 開關/ SIP 開關 BCD 10 POS RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM1004 功能描述:DIP 開關/ SIP 開關 ROTARY DIP SWITCH PLASTICSHAFT RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM101 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Blood Pressure Monitor Using the Flexis QE128 Family
DRM10C 功能描述:SWITCH DIP MINI SHAFT 10POS T/H RoHS:否 類別:開關 >> DIP 系列:DR 特色產(chǎn)品:RDM Series Rotary DIP Switch 標準包裝:70 系列:RDM 電路:十六進制 位置數(shù):16 觸點額定電壓:0.1A @ 42VDC 觸動器類型:用于工具旋轉(zhuǎn) 觸動器電平:凹槽式 安裝類型:通孔 方向:頂部觸動 可清洗:是 其它名稱:EG4977-5RDMAR16PIT
DRM10C04 功能描述:編碼式波段開關 SW DIP MINI SHAFT 10POS T/H RoHS:否 制造商:C&K Components 位置數(shù)量:10 輸出代碼:Binary Coded Decimal 執(zhí)行器:Screwdriver 觸點額定值: 端接類型:Solder Pin 封裝:Tube