• 沒有找到結果。

A WSN-Based Intelligent Light Control System Considering User Activities and Profiles

N/A
N/A
Protected

Academic year: 2021

Share "A WSN-Based Intelligent Light Control System Considering User Activities and Profiles"

Copied!
12
0
0

加載中.... (立即查看全文)

全文

(1)

Abstract—Recently, wireless sensor networks (WSNs) have

been widely discussed in many applications. In this paper, we propose a WSN-based intelligent light control system for indoor environments. Wireless sensors are responsible for measuring cur-rent illuminations. Two kinds of lighting devices, namely, whole

lighting and local lighting devices, are used to provide background

and concentrated illuminations, respectively. Users may have various illumination requirements according to their activities and profiles. An illumination requirement is as the combination of background and concentrated illumination demands and users’ locations. We consider two requirement models, namely, binary

satisfaction and continuous satisfaction models, and propose two

decision algorithms to determine the proper illuminations of devices and to achieve the desired optimization goals. Then, a closed-loop device control algorithm is applied to adjust the illu-mination levels of lighting devices. The prototyping results verify that our ideas are practical and feasible.

Index Terms—Intelligent buildings, light control, pervasive

com-puting, wireless communication, wireless sensor network.

I. INTRODUCTION

W

IRELESS sensor networks (WSNs) have made a lot of progress recently. Extensive research works have ded-icated to energy-efficient media access control (MAC) proto-cols [22], sensor deployment and coverage [12], and localiza-tion [17]. Applicalocaliza-tions of WSN include habitat monitoring [3], wildfire monitoring [2], and navigation [13], [20].

In this paper, we propose a WSN-based intelligent light con-trol system that considers users’ activities and profiles in indoor environments. Fig. 1 shows the network scenario. The network field is divided into regular grids. Each grid has a fixed sensor. Together, these sensors form a multihop ad hoc network. One Manuscript received February 9, 2008; accepted March 19, 2008. This work was supported in part by Taiwan MoE ATU Plan, by the Na-tional Science Council (NSC) under Grants 93-2752-E-007-001-PAE, 95-2221-E-009-058-MY3, 95-2221-E-009-060-MY3, 96-2219-E-009-007, 96-2218-E-009-004, 96-2622-E-009-004-CC3, and 96-2219-E-007-008, by Realtek Semiconductor Corporation, by the Ministry of Economic Affairs (MOEA) under Grant 94-EC-17-A-04-S1-044, by the Industrial Technology Research Institute (ITRI), Taiwan, by Microsoft Corporation, and by Intel Corporation. The associate editor coordinating the review of this manuscript and approving it for publication was Dr. Subhas Mukhopadhyay.

M.-S. Pan, L.-W. Yeh, Y.-A. Chen, and Y.-H. Lin are with the Depart-ment of Computer Science, National Chiao-Tung University, Hsin-Chu 300, Taiwan (e-mail: mspan@cs.nctu.edu.tw; lwyeh@cs.nctu.edu.tw; chenya@cs.nctu.edu.tw; yuhlin@cs.nctu.edu.tw).

Y.-C. Tseng is with the Department of Computer Science, National Chiao-Tung University, Taiwan and also with the Department of Information and Com-puter Engineering, Chung-Yuan Christian University, Chung-Li 200, Taiwan (e-mail: yctseng@cs.nctu.edu.tw).

Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org.

Digital Object Identifier 10.1109/JSEN.2008.2004294

of the nodes is designated as the sink of the network and is con-nected to a control host. The control host can issue light control commands via powerline or UPnP communication protocols. In our system, there are two kinds of lighting devices, called

whole lighting and local lighting devices. A whole lighting

de-vice is one such as a fluorescent light, which can provide illu-minations for multiple grids. For example, in Fig. 1, the light in is a whole lighting device, which covers grids , , , , , , , , and . A local lighting device is one such as a table lamp, which can only provide concentrated illumination.

In our system, we assume that the location of each user is known and each user carries a wireless sensor, which can de-tect its local light intensity. Users are considered to have var-ious illumination requirements according to their activities and profiles. For example, in Fig. 1, user is watching television in and user is reading in . Both and require suf-ficient background illuminations in their surroundings, and needs concentrated illumination for reading. In this paper, we model an illumination requirement as the combination of back-ground and concentrated lighting according to the user’s current activity. An illumination requirement consists of an illumination

interval and a coverage range. A user is said to be satisfied if the

provided light intensity is in the specified interval for all grids in the coverage range. We further consider a binary

