資源簡(jiǎn)介
Energy Harvesting wireless sensor network(EH-WSN) is a kind of WSN that
uses rechargeable power supply instead of using traditional battery.
In traditional WSN, the energy sources is limited. When the power source of
node nish, it can not continue to work unless it is recharged again
代碼片段和文件信息
function?Net?=?energyharvesting?(Net??i??type??value?)
BatteryCapacity?=?1.476?;?%?Joules?(0.1mAh3600?s?4.1V)
B?=?8*8;?%?lenght?of?beacon?Bits
L?=?16*8;?%?lenght?of?data?Bits
R?=?500*1024;?%Kbps
Ptx?=?0.0538?;?%?Watt
Prx?=?0.0425?;?%?Watt
?switch?type
?case?‘?harvest?‘
?HarvestEnergy?=?(Net?.?Node?(?i?).HR/1000)*value?;
?Net.Node?(?i?).AE?=?min(?1?Net?.?Node?(?i?).AE?+?HarvestEnergy?/BatteryCapacity)?;
?case?‘?beacon?‘
?BeaconCost?=?(B/R)*Ptx?+?(L/R)*Prx?;%Energy?consume?to
transmit?beacon?and?wait?for?data
?Net?.?Node?(?i?)?.AE?=?Net?.?Node?(?i?)?.AE?-?BeaconCost?/BatteryCapacity?;
?case?‘?data?‘
?IdleListeningCost?=?value*Prx?;%?Energy?consumption?waiting?for?beacon
?TransmissionCost?=?(L/R)*Ptx?;%?Energy?consumption?in?transmittingdata
?Net?.?Node?(?i?)?.AE?=?Net?.?Node?(?i?)?.AE?-?(IdleListeningCost?+?TransmissionCost?)?/BatteryCapacity?;
?end
?if?Net?.?Node?(?i?)?.AE?0
?Net?.?DeadNode?=?i?;
?end
?end
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????965??2013-06-19?02:12??energyharvesting.m
-----------?---------??----------?-----??----
??????????????????965????????????????????1
- 上一篇:Vector_SVPWM
- 下一篇:離焦圖像自動(dòng)對(duì)焦
評(píng)論
共有 條評(píng)論