I. I NTRODUCTION
Our world is now suffering energy crisis on oil and natural
resources shortages. Whats worse is that most of the scientic
industries all over the world rely heavily on these resources,
especially the power energy. The high demands on power
energy do have a great impact on the economy of the world.
From the catastrophe of Japanese Tsunami in March 2011, we
are aware of the risks of nuclear power. Therefore, we realize
that the termination of nuclear power delivery is just a matter
of time. However, nuclear power cannot be replaced by Green
2527
(a)
(b)
Fig. 2. (a) The Cortex-M3-based RDK-S2e module. (b) The CC2530 Zigbee
transceiver.
2528
Fig. 1.
TRANSFORMER
T1
D1
AC12V
8
4 -
+ 2
R1
A
D2
10uF/35V
R2
+5V
+
C2
10uF/35V
LM7805/TO
U2
2
VCC
C Intr
Control Pin
2
U6
Client
AC 110V
Web-based Control
and Surveillance
AC2
1
2
AC Plug
Fig. 4.
AC1
Power Socket
U5
CC2530
Fig. 3.
ZigBeewireless
transmission
U4
R3
RDK-S2e
V-
V+
CC2530
VOUT
VIN
Internet
UART
U1
Home Gateway
C1
GND
AC110V IN
2529
Internet
P0.5/MOSI
LOAD
VCC
P0.4/MISO
P0.3/CLOCK
R3
P0.2/CS
SHUNT
R2
TCP/IP
R6
C1
R4
2
CC2530
D1
IR Diode
Home Gateway
UART
RDK-S2e
Control
CC2530
Sub carrier
R5
C
E
Q1
R1
IR Transmission Module
Fig. 5.
IR transmission circuits.
ADE7753
Current
Zigbeewireless
transmission
ADC
Energy
Measurment
Voltage
SPI
MCU
CC2530
ADC
AC 110/220V
Programmable Gain Amplifier
Fig. 6.
Fig. 8.
Fig. 9. The main page of PHPMyAdmin showing the layout of the database
server.
2530
Command
format for
wired devices
First Byte Second Byte Third Byte Fourth Byte Fifth Byte
Leader
0X39
Fig. 12.
(a)
(b)
Command
for Infrared
Devices
Fig. 10. (a) Status of appliances shown on the web server. (b) Webpage
showing the command mode.
socket_create()
Module ID
Socket ID
Function
Code
Trailer
0X39
First Byte
Second Byte
Third Byte
Fourth Byte
Fifth Byte
Sixth Byte
Leader
0X39
Module ID
0x00
Device
Code
Function
Code
Extension
Function Code
Trailer
0X39
Fig. 13.
socket_connect()
VI. C ONCLUSION
socket_write()
socket_read()
No
No
Transmission
termination?
Yes
socket_close()
Fig. 11. Connection process to the home gateway by using the PHP Socket
on the web server.
B. Communication Protocols
In this subsection, we introduce three kinds of command
format used in the proposed architecture, i.e., the command
format for wired devices (Fig. 12), the command format for
devices controlled by IR remoter (Fig. 13), and that of the
acknowledgement from devices (Fig. 14).
The third byte in Fig. 12 is due to that we have three power
sockets in each IPS module. Therefore, we have to indicate
which number of the power socket is to be controlled. Indeed,
we have already registered the name of the device connected to
each power socket on the database before the control process.
In addition, the Module ID 0X00 in the second byte of Fig.
13 is reserved for devices that have to be controlled by IR
remoter. The third byte, i.e., Device Code, in Fig. 13 is to
select the device to be controlled, e.g., TV or air conditioner.
Command
format
for Ack
First Byte
Second Byte
Third Byte
Fourth Byte
Fifth Byte
Leader
0x39
Module ID
Socket ID
Status Code
Trailer
0x39
Fig. 14.
V. E XPERIMENTS
In this section, we show in Fig. 15.(a) the front view and
Fig. 15.(b) the side view of the designed IPS module. As can
be seen in Fig. 15, every IPS module has three power sockets,
and individual power socket is controlled by different SSR.
We also examine the proposed architecture by controlling the
(a)
(b)
Fig. 15. (a) Front view of the IPS with Zigbee transceiver. (b) Side view of
the IPS with Zigbee transceiver.
2531
R EFERENCES
Fig. 16. (a) The test platform, an IPS with a 60W tungsten lamp. (b)(d) When the lamp is in off state, half power state, and full power state,
respectively.
[1] C.-H. Lien, Y.-W. Bai, and M.-B. Lin, Remote-Controllable Power
Outlet System for Home Power Management, IEEE Trans. Consumer
Electronics, Vol. 53, No. 4, Nov. 2007
[2] D.-M. Han, and J.-H. Lim, Smart Home Energy Management System
using IEEE 802.15.4 and ZigBee, IEEE Trans. Consumer Electronics,
Vol. 56, No. 3, pp. 1403-1410, Aug. 2010.
[3] D.-M. Han, and J.-H. Lim, Design and Implementation of Smart Home
Energy Management Systems based on ZigBee, IEEE Trans. Consumer
Electronics, Vol. 56, No. 3, pp. 1417-1425, Aug. 2010.
[4] X. Jiang; P. Dutta, D. Culler, and I. Stoica, Micro Power Meter for
Energy Monitoring of Wireless Sensor Networks at Scale, in Proc. 6th
International Symposium on Information Processing in Sensor Networks
(IPSN 2007), pp. 186-195, Apr. 25-27, 2007.
[5] S.-W. Luan, J.-H. Teng, S.-Y. Chan, and L.-C. Hwang, Development of
a smart power meter for AMI based on ZigBee communication, in Proc.
International Conference on Power Electronics and Drive Systems (PEDS
2009), pp. 661-665, Nov. 2-5, 2009.
[6] M. Venables, Smart meters make smart consumers, Engineering &
Technology, Vol. 2, No. 4, pp. 23, April 2007.
[7] L. Zheng, ZigBee Wireless Sensor Network in Industrial Applications,
in Proc. 2006 International Joint Conference on SICE-ICASE, pp. 10671070, Oct. 18-21, 2006.
[8] S. Lin, J. Liu, and Y. Fang, ZigBee Based Wireless Sensor Networks
and Its Applications in Industrial, in Proc. 2007 IEEE International
Conference on Automation and Logistics, pp. 1979-1983, Aug. 18-21,
2007.
[9] R. Fensli, E. Gunnarson, and T. Gundersen, A wearable ECG-recording
system for continuous arrhythmia monitoring in a wireless tele-homecare situation, in Proc. 2005 18th IEEE Symposium on Computer-Based
Medical Systems, pp. 407-412, June 23-24, 2005.
[10] M.-C. Huang, J.-C. Huang, J.-C. You, and G.-J. Jong, The Wireless
Sensor Network for Home-Care System Using ZigBee, in Proc. Third
International Conference on Intelligent Information Hiding and Multimedia Signal Processing (IIHMSP 2007), Vol. 1, pp.643-646, Nov. 26-28,
2007.
[11] P. Leijdekkers, V. Gay, and E. Lawrence, Smart Homecare System for
Health Tele-monitoring, 2007. in Proc. First International Conference on
Digital Society (ICDS 2007), pp. 3, Jan. 2-6, 2007.
[12] J. Yao, R. Schmitz, and S. Warren, A wearable point-of-care system for
home use that incorporates plug-and-play and wireless standards, IEEE
Trans. Information Technology in Biomedicine, Vol. 9, No. 3, pp. 363-371,
Sept. 2005.
[13] N. F. Timmons, and W. G. Scanlon, Analysis of the performance of
IEEE 802.15.4 for medical sensor body area networking, in Proc. First
Annual IEEE Communications Society Conference on Sensor and Ad Hoc
Communications and Networks (IEEE SECON 2004), pp. 16-24, Oct. 4-7,
2004.
ACKNOWLEDGMENT
The authors would like to thank the National Science
Council of Taiwan for nancial support of the research (under
Grant No. NSC 100-2221-E-027 -078).
2532