satisfac-tion and a continuous satisfacsatisfac-tion models. In the former, a user

who is satisfied returns a satisfaction value of one; otherwise, a zero is returned. In the latter model, a satisfaction value that is a function of the specified illumination interval and the sensed light intensity is returned. For the binary model, our goal is to satisfy all users such that the total power consumption is mini-mized. For the continuous model, our goal is to satisfy all users such that the total satisfaction value is maximized. However, in both models, it may not be possible to satisfy all users simulta-neously. In this case, we will gradually relax users’ illumination intervals until all users are satisfied. We design illumination de-cision algorithms for both models. Then, the outputs are sent to a closed-loop device control algorithm to adjust the illumi-nations of lighting devices. Our prototyping results and system demonstrations verify that our ideas are practical and feasible.

Several works [15], [16], [19], [21] have investigated using WSNs in light control for energy conservation. O’Reilly and Buckley [15] and Wen et al. [21] introduce light control using wireless sensors to save energy for commercial buildings. Lighting devices are adjusted according to daylight intensity. Park et al. [16] define several kinds of user requirements and their corresponding cost functions. The goal is to adjust lights to minimize the total cost. However, the result is mainly for 1530-437X/$25.00 © 2008 IEEE

(2)

Fig. 1. Network scenario of our system.

media production. Singhvi et al. [19] model the light control problem as a tradeoff between energy conservation and user requirements. Each user is assigned a utility function with re-spect to light intensity. The goal is to maximize the total utility. However, it does not consider the fact that people need different illuminations under different activities. Also, some users may suffer from very low utilities, while others enjoy high utilities. In [16] and [19], it is necessary to measure all combinations of dimmer settings of all devices and the resulting light intensities at all locations. If there are interested locations, dimmer levels, and lighting devices, the complexity is . Moreover, the above works only consider one type of lighting devices. In real life, lighting devices can be classified as whole lighting and local lighting ones.

The rest of this paper is organized as follows. Preliminaries are given in Section II. Sections III and IV introduce our illu-mination decision algorithms under binary and continuous sat-isfaction models, respectively. Section V presents our device control algorithm. Section VI reports our prototyping results. Section VII presents some performance evaluation results. Fi-nally, Section VIII concludes this paper.

II. PRELIMINARIES

In this system, there are grids, users, whole lighting devices, and local lighting devices. All lighting devices are adjustable. The grids represent the network area and are

la-beled as , and . In each grid , , there

is a fixed sensor , and each user , , also carries a portable wireless sensor . Users can specify their current activities to the control host via their portable devices. We also assume that via a localization scheme (such as [9]), users’ cur-rent grid locations are known to the control host.

The whole lighting devices are named ,

and the local lighting devices are named . The

fixed sensor that is closest to , , is denoted as . However, because users are mobile, we use a function , , to denote the association between users and local lighting devices. This function restricts a local lighting device to serve at most one user at one time. If there is no local lighting device near user , ; other-wise, is the ID of the nearest local lighting device.

Light intensities sensed by , , and , ,

are denoted by and , respectively. Because the value of may be contributed by multiple sources, we denote by , , the portion of light intensity contributed by to the fixed sensor closest to , i.e., . Note that because may be affected by other whole lighting devices and sunlight. Similarly, we denote by , , the portion of light intensity contributed by to portable sensor if user satisfies . If

there exists no such that , we let .

Note that in reality, the values of and cannot be directly known, unless there are no other light sources. We will address this issue in Section II-A.

In the system, sensors periodically report their readings to the sink. For simplicity, we define the following column vectors:

Note that, in practice, each has its limitation, so we let be the upper bound of and let

We make some assumptions about lighting devices. First, we assume that a local lighting device can always satisfy a user’s

(3)

Fig. 2. System architecture of our light control system.

Fig. 3. Experiment for characterizing the degradation of light signals.

need when the user is underneath this device. Second, we as-sume that there is no obstacle between whole lighting devices and fixed sensors. Third, the illumination provided by a local lighting device does not affect the measured light intensity of fixed sensors.

Fig. 2 shows our system architecture. Light adjustments are triggered by users’ movements or environment changes. First, the illuminations of whole lighting devices are determined, fol-lowed by those of the local lighting devices. Feedbacks from sensors are then sent to the sink to decide further adjustment of lighting devices so as to satisfy users’ demands.

A. Computing and

