Abstract Summary During last years, Wireless Sensor Network has been object of an intense research activity as consequence of an increasing commercial interest. This activity has determined relevant advances for both the base technology and the final architectures. Wireless Sensor Network (WSN) is based on the concept of low cost automomous node that provides limited resource in terms of data processing and storage, low-power transmission and advanced sensors. This class of sensor device is featured by reduced sizes and by an engineering oriented to the power optimization. Even if advanced, efficient and flexible solutions are currently available, the massive commercialization of WSN, normally considered as next to be a fact, is not appening. The reasons are related, directly or indirectly, to two main factors: high overall cost and inadequate level of reliability/robustness. One of the most relevant consequences of the ad-hoc approach, that at the moment characterizes the development of WSNs, is the definition of several local optimums for the problems but, at the same time, a fundamental lack of estandardiation and generalization of the solutions. In this sense, innovative explotation models for WSN are object of interest for the scientific community. Goals This work was planned according to the last research lines that propose innovative and advanced solutions able to work in the real word in a context of scalability, flexibility and economic sustainability. In order to assure a certain competitivity, the proposed architecture is designed without any dependence or relation with concrete applications or technologies. This approach deterimines a flexibility of the reference architecture that can be particularized in function of concrete applications and in function of related functional/non functional requirements. The proposed architecture is also independent of the nodes behaviour that can be static, nomadic or mobile. Results By methodological point of view, it is important to design a reference model for the different aspects of the network (connectivity model, dynamic clustering, mobile behaviours). The model can assure a solid theoretical ground, independent of any concrete application domain or technology, that can be useful for the different phases of the development of concrete architectures (design, simulation, preliminarly evaluation, refination). At the same time, the implementation and the experimentation of the platform within real environments provide a vital feedback for the refination of the models and of the framework. Methodology The methodology adopted is summarized by the following points: • Horizontal approach as contradistinction of the tradictional vertical approach that characterizes the great part of similar works. • Overall approach oriented to cost reduction using multi-domain flexible solutions. • Elaboration of theoretical models refined using the information provided by the experimental evaluation in several application domains. • Support for static, nomadic and mobile nodes and actors. • Development of a reference architecture able to work within several logic environments according to different interaction and interoperability models, as well as different scale and complexity. Structure of the Work The work is structured in three interdependent logic sections: • The first one describes the design of the reference architecture. By a functional perspective, thee different layer can be identified: sensor network, middleware infrastructure and information system. By a conceptual point of view, the architecture is designed and defined according to four progressive concepts: Physical Resource, Virtual Resource, Sensor Web and Semantic Sensor Web. • The second logic section is interely focused on WSN and it has a theoretical focus. Several related models are proposed in order to have an analitic tool that should suppoprt the designer during the different phases of the deployment (design, simulation, implementation, prelimnarly evaluation). • The last logic section describes the implementation of the reference architecture and its particularization and experimentation in several application domains.