and communication primitives that enable scalable andenergy-efficient organization of and interactions amongsensor objects. On top the execution environment is a programmable substrate that provides mechanisms tocreate associations and coordinate activities amongsensor nodes. Users then access information within asensor network using declarative queries, or performtasks using programming scriptIII.
M
ETHODOLOGY
In this paper the cluster-heads are elected by the basestation in each round by calculating the chance eachnode has to become the cluster-head by consideringthree fuzzy descriptors:
•
Node concentration
•
Energy level in each node
•
Node DensityIn the proposed approach, the better cluster-heads are produced by the central control algorithm in the basestation. This is because the global knowledge about thenetwork is contained in base station. In addition, basestations are many times more potent than the sensor nodes, having sufficient memory, power and storage. Inthe proposed approach energy is spent to transmit thelocation information of all the nodes to the base station.Considering WSNs are meant to be deployed over ageographical area with the main purpose of sensing andgathering information, this paper assumes that nodeshave minimal mobility, thus sending the locationinformation during the initial setup phase is sufficient.The cluster-head collects n number of k bit messagesfrom n nodes that joins it and compresses it to cn k bitmessages with c
≤
1 as the compression coefficient. Theoperation of this fuzzy cluster-head election scheme isdivided into two rounds each consisting of a setup andsteady state phase similar to LEACH. During the setup phase the cluster-heads are determined by using fuzzy[14] knowledge processing and then the cluster isorganized. In the steady state phase the cluster-headscollect the aggregated data and performs signal processing functions to compress the data into a singlesignal. This composite signal is then sent to the basestation.The radio model used here is with Eelec = 50 nJ/bit asthe energy dissipated by the radio to run the transmitter or receiver circuitry and
ε
amp
= 100 pJ/bit/m2 as theenergy dissipation of the transmission amplifier.The energy expended during transmission andreception for a k bit message to a distance d betweentransmitter and receiver node is given by:Where,
λ
is the path loss exponent and
λ
≥
2.The model of fuzzy logic control consists of afuzzifier, fuzzy rules, fuzzy inference engine, and adefuzzifier. The most commonly used fuzzy inferencetechnique called Mamdani Method is used in the proposed approach due to its simplicity. The process is performed in four steps:•
Fuzzification
of the input variables energy,concentration and density - taking the crisp inputs fromeach of these and determining the degree to which theseinputs belong to each of the appropriate fuzzy sets.•
Rule evaluation
- taking the fuzzified inputs,and applying them to the antecedents of the fuzzy rules.It is then applied to the consequent membership function(Table 1).•
Aggregation of the rule outputs
- the process of unification of the outputs of all rules.•
Defuzzification
- the input for thedefuzzification process is the aggregate output fuzzy setchance and the output is a single crisp number.During defuzzification, it finds the point where avertical line would slice the aggregate set chance intotwo equal masses. In practice, the COG (Center of Gravity) is calculated and estimated over a sample of points on the aggregate output membership function,using the following formula:Where,
μ
A
(x) is the membership function of set A.Expert knowledge is represented based on thefollowing three descriptors:•
Node Energy
- energy level available in eachnode, designated by the fuzzy variable energy,•
Node Concentration
- number of nodes presentin the vicinity, designated by the fuzzy variableconcentration,•
Node Density
– density of node in the cluster The linguistic variables used to represent the nodeenergy and node concentration, are divided into threelevels: low, medium and high, respectively, and there arethree levels to represent the node density: sparse,medium and dense respectively. The outcome torepresent the node cluster-head election chance wasdivided into seven levels: very small, small, rather small,medium, rather large, large, and very large. The fuzzyrule base currently includes rules like the following: if the energy is high and the concentration is high and thedensity is close then the node’s cluster-head electionchance is very large.Thus, 3
3
= 27 rules are used for the fuzzy rule base. Inthis paper, the triangle membership functions are used to
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 7, October 2010191http://sites.google.com/site/ijcsis/ISSN 1947-5500