Earlier, we mentioned that the values of and cannot be known directly. Below, we first use an experimental method to derive . Assuming no other light source existing, Fig. 3(a) shows the measured intensities of a whole lighting device by and other fixed sensors at different distances from , under different on-levels of . We see that the measured inten-sity degrades following a similar trend. In fact, if we further nor-malize the value to the intensity measured by , we see that the degrading trends are almost the same, as shown in Fig. 3(b). Therefore, assuming the impact factor of on to be , the impact factor of on any other can be written as a weighted factor , where . Putting all impact factors together, we define a weight matrix

..

. ... ...

Because light intensities are additive [19], the light intensity measured by is the sum of intensities from sunlight and neighboring devices. The intensities of the sunlight to all fixed sensors are written as a column vector , so we have

(1) In (1), there are unknowns in and equations, where

. Any typical -means algorithm [14] can solve (1) by inducing the least mean square error. Here, we simply construct a new

matrix by keeping all th rows, , in

and removing the other rows, so (1) can be rewritten as

(2) The weight matrix can be measured at the deployment stage, vector can be measured online when all lights are off, and vector can be obtained online, so the calibration complexity is . This is lower than those of [16] and [19].

The calculation of is quite straightforward. Due to the property of our approach, before a user arrives at a , no mea-surement can be obtained for . At this time, . When a portable sensor, say, is getting close to and bounded with , the local lighting device may be triggered. Here, we simply use the reading of the fixed sensor, say, located at the same grid as as the background light intensity. We let the light intensity provided by to be

(4)

III. SOLUTION FOR THEBINARYSATISFACTIONMODEL Each user profile consists of a number of activity-requirement pairs. Given an activity, the system should try to satisfy the cor-responding requirement. Each requirement of a user has three parts.

1) Expected illumination interval of whole lighting: (in lux), where and

are the lower and the upper bounds, respectively.

2) Expected illumination interval of local lighting:

, where and are the

lower and the upper bounds, respectively. 3) Coverage range of whole lighting:

, where for each

, if grid is expected to receive

a light intensity within for user ;

otherwise, . This array defines the range of grids, which should meet the whole lighting requirement. For example, a possible requirement of a reading user in Fig. 1

can be ,

, and

Let and be the current intensity vectors provided by whole and local lighting devices, respectively. To facilitate the

presentation, let be a row vector,

and a matrix such that

..

. ...

We formulate our problem P as a linear programming problem with inputs , , , , and , and user requirements. Our goal is to find the adjustment vectors

for whole and local lighting devices, respectively, where ,

, and , , are the amounts of

ad-justment required for and , respectively, such that the fol-lowing two objectives are satisfied:

(3) (4) subject to (5) (6) if (7)

Equations (3) and (4) mean that the total power consumptions of both whole and local lighting devices after the adjustment

should be minimized. Equation (5) imposes the whole lighting requirement, where is the light intensity vector after adjustment and matrix is to filter out those grids not in the coverage range of whole lighting. Equation (6) is to confine the adjustment result within the maximum and the minimum capac-ities of devices, where is a zero vector. Equation (7) is to im-pose the requirement of each local lighting if a user is bounded to it. Here, we assume that local lighting can always provide extra illuminations to satisfy users’ requirements, so we do not specify upper bounds as that in (6).

Because we assume that the illuminations of local lighting de-vices do not affect the measured light intensity of fixed sensors, the decision of whole lighting levels can be made independently of the decision of local lighting levels. (However, the reverse is not true because the decision of whole lighting levels does af-fect the decision of local lighting levels.) This allows us to solve problem P in two stages as formulated below.

P1: Given , , and , and user requirements, solve for (3), (5), and (6).

P2: Given and , and user requirements, solve for (4) and (7).

Theorem 1: Problem P is equivalent to the joint problems P1

and P2.

Problem P1 is a linear programming problem, which can be solved by the Simplex method [11], unless the problem itself is infeasible, which may happen when two users have conflicting requirements on the same grid. When no feasible solution can be found, our system will try to eliminate some constraints to make P1 feasible. Sankaran [18] already showed that finding a feasible subsystem of a linear system by eliminating the fewest constraints is NP-hard. Hence, we propose a heuristic below.

The idea is to gradually relax some requirements until a fea-sible solution appears. We first define some notations. Given the current values of , , and , it is easy to compute the minimum and maximum possible illuminations of grids by

and .

Also, consider intervals on (the set of reals), which define users’ requirements on whole lighting. We say that an interval

has an overlapping degree of if for each point , falls in at least of the above intervals. An interval is said to be a max-interval if there exists no other interval , which has a higher overlapping degree than and is a superset of . It is not difficult to see that given any intervals, there must exist a max-interval. Also, it is easy to design a polynomial-time linear search algorithm to find a max-interval (we omit the details here). Our algorithm works as follows.

1) For each grid , , find the set of users whose coverage ranges contain , i.e.,

. For each user , check if . If so, the requirement cannot be satisfied, so we set

and update .

2) Again, for each grid , , consider the set . Check if there is a common overlapping interval for the requirements of all users in . If not, find a max-interval, say, for the requirements of all users in . For each

(5)

Fig. 4. Example of illumination decision.

we will give up the requirement of , so we set and update .

3) Try to solve problem P1. If there exists no feasible solution , relax the whole lighting requirement of each user ,

, to , where is a

predefined constant. Then, repeat this step again.

4) After deciding , solve problem P2 as follows. For each , , check if there is a user such that

. If so, set ;

other-wise, we can inform the system to turn off.

Example 1: Fig. 4 shows a scenario with three grids, two

users, two whole lighting devices, and two local lighting devices. User ’s requirements are

, , and

. User ’s requirements are

, , and

. Problem P1 has the objective

subject to

Because P1 is feasible, the results are and .

After adjusting whole lighting devices, and

, so problem P2 has the objective

Fig. 5. Example of user’s satisfaction level, where ( (u );  (u )) = (400; 100).

subject to

The adjustments of local lighting devices are as

and .

IV. SOLUTION FOR THECONTINUOUSSATISFACTIONMODEL In this model, a user’s requirement on illumination is not a fixed interval. Instead, it is a continuous value where each value is mapped to a satisfaction level. User ’s requirement has four parts.

1) Satisfaction level of whole lighting, which is represented by a modified Gaussian distribution by normalizing the peak value to 1 with mean and variance . Specifically, the satisfaction level of intensity is

. 2) Satisfaction threshold of whole lighting: , . That

is, after the adjustment, the satisfaction level must be no less than . From , we can derive the desired illumination interval of whole lighting

3) Satisfaction level of local lighting, which is represented by a modified Gaussian distribution by normalizing the peak

value to 1 with mean and variance .

Specifically, the satisfaction level of intensity is .

4) Coverage range of whole lighting: .

For example, Fig. 5 shows a satisfaction level. Given , .

Our goal is to find the adjustment vectors and such that the total satisfaction level of all users is maximized. Here, the satisfaction level of a user is sum of the satisfaction level

of at each grid , , such that . Recall

that is the intensities perceived by all fixed sensors. We define as the vector of satisfaction levels of at all grids, i.e.,

(6)

Therefore, given , , , and , and user requirements, we can formulate a nonlinear programming problem with objectives (8) if (9) subject to (10) (11) Equation (8) is to maximize the sum of satisfaction levels of all users. Equation (9) is so written because we assume that local lighting devices can always maximize users’ local lighting sat-isfaction levels. Equations (10) and (11) are the same as the ones in Section III.

Again, the above nonlinear programming problem can be solved in two stages.

P3: Given , , and , and user requirements, solve for (8), (10), and (11).

P4: Given and , and user requirements, solve for (9). P3 can be solved by a sequential quadratic programming (SQP) method [10]. The basic idea is as follows. It first refor-mulates the problem into a quadratic programming subproblem using an approximate solution . Then, it uses to construct a better approximation . The process will eventually con-verge to an optimal solution , unless P3 is infeasible. If so, we will gradually decrease the threshold until a solution can be found. Given the and as defined in Section III, the detail algorithm works as follows.

1) For each grid , , find the set of users whose coverage ranges contain , i.e.,

. For each user , check if . If so, the requirement cannot be satisfied, so we set and update .

2) Again, for each grid , , consider the set . Check if there is a common overlapping interval for the re-quirements of all users in . If not, find a max-interval, say, for the desired illumination intervals of all users in . For each user , check if

. If so, we will give up the requirement of , so we

set and update .

3) Try to solve problem P3 by SQP. If there exists no feasible solution , relax the to , where is a predefined constant. Then, repeat this step again.

4) After deciding , solve problem P4 as follows. For each local , , check if there is a user such that . If so, find a value of such that ; otherwise, we can inform the system to turn off.

Example 2: Let us use Fig. 4 again by assuming ,

, , ,

, and . Given

Fig. 6. Closed-loop device control procedure.

, we can have

and . Problem P3 has the

objective

subject to

After applying SQP, the result is and .

After adjusting whole lighting device, . To let

, the adjustment of is as

(7)

Fig. 7. (a) System architecture and (b) components of our intelligent light control system.

V. DEVICECONTROLALGORITHM

Given the light intensities contributed by devices to sensors, i.e., and , the algorithms in Sections III and IV will deter-mine the target adjustment amounts, i.e., and . However, because what reported by sensors are accumulated values, we have to convert these values to the actual adjustment amounts. If the actual amounts do not match the target amounts, we will adopt a binary search technique to gradually approach these amounts. Below, let and be the current contributed intensities of whole and local lighting devices, respectively, and

and be the target ones. Our

al-gorithm contains multiple iterations. In the th iteration, , based on and , we will adjust devices leading to new in-tensities and . This will be repeated until the target values are reached or no further improvement is possible. Such a closed-loop control is illustrated in Fig. 6. The binary search pro-cedure can be explained by the following example. Suppose that device ’s current on-level is 40% with contribution

300 lux to sensor and 200 lux. The control host will first adjust the on-level of to 20%. After first iteration, the control host will collect sensors’ reports to

compute and thus . With , the next guess

will be an on-level of 10% or 30%. The similar trial will be done for all whole and local lighting devices.

In practice, the on-levels of dimmers are discrete and have finite levels. The termination conditions of the above binary search can be controlled by a threshold, say, when . To accelerate the decision, the control host can even record the relationship between the contributed light intensities and on-levels of devices (we omit the details here).

VI. PROTOTYPINGRESULTS

This section presents our implementation of the intelligent light control system. Fig. 7 shows the system architecture and the related protocol components. The system can be divided into three parts: wireless sensor network, actuators, and control host. In the following, we describe each part in details.

A. Wireless Sensor Network

Our sensor nodes are developed using Jennic JN5121 [4] as the radio module and Si photodiode IC [6] as the photo sensor

Fig. 8. Implemented sensor board.

Fig. 9. Demonstration scenario of our intelligent light control system.

Fig. 10. Scenario to verify the measuredL .

(Fig. 8). Users can indicate their current activities to the system by clicking the buttons on the sensor board. Fixed sensors are used to form the backbone of the network. A portable sensor will associate with the nearest fixed sensor. Fixed and portable sensors periodically report aggregated light intensity values to

(8)

Fig. 11. Experiments on computed and measuredL when the environment is (a) without and (b) with sunlight effect.

the sink. The sink forwards sensing data to the control host via an RS232 interface. Note that when a sensor finds that its surrounding light intensity changes rapidly, it will also report. This happens when the control host is adjusting lighting devices. Moreover, we implement a reduced version of the localization scheme in [9] to trace users’ locations. Once a portable sensor decides its owner’s location, it issues a location update to the control host.

B. Actuators

In our current implementation, whole and local lighting devices are controlled by different ways. We implement the UPnP Lighting Controls V1.0 standard [8] to control whole lighting devices. The control host issues UPnP device control commands to the UPnP control server through the Internet. Then, the UPnP control server controls some dimmer EDX-F04 dimmers [1], which are connected to whole lighting devices. On the other hand, we use the INSTEON LampLinc dimmer and PowerLinc controller manufactured by SmartHome [7] to control local lighting devices. Each local lighting device is plugged in a LampLinc dimmer. The PowerLinc controller is connected to the control host. When receiving control com-mands from the control host, the PowerLinc controller can control dimmers through the powerline network.

C. Control Host

The control host is implemented by Java. It consists of five components.

1) Sensor data handler: Its main task is to classify the report data from the sink into two types: user status update and

light intensity report. Then, it relays these data to the

cor-responding components.

2) User status handler: This component tracks the latest locations and activities of users. When detecting any change of users’ locations or activities, it triggers the decision handler component to compute new illumination requirements.

3) Decision handler: This component implements the algo-rithms in Sections III–V. It is triggered by the user status handler component or by any change in the environment.

Fig. 12. Activity-requirement pools: (a) AR1 and (b) AR2.

We use Matlab to implement our algorithms in Sections III and IV. The Matlab program is translated to a Java program by the Matlab builder for Java [5]. After making device control decisions, it sends on-level settings to the dimmer handler.

4) Dimmer handler: This component serves as the interface between the control host and the actuators and issues com-mands to the UPnP control server and the INSTEON Pow-erLinc controller.

5) Administrative user interface: We implement a graphical user interface (GUI), which contains three panels: 1) the

monitor panel shows the locations of users, fixed sensors,

and lighting devices; 2) the configuration panel is for the system manager to plan the network and set system param-eters; and 3) The information panel shows the reported sen-sory readings, the connection statuses of sensor nodes, and so on.

Fig. 9 shows the demo scenario of our system. We build the light control system in a room of size 5 m 5 m, which is divided into grids.1

VII. PERFORMANCEEVALUATIONS

We use some experiments and simulations to verify our results.

1More details and demo videos can be found in http://wsn-research.blogspot.

(9)

Fig. 13. Comparison of the proposed BSM and the FIX schemes when (a) the network scenario is S1 and the user activity is AR1; (b) the network scenario is S1 and the user activity is AR2; (c) the network scenario is S2 and the user activity is AR1; and (d) the network scenario is S2 and the user activity is AR2.

A. Verification of the Estimation of

In Section II-A, we show how to evaluate . Here, we use the network scenario in Fig. 10 with 12 grids and three whole lighting devices to verify the result. Here, we simply use lamps

as whole lighting devices. With different on-levels for lamps, we compute and compare it against the actual measured value. Fig. 11 shows the comparison without and with sunlight effect. We can see that the computed and the measured values are quite close.

(10)

Fig. 14. Activity-requirement pools: (a) AR3 and (b) AR4.

B. Verification of the Binary Satisfaction Model (BSM)

We set up two scenarios, S1 and S2. Scenario S1 has grids with nine whole lighting devices as in Fig. 1. Scenario S2 has grids with 25 whole lighting devices. In both scenarios, each whole lighting device can cover its nearby nine grids. The weighted factors of each whole lighting device on nearby fixed sensors are set as follows. 1) The weighted factor of on the fixed sensor at is 1. 2) For fixed sensors in left, right, up, and down grids of , the weights are set to 0.5. 3) For fixed sensors in upper left, lower left, upper right, and lower right grids of , the weights are 0.25. 4) For all other fixed sensors, the weights are 0. Local lighting devices are not simulated because they have no impact on performance. All lighting devices are initially set to be turned off.

We define two activity-requirement pools, called AR1 and AR2, as shown in Fig. 12. Each in Fig. 12 represents an expected illumination interval of whole lighting. In our simu-lations, users randomly select their activities from a pool. The coverage range of a user’s requirement is the five nearest grids. We compare our algorithm against a fixed adjustment scheme (denoted by FIX), where lighting devices are set to fixed levels. If a user’s requirement coverage range overlaps a lighting de-vice’s coverage range, this device is turned to that level. Below, we use FIX- to indicate that each device can provide at most

lux.

We consider two performance indices. First, considering that our algorithm may enlarge users’ illumination requirements when conflicts occur, we define a metric GAP to represent the difference between the provided light intensity and the original requirement of a user. For user with coverage range , if grid satisfies , we compute a gap value as shown in the equation at the bottom of the page, where is the final sensory value of . Then, we define GAP of as the average

of for all such that . The second

index is , which represents the energy consumption of one control decision.

Fig. 13(a)–(d) shows our simulation results under different combinations of S1/S2 and AR1/AR2. In the left figure of Fig. 13(a), we see that the average GAP of users is almost zero for BSM. This is because the illumination intervals in AR1 have common overlapping, which allows our algorithm to satisfy all users in most cases. The right figure of Fig. 13(a) com-pares the energy consumption of different schemes. FIX-500 has a slightly lower value than ours because some users’ requirements are violated. Fig. 13(b) adopts AR2. Because some requirements are violated, we see that our scheme also induces some gaps (note that has no overlapping with others). In terms of energy cost, BSM outperforms the other schemes. Fig. 13(c) and (d) adopts S2 and the trends are similar. This demonstrates that our scheme is quite scalable to network size.

C. Verification of the Continuous Satisfaction Model (CSM)

We also define two activity-requirement pools, called AR3 and AR4, as shown in Fig. 14. The satisfaction threshold of whole lighting is set to 0.3. Similarly, users’ required coverage range of whole lighting is the five nearest grids. We compare two performance indices: users’ average satisfaction level and energy consumption.

Fig. 15(a)–(d) shows our simulation results under different combinations of S1/S2 and AR3/AR4. These results consis-tently indicate that our scheme provides the highest satisfaction levels and outperforms FIX-750 and FIX-1000 in energy cost. Note that FIX-500 may save some energy at the cost of users’ satisfaction. Also note that AR4 has higher deviation in require-ments than AR3.

if o.w.

(11)

Fig. 15. Comparison of the proposed CSM and the FIX schemes when (a) the network scenario is S1 and the user activity is AR3; (b) the network scenario is S1 and the user activity is AR4; (c) the network scenario is S2 and the user activity is AR3; and (a) the network scenario is S2 and the user activity is AR4.

VIII. CONCLUSION

In this paper, we have presented a WSN-based intelligent light control system considering user activities and profiles. In

this system, there are two types of lighting devices. We use wireless sensors to collect light intensities in the environment. Considering users’ activities, we model the illumination re-quirements of users. Illumination decision algorithms and a

(12)

device control algorithm are presented to meet user require-ments and to conserve energy. The proposed schemes are verified by real implementation in an indoor environment. Future directions could be directed to relieving the computa-tion cost of the nonlinear programming and enhance the user interfaces at the portable sensor nodes.

REFERENCES

[1] Lite-Puter, “EDX-F04,” 2006 [Online]. Available: http://www.lite-puter.com.cn/china/liteputer-tw/product.asp

[2] N. Sitar, G. Brimhall, S. Glaser, J. Radke, R. Sengupta, D. M. Doolin, B. Collins, K. Lee, A. Do, W. Luo, and J. Xu, “Design and construction of a wildfire instrumentation system using networked sensors,” 2003 [Online]. Available: http://firebug.sourceforge.net/

[3] Greatduckisland.net, “Habitat monitoring on Great Duck Island,” 2001 [Online]. Available: http://www.greatduckisland.net/tech-nology.php

[4] Jennic JN5121 Wireless Microcontroller, “Jennic JN5121,” 2007 [On-line]. Available: http://www.jennic.com/

[5] The MathWorks, “Matlab Builder for Java,” Natick, MA, 2007 [On-line]. Available: http://www.mathworks.com/products/javabuilder/ [6] Hamamatsu, “Si Photodiode s1133,” 2001 [Online]. Available:

http://jp.hamamatsu.com/en/index.html

[7] SmartHome Inc., Irvine, CA [Online]. Available: http://www. smarthome.com

[8] UPnP Forum, 1999 [Online]. Available: http://www.upnp.org [9] P. Bahl and V. N. Padmanabhan, “RADAR: An in-building RF-based

user location and tracking system,” in Proc. IEEE Comput. Commun.

Conf., Mar. 2000, vol. 2, pp. 775–784.

[10] P. T. Boggs and J. W. Tolle, “Sequential quadratic programming,” Acta

Numerica, vol. 45, no. 1, pp. 1–51, 1995.

[11] T. H. Cormen, C. E. Leiserson, and R. L. Rivest, Introduction to

Algo-rithms. Cambridge, MA: MIT Press, 2001.

[12] C.-F. Huang, Y.-C. Tseng, and L.-C. Lo, “The coverage problem in three-dimensional wireless sensor networks,” J. Interconn. Netw., vol. 8, no. 3, pp. 209–227, 2007.

[13] Q. Li, M. DeRosa, and D. Rus, “Distributed algorithm for guiding nav-igation across a sensor network,” in Proc. ACM Int. Symp. Mobile Ad

Hoc Netw. Comput., 2003, pp. 313–325.

[14] J. B. MacQueen, “Some methods for classification and analysis of mul-tivariate observations,” in Proc. Berkeley Symp. Math. Statist. Probab., 1967, pp. 281–298.

[15] F. O’Reilly and J. Buckley, “Use of wireless sensor networks for fluo-rescent lighting control with daylight substitution,” in Proc. Workshop

Real-World Wireless Sensor Netw., 2005, pp. 105–106.

[16] H. Park, M. B. Srivastava, and J. Burke, “Design and implementation of a wireless sensor network for intelligent light control,” in Proc. ACM/

IEEE Int. Conf. Inf. Process. Sensor Netw., 2007, pp. 370–379.

[17] N. Patwari, I. A. O. Hero, M. Perkins, N. S. Correal, and R. J. O’Dea, “Relative location estimation in wireless sensor networks,” IEEE

Trans. Signal Process., vol. 51, pp. 2137–2148, 2003.

[18] J. Sankaran, “A note on resolving infeasibility in linear programs by constraint relaxation,” Operat. Res. Lett., vol. 13, no. 1, pp. 19–20, 1993.

[19] V. Singhvi, A. Krause, C. Guestrin, J. H. Garrett, and H. S. Matthews, “Intelligent light control using sensor networks,” in Proc. ACM Int.

Conf. Embedded Netw. Sensor Syst., 2005, pp. 218–229.

[20] Y.-C. Tseng, M.-S. Pan, and Y.-Y. Tsai, “Wireless sensor networks for emergency navigation,” IEEE Computer, vol. 39, no. 7, pp. 55–62, Jul. 2006.

[21] Y.-J. Wen, J. Granderson, and A. M. Agogino, “Towards embedded wireless-networked intelligent daylighting systems for commercial buildings,” in Proc. IEEE Int. Conf. Sensor Netw. Ubiquitous

Trust-worthy Comput., 2006, pp. 326–331.

[22] W. Ye, J. Heidemann, and D. Estrin, “An energy-efficient MAC pro-tocol for wireless sensor networks,” in Proc. IEEE INFOCOM, 2002, pp. 1567–1576.

Meng-Shiuan Pan received the B.S. degree in electrical engineering from the National Chung Cheng University, Chia-Yi, Taiwan, in 2001, the M.S. degree in communication engineering from National Tsing Hua University, Hsin-Chu, Taiwan, in 2003, and the Ph.D. degree in computer science from National Chiao-Tung University, Hsin-Chu, Taiwan, in 2008.

His research interests include mobile computing and wireless communication.

Lun-Wu Yeh received the B.S. and M.S. degrees in computer and information science from National Chiao-Tung University, Hsin-Chu, Taiwan, in 2003 and 2005, respectively, where he is currently working towards the Ph.D. degree at the Department of Computer Science.

His research interests include smart living space and wireless sensor network.

Yen-Ann Chen received the B.S. degree from the Department of Computer Science Information En-gineering, National Dong Hwa University, Hualien, Taiwan, in 2005 and the M.S. degree from National Chiao-Tung University, Hsin-Chu, Taiwan, in 2007.

His research interests include wireless communi-cation and sensor networks.

Yu-Hsuan Lin received the B.S. degree in computer and information science from National Chiao-Tung University, Hsin-Chu, Taiwan, in 2007, where he is currently working towards the M.S. degree at the De-partment of Computer Science.

His research interests include wireless communi-cation and sensor networks.

Yu-Chee Tseng (S’91–M’95–SM’03) received the B.S. degree in computer science from National Taiwan University, Taipei. Taiwan, in 1985 and the M.S. degree in computer science from National Tsing-Hua University, Hsin-Chu, Taiwan, in 1987, and the Ph.D. degree in computer and information science from Ohio State University in January 1994. He was an Associate Professor at the Chung-Hua University (1994–1996) and at the National Central University (1996–1999), and a Professor at the Na-tional Central University (1999–2000). Currently, he is Chairman of the Department of Computer Science, and Associate Dean of the College of Computer Science, National Chiao-Tung University, Taiwan. His re-search interests include mobile computing, wireless communication, network security, and parallel and distributed computing.

Dr. Tseng is a member of the Association for Computing Machinery (ACM). He received the Outstanding Research Award from National Science Council, R.O.C., in 2001–2002 and 2003–2005, the Best Paper Award from the Interna-tional Conference on Parallel Processing, in 2003, the Elite I. T. Award, in 2004, and the Distinguished Alumnus Award from Ohio State University, in 2005.

數據

Fig. 1. Network scenario of our system.
Fig. 2. System architecture of our light control system.
Fig. 5. Example of user’s satisfaction level, where ( (u );  (u )) = (400; 100).
Fig. 6. Closed-loop device control procedure.
+6

參考文獻

相關文件

One model for the growth of a population is based on the assumption that the population grows at a rate proportional to the size of the population.. That is a reasonable

[This function is named after the electrical engineer Oliver Heaviside (1850–1925) and can be used to describe an electric current that is switched on at time t = 0.] Its graph

When the relative phases of the state of a quantum system are known, the system can be represented as a coherent superposition (as in (1.2)), called a pure state; when the sys-

The Copenhagen interpretation of measure- ment is based on the state collapse of a quan- tum system due to interaction with a macro- scopic, classical, measurement device..

When we know that a relation R is a partial order on a set A, we can eliminate the loops at the vertices of its digraph .Since R is also transitive , having the edges (1, 2) and (2,

Bootstrapping is a general approach to statistical in- ference based on building a sampling distribution for a statistic by resampling from the data at hand.. • The

Based on [BL], by checking the strong pseudoconvexity and the transmission conditions in a neighborhood of a fixed point at the interface, we can derive a Car- leman estimate for

• Introduction of language arts elements into the junior forms in preparation for LA electives.. Curriculum design for