Lecture Notes in Electrical Engineering Volume 100
Ming Ma (Ed.)
Communication Systems and Information Technology Selected Papers from the 2011 International Conference on Electric and Electronics (EEIC 2011) in Nanchang, China on June 20-22, 2011, Volume 4
ABC
Ming Ma NUS ACM Chapter 81 Victoria Street, Singapore 188065, Singapore E-mail:
[email protected]
ISBN 978-3-642-21761-6
e-ISBN 978-3-642-21762-3
DOI 10.1007/978-3-642-21762-3 Lecture Notes in Electrical Engineering
ISSN 1876-1100
Library of Congress Control Number: 2011929654 c 2011 Springer-Verlag Berlin Heidelberg This work is subject to copyright. All rights are reserved, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilm or in any other way, and storage in data banks. Duplication of this publication or parts thereof is permitted only under the provisions of the German Copyright Law of September 9, 1965, in its current version, and permission for use must always be obtained from Springer. Violations are liable to prosecution under the German Copyright Law. The use of general descriptive names, registered names, trademarks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. Typeset & Cover Design: Scientific Publishing Services Pvt. Ltd., Chennai, India. Printed on acid-free paper 987654321 springer.com
EEIC 2011 Preface
The present book includes extended and revised versions of a set of selected papers from the International Conference on Electric and Electronics (EEIC 2011), held on June 20–22, 2011, which is jointly organized by Nanchang University, Springer, and IEEE IAS Nanchang Chapter. The goal of EEIC 2011 is to bring together the researchers from academia and industry as well as practitioners to share ideas, problems and solutions relating to the multifaceted aspects of Electric and Electronics. Being crucial for the development of Electric and Electronics, our conference encompasses a large number of research topics and applications: from Circuits and Systems to Computers and Information Technology; from Communication Systems to Signal Processing and other related topics are included in the scope of this conference. In order to ensure high-quality of our international conference, we have high-quality reviewing course, our reviewing experts are from home and abroad and low-quality papers have been refused. All accepted papers will be published by Lecture Notes in Electrical Engineering (Springer). EEIC 2011 is sponsored by Nanchang University, China. Nanchang University is a comprehensive university which characterized by "Penetration of Arts, Science, Engineering and Medicine subjects, Combination of studying, research and production". It is one of the national "211" Project key universities that jointly constructed by the People's Government of Jiangxi Province and the Ministry of Education. It is also an important base of talents cultivation, scientific researching and transferring of the researching accomplishment into practical use for both Jiangxi Province and the country. Welcome to Nanchang, China. Nanchang is a beautiful city with the Gan River, the mother river of local people, traversing through the whole city. Water is her soul or in other words water carries all her beauty. Lakes and rivers in or around Nanchang bring a special kind of charm to the city. Nanchang is honored as 'a green pearl in the southern part of China' thanks to its clear water, fresh air and great inner city virescence. Long and splendid history endows Nanchang with many cultural relics, among which the Tengwang Pavilion is the most famous. It is no exaggeration to say that Tengwang Pavilion is the pride of all the locals in Nanchang. Many men of letters left their handwritings here which tremendously enhance its classical charm. Noting can be done without the help of the program chairs, organization staff, and the members of the program committees. Thank you. EEIC 2011 will be the most comprehensive Conference focused on the various aspects of advances in Electric and Electronics. Our Conference provides a chance for academic and industry professionals to discuss recent progress in the area of Electric and Electronics. We are confident that the conference program will give you detailed insight into the new trends, and we are looking forward to meeting you at this worldclass event in Nanchang.
EEIC 2011 Organization
Honor Chairs Prof. Chin-Chen Chang Prof. Jun Wang
Feng Chia University, Taiwan Chinese University of Hong Kong, HongKong
Scholarship Committee Chairs Chin-Chen Chang Jun Wang
Feng Chia University, Taiwan Chinese University of Hong Kong, HongKong
Scholarship Committee Co- chairs Zhi Hu Min Zhu
IEEE IAS Nanchang Chapter, China IEEE IAS Nanchang Chapter, China
Organizing Co-chairs Jian Lee Wensong Hu
Hubei Normal University, China Nanchang University, China
Program Committee Chairs Honghua Tan
Wuhan Institute of Technology, China
Publication Chairs Wensong Hu Zhu Min Xiaofeng Wan Ming Ma
Nanchang University, China Nanchang University, China Nanchang University, China NUS ACM Chapter, Singapore
Contents
The Design and Implementation of DDR PHY Static Low-Power Optimization Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wei Ge, Mengnan Zhao, Cheng Wu, Jun He Design on Triple Bi-directional DC/DC Converter Used for Power Flow Control of Energy Storage in Wind Power System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Yanlei Zhao, Naiyong Xia, Housheng Zhang ESL Based SoC System Bandwidth Estimation Method . . . . . . . . Zhen Xie, Xinning Liu, Weiwei Shan, Wei Ge Cellular Automaton for Super-Paramagnetic Clustering of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zhang Botao, Zhang Shuqiang, Yu Zhongqiu Embedded Memory Wrapper Based on IEEE 1500 Standard . . . . Maryam Songhorzadeh, Rahebeh Niaraki Asli A SVPWM Control Strategy for Neutral Point Potential Compensation in Three-Level Inverter . . . . . . . . . . . . . . . . . . . . . . . . . . Jinsong Kang, Yichuan Niu Process Mining: A Block-Structured Mining Approach . . . . . . . . . Yan-liang Qu, Tie-shi Zhao China RoHS: How the Changing Regulatory Landscape Is Affecting Process Equipment Reliability . . . . . . . . . . . . . . . . . . . . . . . . Chris Muller, Henry Yu Building Process Models Based on Interval Logs . . . . . . . . . . . . . . . . Yan-liang Qu, Tie-shi Zhao
1
7 15
23 31
41 49
57 71
X
Contents
Fostering a Management Model of Librarians at Vocational College e-Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ling-Feng Hsieh, Mu-Chen Wu, Jiung-Bin Chin
79
Extension 2D to 3D of FAN Transform in Image . . . . . . . . . . . . . . . . Fan Jing, Xuan Ying, Li Honglian
87
A Design of Low Cost Infrared Multi-touch System . . . . . . . . . . . . . Juan Wu, Yao-hui Hu, Guo-qiang Lv, Jing Yin
95
A Review of Research on Network-on-Chip Simulator . . . . . . . . . . 103 Haiyun Gu Design Methodology of Dynamically Reconfigurable Network-on-Chip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Haiyun Gu Numerical Simulation Study on a Flat-Plate Solar Air Collector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Wenfang Li, Shuhui Xu, Haiguang Dong, Jun You Artificial Immune for Harmful Information Filtering . . . . . . . . . . . . 125 Yan Sun, Xue guang Zhou Identification and Pre-distortion for GaN-PA . . . . . . . . . . . . . . . . . . . 133 Yuanming Ding, Yan Wang, Akira Sano On-Line Monitoring System of Methane Reaction Generator . . . 141 Ma Baoji Security Flaws in Two RFID Lightweight Authentication Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Wang Shaohui Study on Mechanical Parameters in Finite Element Analysis of Children’s Orbital-Bone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Weiyuan Lu, Zhixiang Liu, Xiuqing Qian, Tingting Ning, Huagang Yan 3D Model Retrieval Based on Multi-View SIFT Feature . . . . . . . . 163 Shungang Hua, Qiuxin Jiang, Qing Zhong Current Issues and Future Trends in Analysis of Automotive Functional Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Chunyang Mu, Xing Ma, Hongxing Ma, Xianlian Huang, Ling Zhang, Rong Fan Development of an Automatic Steering System for Electric Power Steering (EPS) System Using Fuzzy Control Theory . . . . . 179 Tao Hong, Xijun Zhao, Yong Zhai
Contents
XI
Design and Implementation of Interactive Digital Shadow Simulation System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Qian Li, Qing-yi Hua, Jun Feng, Wei Niu, Hao Wang, Jie Zhong Weighing Machine Modifications for Purblind and Sightless People . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Vladimir Kasik, Martin Stankus Active RFID Based Infant Security System . . . . . . . . . . . . . . . . . . . . . 203 Lin Lin, Nan Yu, Tao Wang, Changan Zhan Modified Segmentation Prony Algorithm and Its Application in Analysis of Subsynchronous Oscillation . . . . . . . . . . . . . . . . . . . . . . 211 Yujiong Gu, Dongchao Chen, Tiezheng Jin, Zhizheng Ren Group Control Strategy of Welding Machine Based on Improved Active Set Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Chen Shujin, Zhang Junjun Simulation and Experiment Research on the Effects of DC-Bias Current on the 500kV Power Transformer . . . . . . . . . . . . . 227 Feng-hua Wang, Jun Zhang, Cheng-yu Gu, Zhi-jian Jin A HID Lamp Model in Simulink Based on the Principle of Electric Arc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Xiaohan Guan, Zhongpeng Li Coordinated Control for Complex Dynamic Interconnected Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Xin-yu Ouyang, Xue-bo Chen Study on Calibration of Transfer Character of Ultrasonic Transducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 Qiufeng Li, Quanhong Zhang, Min Zhao, Lihua Shi A Novel Non-contact Pulse Information Detection Method Based on the Infrared Sequence Images . . . . . . . . . . . . . . . . . . . . . . . . . 259 Weibin Zhou, Bin Jing, Dian Qu, Guihong Yuan, Chunyan Wang, Haiyun Li A Method of Neurons Classification and Identification . . . . . . . . . . 267 Xingfu Li, Donghuan Lv A Broadband Image-Rejection Sub-harmonically Pumped Mixer MMIC for Ka-band Applications . . . . . . . . . . . . . . . . . . . . . . . . 275 Fang-Yue Ma, Yang-Yang Peng, Xiao-Ying Wang, Wen-Quan Sui
XII
Contents
Study of Phase-Shift Laser Ranging on Travelling Crane Anti-collision System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 Bisheng Cao, Zhou Wan, Zhongguo Jing, Xin Xiong Bearing Condition Monitoring and Fault Diagnosis of a Wind Turbine Using Parameter Free Detection . . . . . . . . . . . . . . . . . . . . . . . 289 Shenggang Yang, Xiaoli Li, Ming Liang An Approach of K-Barrier Coverage of WSN for Mine . . . . . . . . . 295 Qianping Wang, Liangying Wang, Rui Zhou, Dong Jiang Design and Implementation of Intrusion Detection System . . . . . 303 Tai-ping Mo, Jian-hua Wang Self Tuning PID Controller for Main Steam Temperature in the Power Plant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 Amin Aeenmehr, Alireza Sina A Novel Transformerless Single-Phase Three-Level Photovoltaic Inverter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 Xiaoguang Yang, Youhua Wang Image Reconstruction Algorithm Based on Fixed-Point Iteration for Electrical Capacitance Tomography . . . . . . . . . . . . . . . . 325 Cuihuan Li, Xiaoguang Yang, Youhua Wang Research on Data Preprocessing in Exam Analysis System . . . . . 333 Ming-hua Zhu The Development and Application of Environmental Art Project Which Based on Semiotics in Information Age . . . . . . . . . 339 Ke Zuo Rotor Time Constant Estimation for the Vector Controlled Induction Motor Drive Based on MARS Scheme . . . . . . . . . . . . . . . 345 Hua Li, Shunyuan Zhou Small-World Request Routing System in CDNs . . . . . . . . . . . . . . . . . 353 Lan Li Experimental Study on Simulated Cerebral Edema Detection with PSSMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 Gui Jin, Mingxin Qin, Chao Wang, Wanyou Guo, Lin Xu, Xu Ning, Jia Xu, Dandan Gao Medium Choice of Chinese Consumers in Obtaining Advertising Information about Minitype Automobile . . . . . . . . . . . 369 Dao-ping Chen
Contents
XIII
The Finite Element Modeling for Mechanical Feature Analysis of Human Lumbar L4-L5 Segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 Juying Huang, Haiyun Li, Hao Wu Hybrid Control Using Sampling PI and Fuzzy Control Methods for Large Inertia and Time Delay System . . . . . . . . . . . . . 387 Jia Xie, Shengdun Zhao, Zhenghui Sha, Jintao Liang An Operator Controllable Authentication and Charging Solution for Application Store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 Jianbing Xing, Zhaoxia Li, Xiongwei Jia, Zizhi Qiao A Modified Kalman Filter for Non-gaussian Measurement Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 Muhmmad J. Mirza A Novel Framework for Active Detection of HTTP Based Attacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 Liang Jie, Sun Jianwei, Hu Changzhen Model Predictive Control for Single Phase Inverters . . . . . . . . . . . . 419 Yecheng Lv, Ningxiang Xie, Kai Wang Evaluation Method and Standard on Maintainability of Cockpit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Junwei Zhao, Lin Zhou, Haitao Zhao, Xuming Mao, Youchao Sun Smart Mobile User Adaptive System with Autonomous Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 Ondrej Krejcar, Robert Frischer Reduction of Player’s Weight by Active Playing Using Motion Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 Ondrej Krejcar, Dalibor Janckulik Use of Neural Networks Library for Material Defect Detection Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 Ondrej Krejcar Multi-sensor Measurement Fusion via Adaptive State Estimator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455 Li-Wei Fong A Simple Automatic Outlier Regions Detection . . . . . . . . . . . . . . . . . 463 Kitti Koonsanit The Feature Parameters Algorithm of Digital Signal in Circuit Based on Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471 Xiaodong Ma, Guangyan Zhao, Yufeng Sun
XIV
Contents
Research of Stereo Matching Based on Improved Median Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479 Huiyan Jiang, Rui Gao, Xiaojie Liu Generating Method of Three-Phase Voltage Sag in EV Charging System Performance Testing . . . . . . . . . . . . . . . . . . . . . . . . . . 487 Xiaoming Yue, Hui Fan, Jin Pan, Xiaoguang Hao, Zhimeng Zhang Improved Predictive Control of Grid-Connected PV Inverter with LCL Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 Huijie Xue, Wei Feng, Zilong Yang, Chunsheng Wu, Honghua Xu Study on Application of Demand Prognosticating Model Based on Grey Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 Han Qingtian, Li Lian, Zhang Yi Research on Bayes Reliability Assessment for Test Data . . . . . . . . 509 Han Qingtian, Li Lian, Cui Jia Improved Particle Swarm Optimization by Updating Constraints of PID Control for Real Time Linear Motor Positioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515 Ying-Hao Li, Yi-Cheng Huang, Jen-Ai Chao Small Form-Factor Driver for Power LEDs Powered with One Element Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 Garate Jose Ignacio, de Diego Jose Miguel, Araujo Jose Angel The Empirical Analysis of the Impact of Industrial Structure on Carbon Emissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533 Mei Liao, Tianhao Wu An Ant-Routing Algorithm for Wireless Sensor Networks . . . . . . 541 Pengliu Tan, Xiaojun Deng Transient Sensitivity Computations for Large-Scale MOSFET Circuits Using Waveform Relaxation and Adaptive Direct Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549 Chen Chun-Jung Incremental Circuit Simulation for Large-Scale MOSFET Circuits with Interconnects Using Iterated Timing Analysis . . . . 557 Chen Chun-Jung Inversion of Array Lateral-Logging Based on LSSVM . . . . . . . . . . . 563 Yu Kong, Li Zhang, Linwei Feng, Yueqin Dun
Contents
XV
Voice Recognition Based on the Theory of Transmission Wave and LSSVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569 Yu Kong, Yue Min, Jing Xiao Design of a Two-Phase Adiabatic Content-Addressable Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577 Meng-Chou Chang, Yen-Ting Kuo Branch Importance Assessment under Cut-Off Power Flow Based on EM Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 Feng Yuan, Wang Li-ming, Xia Li, Bu Le-ping, Shao Ying Knowledge Discovery of Energy Management System Based on Prism, FURIA and J48 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593 Feng Yuan, Xia Li, Wang Li-ming, Pu Le-ping, Shao Ying Study on the Medium-Term and Long-Term Forecast Technology of Wind Farm Power Generation . . . . . . . . . . . . . . . . . . . 601 Yang Gao, Li Liu, Guoyan Liang, Shihai Ma, Chenwei Tian Optimal Space Vector Modulation Control for Three-Phase Inverter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609 Su Xiaofang, Rao Binbin, Li Shijie, Zheng Ruilan Optimal Dead-Time Elimination for Voltage Source Inverters . . . 617 Su Xiaofang, Rao Binbin, Zeng Yongsheng Research of the Influence Factors in Single-Phase Inverter Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625 Xiaofang Su, Binbin Rao, Chong Chen, Junbo Liu The Inspiration of the Economic Restructuring in Ruhr of Germany to the Sustainable Development of Mining Cities in Henan Province of China . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633 Wang Liping Design of Metal Pipe Defect Detection Device Based on Electromagnetic Guided Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639 Shuwang Chen, Deliang Li, Zhangsui Xu Implement of Explosion-Proof and Intrinsic Safe Model Mult-protocol Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645 Ming-san Ouyang, Cheng-jie Zhu, Zhe Liang The Application in Mobile Computing of Spatial Association Rules Mining Algorithm Based on Separating Support Items . . . 651 Gang Fang
XVI
Contents
Automatic Test Case Generation for Web Applications Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657 Lulu Sun, Junyi Li, Shenglan Liu Design of Holmium Laser Treatment Instrument Control System Based on STM32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667 Youjie Zhou, Chunhua Xiong, Changbo Lu Research on Attribute Granular Computing and Its Fuzzification Method Based on Qualitative Mapping . . . . . . . . . . . . 673 Ru Qi Zhou, Yi Lin Wu, Yi Qun Chen A CT Image Denoise Method Using Curvelet Transform . . . . . . . 681 Junmin Deng, Haiyun Li, Hao Wu Research System Optimization of the Wireless Mesh Networks Based on WLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689 Jin Wen Stabilization Control of Chaotic System Based on LaSalle Invariant Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697 Chunchao Shi, Yanqiu Che, Jiang Wang, Xile Wei, Bin Deng, Chunxiao Han Parameter Estimation in a Class of Chaotic System via Adaptive Steady State Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705 Chunchao Shi, Yanqiu Che, Chunxiao Han, Jiang Wang, Bin Deng, Xile Wei Algorithms of 3D Segmentation and Reconstruction Based on Teeth CBCT Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713 Wenjun Zhang A Calculation Method for Series Lagging Correction Based on Root Locus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721 Li Wang The Computer Simulation and Real-Time Control for the Inverted Pendulum System Based on PID . . . . . . . . . . . . . . . . . . . . . . 729 Yong Xin, Bo Xu, Hui Xin, Jian Xu, Lingyan Hu Application of Fractal Dimension in Analysis of Soil Micro Pores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737 Shu-hua Zhang Assessment of Loess Collapsibility with GRNN . . . . . . . . . . . . . . . . . 745 Shu-hua Zhang
Contents
XVII
Grey Comprehensive Relational Analysis of Fighting Efficiency Influencing Factors of AEW Radar . . . . . . . . . . . . . . . . . . . 753 Guangdong Liang, Guangshan Lu, An Zhang, Yanbin Shi Diesel Misfire Fault Diagnosis Using Vibration Signal over Cylinder Head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761 Liu Li-tian, Liao Hong-yun, Chen Xiang-long, Feng Yong-min, Xiao Yun-kui Proof of a Conjecture about k-Graceful Graph . . . . . . . . . . . . . . . . . . 769 Li Wuzhuang, Yan Qiantai High Dynamic GPS Signal Analysis and Acquisition Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773 Xiaoming Han, Guangyu Zheng, Shusheng Peng On the Mutual Information and Capacity of Coded MIMO with Interference Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781 Haitao Li, Haiying Yuan Interdisciplinary Education Model of Fashion Marketing and E-Commerce . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789 Zhaoyan, Renli Research on the Image Registration Algorithm Based on Regional Feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795 Xiaoyan Cao, Xiangxin Shao, Xinying Li, Chunying Wang, Yan Zhou Accurate Curvature Approximation of 3-Dimension Discrete Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803 Shilin Zhou, Jianping Yin, Xiaolin Yang, Junyun Wu The Research of a Symmetrical Component Method and Dynamic Reactive Power Compensation of Electric Arc Furnace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 811 Xuezhe Che, Fenglong Shen, Jianhui Wang Numerical Simulation of Electrokinetic Flow in a Nanotube with Variable Physical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819 Davood D. Ganji, Mofid Gorji-Bandpy, Mehdi Mostofi Physical Properties of Camellia Oleifera Heated by Micro-wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 827 Jian Zhou, Lijun Li, Yihua Hu, Ke Cheng, Zhiming Yang, Ye Xue Research on Trust-Based Dynamic Role Access Control Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 833 Dongping Hu, Guohua Cui, Aihua Yin, Liang Chen
XVIII
Contents
Design of Special Welding Machine Based on Open CNC System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839 Haibo Lin Optimization Algorithm on the Intelligence Schedule of Pubic Traffic Vehicles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845 Cui Yonghong, Wang Qingrong The Criterion of Intrinsic Safe Circuit Characteristic Based on Electric Arc Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853 Ligong Wang Multiple View Locality Preserving Projections with Pairwise Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859 Xuesong Yin, Qi Huang, Xiaodong Chen Analysis of E-SCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867 Huang Hua, Peng Cong Information Sharing of Partnership in Supply Chain and Enhancement of Core Competitiveness of Enterprises . . . . . . . . . . . 875 Huang Hua, Peng Cong Novel Spatial Diversity Equalizer Suitable for 16-QAM Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885 Rao Wei Fuzzy Logic Controller for a Pneumatic Rotary Actuator . . . . . . . 893 Logah Perumal Evolutionary Neural Network Based on Immune Continuous Ant Colony Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 903 Gao Wei Reliable and Delay-Efficient Routing Algorithm in Wireless Sensor Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911 Mohammad Ali Jabraeil Jamali, Adel Fathi, Javad Pashaei Interfacial Impedance Sensor Employing Bio-activated Microbeads and NiHCF-Coated Interdigitated Microelectrodes: A Model Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921 Nuno M.M. Pires, Tao Dong, Zhaochu Yang, Lei Zhang An Improved Fp-Tree Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929 Haijun Zhang, Changchang Zhang, Bo Zhang
Contents
XIX
A Decoupling Method for Evaluating Lightning-Induced Overvoltages on One Certain Line of an Overhead Transmission Lines System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937 Dongming Li, Cheng Wang, Xiaohu Liu Power Flow Calculation in the Voltage Output Stage . . . . . . . . . . . 945 Sun Qiuye, Li Zhongxu, Ma Dazhong, Zhou Jianguo Research on Trajectory Control of Polishing Robot Based on Secondary Deceleration and Dynamic Model . . . . . . . . . . . . . . . . . . . 953 Tongying Guo, Languang Zhao, Haichen Wang Security of Industrial Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . 959 Peng Jie, Liu Li The Application of Automatic Control Theory in Software Engineering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 965 Wensong Hu, Xingui Yang, Min Zhu, Yan Zhang Portable MIT-BIH Physiological Signal Playback System Based on Android . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969 Wensong Hu, Li Ming, Min Zhu, Linglin Xia The Application of Network Model on Power Station . . . . . . . . . . . 975 Min Zhu, Wensong Hu, Yan Zhang The Application of Algorithm in Power Station . . . . . . . . . . . . . . . . . 981 Min Zhu, Wensong Hu, Yan Zhang The Application of IP/UDP Protocols in 51 Microcontrollers . . . 987 Wensong Hu, Yuyuan Zhu, Min Zhu, Ke Zuo A Collaborative Filtering Recommendation Algorithm Based on User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993 Daner Chen The Personalized Recommendation Algorithm Based on Item Semantic Similarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999 Yulong Ying Application Research of Four-Branch Antenna Design by Improved Orthogonal Multi-objective Evolutionary Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1005 Jincui Guo, Xiaojuan Zhao, Jinxin Zou
XX
Contents
Research on Aviation Forewarning Systems Based on Business Intelligence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1013 Liu Yongjun, Hu Qing, Ruan Wenjuan The Need for Teleradiology System in Medical Remote-Diagnosis Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1021 Mohammad H. Al-Taei, Ziyad T. Abdul-Mehdi, Subhi H. Hamdoon The Clustering Methods Based on the Most Similar Relation Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1027 Yan Yu, Wei Hong Xu, Yu Shan Bai, Min Zhu Author Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
The Design and Implementation of DDR PHY Static * Low-Power Optimization Strategies Wei Ge1, Mengnan Zhao1, Cheng Wu1, and Jun He2 1 National ASIC System Engineering Research Center, Southeast University, Nanjing 210096 People's Republic of China {duiker,zmn,wcccc}@seu.edu.cn 2 Huawei Technol. Co., Ltd., Nanjing, China
[email protected]
,
Abstract. The static power of DDR PHY has increasingly become the limit of the low-power application of system-on-a-chip (SoC). An optimization of static power based on "behavior" and "state" of DDR PHY static power is proposed, considering the design principle and physical properties. Experimental results show that the proposed optimization strategy can achieve the highest 59.12% reduction in work mode and only 0.723uW power consumption in sleep mode. Keywords: DDR PHY, DDR PAD, Static Power, UPF.
1 Introduction The power consumption of DDR controller has been drawn more and more attention while providing faster transfer rate and higher data bandwidth. At present, low power consumption of DDR PHY research has the following two aspects. 1) Improve the control logic to minimize the number of row opens and closes, and lower the energy consumption during read/write operations [1]. Reshape the memory traffic to coalesce short idle periods into longer ones, thus enabling existing techniques to effectively exploit idleness in the memory [2]. 2) Improve the design of DDR PHY by using the direct clock pulses to latch the data, without a need for additional pulse generator circuitry for the clock signal, which lowers the clock dynamic power consumption by factor of 2x [3]. Employ a clock branch-sharing scheme to reduce the number of clocked transistors in the design. The newly proposed design also employs conditional discharge and split-patch techniques to further reduce switching activity and short-circuit currents, respectively [4]. The research above optimized the access method and the structure design, but did not consider the DDR PHY static power of activities and non-activities. We propose innovatively low-power strategies based on "behavior" and "state" which effectively reduce the DDR PHY static power consumption of activities and nonactivities. *
This work was sponsored by the National Scientific Foundation of China (Grant No. 61006029) and Jiangsu Scientific Foundation (Grant No. BK2010165).
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 1–6. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
2
W. Ge et al.
2 Design Principle In order to reduce the DDR PHY static power consumption in work mode and support the ultra-low-power mode, both the DDR PAD and the DDR PHY need to be optimized according to different "behavior" and "state". 2.1 Principle of DDR PHY Low-Power Based on Behavior DDR PHY does the jobs of exchanging data with external chip, multilevel conversion, DQS phase shift, etc., and its static Power consumption is mainly comprised of Leakage Power, which does not change with frequency. Static power consumption formula is expressed as:
Psta = Vdd * I SUB
,which I
SUB
W =C V e L 2 ox th
VGS −VT nVth
(1)
From the formula (1), the static power would be close to zero by cutting off the Vdd, thus greatly reducing the static power consumption of DDR PHY.
Fig. 1. Optimization design of DDR PAD
DDR PAD shows high static power consumption under no flipping circumstances. Therefore, the control signals OutputShutDown (OSD) and InputShutDown (ISD) are added to cut off the DDR PAD output and input leakage paths respectively, as shown in figure (1). So that, the leakage current will decrease to nearly zero. 2.2 Principle of DDR PHY Low-Power Based on State The UPF language provides a new way to specify the power requirements of a design and specifies how to create a power supply network to each design element, the behavior of supply nets with respect to each other, and how the logic functionality is extended to support dynamic power switching to design elements.
The Design and Implementation of DDR PHY Static Low-Power Optimization Strategies
3
In order to switch chip from sleep mode to work mode rapidly, the DDR controller should be special designed. "Sub Power Domain" need to be controlled respectively, as shown in figure (2), DDR PHY Domain (DDRPD) and DDR Retention Domain (DDRRD) separated from the power network on chip are provided different power domain optimization methods by the controller in the Always on Domain (AOD).
Fig. 2. DDR PHY power domain design base on UPF
It makes ultra-low-power available by designing different working states for each power domain: 1. NORMAL: each power domain works normally. DDR PHY reduces power consumption through frequencies adjusting. 2. STOP: the kernel of SoC is powered down, and DDRPD power domain works normally, meanwhile the DLL of DDR PHY (Delay Locked Loop) works in Bypass Mode. 3. SLEEP: only AOD and DDRRD power domain are active, DDR PHY offers the least control signals, to ensure the data integrity of the external memory chip.
3 Implementation of Low-Power Design 3.1 DDR PAD Static Optimization Strategy Based on Behavior Based on the design of the DDR interface timing specified in JEDEC specifications, we propose various optimization strategies for different behavior (command, data) operations, which control the switch of DDR PAD static leakage path. For the unidirectional command signals, CMD_OSD always shut down the input channel, and the output path is switched by the CMD_ISD signal when the command is valid. For the bidirectional data signals, DATA_OSD and DATA_ISD make effect only in the valid data operating phase. In order to realize these functions, low-power control logic is added to generate the control signals (OSD and ISD), which make relative responses according to each DDR operation such as read, write, refresh, activate, etc. At the same time, considering the recovery time of PADs after enabling OSD and ISD, there must be enough margin to satisfy the various frequencies requirement in different working states. Figure (3) shows the HSIM simulation result of OSD and ISD under the condition of tsmc 65nm standard library (1.2v Core Vdd, 1.8v PAD Vdd, 25°C). After the validation of OSD and ISD, the PAD current between the power (vmvddq) and ground (vmvssq) changes correspondingly. When the OSD and ISD are valid, the data transfers between
4
W. Ge et al.
the chip external and the pad internal. On the contrary, the data path is been cut off. There is a slight current disturbance, which will not impact the function.
Fig. 3. HSIM simulation of DDR PAD
3.2 DDR PHY Power Management Based on State In NORMAL mode, the DDR PHY works normally in SoC. In STOP and SLEEP mode, the external memory chip enters the Self Refresh or Power Down mode, and the DDR PHY need guarantee the control signals (CKE, RESETB) valid to avoid data loss. The kernel of SoC is powered down in STOP mode, so the registers in the DDR PHY are used for latching the command and data signals. In SLEEP mode, except the AOD and DDRRD power domains, the logic of the DDR PHY controller and most of the IO PADs are powered down. For this reason, the signal control and isolation should be taken into consideration in the DDRRD power domain. The detail design of DDRRD is shown in Figure (4). The independent power supply network is separated by ISOLATION PAD, so the DDRRD can work without being influenced when other parts of the chip are powered down. The RETLEC PAD provides internal control signal in SLEEP mode, which automatically lapses when the chip wakes up. The CKE PAD and RESETB PAD provide the necessary control signals for the external memory chip.
Fig. 4. PAD placement of DDR Retention Domain
The Design and Implementation of DDR PHY Static Low-Power Optimization Strategies
5
4 Design Result The DDR PHY static power consumption optimization strategies, based on “behavior” and “state”, can significantly reduce power consumption in work and standby modes. By using tsmc 65nm standard library and Prime Time PX power analysis tools, we can obtain DDR PHY power consumption simulation results in Table (1). The available work modes are defined as follows: SLEEP: the power domains except the AOD and DDRRD are powered down and the chip is in “sleep” state. STOP: the kernel is powered down, only the necessary interrupt applications are reserved to wake up the system. IDLE: the kernel clock is gated, and the chip enters the standby state. NOMAL: chip works normally, typical applications of computing and display work properly. FASTHOT: chip works in high speed, most of the scientific computing, image processing and display applications occupy the memory bandwidth as much as possible. Table 1. DDR PHY power consumption comparison in defferent mode
STATE SLEEP STOP IDLE NORMAL FASTHOT
DDR_PHY_OLD(mW) NULL NULL 227.73 314.84 385.92
DDR_PHY(mW) 0.000723 3.6 92.95 218.4 312
Optimization(%) NULL NULL 59.18 30.63 19.15
Through the above comparison of power consumption simulation in different modes, we can see that the power optimization of the DDR PHY changes antilinear with increasing of the memory access load. The power optimization ratio in FASTHOT mode and IDLE mode are up to 19.15%and 59.18%. Through the low-power domain design based on the “state”, power consumption on DDR PHY just reaches 3.6mW in STOP mode, and ultra-low-power of 0.723uW in SLEEP mode.
5 Conclusions This paper proposed static low-power optimization strategies based on “behavior” and “state”, which effectively reduce the power consumption of DDR PHY in both working state and sleep state. The simulation results show that the strategies not only improve the DDR PHY power characteristic in different operation modes (19.15%~59.18%), but also provide ultra-low-power application methods for SoC (only 0.723uW in SLEEP mode).
6
W. Ge et al.
References 1. Dongwook, L., Sungjoo, Y., Kiyoung, C.: Entry control in network-on-chip for memory power reduction. In: International Symposium on Low Power Electronics and Design (ISLPED), pp. 171–176. ACM/IEEE (2008) 2. Hai, H., Shin, K.G., Lefurgy, C., Keller, T.: Improving energy efficiency by making DRAM less randomly accessed. In: International Symposium on Low Power Electronics and Design, pp. 393–398 (2005) 3. Devarapalli, S.V., Zarkesh-Ha, P., Suddarth, S.C.: A robust and low power dual data rate (DDR) flip-flop using c-elements. In: 11th International Symposium on Quality Electronic Design, pp. 147–150 (2010) 4. Peiyi, Z., McNeely, J., Golconda, P., Bayoumi, M.A., Barcenas, R.A., Weidong, K.: LowPower Clock Branch Sharing Double-Edge Triggered Flip-Flop. IEEE Transaction on Very Large Scale Integration (VLSI) Systems 15, 338–345 (2007)
Design on Triple Bi-directional DC/DC Converter Used for Power Flow Control of Energy Storage in Wind Power System* Yanlei Zhao, Naiyong Xia, and Housheng Zhang School of Electrical and Electronic Engineering, Shandong University of Technology Zhangdian District, Zibo, Shandong Province, China
[email protected]
Abstract. A triple bi-directional DC/DC converter used for power flow control of energy storage in wind power system is designed. Firstly, the paper analyzes energy flow characteristic of wind power system containing hybrid energy storage (the battery and the supercapacitor). Secondly, working principle of the triple bi-directional DC/DC converter is explained and mathematical model is constructed. Then, based on the model, control unit consisting of voltage outer loop and current inner loop is designed. To ensure the consistency of working state of batteries in parallel, a novel current-sharing strategy is proposed based on battery SOC (state of charge). To realize energy distribution between the battery and the supercapacitor, a one-order low pass filter is used to detach the low frequency component in feedback voltage. The simulation results show that the converter can effectively regulate the load voltage and reasonably distribute the power between both energy storage elements. Keywords: wind power system; energy storage; power flow optimization; bidirectional DC/DC converter.
1 Introduction The ransom fluctuation of output power of wind power system changes grid power flow frequently in terms of direction and size, which will lead to voltage instability, frequency fluctuation and some other power quality problems, threaten the security and stability of power system. Consequently, wind power penetration level in power grid is confined. Equipping with certain amount of energy storage in wind power system can resolve the problems mentioned above. Battery energy storage system has been widely used in renewable energy sources power system, which can smooth power fluctuation of the generation system, enhance dispatching ability of the generation system, improve static and dynamic characteristic of the grid[1]. However, the battery, if solely used in wind power system, has its inherent shortcomings: Firstly, the battery charges and discharges continually, which reduces *
Project Supported by National Natural Science Foundation of China (50807034).
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 7–14. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
8
Y. Zhao, N. Xia, and H. Zhang
cycle life of the battery; secondly, the battery has small power density and low dynamic response speed, so the battery has no method to compensate many dynamic power quality problems occurring in short time span. The supercapacitor, as a new fast energy storage element, has high power density and long cycle life[2]. The supercapacitor, combinated with the traditional battery and used for power conditioning or power flow optimization in wind power system, can take full advantage of the battery’s superiority of high energy density and the supercapacitor’s superiority of high power density. As a result, energy storage unit in wind power system can be optimized in respects of its performance and cost. The combination of the supercapacitor and the battery generally has three patterns, including direct parallel connection, parallel connection through the inductor and parallel connection through the power converter (DC-DC converter)[3]. With regard to the first two hybrid energy storage types of direct parallel connection and of parallel connection through the inductive, their port voltages vary in wide range in the process of charging and discharging. More adverse is, the energy distribution between two energy storage elements can not be controlled flexibly, so that it’s difficult to fully play the both ones’ respective advantages. While the energy storage unit of parallel connection through power converter can easily control energy flow between both energy storage elements, so the capacity and the performance of energy storage unit can be flexibly optimized. Power converters used in the hybrid energy storage system can be divided into two types: the one of unilateral energy flow and the one of bidirectional energy flow. For power flow optimization and control of wind power system, the energy flow between energy storage unit (DC link) and the public power grid (AC Link) is two-way, correspondingly, the current of the DC-DC converter used in hybrid energy storage unit is also bidirectional. On the basis of the energy flow characteristic in wind power system containing power flow optimization by virtue of hybrid energy storage, the paper designs a triple bi-directional DC/DC converter used for energy flow control of the hybrid energy storage unit.
2 Energy Flow Characteristic in Wind Power System Containing Power Flow Optimization The ultimate goal of power flow optimization of wind power system is to restrain the power fluctuation, which is based on the balances of the active power as well as the reactive power. Therefore, the fundamental functions of power flow optimization system have two: one is to smooth the active power flowing into the grid in real time; another is to compensate reactive power flowing into the grid in real time. According to these basic functions, the overall layout of the wind power system containing power flow optimization is shown in Figure 1. Suppose, in the whole wind power system, output power of wind generation is denoted as PWG ; charging( or discharging) power of energy storage unit is denoted as PS , of which, charging( or discharging) power of the supercapacitor is denoted as
PC , the battery PB ; the power flowing into the grid is denoted as PG . Because of
Design on Triple Bi-directional DC/DC Converter
9
randomness and uncertainty of wind energy, PWG is obviously randomly fluctuant. If, without any compensation,
PWG is directly transported into the grid, the voltage, the
frequency and some other parameters of the local grid are will be influenced negatively. Fluctuations components in wind energy of above 1Hz can be absorbed by the inertia of generation system, while the components of 0.01Hz ~ 1Hz have the maximum impact on the grid in terms of the voltage, the frequency and other performances[4]. And the ones of below 0.01Hz directly affect the capacity reliability of generation system. To restrain the negative impact of wind power, its power flow optimization system should smooth the active power injected into the power grid. That is to say, of the output power of the wind generation system, only the components of relatively low frequency(lower than 0.01Hz) is transported into the public grid, while the higher frequency components should be absorbed by the energy storage. Apparently that the power absorbed by energy storage is PS = PWG − PG , which may be flexibly controlled by a four-quadrant DC-AC converter. Power Grid Grid Voltage
Wind Power System output current
Wind Power System
Wind Power System gridconnected Converter
Power Flow Optimization Control Strategy
Controller)
Control Strategy for Power Flow of Energy Storage
Battery State of Charge(SOC)
Storage Battery
Four-quadrant converter (Power Flow Optimization
Bi-direction DC converter Power Flow of Energy Storage
DC Voltage
Super-Capacitor
Fig. 1. The overall layout of the wind power system containing power flow optimization
Of two energy storage elements, the supercapacitor has high power density and lower energy density; while the battery has low power density, high energy density and short cycle life. Hence, in the process of power flow optimization, the charging (discharging) times of the battery should be reduced to less as far as possible. That is,
10
Y. Zhao, N. Xia, and H. Zhang
the relatively lower frequency components of the wind power are taken by the battery, while the remaining higher frequency components are borne by the supercapacitor. The energy between the two energy storage devices is controlled by the bi-directional DC-DC converter designed by the paper.
3 Design on Triple Bi-directional DC/DC Converter 3.1 Working Principle and Small-Signal Model In the wind power system of comparatively large power, the batteries generally need to be paralleled to meet the power demand. Due to individual differences in feature, the charging (discharging) current of various sub-unit may be different, which easily lead to the problems of over-charge or under charge. Obviously, the number of directly parallel individuals is larger, the imbalance problem is more serious. To reduce the number of batteries directly in parallel and to ease the charging (discharging) imbalance problem, in this paper, the triple two-way DC-DC converter is adopted, which can decrease the number of batteries directly in parallel and flexibly control charging (discharging) currents of the three groups of batteries. At the same time, multiple combinations of the conversion circuit can increase the transmission power and reduce current ripple as well as the filter components (inductors, capacitors) parameters. The topology of the converter is shown by Fig. 2.
vo v1i
v 2i
v 3i
Fig. 2. The topology of the triple two-way DC-DC converter
The control of the converter is based on PWM. The switches S1~S6 and D1~D6 are composed of power electronics device such as IGBT and diode. If the switches S1, S3, S5 operate in PWM mode, and the switches S2, S4, S6 are always off, the converter runs in Buck chopper mode. While the switches S2, S4, S6 operate in PWM mode, and the switches S1, S3, S5 are always off, the converter runs in Boost chopper mode. When the switching state of S1, S3, S5 and the ones of S2, S4, S6 are opposite each other, and all operate in PWM mode, the converter is in the unified working mode, i.e. Buck-Boost chopper. In a switching cycle of Buck-Boost chopper, its inductor current may be two-way, which can increase response speed[5], so the third mode is chosen in the paper.
Design on Triple Bi-directional DC/DC Converter
11
Because the topology and the control method of three sub-units are identical in the triple converter, as for modeling and analysis, only an independent sub-unit is taken into account. An independent bi-directional DC-DC converter sub-unit is shown in Fig. 3.
L
vo
S1
i
C
S2
vi
R
Fig. 3. An independent bi-directional DC-DC converter ∧
L
Vo d (t ) −
+
D′ :1
+
vˆi (t )
+
∧
i (t )
Idˆ (t )
C
R
vˆo (t ) −
Fig. 4. Small signal AC equivalent circuit model of Buck-Boost
In Fig. 3, vi , i , vo and R respectively stand for the battery voltage, the battery current, the supercapacitor voltage and the equivalent load resistance. By virtue of average switch modeling method, the small signal AC linear equivalent circuit model of Buck-Boost can be obtained and shown as Fig. 4. In Fig. 4, d (t ) is the duty ratio of the bottom switch (S2), D is the value of ∧
d (t ) in quiescent operation point, and d (t ) is the perturbation of d (t ) . ∧
Based on the linear equivalent circuit, the transfer function of duty cycle
d ( s ) to
∧
output voltage
vo ( s) Gvd ( S ) =
vˆo ( S ) dˆ ( S ) vˆi ( S )=0
=
D′Vo (1 − LCS 2 +
LS ) RD′2
L S + D′2 R
(1)
3.2 Control Strategy According to the overall structure of wind power system with energy storage, the energy exchange between power flow optimization system and the public grid can be reflected in the fluctuation of the DC bus voltage. If the relatively low frequency components of PS is expected to be absorbed by the battery, the lower frequency
12
Y. Zhao, N. Xia, and H. Zhang
components of the DC bus instantaneous voltage should be detached by a low pass filter and be stabilized to a given value. Considering response speed, an one-order low pass filter is chosen in the paper. To ensure that the battery absorbs the relatively lower frequency energy fluctuation, firstly, the voltage regulation control loop for the low frequency components of transient DC bus voltage is necessary, which ensure super-capacitor voltage is constant at the low frequency. To guarantee the charge state of three paralleled battery groups are identical, this paper proposed a current-sharing strategy based on the battery SOC (state of charge). For the battery, SOC
=
QC
QI
, where: QC is the residual capacity,
QI is the rated
capacity under a constant discharge current. In the process of current-sharing, for an independent sub-unit of the triple converter, the SOC of the corresponding battery group is higher, its average inductor current is larger, Conversely, the SOC lower, the current smaller. As a result, this can make the SOC of three battery groups tend to no difference. On the basis mentioned above, the paper proposes the control strategy of triple bidirectional DC-DC converter consisting of voltage outer loop and current inner loop, whose structure is shown as Fig. 5.
I ref
1 SOC1 I ref ∑ SOCi
LS ) RD′2 L LCS 2 + S + D′2 R D′Vo (1 −
kip s + kii s
i =1, 2,3
ki * U dc
kup s + kui s
I ref
3 I ref
SOC3
∑ SOC
i =1, 2,3
LS ) RD′2 L LCS 2 + S + D′2 R D′Vo (1 −
kip s + kii s
i
ki 1 1+τ 2s
ku
Fig. 5. The control structure of triple bi-directional DC-DC converter
According to [6], the parameter of the regulator
kip , kii , kup and kui can be
determined.
4 Simulation Results Based on Matalab / Smulink, the triple bi-directional DC converter is simulated. In the converter, the nominal voltage of the battery is 72V, the expected voltage of the supercapacitor (load voltage) is 200V, kip = 10 , kii = 60 , kup = 6
Design on Triple Bi-directional DC/DC Converter
and
13
kui = 10 , SOC1 = SOC2 = SOC3 , τ 2 = 0.01 . When the equivalent load
current (discharging current) varied in the case shown by
Fig. 6. (A) Charging current of the supercapacitor (B) Real voltage of the supercapacitor
Fig. 7. The currents of three sub-units of triple bi-directional DC-DC converter
Fig. 6 (A), under the control strategy proposed by the paper, the real-time voltage of the supercapacitor is illustrated as Fig. 6 (B), and the currents of three sub-units are shown as Fig. 7. Seen from the two figures, the relatively lower frequency components of load current (power) are undertaken by the battery, while the remaining higher frequency
14
Y. Zhao, N. Xia, and H. Zhang
components are undertaken by the supercapacitor. The simulation results indicate that the converter can not only reasonably distribute the power between two energy storage elements but effectively regulate the load voltage.
5 Conclusions The design on a triple bi-directional DC/DC converter used for power flow control of energy storage in wind power system are discussed. The paper designs control unit of the converter with voltage outer loop and current inner loop, which includes a novel current-sharing strategy based on battery SOC and uses a one-order low pass filter to detach the low frequency component in feedback voltage. The simulation results show that the converter can effectively regulate the load voltage and reasonably distribute the power between both energy storage elements with comparatively good static and dynamic characteristic.
Acknowledgments This paper and its related research are supported by National Natural Science Foundation of China (50807034) and Support Program for Young Teachers Development of Shandong University of Technology.
References 1. Yang, Z., Shen, C., Zhang, L., et al.: Integration of a StaCom and Battery Energy System Storage. IEEE Trans on Power System 16(2), 254–260 (2001) 2. Andrew, B.: Ultracapacitors: Why, How, and Where is the Technology. Journal of Power Sources 91, 37–50 (2000) 3. Tang, X., Qi, Z.: Study on the Ultracapacitor/Battery Hhybrid System. Chinese Journal of Power Sources 30(11), 933–936 (2006) 4. Luo, C., Ooi, B.-T.: Frequency Deviation of Thermal Power Plants Due to Wind Farms. IEEE Trans. on Energy Conversion 21(3), 708–716 (2006) 5. Wang, Z., Liu, J.: Power Electronics Technology. China Machine Press (May 2009) 6. Xu, D.: PowervElectronics System Modeling and Control. China Machine Press (January 2006)
ESL Based SoC System Bandwidth Estimation Method* Zhen Xie, Xinning Liu, Weiwei Shan, and Wei Ge National ASIC System Engineering Research Center, Southeast University, Nanjing 210096 People's Republic of China {xz,xinning.liu,wwshan,duiker}@seu.edu.cn
,
Abstract. The increasing complexity of system-on-a-chip (SoC) design is challenging the design engineers to estimate the system bandwidth. A method of SoC system bandwidth estimation based on electronic-system-level (ESL) is proposed, which estimates the system bandwidth by transaction-level-modeling (TLM) and analysis depended on simulation. Compared with the traditional RTL simulation, the estimation is effective and the simulation speed is more than two orders of magnitude faster. Keywords: ESL, SoC, TLM, Bandwidth estimation.
1 Introduction Bandwidth is always one of the bottlenecks in system-on-a-chip (SoC) systems. The increasing complexity of SoC design is challenging the design engineers to estimate the bandwidth. If the bandwidth is unable to well fit the requirement, the designer can modify the architecture in the early stage of the product development cycle, thus reducing the potential risk of system re-design [1]. In [2], the authors used statistical models to calculate execution cycles for bus traffic analysis and system performance estimation. However, the main drawback of static analysis is the lack of dynamic analysis information, such as bus contention, arbitration, dynamic scheduling, etc [3]. So some designers explore architecture by dynamic simulation at register-transfer-level (RTL). While this was possible for designs that were relatively simple, exploring complex SoC designs at RTL is an intimidating prospect. The speed of RTL simulation is too slow to allow adequate coverage of the large design space. Besides, making small changes in the design will probably require considerable re-engineering effort due to the complex nature of these systems [4]. To overcome these limitations, system designers should raise the level of abstraction, which gives an early estimation of the system characteristics before committing to RTL development. In this paper, a method of SoC system bandwidth estimation based on electronicsystem-level (ESL) is proposed, which estimates the system bandwidth by transaction-level-modeling (TLM) and analysis depended on simulation. In Section 2, basic principles of ESL design methodology are introduced. In Section 3, the process that *
This work was sponsored by the National Scientific Foundation of China (Grant No. 61006029) and Jiangsu Scientific Foundation (Grant No. BK2010165)
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100,. pp. 15–21. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
16
Z. Xie et al.
using the method based on ESL to model the target system is described. In Section 4, the analysis depended on simulation and the bandwidth estimation of the target system are given. Section 5 is the conclusion.
2 Principles of ESL Design Methodology In current SoC design, the model established at the level of algorithm-and-function (ALF) is lack of timing information, and has little relationship with the system structure and implementation, which cannot be used to estimate the system performance. While the RTL model needs to focus on details of signal processing and design implementation, the speed of modeling and simulation is slow. ESL design methodology introduces a new level, transaction level, between ALF and RTL to abstract systems. Transaction-level-modeling (TLM) provides software and hardware engineers a virtual platform for the exploration of architecture and embedded software development.
Fig. 1. Comparison of the three modeling methods
ESL design methodology enables SoC designers to describe the system abstractly, with no need to prematurely be involved in the specific of implementation. Through ESL design methodology, designers can model the system in the early stage, explore the system architecture and guarantee the advancement. So that the risk of re-design due to performance cannot meet the requirement is reduced. In this paper, the architects view TLM is proposed, which has enough timing information and is mainly used for architecture exploration. Modules of the system will be abstracted as bus, memory or device to simulate system load. This method considerably reduces the workload required in the modeling, and greatly speeds up the system simulation.
ESL Based SoC System Bandwidth Estimation Method1
17
Fig. 2. Architects view TLM
3 Modeling of the Target System In this paper, ESL design methodology is used to analyze the performance, estimate the bandwidth by TLM on the ESL design platform, and optimize the architecture during the research to meet the requirement. 3.1 General Situation of the Target System The block diagram of the target system is shown at Fig. 3. 1. The system uses DDR2-800 as memory, data bus width is 32-bits, main timing parameters are CL=4, tRCD=4; 2. The interface frequency of AXI based LCDC, VPU and DDR2 is 200 MHz; 3. LCDC supports resolution up to 1920x1080 at refresh rate of 60Hz, and has three overlays, considering the worst case, bandwidth demand is about 1200 MB/s; 4. VPU accesses data every 4085ns, bandwidth demand is up to 900 MB/s, of which 700 MB/s is read access and 200 MB/s is write access. A rough estimate, LCDC and VPU consume 65% of the peak bandwidth. However, because of the complexity of access to DDR2, evaluation for the bandwidth is difficult. DDR2 storage can be divided into bank, row and column. According to the current and previous access addresses of the bank and row, access to DDR2 can be classified as continuous access and with-precharge access. Time spans of the two types of access are different. LCDC and VPU simultaneously request transaction whose required address is a random variable. On the other hand, bus transfer and arbitration will consume some bandwidth. So in fact, the bandwidth consumed by the two modules will significantly exceed 65%. To evaluate the bandwidth effectively, a correction factor must be involved.
18
Z. Xie et al.
Fig. 3. The block diagram of the target system
However, due to the randomness of data access, evaluation of the factor is a great challenge. Using ESL design methodology, modeling the target system abstractly, and depending on the ESL design platform, the factor and the system bandwidth can be obtained accurately. 3.2 Modeling of the Target System To estimate the system bandwidth, the amount of data transfer is concerned, while data content and processing are not cared. Architects view TLM can greatly speed up the modeling, and evaluate the system bandwidth effectively. 1. Data access to DDR2 takes 38 bus cycles for data transfer in the bus. The depth of task buffer in the DDR2 controller is 16. LCDC owns higher priority than VPU. Considering the two types of access, continuous access needs 2 bus cycles to complete burst-4 operation, while with-precharge access takes 4 bus cycles. 2. LCDC will request access to DDR2 when any of the three overlay FIFOs is not full. If data of continuous access belong to the same overlay, access is continuous access. Otherwise access is with-precharge access. 3. VPU will always request access to DDR2, which is continuous access. Because LCDC and VPU request access simultaneously, access may be interrupted by each other, continuous access may be interrupted to become with-precharge access often. Thus, the access to DDR2 is similar to a random process. Taking the advantage of the ESL design platform, the actual situation of access to DDR2 can be simulated and analyzed. Thus the system bandwidth can be evaluated effectively. The system model built in the ESL design platform is shown at Fig.4.
ESL Based SoC System Bandwidth Estimation Method1
19
Fig. 4. The system model built in the ESL design platform
4 Simulation and Analysis Result The simulation result of the target system model in the ESL design platform is shown in Table 1. Because of the existence of the with-precharge access, the utilization of the system bandwidth rises significantly. When LCDC is not optimized, the utilization of bandwidth is about 83%, the system bandwidth margin is about 17%. Table 1. The contrast of the Utilization of system bandwidth between ideal estimation and actual simulation (LCDC is not optimized)
The utilization of system bandwidth
Ideal estimation
Actual simulation
62%
83%
LCDC can be optimized to effectively improve the utilization of system bandwidth by arranging the continuous access and reducing the number of with-precharge accesses. On the other hand, the more continuous accesses, the requirement of FIFO depth is higher. The depth of FIFO will affect the implementation area, so there should be a trade-off between the bandwidth and the area. The simulation results of LCDC with different transmission modes are shown at Fig.5. Through optimizing the LCDC design, the utilization of system bandwidth drops from 83% to 64%, in the worst case the margin of system bandwidth is still about 36%, which can meet the requirement.
20
Z. Xie et al.
Fig. 5. The simulation results of LCDC with different transmission modes
Fig.5 also shows the utilization of system bandwidth and the requirement of FIFO depth drops and rises in an exponential manner. Comparing Case 4 with Case 3, the utilization of system bandwidth drops by only 2%, but the requirement of FIFO depth rises by 24. Thus it is reasonable to access data belong to the same overlay 3 times continuously. In the late stage of the development, RTL simulation results show that, when LCDC accesses data belong to the same overlay 3 times continuously, the requirement of FIFO depth is 27, and the utilization of system bandwidth is 76%. These are in agreement with ESL simulation results, indicating the efficiency of the ESL based SoC system bandwidth estimation method. The time spent on ESL simulation and RTL simulation of the target system is shown in Table 2. Compared with the traditional RTL simulation, the time is reduced from 33 hours to 9 minutes, more than two orders of magnitude shorter. Table 2. The time spent on ESL simulation and RTL simulation of the target system
The time spent on data output of 24 frames of 800x640 image
ESL simulation About 9 minutes
RTL simulation About 33 hours
5 Conclusions In this paper, a method of SoC system bandwidth estimation based on ESL is proposed, which estimates the system bandwidth by TLM and analysis depended on simulation. Compared with the traditional RTL simulation, the estimation is effective
ESL Based SoC System Bandwidth Estimation Method1
21
and the simulation speed is more than two orders of magnitude faster. Practice shows that the effective use of ESL design methodology can improve system performance and success rate of the implementation. With the improvement of complexity in SoC designs, the introduction of ESL design methodology has become an irresistible trend, and strongly promotes the development of SoC designs.
References 1.
2.
3.
4.
Ruei-Xi, C., Wei, Z., Qinyi, L., Fan, J.: Efficient H.264 Architecture Using Modular Bandwidth Estimation. In: International Conference on Embedded Software and Systems, pp. 277–282 (2008) Cho, Y.S., Choi, E.J., Cho, K.R.: Modeling and analysis of the system bus latency on the SoC platform. In: International Workshop on System-Level Interconnect Prediction, pp. 67–74. ACM, New York (2006) Zhe-Mao, H., Jen-Chieh, Y., Chuang, I.Y.: An accurate system architecture refinement methodology with mixed abstraction-level virtual platform. In: Design, Automation & Test in Europe Conference & Exhibition, pp. 568–573 (2010) Shin, C., Grun, P., Romdhane, N., Lennard, C., Madl, G., Pasricha, S., Dutt, N., Noll, M.: Enabling heterogeneous cycle-based and event-driven simulation in a design flow integrated using the SPIRIT consortium specifications. Des. Autom. Embed. Syst. 11, 119–140 (2007)
Cellular Automaton for Super-Paramagnetic Clustering of Data Zhang Botao, Zhang Shuqiang, and Yu Zhongqiu Institute of Science, Information Engineering University, 450001 Zhengzhou, China
[email protected],
[email protected]
Abstract. Using the basic idea of Super-paramagnetic Clustering (SPC), we propose a cellular automaton approach for data clustering: A data set is regarded as a Potts magnetic system and a short-range interaction is introduced between the neighboring spins. Let the system evolve automatically under the function of the spin-spin interaction and the thermal motion. Finally, at a proper temperature the system will reach the super-paramagnetic phase, in which the spins (data points) will form into a number of ‘magnetic domains’ (data clusters). We apply this method to some data sets with different structures and get satisfactory results. Keywords: Data clustering, Potts magnetic system, Cellular Automaton.
1 Introduction Data clustering is a basic technique in data analyzing and in a variety of scientific and engineering fields. It is widely used in the fields such as pattern recognition, artificial intelligence, computer image processing, biology, astrophysics, etc. [1]. The general definition of data clustering is as follows: partition N points given in the feature space of the data into M different groups so that two points that belong to the same group are, in some sense, more similar than two points that belong to different ones [1]. The procedure of the traditional and typical clustering methods is as follows: firstly some knowledge about the clusters’ structure is assumed (e.g. each cluster is represented by a center and some point around it), and then the similarity between data points is calculated. Finally, partition data points into different clusters according to their similarity. It should be noted that, in the above procedure a successful clustering is based on a priori knowledge and a correct assumption about the structure of data set. That is, in the traditional procedure, some external factors is imposed to the set structure no matter it is right or not. In 1996, Eytan Domany presented a new approach for clustering: Super-paramagnetic Clustering (SPC)[2-4]. The basic idea of SPC is to build clusters naturally by utilizing the physical properties of an inhomogeneous ferromagnetic model. Here a Potts spin variable is assigned to each data point and a short range-interaction is introduced. Thus, the Potts spins will evolve automatically under the function of the spin-spin interaction and the thermal motion. At a proper temperature, the system will reach the super-paramagnetic M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 23–29. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
24
Z. Botao, Z. Shuqiang, and Y. Zhongqiu
phase. Spins with strong interaction to each other will form a magnetic domain in which all spins have a same state. This magnetic domain is thus corresponding to a data cluster. Domany explored a way to identify the magnetic domain by using Monte Carlo procedure [5]. Domany’s idea inspires us to consider a “Cellular Automaton (CA) for data clustering”. Contrast to the Monte Carlo procedure, the CA model is a dynamic model and is based on the spatial sequences [6], which is very similar to the procedure of magnetizing of a Potts system. Furthermore, CA model may be run on the special CA machine. Thus, we expect to build a CA model to realize SPC in a more useful way. In the following sections we first introduce the idea of the Super-paramagnetic Clustering (Sec2), and then describe the CA model for data clustering and corresponding algorithm (Sec3). In Sec4 we apply the method to two data sets with different typical structures. At last in Sec5 we give some conclusions and discussions.
2 The Idea of SPC A data point is a Potts spin when the data set is regarded as inhomogeneous Potts system. The spin-spin correlations (presented by the coupling function J) let the uniformity of the system but thermal motion destroys it. The magnetic domain will be formed and separated from others in the super-paramagnetic phase. This is the data clusters. Here, the coupling function J represents the similarity between data points. The closer two points are to each other, the more they ‘like’ to belong to the same class. Obviously, J is some positive decreasing function of the distance, which is chosen as follows [2]: 2
d 1 J i = exp(− i 2 ) K 2a
(1)
Where a stands for the average nearest-neighbor distance. K is the average number of neighbors per set. The thermal motion will destroy the “bonds” among spins. At the low temperature enough, all spins of the system are in the same state, Obviously, the temperature plays the role of clustering resolution here.
3 The Simulation of Cellular Automaton Clustering In this section we propose a Cellular Automaton [8] model for the clustering of data. 3.1 Model Firstly, we consider the effect of the interaction Ji and the temperature T by setting a link between the center site and its neighbor i [5]. The probability that a spin can’t link up with its neighborhood i is as follows:
Cellular Automaton for Super-Paramagnetic Clustering of Data
Pni = exp(−
25
Ji ) T
(2)
and the probability of linking-up is:
Pbi = 1 − Pni = 1 − exp(−
Ji ) T
(3)
The next state of a site is determined by the configuration of the links between the site and its neighbors. The model is described as follows: The possible states of each lattice site (spin, data point) is s (s=1, 2,... , q). In order to apply the method to different dimension data sets especially in high dimension data sets, we use the mutual K-nearest-Neighbor[9] which is defined as follows: two points, A and B, are defined as neighbors if they have a mutual neighborhood value K; that is ,if A is one of the K nearest neighbors of B and vice-versa. This definition ensures that the local interaction is symmetric; the number of bonds of any site is less than K. In general the value of K determines the range of interactions between a site and its neighbors. The rules are defined as: (i) If a site doesn’t link up with all of its neighbors, it updates its state randomly with probability Pn. otherwise it will be ‘magnetized’ by its linked neighbors with probability 1 –Pn (converts its state to the state of one of its linked neighbors), Here Pn is the probability of the configuration of a site with no links (see Fig 1 (a)): K
K
Pn = ∏ Pni = exp(−
∑J
i =1
ķ
ķ
Ĵ
Ĵ
Ĺ
Ĺ (a)
Ĺ
T
i
ķ Ĺ
(4)
)
ķ
Ĵ Ĺ
(b)
i =1
ķ
Ĵ Ĺ
(c)
()
Ĺ
Ĵ Ĺ
(d)
Fig. 1. An example of realized configurations. a a site with no link, of s=1, c d e a site with links of s=3
( )、( )、( )
Ĺ
Ĺ (e)
(b) a site with a link
(ii) If a site has links with its neighbors with state s, it will be ‘magnetized’ to the state s with probability Ps. Suppose it has m neighbors with state s, Ps is the combined probability of the configurations the site and its neighbors with state s:
26
Z. Botao, Z. Shuqiang, and Y. Zhongqiu
K
m
Ps = [1 − exp( −
∑ Ji i =1
T
)] ⋅ exp( −
∑J j =m
T
j
)
(5)
Here, the configurations that a site links up with different states are forbidden, because it is impossible that a site be ‘magnetized’ by different states simultaneously. Fig 1 shows all the realized configurations of a site with three neighbors. 3.2 Algorithms At a proper range of T, the steps of the procedures of data clustering are: (i) Find out the neighbors of each site (Sec 3.1.2), and calculate K , di and Ji; (ii) Generate an initial configuration randomly; (iii) Calculate the converted probability of each site to different possible states; (iv) Update the states of all sites according to the above probabilities; (v) Repeat steps (iii) and (iv), until the system goes to stable; (vi) Class the sites (data points) with the same state into a cluster.
4 Tests 4.1 Random Numbers of the Two-Dimensional Normal Distribution This is a group of artificial data. Two groups of random numbers, which are evenly distributed in angle and normally distributed in radial, are generated by random number generator. This is a dataset of two natural kinds and two class central coincide annular, including 100 data points of average radius of 0.5 and 200 data points of average radius of 2. Clustering parameters are chosen to be: q = 15, K = 8. Figure 2 to figure 5 give four clustering results from low to high temperature (resolution). When the temperature is very low, the system is in ferromagnetic phase, all the datum being grouped into one cluster (figure 2). When the temperature increases to about 0.007, the system will experience a phase change, and the data points will be split into two clusters (figure 3). Then, when the temperature increases to about 0.1, the outer data class is further divided into two mass, and all the data is divided into three clusters (figure 4) , because there is an area of low density both above and below the outer datum. When the temperature continues to increase, the data mass continuously split, until the system turns into the paramagnetic phase (figure 5). As far as the natural class of the datum is concerned, proper clustering happens at an interval of T = 0.005 to 0.009.
Cellular Automaton for Super-Paramagnetic Clustering of Data
Fig. 2. T=0.001 into one cluster
,the data points are grouped
Fig. 4. T=0.01, all the data is divided into three clusters
Fig. 3. T=0.007 two clusters
27
,the data points are split into
,
Fig. 5. T=0.5 paramagnetic phase
4.2 Iris Data Iris data is a complete data set, including 150 samples of each Iris species (50 samples each), got by Fisher in 1936 after he collected the four features (the length and width of calyx leaves and the length and width of petals)of three different Iris genus(Iris Setosa, Iris Versicolor & Iris Virginica) . In the feature space, Iris Setosa and the samples of the other two species separate linearly, and the samples of Iris Versicolor and Iris Virginica have a little overlap. Clustering parameters are chosen to be: q = 15, K = 35. After a clustering test on this data set, we found that a roughly correct classification can be obtained at the interval of T = 0.01 to 0.1, and the clustering effect is the most stable when T≈0.018.At this time, the data were divided into three clusters, the samples of Iris Setosa being correctly divided but the samples of Iris Versicolor and Iris Virginica is more or less wrongly divided. Repeated testing results show that the number of wrong division is 5 to 25. Figure 6 shows the projection of the four-dimensional Iris number upon the first dimension and the fourth dimension. This is the best example of clustering, only 5 data
28
Z. Botao, Z. Shuqiang, and Y. Zhongqiu
Fig. 6. The projection of the Iris number upon the first dimension and the fourth dimension. T =0.018, five wrongly divided points are marked by rectangular square full sample.
being wrongly divided (see the five rectangular squares in Figure 6). In most tests, the number of wrong division is 13 or so. It shows in the chart that there are probably less than 50 samples in each cluster, which is the result of projection overlap of the data points.
5 Conclusions and Remarks We’ve constructed the “Cellular Automaton for data clustering” with the help of the similarities between super-paramagnetic phase formation and data clustering in the inhomogeneous Potts magnetic system. This method is based on the density of data points, which is suitable for different structure data set, and there is no need to make assumption about the data structure. In the clustering process, the rules of Cellular Automaton has played a decisive role, it provides a dynamic mechanism, letting the data points joint with each other according to their similarity. And the introduction of thermal motion functions as a kind of adjustment, letting the data point make multiple and repeated choices. The system will eventually evolve into a relatively stable configurations, and it has little to do with the initial configuration. This work is just a preliminary realization of clustering, and some questions need further research or optimization, including clustering stability, similarity and the best functional relation of the distance between data points, the best Cellular Automaton rules and the objective method to determine a candidate neighbor number K, etc.
Cellular Automaton for Super-Paramagnetic Clustering of Data
29
References 1. 2. 3. 4. 5. 6. 7. 8. 9.
Theodoridis, S., Koutroumbas, K.: Pattern Recognition. Publishing House of Electronics Industry, BeiJing (2010) Blatt, M., Wiseman, S., Domany, E.: Super-paramagnetic Clustering of Data. Physical Review Letters 76, 3251–3254 (1996) Blatt, M., Wiseman, S., Domany, E.: Data Clustering Using a Model Granular Magnet. Neural Computation 9, 1805–1842 (1997) Domany, E.: Superparamagnetic Clustering of Data-The Definitive Solution of an Ill-Posed Problem. Physica A 263, 158–169 (1999) Wang, S., Swendsen, R.H.: Cluster Monte Carlo alg. Physica A 167, 565 (1990) Dan Mueller, D.C., Chen, K., et al.: Solving the advection-diffusion equations in biological contexts using the cellular Potts model. Physical Review E 72(4), 1–10 (2005) Wu, F.Y.: The Potts model. Reviews of Modern Physics 54(1), 235–265 (1982) Zhang, B.T., Liu, C.H.: Cluster-approximation mean field theory of a class of cellular automation models. Physical Review E 59(5), 4939–4944 (1999) Blatt, M., Wiseman, S., Domany, E.: Clustering data through an analogy to the Potts model. In: Touretzky, D.S., Mozer, M.C., Hasselmo, M.E. (eds.) Advances in Neural Information Processing Systems, vol. 8, MIT Press, Cambridge (1996)
Embedded Memory Wrapper Based on IEEE 1500 Standard Maryam Songhorzadeh and Rahebeh Niaraki Asli Guilan University Guilan, Rasht, Iran
[email protected]
Abstract. IEEE Std 1500 defines a modular and scalable test interface for embedded cores of a system-on-chip (SoC) which simplify test challenges. In this paper, we present a specialized wrapper compatible with IEEE Std 1500 to implement at-speed testing for embedded memory cores. The proposed embedded memory wrapper (EMW) supports test diagnosis with reasonable area overhead which makes it suitable for memory BIST applications. All required test control signals of EMW is generated on-chip by a single centralized memory Built-In-Self Test (BIST) controller. The BIST controller can be used in a hierarchical test design and implement parallel test to handle multiple test wrappers concurrently. Simulation and synthesis results on a group of embedded memory cores confirm that the proposed wrapper has been effectively reduces the test time and area overhead. Keywords: Embedded memory testing; System-on-a-Chip (SoC); Built-in-SelfTest (BIST); IEEE Std 1500; at -speed testing.
1 Introduction Today, the fast innovation in VLSI technology enables the design of complex system on a single chip. Although system chips offer advantages such as higher performance, lower power consumption and smaller volume and weight, the recent methods of design like synchronous production of different cores and using reusable and heterogeneous IP cores, poses new test constraints to the test community [1]. On the other hand, basic features of testability like controllability and observability are hard to achieve because direct access to core ports is virtually impossible [1]-[3]. To address these problems, IEEE Std 1500 was proposed which defines a scalable structure for independent, modular test development and test application for embedded design blocks. This standard also enables testing the external logic surrounding cores [4]-[6]. One of the core types which occupy a significant amount of SOCs is memory cores. The high density of embedded memory cores make them more prone to manufacturing defects than other types of on-chip circuitries. Since direct access to memory ports is virtually impossible and at-speed testing is difficult to achieve, BIST is a more practical method to test and diagnose embedded memories [7], [8]. But a M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 31–39. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
32
M. Songhorzadeh and R.N. Asli
serial BIST like BIST based on IEEE std 1500, has a long and unacceptable test and diagnosis time, because this standard can’t implement a parallel test and manage multiple cores concurrently. Considering all these issues, several BIST schemes using IEEE Std 1500 serial links has been proposed [8]-[12]. In [8], a modular test wrapper for small wide memories has been introduced. The interfaces between the memories and BIST circuit are based on IEEE std 1500. This scheme allows for at-speed test at low area overhead. In [9]-[11], a serial test interface based on IEEE 1500 for small memories has been proposed. But the area overhead of the IEEE std 1500 wrappers is high. On the other hand, testing multiple memories using a serial BIST based on IEEE std 1500 requires a long and intolerable test time. In [12], another wrapper based on IEEE std 1500 is introduced which is in complete accordance with the standard but has no modification and optimization for memory testing, so it can’t support at-speed and parallel test. In this paper, the structure of a wrapper based on IEEE Std 1500 for Built-In SelfTest of embedded memory cores is proposed. The proposed structure is capable of implementing at-speed test and also supports diagnosis which is an important requirement in repairing procedure. By using a centralized BIST controller to generate control signals of the wrapper, the proposed scheme can be imported in a hierarchical test methodology and handle multiple test wrappers concurrently. On the other hand, the area overhead of the design is improved comparing the existing schemes. The organization of this paper is as follows: An overview of the general specification of the scheme is first given in section 2. In section 3 we propose different operational modes of the wrapper and Section 4 is allocated to the results of simulation and synthesis on a group of embedded memory cores. The paper is concluded in section 5.
2 Embedde Memory Wrapper (EMW) Figure 1 shows a memory core surrounded by the proposed IEEE-1500-compliant wrapper called EMW. The structure is composed of a Wrapper Instruction Register (WIR) circuitry, a Wrapper Boundary Register (WBR), a Wrapper Bypass register
Fig. 1. The overall structure of the IEEE-1500-compliant wrapper (EMW)
Embedded Memory Wrapper Based on IEEE 1500 Standard
33
(WBY), a Wrapper Data Register (WDR) and two multiplexers. All components of EMW are specialized for memory testing while adopt with IEEE Std 1500. In the reminder of this section, we introduce each part in detail. 2.1 WIR Circuit Figure 2 shows the structure of the proposed WIR circuit. It is composed of three main parts: WIR controller, WIR register and selector. According to IEEE Std 1500, WIR circuit must produce the signals required for controlling the other components of the wrapper and this can be done through initializing the wrapper serial port and WIR register.
Fig. 2. Structure of the proposed WIR circuit
WIR Controller. WIR controller generates control signals of the wrapper. From hierarchical point of view, this controller is the last level of test hierarchy. The BIST controller constitutes the upper level controller and generates all of the wrapper serial port signals and an additional signal for parallel shift. The BIST controller initializes input signals to the WIR controller and shifts the necessary instructions to WIR register through WSI signal. When there is no instruction to shift, WSI signal is used to transfer the related data of the current mode. Generating the input signals of WIR controller through the BIST controller can help producing a hierarchical test structure in which a memory BIST controller manages all WIR controllers of the wrappers. This relation can reduce test complexity while causes higher compatibility between the two controllers. On the other hand, the test methodology which also affects the wrapper will be more flexible because the BIST controller is completely definable by designer. WIR Register. In IEEE Std 1500, WIR register receives required instructions and test data. The 3 bit register proposed in figure 3 is in complete accordance with the standard and composes of two stages: shift and update. WIR_WSI is the serial input which shifts data and instructions to WIR register. After shifting operation, the contents of shift register are loaded into the update register. WIR_controller produces WIR_shift and WIR_update control signals.
34
M. Songhorzadeh and R.N. Asli
Fig. 3. Structure of WIR Register
WIR Selector. WIR selector is another part of WIR circuit. It is used to connect WSI signal to any of the wrapper registers. Based on the IEEE Std 1500, only one register can be set between the WSI and WSO signals. The selector circuit separates the respective register and connects WSI signal to it. 2.2 Wrapper Boundary Register (WBR) WBR is an important element of IEEE Std 1500 which has the responsibility of applying test and functional stimulus to the core and receiving the core responses. Figure 4 shows the proposed structure of WBR which is specialized for embedded
Fig. 4. The proposed structure for Wrapper Boundary Register (WBR)
Embedded Memory Wrapper Based on IEEE 1500 Standard
35
Fig. 5. The proposed structure for WBR input cell
Fig. 6. The proposed structure for WBR output cell
memory core BIST applications and composed of several input and output cells, multiplexers and some glue logics. The operation of input and output cells is controlled by control signals from memory BIST controller. Figures 5 and 6 show input and output cell architectures, respectively. Each cell has two data and test input and output ports and can be set in three different operational modes. CFI and CFO ports are used to receive and shift out the functional data, while the CTI and CTO ports are allocated to receive and shift out the test data. There are three control signals for controlling the operation of the cells: WBR_s_shift, WBR_p_shift and WBR_capture. WBR_s_shift and WBR_capture signals are derived from the shiftWR and captureWR signals of WSP respectively and WBR_p_shift is resulted from an optional signal called WPP_shift which is added to WSP port for enabling parallel shift of WBR cells. Table 1 shows the value of each control signal in different operational modes. Table 1. Control signals of WBR Mode Functional Internal Test External Test
WBR_S_shift
WBR_P_shift
WBR_capture
0 0 1
0 1 0
0 1 1
36
M. Songhorzadeh and R.N. Asli
One of the most important issues in memory testing is at-speed test to detect delay faults. BIST architectures based on IEEE Std 1500 need many clock cycles to shift in test commands, update operation to the memory and capture and shift out the memory responses. In the proposed architecture, due to parallel operation of WBR cells, the test data is sent to the memory in each clock cycle, and the memory outputs is compared in real time. So by such an approach, the new test data is applied to the memory in each clock cycle. This time scheduling not only reduces test time, but also applies valid data to memory in each cycle. To realize the approach, a design like figure 4 is used. As can be seen, a 2-to-1 multiplexer is set between two input cells. One input of this multiplexer is used only for parallel test and the other comes from CTO of the previous cell. WBR_s_shift and WBR_p_shift signals control multiplexers and set WBR in appropriate configuration. 2.3 Wrapper Bypass Register (WBY) WBY is a one bit register sets between WSI and WSO signals and bypasses the wrapper in functional mode. WBY block diagram with input and output signals is shown in figure 7. WIR controller produces the only control signal of WBY which is called WBY_shift.
Fig. 7. WBY structure
2.4 Wrapper Data Register (WDR)
WDR is an optional register of IEEE std 1500 which shifts test outputs. When the memory is under test, WDR is set between WSI and WSO signals and shifts the diagnosis information out. The volume and content of this data is dependent on the structure of the designed BIST. WIR controller generates WDR_shift control signal.
Fig. 8. WDR structure
3 Operational Modes of EMW Functional mode: In this mode, the wrapper is bypassed and the memory implements the functional operation. The instruction code of this mode is 111. According to figure 3, when the reset signal is enabled, this value is loaded in the update register of WIR and
Embedded Memory Wrapper Based on IEEE 1500 Standard
37
WBY is set between WSI and WSO signals. According to figure 4, the three control signals WBR_p_shift, WBR_s_shift and WBR_capture are all set to 0 and the functional data can be shifted through the paths WFI_n into input_n and output_n into WFO_n for input and output cells respectively. Internal test mode: This mode is assigned to testing the memory and has an instruction code of 001. When the wrapper sets in this mode, the test data is shifted to the input cells through WPI parallel port and the memory responses are also shifted out from the memory through WPO parallel port. WDR is set between WSI and WSO signals and shifts the test results out. The values of the control signals are shown in table 1. External test mode: In external test mode, the logic surrounded the memory core is tested by shifting 010 to WIR. The values of the control signals change as shown in table 1. By setting WBR_s_shift and WBR_capture to 1 and WBR_p_shift to 0, WBR configures as a scan chain and sets between WSI and WSO signals. So applying the test data through WFI or receiving the response through WFO from the logics surrounding the memory, can be done by setting the WBR_capture to 0.
4 Simulation and Synthesis Results To evaluate the design, EMW has been simulated and synthesized with Xilinx 11.1 for memories with different configurations. It is synthesized using Xilinx 11.1 with 0.18 CMOS standard cell library. At first, EMW is simulated for a 16K×16 SRAM to measure test time. Table 2 shows the results of the synthesis for some march algorithms with different length. The proposed structure guarantees an at-speed test with the 147.1MHz clock frequency and it has an access time of 6.8 ns which are results from the synthesis. To evaluate the area overhead of the proposed approach, EMW is synthesized with Xilinx 11.1 and the results are compared with [12]. The wrapper structure of [12] is completely designed based on IEEE std 1500 without any modification. In this structure, WSP of the wrapper comes from a TAP controller and not from any the memory BIST controller, so the test procedure has less flexibility compared to the proposed structure. Table 3 summarizes the results on area overhead for different blocks in EMW and [12]. These wrappers are both synthesized for a 16K×16 SRAM and using 0.18 CMOS standard cell library. The results show the area overhead of the EMW is 120.79% improved compared to [12]. Also to evaluate the area overhead of the proposed wrapper for different memories, it is simulated and synthesized using Xilinx 11.1 for memories with various size and configurations. The memories are high density embedded SRAMs and EMW structure are synthesized using 0.18um CMOS standard cell library. Table 4 summarizes the synthesis results of area overhead of the proposed wrapper. In this table a N×W memory configuration denotes a memory with N words and each word has W bits. As can be seen, by increasing the size of the memory, the area overhead is significantly decreasing. Because by changing the configuration of the memory, only the number of the input and output cells of the WBR needs to be changed and the rest of the structure is the same for memories with different configuration and due to the results of table 3, WBR has the most area overhead.
38
M. Songhorzadeh and R.N. Asli Table 2. Test time for three different algorithm using EMW on a 16×16K SRAM March Algorithm March RABL [13] March BDN [14] March LR [15]
Test Time 7.616 ms 4.787 ms 3.046 ms
Table 3. Wrapper area overhead compared to [12] Wrapper Components WBY WDR WBR WIR circuit Total(Wrapper 16K×16) optimization
# of gates in Proposed Wrapper 16 50 864 426 1356
# of gates in Previous Wrapper NR* NR NR NR 2994 120.79%
Table 4. Wrapper area overhead for different memory sizes Memory size
EMW Number of gates
4 K×16 16 K×16 4 K×32 16 K×32 4 K×64 16 K×64
1320 1356 1896 1932 3048 3084
EMW area (mm2) 0.0136 0.0146 0.0196 0.0200 0.0316 0.0319
Area Overhead 3.59% 0.96% 2.59% 0.66% 2.08% 0.52%
5 Conclusion The structure of an at-speed Embedded Memory Wrapper (EMW) has been proposed. The proposed EMW structure is based on IEEE Std 1500 and suitable for Built-In Self-Test applications. One of the main issues in memory testing is at-speed test to detect delay faults and in the proposed wrapper this feature is realized by using parallel ports for input and output cells of the introduced embedded memory BIST wrapper boundary (MBWBR). Also diagnosis can be supported by shifting the diagnostic information out through WDR. The results shows EMW structure also has reasonable area overhead. Also any number of wrappers in EMW structure can receives their control signals from one memory BIST controller so the presented structure has the capability of diagnosis and parallel testing of multiple wrappers concurrently. In the future, we hope to develop a MBWBR which can share between multiple identical memories to reduce the area overhead of EMW.
Embedded Memory Wrapper Based on IEEE 1500 Standard
39
References 1. Hong Fang, B.: Embedded Memory BIST for Systems-on-a-Chip. MS Thesis, McMaster University, Hamilton, Ontario,Canada (2003) 2. Larsson, A.: Test Optimization for Core-based System-on-Chip. PHD Thesis, Linköpings university (2008) 3. Naddeau-Dosite, B., Adham, M.I.S., Abbott, R.: Improved Core Isolation and Access for Hierarchical Embedded Test, vol. 26(1), pp. 18–25. IEEE Computer Society Press, Los Alamitos (2009) 4. Wang, L., et al.: Turbo1500: Toward Core-Based Design for Test and Diagnosis Using the IEEE 1500 Standard. In: International Test Conference 2008 (ITC 2008), pp. 1–9 (2008) 5. Li, J., et al.: A Hierarchical Test Methodology for Systems on Chip. IEEE Micro 22(5), 69–81 (2002) 6. IEEE Computer Society, IEEE Standard Testability Method for Embedded Core-based Integrated Circuits- IEEE Std 1500TM-2005. IEEE, New York (2005) 7. Dean Adams, R.: High Performance Memory Testing:Design Principles, Fault Modeling and Self –Test. Kluwer Academic Publishers, New York (2005) 8. Aitken, R.C.: A Modular Wrapper Enabling High Speed BIST and Repair for Small Wide Memories. In: International Test Conference (ITC 2004), pp. 997–1005 (2004) 9. Vadeau-Dostie, B., Silburt, A., Agarwal, V.K.: A serial interfacing technique for external and built-in self-testing of embedded memories. IEEE Design & Test of Computers 7(2), 5–64 (1990) 10. Jone, W.B., Huang, D.C., Wu, S.C., Lee, K.J.: An efficient bist method for small buffers. In: Proc. IEEE VLSI Test Symp (VTS), pp. 246–251 (1999) 11. Huang, D.C., Jone, W.B.: A Parallel Built-in Self-Diagnostic Method for Embedded Memory Arrays. IEEE Trans. Computer-Aided Designed of Integrated Circuits and Systems 21(4), 44–465 (2002) 12. Squillero, G., Rebaudengo, M.: Test Techniques for Systems-on-a-Chip, Politecnico di Torino (2005) 13. Benso, A., Bosio, A., Di Carlo, S., Di Natale, G., Prinetto, P.: Automatic March Tests Generations for Static Linked Faults in SRAMs. In: Proceedings Design, Automation and Test in Europe DATE 2006, pp. 1–6 (2006) 14. Bosio, A., Natale, G.D.: March Test BDN: A new March Test for Dynamic Faults. In: IEEE International Conference on Automation, Quality and Testing, Robotics, AQTR 2008, pp. 85–89 (2008) 15. Van de Goor, A.J.: March LR: A test for realistic linked faults. In: Proc. IEEE VLSI Test Symp., pp. 272–280 (1996)
A SVPWM Control Strategy for Neutral Point Potential Compensation in Three-Level Inverter Jinsong Kang and Yichuan Niu Tongji University, College of Electronic and Information Engineering, 200092 Shanghai, China
Abstract. This paper introduces the topology of three-level inverter and analyses its operational process. According to the analysis, traditional SVPWM control strategy will cause neutral point potential shifting, thereby an improved control strategy is designed to solve the potential shifting by resynthesizing vectors in particular sectors. This control strategy reduces the neutral current to a value near zero to compensate the neutral point potential shifting. Simulation and experiment have verify the effect of this SVPWM control strategy. Keywords: three-level neutral point potential SVPWM.
1 Introduction Three-level inverter is widely applied in frequency control for high power scale, utility systems and rail transit etc. In comparison with traditional two-level inverter, three-level inverter possesses the advantages such as lower output voltage harmonics and lower switching loss, besides the electrical stress of power electronic devices is also minimized. Two dominant kinds of topology for three-level inverter are diode clamped and capacitor clamped between which the diode clamped is the most common topology in pragmatic use. Control strategies for three-level inverter could also be divided into three parts: single-pulse control method, PWM control based on carrier wave and space vector pulse width modulation (SVPWM). Because of easier implement in program and a higher DC voltage utilization, SVPWM is applied more extensively. Besides, neutral point potential balancing in three-level inverter needs to be taken into account and realized by modulating operating period of voltage vectors, thereby the mid-point voltage of capacitor can be stabilized.[1] Based on the operational principle of diode clamped three-level inverter (hereinafter referred to as the three-level inverter), this paper focuses on SVPWM control strategy and neutral point potential compensation for three-level inverter. It, starting from the voltage space vector distribution, analyzes the influence for neutral point voltage induced by voltage vector, thus a SVPWM control strategy based on vector synthesis is promoted and its effectiveness is verified by simulations.
2 Analysis of Three-Level Inverter Topology A three-phase three-level inverter topology is shown in Fig. 1. Each phase has four main switching devices, four freewheeling diodes and two clamping diodes. DC rail M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 41–48. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
42
J. Kang and Y. Niu
voltage is divided into two levels by two series capacitors C1 and C2. When power electronic devices VTa1 and VTa2 are conducting, the output voltage of terminal A is UDC/2, while VTa2 and VTa3 are conducting, the output voltage is 0. The conduction of VTa3 and VTa4 means the output voltage has its magnitude of -UDC/2.[2]
Fig. 1. Main circuit of diode clamped three-level inverter
In Fig. 1, the capacitor mid-point O is considered to be the reference neutral point, while point O’ is the mid-point of three-phase load. The relations between phase voltage of three-phase load and output voltage of inverter are
:
⎧U a = U A − U O ' ⎪ ⎨U b = U B − U O ' ⎪U = U − U ⎩ c C O'
(1) D
On the basis of space vector theory, introduce complex operator g( g = e j120 )into these equations, and combine the three-phase voltage equations. Then the vector representation of load phase voltage could be derived as Uref : U ref =
2 (U a + gU b + g 2U c ) 3
2 = [(U A − U O '' ) + g (U B − U O '' ) + g 2 (U C − U O '' )] 3 2 = (U A + gU B + g 2U C ) = u sα + ju sβ 3
In α and β stationary coordinates system,
(2)
usα and usβ are expressed as:
2 1 1 (U A − U B − U C ) 3 2 2 1 = (U B − U C ) 3
u sα = u sβ
(3)
Therefore, the 27 switching states known as output voltage vectors in stationary coordinates for three-phase three-level inverter are shown in Fig. 2(a).
A SVPWM Control Strategy for Neutral Point Potential Compensation
43
β
β
α
α
a. Space vector diagram
b. Vector synthesis in sector I
Fig. 2. Voltage space vector of three-level inverter
There are 19 voltage space vectors valid in the total 27, the other 8 vectors are redundant vectors. According to their magnitude, all space vectors can be divided into four categories: large vectors, medium vectors, small vectors and zero vectors. The 6 large vectors with a magnitude of 2U DC / 3 are: PNN, PPN, NPN, NPP, NNP, PNP. The 6 medium vectors are: PON, PNO, ONP, NOP, NPO, OPN which possess a magnitude of 3U DC / 3 . There are 6 groups of small vectors, each group has 2 vectors with a magnitude of U DC / 3 : (PPO, OON), (POO, ONN), (POP, ONO), (OPP, NNO), (OPP, NOO), (OPO, NON). The three zero vectors are: OOO, PPP and NNN.[5]
3 Neutral Point Potential Balancing of Three-Level Inverter In the operational process of three-level inverter, the inaccuracy of output voltage is caused by the non-conformity in charging and discharging of capacitors, which due to the discrepancy between the current flows into and out of the capacitors. [3] The heterogeneous influences upon neutral point potential may vary with the different vectors. Large vectors connect the phase terminals either to the positive or the negative dc rail. They do not cause the potential shifting in neutral point. The potential in each phase of three-phase load is equal in the 3 switching states of zero vectors. Even when all the loads are connecting to neutral point simultaneously, it will not cause the potential ripple. But, in medium vectors and small vectors, there is at least one phase connected to neutral point while others connected to the dc rail. Thus, the current flows through neutral point causing the unbalancing of neutral point potential in a form of potential ripple that fluctuates around the zero potential over time in a cycle. Fig. 3. shows the analysis of medium vector PON and small vectors POO, ONN. Equivalent circuits are given in Fig. 3, in order to explicate the cause of neutral point potential. iO represents neutral point current, while it is assumed the direction that the current flows out of neutral point is positive. As it's shown in Fig. 3(a), when the medium vector PON is on, neutral point current equals to the phase B load current, that is iO=ib. When ib>0, capacitor C1 is charging, hence its voltage UC1 increases; while capacitor C2 is discharging, its voltage UC2 decreases.
44
J. Kang and Y. Niu
a. PON
b. POO
c. ONN
Fig. 3. Equivalent circuit of voltage vectors β NPN
NON NPO
Ⅲ
OPN
Ⅱ
ξ
OPO
OON
PPO
NNN
NPP
OPP
NOO NOP
Ⅳ NNO
NNP
OOP
PPN
PON
Ⅰ
POO
ONN
PPP POP
Ⅵ
α
PNO
ONO
ONP
PNN
Ⅴ
OOO
PNP
Fig. 4. Voltage space vectors with UDC/4 under neutral point potential shifting
Thereby, neutral point potential UO=(UC2-UC1)/2 will decrease. Similarly, when ib<0, capacitor C1 is discharging, thus UC1 decreases; meanwhile capacitor C2 is charging, its voltage UC2 increases causing neutral point potential UO increases. In Fig. 3(b), neutral point current equals to the sum of load current in phase B and phase C when small vector POO is turning on, that is iO=ib+ic=-ia. Realizing that when small vector ONN is on, as it is shown in Fig. 3(c), neutral point current equals to the load current of phase A, that is iO=ia, the conclusion can be made that this small vector has an opposite effect upon neutral point potential in comparison of the previous analysis. Thus, it is neutral point current which contribute the primary cause to the neutral point potential shifting. Moreover neutral point current depends on three-phase load. Further analysis of neutral current shows that: current caused by medium vector can lead to fluctuation around the neutral potential, and quadrature axis will derive more low-frequency ripple than direct axis. Besides, the reactive component of small vector does not affect the neutral point potential, for that its integration is null during a cycle. On the other hand, due to its nonzero integration of active component, the neutral point potential will shift. By assuming the neutral point potential has shifted, the amount of valid voltage space vectors will increase up to 24, which is shown in Fig. 4. Both large vectors and
A SVPWM Control Strategy for Neutral Point Potential Compensation
45
zero vectors remain unchanged. Although the amount of medium vectors is unchanged, the direction and magnitude will alter. They deflect a clockwise angle of ξ degree in sector II, sector IV and sector VI, while in sector I, sector III and sector V, they deflect a anticlockwise degree of ξ. The 6 increments in small vectors remain the same direction, but their magnitudes change significantly in the form of that P vectors will be halved and N vectors will increase by half.
4 An Improved SVPWM Control Strategy An improved SVPWM control strategy utilizes redundancy of vectors to synthesize the output voltage space vectors and the neutral point potential shifting can also be compensated by this strategy. The directions of output voltage vectors are unchangeable, but their magnitudes are adjustable.
a. Improved space vector coordinates
b. Vector synthesis in sector ĉ
Fig. 5. Improved space vector coordinates and vector synthesis in sector
Ⅰ
From the previous analysis, the conclusion is that the two redundant small vectors in the same group have opposite effects upon neutral point potential, thereby the neutral point potential shifting is able to compensate by regulating the operating period of each small vector. For instance, the small vector ONN leads the neutral current iO= ia, while the small vector in the same group POO causes iO=-ia, hence the synthetic small vector is: U10 = (OOP + ONN ) / 2 . If there is serious neutral point potential shifting, it can be balanced by the operating periods of OPP and ONN in this cycle. The effects made by medium vectors alone will surely cause the neutral point potential shifting, however, small vectors can be introduced in order to balance the potential by reducing the neutral point current to zero for that the load current of every phase is remaining constantly during a relatively short sampling time. Use medium vector PON as an example. It will affect the neutral point potential by bringing load current ib out of it. When the small vectors ONN and POO are added, they will cause the corresponding currents ia and ib, thus the final output voltage vector is a synthetic vector: U20 = (PON +ONN + PPO)/3 , which is able to compensate the neutral potential shifting.
46
J. Kang and Y. Niu
Ⅰ for improved SVPWM control strategy
Table 1. Operating period of vectors in sector Region 1
T00 [1 2msin(S / 3 T )]Ts T10 2m sin(S / 3 T )TS
Region 2 Region 3 Region 4 Region 5
T10 [2 3mcosT 3msinT]Ts
T10
[2 3m cosT 3m sinT ]Ts
T11 [2 2 3m cos T ]Ts T20
T11
T 20
[
3 m cos T 1 ] T s
[2 2 3m cosT ]Ts T21
T11 [2msinT ]Ts
T21 [3m sinT ]Ts [ 3 3 m cos T 3 m sin T 3]T s
T21 [3 3 mcosT 3 msinT]Ts T22 [ 3 mcosT 3 msinT 1]Ts 2 2 2 2
3 3 m cos T 3 m sin T ]T T [ 3 mcosT 3 msinT 1]T [ 3m cosT 1]Ts T21 [3 22 s s 2 2 2 2
Large vectors and zero vectors are not necessary to synthesize, because they have no influence on neutral point potential. Fig. 5(a) shows all the voltage space vectors of improved SVPWM control strategy in coordinates of α and β, while Fig. 5(b) is the synthesis of vectors in sector Ⅰ. Table 1 illustrates the operating period of vectors in sectorⅠ. The regions of other sectors are similar to sector Ⅰ. In region 1 of sector Ⅰ, three basic vectors are U00, U10, U11 and their operating periods are T00, T10, T11. The switching sequence can be derived (the initial small vector is negative): ONN→OON→OOO→POO→PPO→PPO→POO→OOO→OON→ONN, while their operating periods are: T10/4→T11/4→T00/2→→T10/4→T11/4→T11/4→T10/4→T00/2→T11/4→T10/4.
5 Analysis of Simulation and Experiment Simulation is constructed in MATLAB. Assume that the DC voltage is UDC=1000V, the value of capacitor in DC link is 2000uf, the parameter of three-phase load is a motor with a power scale of 20 kW. The result of simulation about motor start is presented in Fig. 6. Fig. 6(a), showing waveforms of load phase voltage and load lineto-line voltage as well as neutral point potential of capacitor, is derived by traditional SVPWM control strategy with a modulation ratio m=0.8. It can be spotted that the neutral point potential suffers a relatively serious fluctuation caused by medium vectors. The potential shifting causes the inaccuracy of output voltage vectors both in phase voltage and line-to-line voltage. Fig. 6(b) shows the waveforms of load phase voltage, load line-to-line voltage and neutral point potential in improved SVPWM
(a)Traditional SVPWM
(b)Improved SVPWM
Fig. 6. Traditional SVPWM and improved SVPWM control strategy with m=0.8
A SVPWM Control Strategy for Neutral Point Potential Compensation
47
control strategy with a modulation ratio m=0.8. Obviously, the neutral point potential shifting is compensated by the control strategy and does not ripple at a large fluctuation.
Fig. 7. Neutral point potential in different control strategy with m=0.8
Fig. 7. is the waveform under different control strategies in different period. Period from 0 to 0.1 seconds uses mode 1 in traditional control strategy, while period from 0.1 to 0.3 seconds uses mode 2 in traditional control strategy. From 0.3 seconds on, the improved control strategy for compensating the neutral point potential is introduced. The waveform demonstrates the eminent effect of this control strategy.
(a) Driving signals of VTa1 and VTa3
(b) Driving signals of VTa2 and VTa4
Fig. 8. Driving signals of phase A in improved SVPWM
Fig. 9. Line-to-line voltage and current of phase A
48
J. Kang and Y. Niu
Fig. 8. and Fig. 9. show waveforms under experiment of improved SVPWM control strategy. Driving signals of VTa1 and VTa3 are shown in Fig. 8(a), and driving signals of VTa2 and
VTa4 are shown in Fig. 8(b). In Fig.9, line-to-line voltage possesses an outline of staircase which is familiar with the single-pulse control strategy. The phase current waveform is nearly sinusoidal, and the identical phase of voltage and current indicates the power factor is 1.
6 Conclusion This paper has researched SVPWM control strategy about compensation of neutral point potential shifting base on diode clamped three-level inverter. It is definite that the traditional control strategy has little effect about the compensation for neutral point potential shifting. Thus, the improved SVPWM control strategy based on vector synthesis is broached and is designed to reduce the potential shifting of capacitor. From the result of simulation, neutral point potential shifting is compensated and the output voltage vectors are more accurate than before. Besides, this improved control strategy can also be applied in multi-level inverters.
References 1.
2. 3.
4. 5. 6. 7.
8.
9.
Holtz, J., Oikonomou, N.: Neutral Point Potential Balancing Algorithm at Low Modulation Index for Three-Level Inverter Medium-Voltage Drives. IEEE Transactions on Industry Applications 43(3), 761–768 (2007) Kang, J.S., Wu, Y., Zhang, Y., Tao, S.G.: Carrier-PWM Control Strategies of Three-level Converters. Journal of Tongji University(Natural Science) 38(1), 124–129 (2010) Celanovic, N., Boroyevich, D.: A Comprehensive Study of Neutral-point Voltage Balancing Problem in Three-level Neutral-point-clamped Voltage Source PWM Inverters. IEEE Transaction on Power Electronics 15(2), 242–249 (2000) Wu, B.: High-Power Converters and AC Drives. Wiley-IEEE Press (2006) Kang, J.S., Zhang, Y.: Multi-level Converter Applied to Wind Power Generation System. Proceedings of the CSEE 24 (2009) Bose, B.K.: Modern Power Electronics and AC Drives. Prentice-Hall, Englewood Cliffs (2001) Song, W.X., Cao, D.P., Qiu, J.Y., Chen, C., Chen, G.C.: Study on the control strategy of three-level PWM rectifier based on SVPWM. In: IEEE 6th International Power Electronics and Motion Control Conference, IPEMC, vol. 1622 (2009) Kocalmis, A., Sunter, S.: Simulation of a Space Vector PWM Controller for a ThreeLevel Voltage-fed Inverter Motor Drive. In: 32th IEEE Indstrial Electronic Coference, pp. 1915–1920 (2006) Xia, L., Xu, G.Q., Hu, B., Kang, J.S.: Simulation Research on Clamped Topology Multilevel Converters. Mechatronics 13(1), 56–60 (2008)
Process Mining: A Block-Structured Mining Approach Yan-liang Qu* and Tie-shi Zhao College of Mechanical Engineering , Yanshan University , Qinhuangdao 066004, China
[email protected]
Abstract. Constructing process models from scratch is a complicated timeconsuming task that often requires high expertise. And there are discrepancies between the actual workflow processes and the processes as perceived by the management. Therefore, techniques for discovering process models have been developed. Process mining just attempts to improve this by automatically generating a process model from sets of systems’ executions. In this paper, a block structured process mining approach from audit logs to support process discovery is designed. Compare with other algorithms, the result of this approach is more visible and understanding of process model. This approach is used to a widely commercial tool for the visualization and analysis of process model. Keywords: Process mining; Process logs; Process models; Block-structured Mining.
1 Introduction Today, Setting up and maintaining a process management system requires process models which prescribe how business processes should be managed by the system [1,2,3]. Typically, the user is required to provide these models. Constructing process models from scratch is a difficult and error-prone task that often requires high expertise. An alternative way of constructing process models from scratch is to extract them from event-based data captured in form of logs from running business processes. The goal of discovering models is to extract process models for business processes from such logs [4,5,6,7]. In this paper, a block-structured process mining approach from audit logs to support process modeling is designed. Process mining includes three steps: preprocessing of logs, process mining and reasonable validation of model. Our research focuses on the process mining step and its interfaces to the preceding and subsequent steps. In the first step, the logs are filtered and noise removed to provide a pure and simple log (i.e. audit logs). The second step is the core step of mining. The remainder of this paper is organized as follows: first, we introduce the related works and preliminaries (Section 2), describe in more detail of the approach (Section 3) and then give an application of securities trade (Section 4). To conclude we provide pointers to related work and give some final remarks. *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 49–56. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
50
Y.-l. Qu and T.-s. Zhao
2 Related Work and Preliminaries In fact the idea of deducing the process model from logs is not new. In 1995, Pro. Jonathan. E.Cook firstly put forward the idea in software engineering area[8]. In 1998, Rakesh Agrawal firstly applied the idea in workflow modeling area[9]. However, until recent years this modeling technology is paid more attention and gradually becomes a new modeling research direction. Gudio Schimm has developed a mining tool (Process Miner) suitable for discovering hierarchically structured workflow processes[10,11]. Joachim Herbst and Dimitris Karagiann applied inductive approach and machine learning method in workflow mining[12,13]. W.M.P van der Aalst and his research team do much research work in workflow mining[14,15]. They have designed several different workflow mining algorithms, which include formal algorithms ( α , α+ , β ) and heuristic algorithm. And they firstly put forward Workflow nets (WF-nets), creatively mapping workflow management concepts onto Pertri nets. A workflow process is designed to handle similar cases. Cases are handled by executing tasks in a specific order. The workflow process model specifies which tasks need to be executed and in what order. Tasks are modeled by transitions and causal dependencies are modeled by places and arcs. Figure 1 is a working example of WF-nets.
Fig. 1. An example of WF-nets
A workflow log is a sequence of events. For reasons of simplicity we assume that there is just one workflow process. Note that this is not a limitation since the case identifiers can be used to split the workflow log into separate workflow logs for each process. Therefore, we can consider a workflow log as a set of event sequences where each event sequence is simply a sequence of task identifiers. Formally, W⊆T+ where W is a workflow log and T is the set of tasks. An example event sequence of Figure 1 is given below: A,O,E,I,J,E,I,J,E,I,P,H Definition 2.1. Let W be a workflow log over T, i.e., W⊆T+. Let a, b ∈T: – a >>W b task a followed by task b directly or indirectly – a >W b if and only if there is a trace σ = t1t2t3 . . . tn−1 and i ∈ {1, . . . , n−2} such that σ∈ W and ti = a and ti+1 = b – a →W b if and only if a >W b and b ≯W a – a W b if and only if a >W b and b >W a
‖
Process Mining: A Block-Structured Mining Approach
51
3 The Block-Structured Mining Method Because the flow of tasks is to be portrayed, control-flow mining techniques need to support the correct mining of the common blocks (e.g., control-flow constructs) that appear in process models. These blocks are: sequences, parallels, alternatives, loops, and non-free-choice, invisible tasks and duplicate tasks. In structured WF-nets, there are only four blocks: sequences, parallels, alternatives and loops. The block-structured mining method is focus on the four blocks above. Of cause, the approach is also helpful to other algorithms that face other blocks. 3.1 Route of the Mining Approach For four blocks: sequences, parallels, alternatives and loops, four mining algorithms are designed. The idea is: aim directly at logs, four mining algorithms are applied circulative in order and found blocks to make logs shrink through replace. The approach show in the below: Do while { do while{ algorithmsⅠ /* Sequence blocks mining } until can’t find new mining blocks do while{ algorithmsⅡ /* Alternative blocks mining } until can’t find new mining blocks do while{ algorithmsⅢ /* Loop blocks mining } until can’t find new mining blocks do while{ algorithmsⅣ /* Parallel blocks mining do mining sequence blocks in parallel blocks mining alternative blocks in parallel blocks } until can’t find new mining blocks } until can’t find new mining blocks Each out loop, one or a few blocks can be found. Through substitution, logs can get shrink and simplifying logs is as the basic data sets for the next loop. 3.2 Four Algorithms Algorithm I: Sequence blocks mining There are many sequence blocks in logs. Sequence blocks can be divided two kinds: explicit and implicit. Explicit sequence constructs can be shown in the logs conspicuously. Some sequence constructs is difficult to be found intuitionally due to the disturbing of other tasks (i.e., tasks in parallel). Next is the explicit sequence blocks mining algorithm. Implicit sequence blocks will be given in parallel blocks mining algorithm.
52
Y.-l. Qu and T.-s. Zhao
Input: logs W, m cases, W={σ1, σ2,…,σm,}, n tasks, T={ t1,t2,t3, . . . tn } Output: a set of new tasks T’, a set of new cases W’ For each pair
∈T×T and a!=b { If a→wb //exist sequence relation between a and b { Found sequence block B=ab Replace ab(series) with B in each case Modify task set T: add B, drop tasks a,b Record B=a+b in document table } } Algorithm II: Alternative blocks mining Alternative construct has two characteristics. First, each alternative block has one start task and one end task in process model. Second, there is only one task between start task and end task. Also, alternative blocks can be divided two kinds: explicit and implicit. Explicit alternatives constructs can be shown in the logs conspicuously. Some alternatives constructs is difficult to be found intuitionally due to the disturbing of other tasks (i.e., tasks in parallel). Next is the explicit alternatives blocks mining algorithm. Implicit sequence blocks will be given in parallel blocks mining algorithm. Input: logs W, m cases, W={σ1, σ2,…,σm}, n tasks, T={ t1,t2,t3, . . . tn } Output: a set of new tasks T’, a set of new cases W’ For each pair ∈T×T and a!=b { Sign=.T. A=Φ Forσ=σ1 to σm { If exist si=a in σ =s1s2s3… { If si+2=b A=A {si+1} Else {sign=.F. Break For } If exist si=b in σ =s1s2s3… { If si-2=a A=A∪{si-1} Else {sign=.F. Break For} }
∪
If sign and |A|>1 //a is start task and b is end task in alternative block. // the elements in set P are alternative items. { B=a+A+b Replace aAb(series) with B in each case Modify T, add B, drop tasks a,b
Process Mining: A Block-Structured Mining Approach
53
Record B=a+A+b in document table } } Algorithm III: Loop blocks mining After running of algorithmⅠand algorithmⅡ, loop constructs have only two kinds in Figure 2 at this time. The length of loop is 0 or 1. So, algorithmsⅢ is composed of part1 and part2.
Fig. 2. Two Kinds of Loop Constructs
Part1: mining loop construct C1 Input: logs W, m cases, W={σ1, σ2,…,σm}, n tasks, T={ t1,t2,t3, . . . tn } Output: a set of new tasks T’, a set of new cases W’ For each t∈T { Sign=.F. For σ = σ1 to σm If exist si=t in σ=s1s2s3… { If si+1=t { Sign=.T. Break For } } If sign{ B=ttt… Replace ttt… with B in each case Modify T, add B, drop task t Record B=t in document table } } Part2: mining loop construct C2 Input: logs W, m cases, W={σ1, σ2,…,σm}, n tasks, T={ t1,t2,t3, . . . tn } Output: a set of new tasks T’, a set of new cases W’ For each t∈T { Sign=.F. L=Φ Forσ=σ1 to σm If exist si=t in σ =s1s2s3… { If si+1<>t and si+2=t {
54
Y.-l. Qu and T.-s. Zhao
Sign=.T. L=L si+1 }
∪
} If sign{ B=t+L Replace t+L with B in each case Modify T, add B, drop tasks t,L Record B=t+L in document table } } Algorithm IV: Parallel blocks mining Firstly, it is necessary to part the parallel tasks. The key of partition is to create the equivalence classes of parallel tasks. It assumes that A={T1,T2,…} is a equivalence classes of parallel tasks. ∀ x1,x2∈Ti, x1 wx2. The algorithm of equivalence classes of parallel tasks:
‖
(1) Let T’ be the set of parallel tasks and R be the set of parallel tasks relations on logs W. T’=Φ; R=Φ.
‖
(2) ∀ a,b∈T, if a Wb then R=R∪(a,b),T’=T’∪{a}∪{b} (3) Extended relation R until make R be a equivalence relation. It is easy to make R satisfy reflexive, symmetric and transitive. (4) Partition equivalence classes T’/R.
∀ a∈T’, set Ti=[a]R={x|x∈T,a
‖
w
x}
So, A=T’/R={T1,T2,…}. Ti is a equivalence class that is the set of all elements that are related to a task a. In other words, the tasks in the set of parallel tasks may be not parallel tasks. Maybe, there exist sequence or alternative relations. For example, it is in Figure 3.
Fig. 3. An example of parallel constructs.
Logs are {BCFDG, BCDFG, BDCFG}. Tasks CFD are parallel tasks. But task C never appears in the behind of task F. So there has the sequence relation between C and F. Next is the rule to find out sequence relation among parallel tasks equivalence classes of A:
∀ Ti∈A, a, b∈Ti if a>>b then the relation of a and b is sequence. Also, there is the rule to find out alternative relation among parallel tasks equivalence classes of A: ∀ Ti∈A, a, b∈Ti if a>>b & b>>a then the relation of a and b is alternative.
Process Mining: A Block-Structured Mining Approach
55
Also, parallel construct have one characteristic. Each parallel block has one start task and one end task in process model. Input: logs W, m cases, W={σ1, σ2,…,σm}, n tasks, T={ t1,t2,t3, . . . tn }, A={T1,T2,…} is the equivalence classes of parallel tasks on W. Output: a set of new tasks T’, a set of new cases W’ For ∀ m, n∈T { Sign=.T. TS=Φ Forσ=σ1 to σm { If tasks(σ,m, n)<>Φ and ∃ Ti∈A,tasks(σ,m, n) ∈Ti { do case TS=Φ: TS=tasks(σ,m, n); TS<>tasks(σ,m, n): Sign=.F.; break for; Endcase } Else { Sign=.F.; Break for;} } If sign { Found parallel block B=mSn Replace mSn with B in each case Modify task set T: add B, drop tasks m, S, n Record B=m+S+n in document table } } Function Tasks(σ,a, b): caseσ= t1t2t3…tn, σ∈W. Exists a=ti,b=tj,i>j then Tasks(σ,a, b)={ti+1,ti+2,…,tj-1}
4 Conclusion In this paper we have presented an approach on discovering process models from process logs. This approach has been validated using logs of transactional information systems. It shows that the approach has an obvious advantage in getting the reasonable, security and understandable model Process mining is not restricted to creating new formal process models. Any organization's process will evolve over time, and thus their process models will need to evolve as well. Methods for discovery process may give a process engineer clues as to when and in what direction the process model should evolve, based on data from the currently executing process. While we have focused here on the use of these methods for generating process models, we also believe that they are useful in visualizing the data collected on a process. An engineer may simply be interested in a way to better understand the current process, as captured by the event data. Discovering patterns of behavior may be of help.
56
Y.-l. Qu and T.-s. Zhao
References 1. van der Aalst, W.M.P., van Hee, K.M.: Workow Management: Models, Methods, and Systems. MIT press, Cambridge (2002) 2. Fischer, L. (ed.): Workow Handbook 2001, Workow Management Coalition. Future Strategies, Lighthouse Point, Florida (2001) 3. Herbst, J.: A machine learning approach to workflow management. In: Lopez de Mantaras, R., Plaza, E. (eds.) ECML 2000. LNCS (LNAI), vol. 1810, pp. 183–194. Springer, Heidelberg (2000) 4. Agrawal, R., Gunopulos, D., Leymann, F.: Mining Process Models from Workflow Logs. In: Sixth International Conference on Extending Database Technology, pp. 469–483 (1998) 5. van der Aalst, W.M.P., van Dongen, B.F., Herbst, J., Maruster, L., Schimm, G., Weijters, A.J.M.M.: Workflow Mining: A Survey of Issues and Approaches. Data and Knowledge Engineering 47(2), 237–267 (2003) 6. van der Aalst, W.M.P., Weijters, A.J.M.M., Maruster, L.: Workow Mining: Which Processes can be Rediscovered, WP 74. BETA Working Paper Series. Eindhoven University of Technology, Eindhoven (2002) 7. Hammori, M., Herbst, J., Kleiner, N.: Interactive workflow mining. In: Desel, J., Pernici, B., Weske, M. (eds.) BPM 2004. LNCS, vol. 3080, pp. 211–226. Springer, Heidelberg (2004) 8. Cook, J.E.: Process Discoverying and Validation through Event-Data Analysis. Technical Report CU-CS-817-96, University of Colorado, Boulder, Colorado, Novermber (1996) 9. Agrawal, R., Gunopulos, D., Leymann, F.: Mining process models from workflow logs. In: Sixth International Conference on Extending Database Technology, pp. 469–483 (1998) 10. Schimm, G.: Generic linear business process modeling. In: Mayr, H.C., Liddle, S.W., Thalheim, B. (eds.) ER Workshops 2000. LNCS, vol. 1921, pp. 31–39. Springer, Heidelberg (2000) 11. Schimm, G.: Process miner - A tool for mining process schemes from event-based data. In: Flesca, S., Greco, S., Leone, N., Ianni, G. (eds.) JELIA 2002. LNCS (LNAI), vol. 2424, p. 525. Springer, Heidelberg (2002) 12. Herbst, J., Karagiannis, D.: Integrating machine learning and workflow management to support acquisition and adaptation of workflow models. International Journal of Intelligent Systems in Accounting, Finance and Management 9, 67–92 (2000) 13. Herbst, J.: Dealing with concurrency in workflow induction. In: Baake, U., Zobel, R., AlAkaidi, M. (eds.) European Concurrent Engineering Conference. Society of Computer Simulation (SCS), Europe (2000) 14. van der Aalst, W.M.P., Weijters, A.J.M.M., Maruster, L.: Workflow Mining: Discovering Process Models from Event Logs. IEEE Transactions on Knowledge and Data Engineering (12), 369–378 (2004) 15. de Medeiros, A.K.A., van der Aalst, W.M.P., Weijters, A.J.M.M.T.: Workflow mining: Current status and future directions. In: Chung, S., Schmidt, D.C. (eds.) CoopIS 2003, DOA 2003, and ODBASE 2003. LNCS, vol. 2888, pp. 389–406. Springer, Heidelberg (2003)
China RoHS: How the Changing Regulatory Landscape Is Affecting Process Equipment Reliability Chris Muller1,* and Henry Yu2 2
1 Purafil, Inc., 2654 Weaver Way, Doraville, GA 30340 USA Purafil Asia, Room 602B, Tengda Plaza, Haidian District, Beijing 100044 China [email protected]
Abstract. In 2006, China promulgated a law entitled “Administration on the Control of Pollution Caused by Electronic Information Products.” The purpose of this law is similar to that of the European Union’s RoHS Directive (2002/95/EC, “restriction of the use of certain hazardous substances in electrical and electronic equipment”). These regulations require the elimination of lead in electronic products and manufacturers now have to comply with RoHS if they want to continue to do business in the EU and China. Corrosion-induced failures were frequent in industrial process control systems even before RoHS regulations with a typical failure mechanism being the reaction of atmospheric sulfur with exposed metals. Corrosion can occur quite rapidly in humid environments especially in the presence of small amounts of atmospheric sulfur and chlorides resulting in e.g., intermittent equipment malfunctions, unplanned shutdowns, or failure of critical systems. This paper will discuss issues related to RoHS compliance, and China RoHS in particular, and the resulting potential for corrosion-related problems. Air quality and failure analysis data will be presented from several sites in China illustrating the fact that in addition to industrial environments, corrosive environments exist in locations that would otherwise be considered benign if not for the changes in electronic equipment mandated by RoHS legislation. Keywords: China RoHS, copper corrosion, corrosion control, electronic equipment, ISA Standard 71.04-1985, process controls, reactivity monitoring, reliability, RoHS, silver corrosion.
1 Introduction In 1998, the European Union (EU) discovered that alarmingly large amounts of hazardous waste were being dumped into landfill sites. Trends also indicated that the volumes were likely to grow 3-5 times faster than average municipal waste. This highlighted a massive, and growing, source of environmental contamination. In order to address these issues, the member states of the EU decided to create the Waste Electrical and Electronics Equipment (WEEE, 2002/96/EC) directive, whose purpose was to: *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 57–69. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
58
1. 2. 3. 4.
C. Muller and H. Yu
Improve manufacturers’ designs to reduce the creation of waste, Make manufacturers responsible for certain phases of waste management, Separate collections of electronic waste (from other types of waste), and Create systems to improve treatment, refuse, and recycling of WEEE.
The WEEE directive laid the groundwork for additional legislation and a proposal called EEE (Environment of Electrical & Electronics Equipment) was also introduced along the same lines. However, now this policy is generally referred to as the RoHS Directive and is often referred to as “Lead-Free” legislation. This is not a very accurate nickname, because it extends to other pollutants as well. The European Union (EU) directive 2002/95/EC “on the Restriction of the use of certain Hazardous Substances in electrical and electronic equipment” or RoHS was implemented in July 2006. This directive applies to electrical and electronic equipment designed for use with a voltage rating not exceeding 1,000 volts for alternating current and 1,500 volts for direct current. The requirements of this directive are applicable to the member states of the European Union. The purpose of the directive is to restrict the use of hazardous substances in electrical and electronic equipment and to contribute to the protection of human health and the environmentally sound recovery and disposal of waste electrical and electronic equipment. The EU's RoHS Directive restricts the use of six substances in electrical and electronic equipment: mercury (Hg), lead (Pb), hexavalent chromium (Cr(VI)), cadmium (Cd), polybrominated biphenyls (PBB) and polybrominated diphenyl ethers (PBDE). In order to comply with the EU ROHS legislation, all of these substances must either be removed, or must be reduced to within maximum permitted concentrations, in any products containing electrical or electronic components that will be sold within the European Union. Manufacturers have made significant investments in new processes that will eliminate these substances – especially lead. All applicable products in the EU market must now pass RoHS compliance. In short, RoHS impacts the entire electronics industry and compliance violations are costly – product quarantine, transport, rework, scrap, lost sales and man-hours, legal action, etc. Non-compliance also reflects poorly on brand and image and undercuts ongoing environmental and “due diligence” activities.
2 RoHS – The EU and Beyond Companies selling a broad range of electrical goods in the EU must now conform to WEEE and those same companies must also conform to RoHS. WEEE and RoHS rules, while laid down at the European level, are put into law at the national level. When exporting to Europe, it is essential to comply with national law in each relevant country.1 The EU law simply serves as a template for national laws, which may differ considerably. At the end of February 2006, China promulgated a law entitled “Administration on the Control of Pollution Caused by Electronic Information Products.” The purpose of 1
Croatia, Norway, and Switzerland are not part of the EU. They may nevertheless have legislation implementing EU WEEE and RoHS rules, or similar legislation.
China RoHS
59
this law is similar to that of the European Union’s so-called RoHS Directive (2002/95/EC, “restriction of the use of certain hazardous substances in electrical and electronic equipment”). In fact, the Chinese law is simply called “China RoHS” in the industry. While there is some commonality between the RoHS requirements in the EU and those in China, there are also significant differences that must be recognized and dealt with. However, in both instances these RoHS regulations require the elimination of lead in electronic products and manufacturers have to comply with RoHS if they want to continue in to do business in the EU and China. Many consider China RoHS regulations to be considerably more restrictive than those passed in the EU. As described by a potentially-impacted customer: “Without exemptions, it is impossible to build a compliant board” [1]. Although, the regulations are different and are based on different processes, the aims are similar. Convergence of the regulations is not foreseen at present, as it would require high-level negotiations between the EU and China and changes of approach [2]. Some of the key differences between China RoHS and EU RoHS [3]:
The scope is different. The requirements are different. There are no exemptions ... yet. Labels, marks, and disclosure are required. The concept of "Put on the market" is different. The penalties are different. The responsibilities dictated by the law are different. Material testing down to the homogeneous materials in every single part you use to build your product may be required. The regulation has been in force since March 1, 2007. You will have to design labels and issue change orders in order to comply. The standards that you have to comply with just became available in finalized versions.
RoHS regulations are also either in effect or pending in many countries – including Argentina, Australia, Brazil, Japan, Korea, Taiwan, and the United States.
3 Unintended Consequences An aim shared by almost all RoHS legislation is the elimination of lead in electronic products. Thus the main issue for the electronics industry became the use of lead in the manufacture of components and circuit board assemblies. A printed circuit board, or PCB, is used to mechanically support and electrically connect electronic components using conductive pathways, or traces, laminated onto a non-conductive substrate. Alternative names are printed wiring board (PWB), and etched wiring board. A PCB populated with electronic components is a printed circuit assembly (PCA), also known as a printed circuit board assembly). All PCBs have conducting layers on their surface typically made of thin copper foil. If the copper is left unprotected, it will oxidize and deteriorate. Traditionally, any exposed copper was plated with lead (-based) solder by the hot air solder leveling (HASL) process.
60
C. Muller and H. Yu
HASL has been working well for many years, is the predominant surface finish used in the industry, and is also the cheapest PCB available. Now RoHS essentially makes PCBs using the HASL process obsolete. Failure modes on other common leadfree PCB finishes such as Organic Solder Preservative (OSP) and electroless-nickel immersion gold (ENIG) make these technologies undesirable. As a result, alternatives such as immersion silver (ImmAg) and organically coated copper (OCC) are currently used as board finishes. Due to inherent processing difficulties with OCC boards, ImmAg boards are becoming the standard PCB finish in the electronics industry [4]. Immersion silver would seem to have a bright future under RoHS [5]. It is easy to apply to the boards, relatively inexpensive, and usually performs well. While ENIG presently has a larger market share, over the past 12 months more immersion silver process lines have been installed in PCB facilities than any other finish. However, some manufacturers have complained about issues with corrosion. If severe enough, this could lead to shorts and ultimate failure of the board. The Internationsl Society for Automation (ISA) Standard 71.04 [6] classifies several levels of environmental severity for electrical and electronic systems: G1, G2, G3 and GX, providing a measure of the corrosion potential of an environment (Table 1). G1 is benign and GX is open-ended and the most severe. Table 1. Classification of Reactive Environments Class G1
Severity Copper Level Reactivity2 Mild
G2 Moderate
G3
Harsh
GX
Severe
Comments
An environment sufficiently well-controlled such that corrosion is not a factor in determining equipment reliability. An environment in which the effects of corrosion are measurable <1000Å and corrosion may be a factor in determining equipment reliability. An environment is which there is a high probability that corrosive attack will occur. These harsh levels should prompt further <2000Å evaluation resulting in environmental controls or specially designed and packaged equipment. An environment in which only specially designed & packaged equipment would be expected to survive. Specifications for ≥2000Å equipment in this class are a matter of negotiation between user & supplier. <300Å
In a study performed by Rockwell Automation [7] looking at lead-free finishes, four alternate PCB finishes were subjected to an accelerated mixed flowing gas corrosion test. Important findings can be summarized as follows: 1) The immersion gold (ENIG) and immersion silver (ImmAg) surface finishes failed early in the testing. These coatings are the most susceptible to corrosion failures and are expected to be much more susceptible than traditional HASL coatings. The use of these two coatings may make the PCB the weak link with regard to the sensitivities of the electronic devices to corrosion. 2
Corrosion is reported as angstroms (Å) normalized to a 30-day exposure.
China RoHS
61
2) None of the coatings can be considered immune from failure in an ISA Class G3 environment. 3) The gold and silver coatings could not be expected to survive a mid to high Class G2 environment based on these test results. A leading world authority on RoHS, ERA Technology, has also reported that, “Recent research has shown that printed circuit boards made using lead-free materials can be more susceptible to corrosion than their tin/lead counterparts.” Industry is working diligently to address these concerns but they cannot be addressed overnight. The Reliability and Failure Analysis group at ERA Technology has diagnosed failures in electronic devices due to interaction with low levels of gaseous sulfides – failures that caused both a financial impact to the manufacturers and safety issues with their customers. Recent work showed that corrosion could occur even with measured hydrogen sulfide levels as low as 0.2µg/m3 (0.14 ppb). Another reference describes the formation of a 200 angstrom (20 nanometers) thick layer of silver sulfide in 100 hours at a concentration of just 100µg/m3 (72 ppb) [8]. This is the equivalent of an ISA Class G3 severity level.
4 The Reality of RoHS Corrosion-induced failures have been and continue to be frequent in electronics products used in industrial environments. A typical failure mechanism of electronic systems in these environments is the reaction of atmospheric sulfur with exposed metals – particularly copper and silver. These metals are found in PCB traces, integrated circuit (IC) leads and device terminations. Copper sulfide (Cu2S) or silver corrosion products can grow and creep across surfaces such as IC packages and PCB substrates. Historically, the use of silver in electronic assemblies has been a reliability risk unless the silver is protected from the environment. Silver creep corrosion (electromigration) can occur quite readily in humid environments especially in the presence of small amounts of atmospheric sulfur and chlorides which are common in many paper mill environments. More than twenty years ago manufacturers of distributed control systems (DCS) such as Digital Equipment Corporation (DEC), ABB, and Honeywell described their concerns regarding equipment corrosion in research documents, technical papers, and site planning guides. These companies also provided guidance in terms of environmental conditions necessary to protect their computer equipment (Figure 1) [9]. Manufacturers of industrial computer equipment still specify the control of corrosive gases in their site planning guides and/or the terms and conditions necessary to maintain warranties and service contracts. Even in environments previously considered benign with regards to electronics corrosion serious problems as a direct result of RoHS compliance are being reported. One failure mechanism caused by the lead-free transition was not foreseen by the industry. It was soon discovered that lead-free products with an immersion silver (ImmAg) surface finish will creep corrode in what some electronic equipment manufacturers consider to be high sulfur environments (ISA Class G2 or higher). The
62
C. Muller and H. Yu
Fig. 1. Copper corrosion rate distribution guidelines [9].
majority of creep corrosion failures occurred on hard disk drives (HDD), graphic cards, and motherboards in desktop or workstation systems (only those with ImmAg PCB finish were affected). Echoing the study by Rockwell, Hewlett Packard documented several case studies where creep corrosion of ImmAg finish caused failures of computer systems in high sulfur environments (Mazurkiewicz 2006). It was stated that sulfur-based corrosion failures increased dramatically upon introduction of ImmAg surface finish on computer products (due to ROHS requirements). Alcatel-Lucent also has experience with this issue in a paper detailing their work with mixed flowing gas testing of various lead-free surface finishes and their resistance to creep corrosion [10]. Analysis revealed the corrosion products to be copper sulfide (Cu2S) and silver sulfide (Ag2S). High amounts of Cu2S typically indicate the presence of active sulfur compounds such as elemental sulfur (S), hydrogen sulfide (H2S), or organic sulfur
China RoHS
63
compounds such as mercaptans. Ag2S can also be formed by these contaminants but can also be formed by exposure to sulfur oxide (SOx) contamination. The most common failures are with the most common components, with the highest incidence of failures being found in capacitors, plastic encapsulated microcircuits (PEMs) and printed circuit boards (PCBs). A University of Maryland study of field failures from 70 companies revealed 30% of ALL failures were capacitors – mainly MLCCs (multilayer chip capacitors) [11].
5 RoHS and Reliability The requirement for corrosion control in industrial environments remains constant. However, more companies are now taking a much closer look at developing or updating specifications due to the changes made by controls manufacturers to comply with the RoHS restrictions on the use of lead. This includes specifying an ISA Class G1 environment for control rooms, etc., where in the past a Class G2 environment was considered acceptable. Specifications are also now showing up requiring the measurement and quantification of silver corrosion rates and the related corrosion products. With many control systems manufacturers opting to use the ImmAg process for their PCBs and other electrical components, and the fact that silver is much more sensitive to lower levels of corrosive gases, we have already seen increased concerns over equipment reliability. As the National Reliability Manager for one pulp and paper manufacturer described it, “The ISA Standard is becoming irrelevant because it does not take into account silver corrosion. All of the new equipment purchased over the last year contains silver and the failure rate for some components is now being measured in months instead of years.” 5.1 Problems with RoHS-Compliant Equipment A recycled paper mill began a project in 2006 to replace obsolete equipment that could no longer be supported (no manufacturer technical support, lack of spares, etc.) with new DCS and programmable logic controls (PLCs). The original hardware had been installed for 15 years and had proven to be reliable and robust. One contributing factor to this was the fact that many of the locations where this equipment had been installed were classified as ISA Class G1 for copper. However, the corresponding silver corrosion rates were up to 20x higher and essentially all of the silver corrosion reported from the analysis of corrosion classification coupon (CCCs) collected over several years was due to sulfur corrosion. This presented some concern based on changes to the equipment due to RoHS compliance. Before starting the replacement program, mill staff was very aware of copper corrosion and the reliability risks associated with exceeding the ISA severity levels specified by the equipment manufacturers. Routine CCC monitoring results showed that copper corrosion was significant but not extreme in many locations; however, the corresponding silver corrosion rates were routinely much higher. On average the silver corrosion rate was 10x that for the corresponding G1 copper rate [12].
64
C. Muller and H. Yu
Within three months of replacing the old systems, the mill began experiencing frequent failures of the input/output (I/O) stations installed on the process fieldbus (PROFIBUS).3 A lot of work was put into making the PROFIBUS installations errorfree, and the architectures were reengineered to follow the core rules precisely (i.e., the systems were pulled back to very simple, straight-line installations). These I/O stations or nodes have a number of I/O modules attached to them and communicate the inputs and outputs over the PROFIBUS with the DCS. Since the problems were intermittent and symptoms appeared related to PROFIBUS communication or installation, a full diagnostic process was implemented to capture any and all information about each failure. This included examination of the hardware, the hardware location, its position on the bus, architectures, and software settings. Through systematic investigation and analysis, several potential causes were eliminated and root cause analysis for the remaining issues was performed. Mill staff recognized that the resistance of a choke installed on the base unit of the I/O station to eliminate signal noise was increasing and on failed units was a high or open circuit. Ironically enough this choke was only installed to meet other European legislation pertaining to radio frequency interference (RFI) emissions. The critical issue identified pertaining to this choke was that it is an electronic chip design with a very thin layer of silver on the IC legs in compliance with the lead-free regulations of RoHS. Corrosion of this silver layer destroyed the choke’s connection to the printed circuit and hence the high resistance. Consultation with the manufacturer confirmed the presence of silver on the chokes. The mill was already in the process of installing air cleaning equipment to remove corrosive gases from the air and reduce the rates of copper corrosion, however, the extremely short time to failure for these silver-containing components accelerated this effort in order to prevent additional failures. Staff is confident that these failures were purely the results of RoHS compliance and the use of silver. The lack of information and warnings by the supplier regarding potential issues related to their RoHS compliance programs is troubling considering that even when presented with this evidence, they still concluded these failures were due to “installation errors.” 5.2 Potential Problems Exist Everywhere CCC data from many different locations throughout China show the same trend of environments being classified as an ISA Class G1 for copper but having silver corrosion rates much higher. This indicates serious cause for concern for any electronic equipment using an ImmAg surface finish specifically or any silver or silver-plated components in general. Another contributing factor to concerns over the increased use of silver in industrial applications is that even with tightened control requirements for other environmental parameters (e.g., temperature and humidity) and the positive effect this has on the rate of copper corrosion, silver can still exhibit high rates of corrosion even in well-controlled environments. Closer examination of this CCC database shows that in industrial locations reported as ISA Class G1 for copper corrosion, the 3
PROFIBUS is the dominant fieldbus, with more than 4.8 million of these installed in the process industries by the end of 2008. Utilizing a single-cable “bus” structure, fieldbus eliminates hardwiring in the automation of production lines (http://www.profibus.com/).
China RoHS
65
corresponding silver corrosion rate can be up to 10x higher (Table 2). Furthermore, every CCC analyzed shows evidence of sulfur contamination (as Ag2S). In urban locations for many commercial applications such as bank data centers, financial institutions call centers, telecommunications switch centers, and many others, the ratio of silver corrosion to copper corrosion can also be 10:1. On average, however, the amount of silver corrosion measured is 4-5x that of the copper corrosion reported (Table 3) [13]. Contaminant gases containing sulfur, such as SO2 (sulfur dioxide) and H2S, are the most common gases in paper mills, refineries, chemical plants, etc. that cause hardware corrosion and corrosion control in industrial environments is acknowledged as a requirement to assure electrical and electronic equipment reliability. One example of component failure is from sulfur gases entering a component package and attacking the silver resulting in the formation of Ag2S. The mechanical pressure created by the Ag2S formation inside the package damaged its mechanical integrity Table 2. Pulp and Paper Mill CCC Data4 [13]
Location
Area/Room
DC Drive Room Australia DC Drive Rm MCC AHU Room Austria DCS Room Electrical Room Control Room Brazil Operations Room MCC DCS Room China Wet End Control Computer Room DCS Cabinet Finland MCC Control Room Mechanical Room Holland Server Room Splicer Room Control Room Japan IPC Room DCS Room DCS Panel MCC Room Korea PLC Panel Electrical Room USA Wet End Drives Control Room 4
Cu2S 0 0 0 0 182 115 192 205 0 182 182 124 0 0 0 0 0 0 0 0 215 187 204 102 172 196 175
Copper Corrosion CuCu2O Total Unk 101 0 101 142 0 142 112 0 112 180 0 180 78 0 260 46 0 161 101 0 293 88 0 293 125 0 125 104 0 286 78 0 260 44 0 168 118 0 118 106 0 106 150 0 150 68 0 68 78 0 78 105 0 105 173 0 173 231 0 231 62 0 277 61 0 248 56 0 260 50 0 160 34 0 206 81 0 277 86 0 261
Silver Corrosion AgISA Total AgCl Ag2S Unk Class G1 0 1,259 0 1,259 G1 0 2,455 0 2,455 G1 0 2,356 0 2,356 G1 0 3,142 0 3,142 G1 0 3,491 0 3,491 G1 0 1,582 0 1,582 G1 0 1,042 0 1,042 G1 0 1,234 0 1,234 G1 0 948 0 948 G1 0 1,022 0 1,022 G1 0 1,118 0 1,118 G1 0 5,467 0 5,467 G1 0 1,636 0 1,636 G1 0 2,634 0 2,634 G1 0 2,796 0 2,796 G1 0 2,182 0 2,182 G1 0 1,964 0 1,964 G1 0 1,145 0 1,145 G1 0 1,497 0 1,497 G1 0 2,145 0 2,145 G1 0 1,038 0 1,038 G1 0 1,848 0 1,848 G1 0 1,810 0 1,810 G1 0 1,155 0 1,155 G1 35 1,315 0 1,340 G1 0 1,565 0 1,565 G1 0 5,073 0 5,073
The total corrosion measured is actually the sum of individual corrosion films: Cu2S = copper sulfide, Cu2O = copper oxide, CuUnk = copper unknowns, AgCl = silver chloride, Ag2S = silver sulfide, AgUnk = silver unknowns. All data is normailzed to a 30-day exposure.
66
C. Muller and H. Yu Table 3. CCC Data for Data Centers in China [13] Copper Corrosion
Location Bank Headquarters – Tianjin Bank – Beijing Financial Services Co. – Beijing Electronics Co. HQ – Shanghai Financial Services Co. – Shanghai Bank – Shanghai (1) Financial Institution – HK Banking Co. – Shanghai Bank – Shenzhen Investment Co. – Beijing Financial Services Co. – Beijing Bank – Shanghai (1) Banking Company – HK Bank – Shenzhen Industrial Co. HQ – Dong Ying Bank – Jinan Electronics Co. HQ – Zhuhai Bank – Beijing Bank HQ – Tianjin Bank – Shanghai (2)
Cu2S 0 0 110 92 70 0 143 139 159 0 248 258 230 265 299 334 0 426 415 587
Cu2O Cu-Unk Total 69 0 69 75 0 75 40 0 150 88 0 180 121 0 191 205 0 205 69 0 212 90 0 229 91 0 250 268 0 268 67 0 315 89 0 347 121 0 351 91 0 356 80 0 379 75 0 409 465 0 465 85 0 511 179 0 594 180 0 767
G1 copper coupon average G2 copper coupon average
Silver Corrosion ISA Class AgCl Ag2S Ag-Unk Total G1 0 623 0 623 G1 0 636 0 636 G1 0 1,680 0 1,680 G1 0 2,421 0 2,421 G1 0 1,253 145 1,398 G1 0 1,309 0 1,309 G1 0 1,434 0 1,434 G1 0 491 0 491 G1 0 909 0 909 G1 835 96 96 1,027 G2 0 1,666 0 1,666 G2 0 1,047 0 1,047 G2 0 1,476 0 1,476 G2 0 3,200 0 3,200 G2 0 1,603 0 1,603 G2 0 1,833 0 1,833 G2 0 1,549 0 1,549 G2 0 861 0 861 G2 0 1,122 0 1,122 G2 45 1,742 0 1,787
183 G1 silver coupon average 449 G2 silver coupon average
2,128 1,501
and caused the device to fail [14]. This and other failure mechanisms are becoming common occurrences when using RoHS-compliant electronic equipment and components produced using the ImmAg process, and to a lesser degree, the ENIG process. To maintain a high level of equipment dependability and availability, it should be understood that these are dynamic environments where many maintenance operations, infrastructure upgrades, and equipment change activities occur on a regular basis. Airborne contaminants harmful to sensitive electronic devices can be introduced into the operating environment in many ways in addition to the ventilation system. For instance, chlorine can be emitted from PVC insulation use on wires and cables if temperatures inside the DCS cabinets get too high. However, it is still the outdoor ambient air used for cooling and pressurization that remains the primary source of corrosive contaminants and it should be cleaned before its introduction into the control room environment. With the changes to process control equipment due to the RoHS directives, plant managers and operators should include an environmental contamination monitoring and control section as part of an overall site planning, risk management, mitigation, and improvement plan. Included in this plan should be considerations for the assessment of the outdoor air and indoor environment with regards to corrosion potential. ISA Standard 71.04 can be used to provide site-specific data on the types and levels of gaseous contamination and the amount of corrosion being formed. CCCs can be used as a survey tool to
China RoHS
67
establish baseline data necessary to determine if and what type of environmental controls are needed. The second part of the plan should be the development and specification of a specific contamination control strategy. Corrosion in an indoor environment is most often caused by a short list of chemical contaminants or combinations of contaminants. The contaminants present in a specific room are highly dependant on the controls put in place to mitigate them. Most often this would involve the selection and application of the appropriate chemical filtration systems to clean both the outdoor ventilation air as well as the indoor air. The final part of the plan would be to establish a real-time environmental monitoring program based on the severity levels established in the ISA Standard. Real-time Atmospheric Corrosion Monitors (ACMs) or Continuous Corrosion Transmitters (CCTs) can provide accurate and timely data on the performance of the chemical filtration system as well as the room air quality [15]. The absence of gaseous contamination controls can be the result of a lack of knowledge and education. Often the relationship between corrosion levels and hardware failures in control rooms is overlooked or unknown. However, due to the continuing efforts of companies like ABB, Dell, Honeywell, HP, IBM, Rockwell, Siemens, and others, this knowledge gap is shrinking and successful corrosion monitoring and control programs are being developed and implemented – assuring reliable operation of process measurement and control equipment. New manufacturing techniques using much thinner conductive components than in previous generations of this equipment, the use of silver as a primary surface finish, and the lack of silver standards from ISA are all contributing factors to an increased risk for electronic process measurement and control equipment used in a paper mill environment. Further, the general lack of information from manufacturers regarding the changes made for RoHS compliance and any resulting reliability issues means that environmental monitoring and contamination control will be mandatory to assure reliable performance and profitable operations.
6 Ongoing and Future Work The amount of corrosion forming over any given period is a primary indicator of how well-controlled an environment may be. It has been proven that if an environment exhibits a reactivity rate of <300Å / 30 days for each copper (ISA Class G1) – without evidence of sulfur contamination (as Cu2S) and silver corrosion – without chlorine contamination (as AgCl) – there is little else that can be done, economically, to improve the environment. Examination of corrosion data from copper and silver CCCs makes it more and more apparent that one cannot accurately determine the true corrosive potential of an environment when following the current methodology of ISA Standard 71.04. This copper-only corrosion monitoring will not and cannot conclusively determine the presence or absence of environmental chlorine or sulfur oxides, and it only provides circumstantial evidence of whether silver corrosion is occurring or not. The fact that the ISA Standard does not take silver corrosion into account when assigning severity levels poses a serious dilemma for those charged with the operation
68
C. Muller and H. Yu
and maintenance of critical process control equipment. If monitoring indicates a Class G1 environment (for copper) but there are high levels of silver corrosion, does one go about their business and assume that the environment poses no threat to their electronic equipment? Or do they use silver corrosion monitoring as evidence of an increased risk potential for those components that are now RoHS compliant? These questions are being asked and many are working to provide the answers. The authors are involved with current efforts to update the ISA Standard to include silver corrosion monitoring as a requirement in developing environmental severity levels. The first changes will most likely be to require the use of both copper and silver for environmental assessments with the silver data used both qualitatively (e.g., sulfides present/absent, chlorides present/absent) and quantitatively. Additionally, the Ag2S/Cu2S ratio can be used to indicate humidity effects. 6.1 RoHS Is Here to Stay RoHS costs have been conservatively estimated at $8B industry-wide, yet whether restricting the use of these substances yields even $8B worth of positive environmental impact is questionable [16]. However, the fact remains that there is a perceived environmental benefit to eliminating the lead in the HASL process. Manufacturers of electrical and electronic equipment have to comply if they want to continue to do business in the EU, China, and other countries, and many have taken the ImmAg route as their path to compliance. This has taken care of one issue but has presented new challenges with regards to equipment reliability. Assuring long-term equipment reliability requires working with plant personnel to quantify the corrosive potential of an environment towards the various types of electronic equipment in use, providing engineered solutions for gaseous contaminant control, and ongoing monitoring of the controlled environment to assure compliance with standards and specifications. The successful application of such a corrosion control program in pulp and paper mills, refineries, chemical plants, and many other industrial settings will protect critical process measurement and control equipment and assure profitable manufacturing operations.
References 1. Dills, J.: China RoHS Phase 2: Hard Data Reveals a Red Flag (2007), http://www.emsnow.com/npps/story.cfm?id=24880 2. Barker, C., Xing, W.: Comparative Study of European and Chinese Environmental Measures Restricting Hazardous Substances in Electrical and Electronic Equipment, EUChina Trade Project (2007), http://www.rohs-international.com/site_files/rohsinternational.com/RoHS_Comparative_Study_Final_Report_EN.pdf 3. Kirschner, M.: RohS in China. Conformity Magazine (2006), http://www.conformity.com/PDFs/A07/A07_F25.pdf 4. Mazurkiewicz, P.: Accelerated Corrosion of Printed Circuit Boards due to High Levels of Reduced Sulfur Gasses in Industrial Environments. In: Proceedings of the 32nd International Symposium for Testing and Failure Analysis, Austin, Texas, November 12-16, pp. 469–473 (2006)
China RoHS
69
5. UYEMURA International Corporation: Printed Circuit Boards: Final Finish Options (2008), http://www.uyemura.com/library-2.htm 6. ISA: Standard ISA-71.04-1985 – Environmental Conditions for Process Measurement and Control Systems: Airborne Contaminants, International Society for Automation, Research Triangle Park, North Carolina (1985) 7. Veale, R.: Reliability of PCB Alternate Surface Finishes in a Harsh Industrial Environment. In: Proceedings of SMTA International, Rosemont (Chicago), Illinois, September 25-29, pp. 494–499 (2005) 8. Guide to the Compliance with the RoHS Directive [9] Digital Equipment Corporation, Copper Corrosion Rate Distribution Guidelines (2007), http://www.era.co.uk/index.asp 9. Reid, M., Punch, J., Ryan, C., et al.: The Corrosion of Electronic Resistors. IEEE Transactions: Components and Packaging Technologies 30(4), 666–672 (2007) 10. Center for Advanced Life Cycle Engineering, CALCE Long-Term Pb-Free Study (2008), http://www.calce.umd.edu/lead-free/longterm.htm 11. Crosley, G., Muller, C.: How the Changing Regulatory Landscape is Affecting Equipment Reliability, TAPPI EPE Conference (2009) (in print) 12. Purafil .:Corrosion Classification Coupon (CCC) Database (2009) (unpublished data) 13. Anon .: ASHRAE Datacom Series: Particulate and Gaseous Contamination in Datacom Environments (2008) (unpublished) 14. Purafil .: Environmental Monitoring & Assessment Tools (2009a), http://www.purafil.com/products/monitoring.aspx 15. EuroAsia Semiconductor, Substance Regulations, more law! (2006), http://www.euroasiasemiconductor.com/news_full.php?id=7447
Building Process Models Based on Interval Logs Yan-liang Qu* and Tie-shi Zhao College of Mechanical Engineering,Yanshan University, Qinhuangdao 066004, China
[email protected]
Abstract. Contemporary process management systems are driven by explicit process models, i.e., a workflow design is required in order to enact a given workflow process. Constructing process models is a complicated and timeconsuming task that requires high expertise. Therefore, techniques for discovering process models have been developed. In this paper, we extend the execution of an activity as a time interval, and present a new method for synthesizing process models from sets of systems’ audit log. A process model graph (directed graph) generated by the method for a process captures all its executions and dependencies that are present in the audit log, and preserves existing parallel. We compare the model graphs generated by the method (interval) to non-interval methods. The observation is that the graphs are more faithful, the number of excess and missing edges is consistently smaller and it depends on the size and quality of the log. Keywords: Process discovery; Process management; Logs; Process models.
1 Introduction Today, process management systems (i.e., workflow management systems) are applied in many organizations. Setting up and maintaining a process management system requires process models which prescribe how business processes should be managed by the system [1]. Typically, the user is required to provide these models. Constructing process models from scratch is a difficult and error-prone task that often requires high expertise. An alternative way of constructing process models from scratch is to extract them from event-based data captured in form of logs from running business processes. The goal of discovering models is to extract process models for business processes from such logs [2,3,4,5]. We assume that the execution of process instances from which we have captured a log is controlled by knowledge that only the actors have in mind. This process-related knowledge is called the implicit model. In the case that a log does not cover all possible ways of executing a process, the discovering process model may be different from the implicit model due to the fact that it contains dependencies between activities which are not part of the implicit model. The obvious limitation of discovering process models is that the quality of a discovering model, with respect to *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 71–78. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
72
Y.-l. Qu and T.-s. Zhao
its implicit model, depends on how much the log covers the implicit model. Also, its characteristic of being the most specific can only be related to the log, not to the implicit model itself. On the other hand, many organizations that run their systems using legacy applications do not have a model of the processes within the organizations [1]. Current tools for model detection operate on the resource level only. Thus, there is a need for tools to build business process level models rather than the resource level. There are few methods for constructing a business process model from information stored in a workflow log (a collection of process execution logs). In this paper, the interval model is introduced. the idea of interval model is unlike the event-based models in which the execution of an activity is represented as a single event, we view the execution of an activity as a time interval based on its starting and ending events that are present in the workflow log. So we can recognize concurrent activities with a single process execution, since intersecting intervals in a process execution represent concurrent activities. In event based models concurrent activities cannot be recognized in a single process execution. In addition, based on the data in a log of some workflow systems we can recognize conditions that specify when activities are immediately concurrent (i.e., modeled as AND-join from some activity in the model). Given a workflow log we show that compared with the event based approach, the interval approach permit the reconstruction of a more accurate process model graph.
2 Related Studies The topic of process discovery is not new [2,3,4,5,6]. Compared to existing work, our work can be viewed as an extension to the event based approach taken by [2,8]. They use a single event to denote the execution of an activity and reconstruct a directed acyclic graph as the model. In [6] Cook and Wolf searched for software processes by investigating events in concurrent environment. They present three methods for process discovery: neural networks, a purely algorithmic approach, Markovian approach. However, they do not provide an approach to generate explicit process models. W.M.P van der Aalst and their research team do much research work in workflow mining. They have designed several different workflow mining algorithms, which include formal algorithms (α, α+ , β ) and heuristic algorithm. The limitations of the α algorithm are loops, invisible tasks and duplicate tasks. In [9] the method is based on time interval. The algorithm is complex and difficult to realize. In [8] Joachim Herbst and Dimitris Karagiann applied inductive approach and machine learning method in workflow mining. However the algorithm only deduced workflow models with sequential structure.. A comprehensive survey on process discovery techniques is presented in [3].
3 Interval Model The workflow’ log contains the recorded basic information that refers to process executions. Each execution of a process is composed of executed activities ordered on
Building Process Models Based on Interval Logs
73
a time axis. Although in different systems the structure forms of the log are different,the recorded basic information nearly same. For each process instance (execution), logged records contain the following events of an activity: {ready, started, restarted, ended normally, force finished, terminated}. Each record in the log contains additional data such as: time, process name, process ID (an execution), Activity name, Activity ID, and User ID. Some other systems generate richer audit trails that contain more events per executed activity. One example is the MQWorkflow Audit trail that follows the WFMC audit standard and provides logs that contain start and stop events for each activity (in addition to other events), the details of the running business process instance, and its business process template. Life-span. The life-span of an executed activity is to be the time interval from its start event to its termination event. Extended life-span. The extended life-span of an executed activity is to be the time interval from its ready event to its termination event. Since many legal executions may not be present in the log and since parallel activities appear sequentially in an execution, some none dependent activities can be considered as dependent with respect to the log. In a given process log W over T (T is the set of activities of process) ,let a, b∈ T,we can get: a wb: Activities a and b are concurrent activities if one of the following conditions is satisfied: (3-1) ∃a,b in two executions belong W and two executions over the same activities: in one execution: a appears before b; in other execution: a appears after b (3-2) in one execution: aextended life-span∩bextended life-span≠null a→w b: activity b is not a successor of a if for every execution in W at most one of a or b is present. A consistent workflow graph of a given process log is optimal if it has the smallest number of excess and absent edges (with respect to the original model graph) over all consistent workflow graphs defined by that log.
‖
4 Interval Method for Generating a Process Model Graph The interval method is divided into two steps: Step 1: generating process execution graphs A graph is generated for each execution (execution graph). The interleaving of intervals in a single execution makes this graph non-trivial. During this step we keep information of overlap intervals. Next, a single graph is generated for all the execution graphs that have the same set of activities. Step 2: combining execution graphs Combining executions graphs is done in step2. The reason for combining first executions that run over the same set of activities stems from the observation that, in general, they were all run on a single subset of the workflow graph (i.e., the
74
Y.-l. Qu and T.-s. Zhao
parameters for the business process that was used to select the participating edges were the same). Thus, the resulting graph corresponds to a flow graph. So in the end, the process model graph is generated by combining graphs that are generated from the process executions in the log.
Ⅰ
4.1 Algorithm for Step 1 Input: an execution E from a process log where activity events are sorted based on time. Output: an execution graph 1. Scan E from left to right ,find out all pairs of set :
,,…, ,set Ai is continuous finished events, set Bi is continuous ready events; 2. Add to the graph each node for each different activity (not distinguish ready state and finished state) in A1,A2,…,An,B1,B2, …,Bn. For every pair (i=1,2, …,n), add edges from each node in Ai to every node in Bi . Fig. 1 is a sample of original workflow graph and following is its three executions where Ti to a ready event and Ti’ is a terminated event.
Fig. 1. An sample of original workflow graph
1. (T1,T1’,T2,T3,T4,T3’,T5,T6,T2’,T7,T4’,T7’,T8,T5’,T6’,T8’,T9,T9’) 2. (T1,T1’,T3,T2,T4,T2’,T7,T3’,T4’,T5,T6,T8,T7’,T5’,T6’,T8’,T9,T9’) 3. (T1,T1’,T3,T3’,T5,T6,T6’,T8,T8’,T5’,T9,T9’)
Ⅰ
For execution 1,we run algorithm : First we get pairs of set: <{T1},{T2,T3,T4}>,<{T3},{T5,T6}>,<{T2},{T7}>,<{T4,T7},{T8}>,<{T5,T6,T8},{T9}> then we can get:
Fig. 2. Execution graph for execution 1
Building Process Models Based on Interval Logs
75
Also, algorithm applied on execution2 and 3. Fig. 3 shows the result.
Fig. 3. Execution graphs for execution 2 and 3
Because from a single execution we could not be able to find all the available parallel. And at this stage, there may have redundant edges that may be removed when combining the graph with other execution graphs on the same set of activities. 4.2 Step2: Combining Execution Graphs First we combine execution graphs that have the same set of activities. We refer to the new graph as the reconstructed flow graph. In the step 1 we also generated a set of pairs that comprise the “forbidden” edges. If two activities overlap then there is a pair (forbidden edge) in this set. For example, in execution 1 we can get forbidden edges: (T2,T3),(T2,T4), (T2,T5), (T2,T6), (T3,T4), (T4,T5),(T4,T6), (T4,T7), (T5,T6),(T5,T7) ,(T5,T8) ,(T6,T7) ,(T6,T8); In execution 2:(T3,T2),(T3,T4), (T3,T7), (T2,T4), (T4,T7), (T7,T5),(T7,T6), (T7,T8), (T5,T6),(T5,T8) ,(T6,T8) ; In execution 3:(T5,T6),(T5,T8) ; So, in the example, the resulting flow graphs of executions 1 and 2 are given in Fig. 4. We can see that the edges (T7,T8) (T4,T5) (T4,T6) are removed because they are forbidden edges of executions 1 and 2.
Fig. 4. The resulting flow graph of executions 1 and 2
Now we merge all flow graphs to get the merged flow graph. Fig. 5 is the result of the sample. Edge (T3, T8) is a excess edge. At this merge stage, some of the nodes are changed to have an OR semantics. The merge is carried out in a similar way to the previous step but the forbidden set is now empty. As a result there may exist strongly connected cycles in the merged flow graph. So in the last step, it is necessary to break
76
Y.-l. Qu and T.-s. Zhao
Fig. 5. The resulting flow graph of executions 1,2 and 3
the strongly connected components in the merged flow graph and get the finial workflow graph.
Ⅱ
Algorithm for Breaking Strongly Connected Components Given a merged flow graph G = (V, E). N(G): the set of nodes in G; A(G): the set of G’s edges( included in or out edges). Gscc={C1,C2,…,Ck} is the set of strongly connected components in G. For each C∈Gscc , N(C)=Sc Bc Ic Oc satisfied Sc Bc Ic Oc=null The set of nodes Sc is defined as :
∪ ∪∪ ∩ ∩∩ S ={v | v∈N(C)∧A(v) ⊆A(C)} c
The set of nodes Bc is defined as : Bc={v | v∈N(C)
∧ ∃ s,t∈{N(G)-N(C)}∧<s, v>∈A(C)∧∈A(C)}
The set of nodes Sc is defined as :
{
Ic={v | v∈ N(C)-N(Bc)}
∧ ∃ s∈{N(G)-N(C)}∧<s, v>∈A(v)}
The set of nodes Sc is defined as :
∧ ∃ t∈{N(G)-N(C)}∧∈A(v)}
Oc={v | v∈{N(C)-N(Bc)} do
The edges in A(Bc), the edges going from N(Bc) to N(Ic) and the edges going from N(Sc) to N(Ic) are removed ( The reason of moved edges is that there have no depended relations between them.). So the time complexity of the algorithm is O(e·V2),where e is the number of execution and V is the number of different activities in the log.
5 Experiment Results For comparing different algorithms, a process graph generator was designed and used it to generate a process graph and a set of legal flow subgraphs. Executions were made from the flow graphs to serve as input to the algorithms. We tested two algorithms. The interval algorithm (Interval Sorted) and the Non-Interval algorithm. We show the average percentage of missing and excess edges for each of the two algorithms as function of the size of the log.
Building Process Models Based on Interval Logs
77
In Fig. 6 each input graph has 15 nodes.
Fig. 6. Comparing the algorithm on logs from graph with 15 nodes
The average missing edges percentage of each of the two algorithms is relatively stable and is independent with the log size. The Interval algorithm gives the best results (between 10% and 9%). The average excess edges percentage is relatively stable for the Non-Interval algorithm. the interval algorithms are more sensitive to the size of the logs. For more experiments and details see [11,12]. One issue of concern is the percentage of missing edges. All two algorithms miss some portion of the original edges. This portion does not depend on the number of executions. Interval algorithms are more accurate (in resemblance to the original model) than the Non-Interval.
6 Conclusion In this paper an approach on discovering process models from time-based logs is introduced .This approach has been validated using logs of transactional information systems such as MQWorkflow. The process model graph generated is more faithful in the sense that the number of excess and missing edges is consistently small and is depends on the size and quality of the logs. Process discovery is not restricted to creating new formal process models. Any organization's process will evolve over time, and thus their process models will need to evolve as well. Methods for discovery process may give a process engineer clues as to when and in what direction the process model should evolve, based on data from the currently executing process. Whilst we have focused here on the use of these methods for generating graphical process models, we also believe that they are useful in visualizing the data collected on a process. An engineer may simply be interested in a way to better understand the current process, as captured by the event data. Discovering patterns of behavior may be of help.
78
Y.-l. Qu and T.-s. Zhao
References 1. van der Aalst, W.M.P., van Hee, K.M.: Workow Management: Models, Methods, and Systems. MIT press, Cambridge (2002) 2. Agrawal, R., Gunopulos, D., Leymann, F.: Mining process models from workflow logs. In: Schek, H.-J., Saltor, F., Ramos, I., Alonso, G. (eds.) EDBT 1998. LNCS, vol. 1377, pp. 469–483. Springer, Heidelberg (1998) 3. van der Aalst, W.M.P., van Dongen, B.F., Herbst, J., Maruster, L., Schimm, G., Weijters, A.J.M.M.: Workflow Mining: A Survey of Issues and Approaches. Data and Knowledge Engineering 47(2), 237–267 (2003) 4. van der Aalst, W.M.P., Weijters, A.J.M.M., Maruster, L.: Workow Mining: Which Processes can be Rediscovered? BETA Working Paper Series, WP, vol. 74. Eindhoven University of Technology, Eindhoven (2002) 5. Hammori, M., Herbst, J., Kleiner, N.: Interactive workflow mining. In: Desel, J., Pernici, B., Weske, M. (eds.) BPM 2004. LNCS, vol. 3080, pp. 211–226. Springer, Heidelberg (2004) 6. Cook, J.E., Wolf, A.L.: Discovering Models of Software Processes from Event-Based Data. ACM Transactions on Software Engineering and Methodology 7(3), 215–249 (1998) 7. van der Aalst, W.M.P., van Dongen, B.F.: Discovering workflow performance models from timed logs. In: Han, Y., Tai, S., Wikarski, D. (eds.) EDCIS 2002. LNCS, vol. 2480, pp. 45–63. Springer, Heidelberg (2002) 8. Herbst, J., Karagiannis, D.: An inductive approach to the acquisition and adaptation of workflow models. In: Proceedings of the IJCAI 1999 Workshop on intelligent Workflow and Process Management: The new frontier for AI in Business, Stockholm, Sweden, pp. 52–57 (1999) 9. Golani, M., Pinter, S.S.: Generating a process model from a process audit log. In: van der Aalst, W.M.P., ter Hofstede, A.H.M., Weske, M. (eds.) BPM 2003. LNCS, vol. 2678, pp. 136–151. Springer, Heidelberg (2003) 10. Măruşter, L., Weijters, A.J.M.M.T., van der Aalst, W.M.P., van den Bosch, A.: Process mining: Discovering direct successors in process logs. In: Lange, S., Satoh, K., Smith, C.H. (eds.) DS 2002. LNCS, vol. 2534, pp. 364–373. Springer, Heidelberg (2002) 11. Feng, C.: Workflow Mining Algorithm Research on Time-based Log.Master thesis, Shandong University (2006) 12. Cui, Y-s.: Workflow Management with Openness and Flexibility. Master thesis,Shandong University (2004)
Fostering a Management Model of Librarians at Vocational College e-Libraries Ling-Feng Hsieh1, Mu-Chen Wu2, and Jiung-Bin Chin1,3 1
Department of Transportation Technology and Logistics Management, Chung Hua University 2 Department of Technology Management, Chung Hua University Director of Library and Department of Health Business Administration, Hungkuang University 3 Department of Hospitality Management, Hungkuang University, No.34, Chung-Chie Rd., Shalu, Taichung County, 433, Taiwan [email protected]
Abstract. The most serious difficulty in human resources confronted by the vocational college e-libraries of today in Taiwan are resulted from extreme shortage in number of librarians of various libraries, room for improvement in librarian quality and the lack of performance fostering system for librarians. The paper tries to combine innovative human resource practices and systems of business circle in USA and a concept of competency introduced by the business circle of USA, UK and Japan consecutively, conducts in-depth discussion in terms of the effect of human resources at vocational college e-libraries in Taiwan; and plans to propose human resources management strategies that are beneficial to vocational college e-libraries in Taiwan, so as to achieve a purpose of fostering the performance of library affairs to expect to create new opportunities for future development of vocational college e-libraries. Keywords: Innovative Human Resource Practices and Systems, Competency, Vocational College e-Library.
1 Introduction The vocational colleges in Taiwan nowadays face acute competition and are in an era of rapid change in technology, an innovative thinking and reform is inevitably necessary to cater the trend in order to face various harsh challenges. The library on the one hand plays a role to support class activity and academic research in campus, it on the other hand, plays an extremely important “service” unit in various schools; undertaking great task of “information services” required by teachers and students of entire school. In order to cater information technology that changes with each passing day and strong pressure of competition from libraries of same kind, the vocational college e-libraries of today have to apply many management concepts of business circle to foster the performance of library affairs, in which the authors’ more than a decade experience in vocational college e-libraries has enabled a profound understanding to them that human resource related issues are the biggest problems for M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 79–86. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
80
L.-F. Hsieh, M.-C. Wu, and J.-B. Chin
such kind of library to manage. The paper tries to further discuss the innovative human resource practices and systems of business circle in USA from various perspectives, with various concepts of competency added on to conduct a discussion. Lastly, it plans to propose human resource management strategies that are beneficial to vocational college e-libraries in Taiwan by referring to authors’ 10 years experience in actual participation in vocational college e-library affairs, so as to achieve a purpose of fostering the performance of library affairs to expect to create new opportunities for future development of vocational college e-libraries.
2 Literature Review 2.1 Innovative Human Resource Practices and Systems Perspective Ichniowski et al. (1996) has summed up the meaning of innovative human resource management is to look for higher level of freedom to work, enhance level and scope of employee participation in decision making and foster employee-employer collaboration within an organization. These systems include workplace innovation, profit sharing to employees and job security [1]. According to Huselid (1995), those create High Performance Work Practices are named as Innovative Human Resource Practices and Systems, and the elaboration of so-called High Performance Work Practices includes comprehensive personnel recruitment, selection and training process; official platform for information sharing, attitude towards work evaluation, position design, complaint handling process and employee management participation plan; performance evaluation, promotion & incentive remuneration system policies and processes to reward employees who report outstanding performance [2]. According to Ichniowski et al. (1995), Innovative Human Resource Practices and Systems extensively refer to various non-conventional work practices applied by the business circle of USA, which are all non-conventional work practices that differ from “conventional work practices such as narrow job descriptions that are in direct proportion with salary level, serious cut between worker and supervisor responsibilities, decision right only limited to management level, official channel is required to achieve communication and solve conflict” [3]. Hsu Lien-en, Kang Shuo-fu (1998) pointed that, most of the outcomes of empirical studies have led to a fact that the facilitation of employee’s participation in decision making, enhancement of employee’s capability or creation of high performance working environments all support the theory of Innovative Human Resource Practices and Systems comparatively, where contributions in reduction in staff turnover, enhancement of business productivity and increase in financial performance are recognized especially. However, it will subject to the effects of factors such as system uncertainty, undefined system combination relationship, organization inertia, distrustful employee-employer relationship, features of industrial technology and industry competition environment while implementing Innovative Human Resource Practices and Systems [4,5]. Pfeffer (1994) has once proposed that the Innovative Human Resource Practices and Systems have many positive effects on the business management including : 1.
Fostering a Management Model of Librarians at Vocational College e-Libraries
81
Cautious election of employees, 2. Long-term employment, 3. Relative high salary, 4. Employee participation, 5. Training and development, 6. Job rotation, 7. Bonus and reward, 8. Information sharing, 9. Gap shortening, 10. Regular measurement [6]. 2.2 Competency Perspective A general understanding on the competency studied by McClelland (1973) since 1970s is action characteristics of high achiever in terms of job function. The high achievers here refer to people who are steady and always report high performance. The most significant definition of competency in USA refers to personal characteristics that are highly associated with excellent and sustainable job performance [7]. The concept of competency proposed by Mirable (1997) covers knowledge, skills, ability and other characteristics, which are the so-called KSAOs [8]. Lee You-ting and Wu Wei-wen (2003) have consolidated a trend of development for competency as follows: [9]Generally speaking, competency is originated from McBer Consultancy Company founded by McClelland under the commission of United States Department of State in 1970s and began a study on the performance difference of diplomats. There are applications and promotions of competency devoted by McLagan after the mid-1980s, which were respectively applied to manpower recruitment and competency development of human resource management field. Besides, having a lasting achievement, Spencer has developed a competency dictionary with standard scale, which helps evaluate level of competency. A truly growing stage of competency comes after the mid-1990s, with important catalyst comes from the “Competence at work: Model for superior performance” announced by Mr. & Mrs. Spencer (1993), in which a wave of fever in competency adoption has raised among the enterprises [10]. To sum up impartially, it should be feasible for enterprises to apply a concept of competency to recruitment or selection, education training or competency development, human resource appraisal by looking from the experiences of UK, USA and Japan, while it is more difficult to apply the concept to salary or remuneration. Schoonover, Stephen C. (1998) has proposed that the human resource competency required for future success can be divided into: core competencies, level-specific competencies and role-specific competencies according to a “Human Resource Competencies for the Year 2000: The Wake-up Call” [11].
3 The Applications of Two Perspectives in Vocational College e-Libraries According to various discussions mentioned above, it is known that “Innovative Human Resource Practices and Systems” and competency concepts were highly attended to and practically adopted by the business circle, however, the budget amount the librarian number of vocational college e-library are far less than general university libraries, providing service quality and reader demand that have no difference to general university libraries in reality. Therefore, an introduction of novel and effective human resource practices and systems and concepts to vocational
82
L.-F. Hsieh, M.-C. Wu, and J.-B. Chin
college e-libraries in Taiwan will be extremely urgent and important issue. Being part of the members who actually works for the vocational college, the authors shall consider how to apply the Innovative Human Resource Practices and Systems and competency concepts to the human resource practices of vocational college e-libraries effectively and practically, and try to discuss and propose feasible suggestions from below few directions: 3.1 An Angle of Management Philosophy The librarian in the library is one of the key factors that affects human resource management, they have to develop unique management philosophy upon specific targets set upon his/her own departments, which are described briefly as below: 1. Abandon authority of leaders and supervisors. 2. Empower staff with greater rights and responsibilities. 3. Empower staff with higher level of freedom to work. 4. Share a chance of leadership with staff. 5. Provide channels to communicate and solve conflicts. 3.2 Features of Department Culture The management of vocational college e-libraries shall establish specific department culture of their own, the essence of this culture should cover employee’s employment security, sharing of employee’s welfare, complete employment system for the employees, diverse training systems for existing and new employees, staff incentive remuneration system, staff job rotation system, incessant innovation of workplace, immediate problem solving ability, establishment of problem solving team, suggestions hearing from employees, mission related systems establishment by role and responsibility, a concept of library is a “work team”. The library will be attended to and recognized more if vocational college e-libraries possess the culture characteristics of this department to provide professional, swift and correct service quality through kind, proactive and active service attitudes. 3.3 Division of Job and the Innovation The vocational college e-libraries in Taiwan are extremely short of manpower in overall, especially the large-scale book procurement, book inventory checking, book numbering, book processing, data input, book on the shelf, shelf location adjustment and other bulky and trivial tasks. The author has realized that a fence between departments shall be broken and shall subject to no original department structure and workplace limitation as long as it involves the whole library, massive and complicated business. An innovative way of temporary mission grouping and project team establishment shall be fully adopted so as to jointly accomplish the tasks of entire library as there is certain timeline for project team establishment normally, therefore the library should have a managerial and forming system to keep the original organization structure exist as remained to sustain high work efficiency. 3.4 Work Team Learning The vocational college e-librarians are unable to deal with the challenges of rapid change in external and internal environments individually, they need to rely on a
Fostering a Management Model of Librarians at Vocational College e-Libraries
83
complete work team, and a concept of teamwork, division of job and innovation adopted and encouraged by Innovative Human Resource Practices and Systems will all foster the performance of library. Therefore, a learning-based organization is required for the vocational college e-libraries in terms of establishing an effective and innovative work team, the librarians shall try the five core disciplines of learningbased organization, to proceed from change of mental model, how to learn anytime anywhere, fostering self competency, develop systematic thinking in a novel way and learn self-breakthrough. 3.5 Cautious Selection and Employment of Librarian The guidelines to select and employ the librarians of vocational college e-library are complied with the Innovative Human Resource Practices and Systems and competency concepts. First of all, the library shall conduct “work analysis” upon the job function of each librarian, i.e. requirements of academic and work experiences, level of job title, authority, expertise & competencies and function by responsibility are criteria of human resource planning to the library, which is also a benchmark for the library to select librarians. Moreover, more and more new librarians selected by vocational college e-libraries nowadays are the so-called “new generation”. This fresh new force within the library refers to people born after 1970s or even after 1980s. According to the study by Wu Mei-lien (2005), the new generation reports low stability in work moods comparatively, a weak sense of connection to the organizations or institutions, emphasizes on egoism, reports lower level of commitment to the organization, is short of thinking and reports stronger subjectivity. Therefore, the libraries have to effectively utilize the characteristics of this new generation, with sufficient freedom and flexibility, compliments and encouragement and in-depth understanding rendered through education training, respect & care, to turn their disadvantages into advantages, which will definitely better expert the manpower of vocational college e-libraries [12]. 3.6 Job Rotation of Librarians The librarians of vocational college e-libraries are universally insufficient; therefore, the library should simplify its business and introduce job rotation system. The job rotation of librarians helps reinforce absorption of diverse experience of librarians among various departments of libraries, and enables understanding between departments and experience sharing; while a faster speed of rotation to work under other departments that causes inability to explore a full view of various job functions should be avoided. 3.7 Training and Development of Librarians Another point to highlight the application of Innovative Human Resource Practices and Systems to the vocational college e-libraries is the continuing education of librarians, which can be considered in terms of following directions:
84
L.-F. Hsieh, M.-C. Wu, and J.-B. Chin
1. Design the tour training to enable a comprehensive and clear understanding to the new joined librarians who just enter a professional workplace. 2. Establish a monitoring system; minimize the scope of gap between theory and practice through experience sharing from senior librarians. 3. Accomplish the framework of professional discussion; establish an issue that could enable parallel conversation individually, public discussion on the subject with jointly interest, as well as a professional conversation system that stimulates mutual practices. 4. Reinforce management competencies, for example: human resource management, communication and negotiation skills, use of budgets &funds and capability in decision making and analysis etc. 5. Establish an information update system to precisely take control of expertise and development and movement of information technologies. 6. Acquire information skills, according to Huang Cheng-chun (2000), the librarians of vocational college e-libraries should reinforce network transmission know-how, computer software application and computer hardware maintenance and other information related skills [13]. 3.8 Incentive System of Librarians The vocational college e-library is intrinsically a non-profit organization, in which the incentives to motivate the librarians should combine the goal of library with the goal of individual in one upon following methods: 1. Suggest the school to provide special reward to librarians who report outstanding performance. 2. Provide librarians a better quality, comfortable and pleasant working environment. 3. Provide librarians a fair and smooth promotion procedure. 4. Establish a set of comprehensive further study and learning system for librarians. 5. The school should give more respect, consideration and recognition to the librarians. 3.9 Performance Evaluation of Librarians Performance enhancement of employee and organization is one of the purposes of Innovative Human Resource Practices and Systems and competency concepts. Although the knowledge, competency, skill, performance and level of effort of individual librarian differ from one another, a proper measure for performance evaluation is required to enable more understanding of librarians to the management, and to award them and provide suggestion to their advantages and disadvantages in terms of work, so as to enable good interaction to each other, in which this outcome of performance evaluation can be regarded as an indicator to staff promotion, job transfer, disposal, discharge, training and development; however, they should pay attention to and work hard to establish a set of subjective performance evaluation criteria that comply with the times and shall respect personal differences and encourage exceptional outstanding performance of each individual in order to achieve the purpose of performance evaluation.
Fostering a Management Model of Librarians at Vocational College e-Libraries
85
3.10 Problem Solving Skill There are many new ways for vocational college e-libraries to execute the missions; including work team, job rotation, problem solving team, employee’s suggestions and quality related missions, the vocational college e-libraries nowadays should introduce training through a manner of “case study” under a circumstance of extreme manpower shortage, have the librarians developed a deep thought on the questions, propose solutions to the questions, choose solutions and analyze the outcomes of decision makings to foster the quality of librarian and adapt-ability for immediate problem solving.
4 Conclusions There will be tougher challenges for various organizations to face when stepping into the 21st century, in which the human resource will be the most valuable asset to various organizations and there has no exception to the library unit of course. The vocational college e-libraries in Taiwan are now facing challenges such as social environment that varies from minute to minute, a more acute competition between schools, rapid change in information technology and increasing reader demand and a difficulty in manpower shortage generally. Therefore, various libraries should effectively adopt Innovative Human Resource Practices and Systems and competency concepts, and introduce related effective strategies that fully implement to daily library affairs. To sum up, a difficulty in manpower shortage will certainly be solved if vocational college e-libraries fully implement the viewpoints and methods of Innovative Human Resource Practices and Systems and competency concepts, where the library staff will be responsible for the tasks that suit themselves and will be able to create action features and competencies with high performance for the library. The library staff will eventually exert the human resource function of vocational college e-libraries to a level of perfection and create opportunities for the development of vocational college e-libraries!
References 1. Ichniowski, C., Kochan, T.A., Levine, D., Olson, S., Strauss, G.: What Works at Work: Overview and Assessment. Industrial Relations 35(3), 299–333 (1996) 2. Huselid, M.A.: The Impact of Human Resource Management Practices on Turnover, Productivity, and Corporate Financial Performance. Academy of Management Journal 38(3), 635–672 (1995) 3. Ichniowski, C., Shaw, K., Crandall, R.W.: Old Dogs and New Tricks: Determinants of the Adoption of Productivity-Enhancing Work Practices. Brookings Papers on Economic Activity, 1–65 (1995) 4. Hsu, L.A., Kang, S.F.: Innovative Human Resource Practices and Systems (Part I). Employee-Employer Relationship Monthly 17(7), 432–438 (1998) 5. Hsu, L.A., Kang, S.F.: Innovative Human Resource Practices and Systems (Part II). Employee-Employer Relationship Monthly 17(7), 491–495 (1998)
86
L.-F. Hsieh, M.-C. Wu, and J.-B. Chin
6. Pfeffer, J.: Competitive Advantage through People: Unleashing the Power of the Work Force. Harvard Business School Press, Boston (1994) 7. McClelland, D.C.: Testing for Competence Rather Than for Intelligence. American Psychologist 28(1), 1–24 (1973) 8. Mirable, R.: Everything You Wanted to Know about Competency Modeling. Training and Development 51(8), 73–77 (1997) 9. Lee, Y.T., Wu, W.W.: A Competency Driven Human Resource Management. Princeton, Taipei (2003) 10. Spencer, L.M., Spencer, S.M.: Competence at Work: Model for Superior Performance. John Wiley & Sons, New York (1993) 11. Schoonover, S.C.: Human Resource Competencies for the Year 2000: The Wake-up Call. Alexandria. Society of Human Resource Management, VA (1998) 12. Wu, M.L.: Human Resource Management: Theories and Practices. Best-Wise, Taipei (2005) 13. Huang, C.C.: A Pushing Hand of Human Resource Revolution: E-Learning. Management Magazine 315, 78–79 (2005)
Extension 2D to 3D of FAN Transform in Image Fan Jing, Xuan Ying, and Li Honglian Optoelectronics Information and Communication Engineering College Beijing Information Science and Technology University [email protected]
Abstract. FAN Transform-set was introduced in paper[1], however, Arnold transform only becomes a special case, the encrypted ability was enhanced since the types of transform was expanded. The factor in FAN Transform is generally significant increase than that is in Arnold, so FAN Transform has a better effect which reduces the computation load. On the basis of paper [1], we extended FAN Transform from 2D to 3D, even to ND. The extension not only complements the theory of FAN Transform, but also extends the application of FAN Transform. In the digital watermarking technology, we adopt FAN Transform to Scrambling the image, since the type of transformation is infinite, we can choose one type to scramble at will, this will enhance the ability of encryption, improve the security. This paper mainly explains the principles of multi-dimensional FAN, and tested the practicability of multi-dimensional FAN by computer. Keywords: Image Scrambling, FAN Transform, N-dimensional.
1 Introduction As an encryption technology, image scrambling has become one of the important means of digital image transmission and security storage. The so-called scrambling make use of the character that the digital image has number arrays, disorganizing the location of image pixels or color to make it into disorder, which can not be identified as the original one. As the image watermarking represents the watermarking of copyright information, scrambling can remove the correlation of watermark image pixel and scattering the distribution of bit errors during the watermark pre-processing and post-processing stage, further, enhance the robustness of the watermark. In image encryption technology, the scrambling technique mainly concerned the strength of the encryption or decryption. However the watermarking technology put emphasizes on: image scrambling has the best results as well as possible. Cost (time and computation) of image scrambling and recovery is as low as possible. Nowadays, people often use Arnold transform, magic square transform, fractal Hilbert curve, Gray code conversion, chaotic sequence and so on. Arnold transform algorithm is easy to achieve, applying in the digital watermarking fields now. But Arnold transform gives only one form, which reduces their security, we can resume the image if we do Arnold Transform step by step. Paper [1] analyzes the principles of FAN Transform expanded the types of Arnold transform, improving the strength of encryption. We introduce multi-dimensional FAN Transform on the basis of FAN Transform in this paper,
①
②
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 87–94. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
88
F. Jing, X. Ying, and L. Honglian
extending FAN Transform from 2D to 3D, even to ND. The extension not only complements the theory of FAN Transform, but also extends the application of FAN Transform.
2
Dimensional Extension of FAN Transform
The definition of normal 2D FAN Transform-sets: ' ⎛ x⎞ ⎛t00 t01⎞⎛ x ⎞ ⎛ N⎞ ⎟⎟⎜⎜ ' ⎟⎟ + K⎜⎜ ⎟⎟ mod N ⎜⎜ ⎟⎟ = ⎜⎜ y t t ⎝ ⎠ ⎝ 10 11⎠⎝ y ⎠ ⎝ N⎠
(1)
K = Max [ABS (t 00 ), ABS (t 01 ), ABS (t10 ), ABS (t11 )]
(2)
Which,
t00,t01,t10,t11 are integer x’, y’ is the pixel coordinates of the original image, x, y is the transformed pixel coordinates of the new image, N is the side of rectangular image(the amount of pixels in one line)
t 00 × t11 − t 01 × t10 = ± 1
and
(3)
formula (3) is the necessary and sufficient condition of FAN Transform. The Inverse FAN Transform below:
⎛ x ' ⎞ ⎛ r00 ⎜ ⎟=⎜ ⎜ y' ⎟ ⎜r ⎝ ⎠ ⎝ 10 Which,
r01 ⎞⎛ x ⎞ ⎛N⎞ ⎟⎟⎜⎜ ⎟⎟ + K ⎜⎜ ⎟⎟ r11 ⎠⎝ y ⎠ ⎝N⎠
mod N
K = Max [ ABS (r00 ), ABS (r01 ), ABS (r10 ), ABS (r11 )]
r00 =
t11 t 00 × t11 − t 01 × t10
r10 =
− t10 t00 × t11 − t01 × t10
, ,
r01 =
− t 01 t 00 × t11 − t 01 × t10
r11 =
t00 t00 × t11 − t01 × t10
(4)
, (5)
(6)
The principle of 2D FAN Transform also applicable to 3D and even ND. The definition of three-dimensional image of FAN Transform below: ' ⎛ x ⎞ ⎛ t 00 t 01 t 02 ⎞⎛⎜ x ⎞⎟ ⎛N⎞ ⎜ ⎟ ⎜ ⎟ ' ⎜ ⎟ ⎜ y ⎟ = ⎜ t10 t11 t12 ⎟⎜ y ⎟ + K ⎜ N ⎟ mod N ⎜ z ⎟ ⎜t ⎟⎜ ⎟ ⎜N⎟ ⎝ ⎠ ⎝ 20 t 21 t 22 ⎠⎜⎝ z' ⎟⎠ ⎝ ⎠
(7)
Extension 2D to 3D of FAN Transform in Image
89
Which, K is a positive integer, it makes the coordinate value to be a positive value when do Mod operation. t00,t01, t02,t10,t11,t12,t20,t21,t22 are integers. x’, y’, z’ is the pixel coordinates of the original image, x, y, z is the transformed pixel coordinates of the new image, N is the side of square 3D image(the amount of pixels of one side).And
t 00 t11t 22 + t 01t12t 20 + t10 t 21t 02 − t 01t10 t 22 − t 00t12 t 21 − t 02 t11t 20 = ± 1
(8)
In formula (8),the expression on the left of the equal sign is the value of the
t 00
t 01
t 02
t10 t 20
t11 t 21
t12 t 22
determinant: recorded as |T|. The formula above can be recorded as:
,
(9)
|T| = ±1 Now, the inverse FAN Transform below: ⎛ x ' ⎞ ⎛ r00 ⎜ ⎟ ⎜ ⎜ y ' ⎟ = ⎜ r10 ⎜ ⎟ ⎜ ⎜ z' ⎟ ⎝ r20 ⎝ ⎠
r01 r02 ⎞⎛ x ⎞ ⎛N⎞ ⎟⎜ ⎟ ⎜ ⎟ r11 r12 ⎟⎜ y ⎟ + K ⎜ N ⎟ ⎜N⎟ r21 r22 ⎟⎠⎜⎝ z ⎟⎠ ⎝ ⎠
mod N
(10)
Which, K is a positive integer, it makes the coordinate value to be a positive value when do Mod operation.
t t −t t r00 = 11 22 12 21 |T | r10 =
t12 t 20 − t10t 22 |T |
r20 =
t10 t 21 − t11t 20 |T |
, , ,
r01 =
t 02t 21 − t01t 22 |T |
r11 =
t 00t 22 − t02t 20 |T |
r21 =
t 01t 20 − t 00t 21 |T |
, , ,
r02 =
t01t12 − t02t11 |T |
(11)
r12 =
t10t 02 − t 00t12 |T |
(12)
r22 =
t00t11 − t01t10 |T |
(13)
if and only if |T| = ±1,the factor of each inverse transform matrix is integer. So |T| = ±1
(14)
Formula (14) is the necessary and sufficient condition of all of the R array factors are integers. According to the definition above, we can give four 3D FAN Transform examples easily:
90
1
F. Jing, X. Ying, and L. Honglian ⎛1 ⎜ T = ⎜1 ⎜1 ⎝
.
1⎞ ⎟ 2⎟ 3 ⎟⎠
1 2 2
⎛ 2 ⎜ R = ⎜− 1 ⎜ 0 ⎝
− 1
0 ⎞ ⎟ − 1⎟ 1 ⎟⎠
2 − 1
This is an Arnold Transform expanded to 3D and its inverse transform matrix.
2
3
4
.
. .
⎛1 ⎜ T = ⎜2 ⎜2 ⎝
1⎞ ⎟ 1⎟ 1 ⎟⎠
1 2 1
⎛ 1 ⎜ R = ⎜ 0 ⎜− 2 ⎝
⎛3 ⎜ T = ⎜2 ⎜1 ⎝
2 2 1
1⎞ ⎟ 1⎟ 1 ⎟⎠
⎛ 1 ⎜ R = ⎜−1 ⎜ 0 ⎝
⎛1 ⎜ T = ⎜1 ⎜1 ⎝
1 2 1
1⎞ ⎟ 1⎟ 2 ⎟⎠
⎛ 3 ⎜ R = ⎜−1 ⎜−1 ⎝
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
t00 1 1 3 1 3 2 2 2 1 2 1 1 1 2 1 1 1 2 2 1 1 2 2 1
t01 1 1 2 2 2 2 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 2 1 1
t02 1 1 1 3 2 3 2 2 1 1 2 1 1 1 2 1 1 1 2 2 1 1 2 2
− 1⎞ ⎟ 1 ⎟ 0 ⎟⎠
0 −1 1
−1
0 ⎞ ⎟ − 1⎟ 2 ⎟⎠
2 −1 −1 1 0
− 1⎞ ⎟ 0 ⎟ 1 ⎟⎠ T10 1 2 2 1 2 1 1 2 1 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1
t11 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 2 2 2 2
t12 2 1 1 2 1 2 2 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 2 1
T20 1 3 1 1 2 2 2 3 2 1 1 1 2 1 1 1 2 2 1 1 2 2 1 1
t21 2 2 1 1 1 1 2 2 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 2
t22 3 1 1 1 2 2 3 2 1 1 1 2 1 1 1 2 2 1 1 2 2 1 1 2
The table below gave some examples of 3D FAN Transform matrixes: As to be requested that |T| = ±1,so if we find an appropriate transform matrix T, then its transport matrix S = TT meets the conditions of |S| = ±1, while the transport matrix
Extension 2D to 3D of FAN Transform in Image
91
and the re-transposing matrix of S also meet the conditions of FAN Transform, all of them can be the transform matrixes of FAN Transform. This is to say, if we just find a 3D FAN Transform matrix that is equals to finding four different FAN Transform matrixes. Taking a look at the table above again, in fact, it consists of six kinds of transform matrixes and their eighteen kinds of transport matrixes. Expanding to ND Arnold Transform further: ⎡ x1 ⎤ ⎡1 ⎢ x ⎥ ⎢1 ⎢ 2⎥ ⎢ ⎢. ⎥ = ⎢1 ⎢ ⎥ ⎢ ⎢. ⎥ ⎢. ⎢⎣ xn ⎥⎦ ⎣⎢1
1 1 . 1⎤ 2 2 . 2⎥ ⎥ 2 3 . 3⎥ ⎥ . . . .⎥ 2 3 . n⎦⎥
⎡ x1' ⎤ ⎡N ⎤ ⎢ ' ⎥ ⎢N ⎥ ⎢ x' 2 ⎥ ⎢ ⎥ ⎢. ⎥ + K ⎢. ⎥ mod N ⎢ ⎥ ⎢ ⎥ ⎢. ⎥ ⎢. ⎥ ⎢x' ⎥ ⎢⎣ N ⎥⎦ ⎣ 'n ⎦
(13)
And there are FAN Transform-sets which expanded to ND: ⎡x1 ⎤ ⎡t11 t12 ⎢x ⎥ ⎢t t ⎢ 2 ⎥ ⎢ 21 22 ⎢. ⎥ = ⎢ . . ⎢ ⎥ ⎢ ⎢. ⎥ ⎢ . . ⎢⎣xn ⎥⎦ ⎢⎣tn1 tn2
. . . . .
' . t1n ⎤ ⎡x1 ⎤ ⎡N⎤ ⎥ ⎢ . t2n ⎥ ⎢x''2 ⎥ ⎢N⎥ ⎢ ⎥ ⎥ . . ⎥ ⎢. ⎥ + K⎢. ⎥ mod N ⎥⎢ ⎥ ⎢ ⎥ . . ⎥ ⎢. ⎥ ⎢. ⎥ . tnn ⎥⎦ ⎢x''n ⎥ ⎢⎣N⎥⎦ ⎣ ⎦
(14)
Which, K is a positive integer, it makes the coordinate value to be a positive value when do Mod operation. The ND FAN Transform can be set up only if the determinant made up by matrix T meets the condition of |T| = ±1. The Inverse FAN Transform below:
⎡x'1 ⎤ ⎡r11 ⎢'⎥ ⎢ ⎢x 2 ⎥ ⎢r21 ⎢. ⎥ = ⎢ . ⎢ ⎥ ⎢ ⎢. ⎥ ⎢ . ⎢x' ⎥ ⎢r ⎣ n ⎦ ⎣ n1
r12 . . r1n ⎤ r22 . . r2n ⎥ ⎥ . . . .⎥ ⎥ . . . .⎥ rn2 . . rnn⎥⎦
⎡x1 ⎤ ⎡N⎤ ⎢ ⎥ ⎢ ⎥ ⎢x'2 ⎥ ⎢N⎥ ⎢. ⎥ + K⎢. ⎥ mod N ⎢ ⎥ ⎢ ⎥ ⎢. ⎥ ⎢. ⎥ ⎢x ⎥ ⎢N⎥ ⎣ 'n ⎦ ⎣ ⎦
(16)
Which, matrix R is the inverse matrix of matrix T, and all the elements of matrix T and matrix R are integers.
3
The Simulated Result of 3D FAN Transform
An example of a 16 long side gradient color square below:
92
F. Jing, X. Ying, and L. Honglian
Fig. 1.
Do FAN Transform once with the 3D Transform matrix (1, 1, 1, 1, 2, 2, 1, 2, 3), the result below:
Fig. 2.
Then, do three times FAN Transform, the result is:
Fig. 3.
An example of a 32 long side gradient color square below:
Fig. 4.
Extension 2D to 3D of FAN Transform in Image
93
Do FAN Transform once with the 3D Transform matrix (1, 1, 1, 1, 2, 2, 1, 2, 3), the result below:
Fig .5.
Then, do twice FAN transform, the result is:
Fig. 6.
As we can seen from the scramble result, it is very difficult to indentify the original image.
4 Summary In this paper, we discuss the FAN scrambling transform-sets which contain infinite kinds of transform matrixes based on dimensional expanding, 3D FAN Transform can be applied to 3D image scrambling encryption, and simulated on microcomputer. It is illustrated that the FAN Transform expanding from 2D to multi- dimensional is rational, and analyzed the property of 3D Transform matrix. The restoration of spontaneous circulation (ROSC) frequency of multi- dimensional FAN Transform equals to the frequency of 2D FAN Transform and Arnold Transform, there is no analytical expressions at present, it is remained to be studied in the further.
94
F. Jing, X. Ying, and L. Honglian
Aknowledgement This research is supported by National Special Important Science & Technology Research Program (No.2009ZX05042-002-04) and Supported by Human Resources Plan of Beijing Municipal Education Commission (Grant No. PHR200907219)
References 1. Jing, F., Honglian, L.: Image Scrambling By FAN Transform. In: The 2nd International Conference on Image Analysis and Signal Processing, April 9-11 (2010) 2. Wang, X., et al.: Information Hiding Techniques and Applications, pp. 85–109. Mechanical Industry Press, Beijing (2001) 3. Xiong, C., Zou, J.: Digital Image Scrambling Sampling Techniques and Analysis of Results. North China University Journal 14(3), 5–12 (2002) 4. Qiuqi, R.: Digital Image Processing. Publishing House of Electronics Industry, Beijing (2001) 5. Jia, S., Huang, R., Wen, X., Ye, W.: Scrambling and chaos based encryption of digital image watermarking technology research. Journal of Beijing Normal University 41(2), 146–149 (2005) 6. Qi, D., Li, T., Zhang, Z.: A new image scrambling transformation and its application in image information hiding China science(E), vol. 30(5), pp. 440–447 (2000) 7. Ding, W., Yan, W., Qi, D.: Scrambling and integration based on digital image hiding technology and applications. Chinese Journal of Image and Graphics 5A(8), 644–649 (2000) 8. Sun, X., Lu, L.: Arnold Transform in Digital Image Watermarking in applied research. Information Technology (October 2006) 9. Zou, J., Tie, X.: The two dimensional digital image transformation and its cyclical Arnold. Journal of North China University 12 (March 2000) 10. Kong, T., Zhang, Q.: New algorithm of Arnold inverse transform. Software Journal 15(10), 1558–1564 (2004) 11. Tan, Y., Liang, X., Zhang, J., Liu, K.: Scrambling Technology Based on Arnold Transform. Microcomputer Information 22(12-3), 74–76 (2006)
A Design of Low Cost Infrared Multi-touch System Juan Wu1,2,3, Yao-hui Hu1,3, Guo-qiang Lv1,3, and Jing Yin1,2,3 1
Key Laboratory of Special Display Technology, Ministry of Education, Hefei Anhui 230009, China 2 School of Instrument Science and Opto-electronic Engineering, Hefei University of Technology, Hefei Anhui 230009, China 3 Academe of Opto-electronic Technology, Hefei University of Technology, Hefei Anhui 230009, China [email protected], [email protected], [email protected], [email protected]
Abstract. This paper discusses a implementing scheme of infrared multi-touch system. In this scheme, we first employ a preprocessing which combined meanmedian filter with weighted recursive filter. And then the algorithm of mass center is adopted to get the precise position where users touched. Afterwards, we discuss a gesture identification method for multi-touch which is suitable for infrared touch panels. At last, we set up a experiment platform based on C8051F340 to implement and test this algorithm. The result shows that, a infrared multi-touch system is achieved which has the advantage of simple, accurate coordinates, and smooth moving. Keywords: infrared touch panel; filtering; multi-touch; C8051F340.
1 Introduction In recent years, multi-touch as a nature Human Computer Interaction device, with its convenience and nature gesture gets more and more attention. At present, the common used multi-touch can be falled into two broad categories based on the method of recognition and interpreting multiple simultaneous touches[1, 2]. One is sensor based, and the other is based on Computer-Vision. Sensor based touch screen can be divided into resistive touch screen, capacitive touch screen, surface acoustic wave and infrared touch screen [3, 4, 5]. In the mode of realization, computer-vision based system, because of containing a camera, costs high and has a complicate structure[6, 7]. Infrared touch panel, compared with the other sensor based systems, has the advantage of high translucent, long working life for not afraid of scratching, has cost performance especially in large-size display [8]. This article discusses a implementing method of infrared touch pannel, which has the feature of simple structure, high anti-interference, move smooth. In this paper, first, we analysis the touch signal, study preprocessing algorithms for touch signal and technique for implementing multi-touch. Then, we employ a low-cost MCU C8051F340 to build an experimental platform for realizing with this method. Finally, the experimental results of this system are analyzed and discussed. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 95–101. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
96
J. Wu et al.
2 Algorithm for Implementation Infrared touch panel arranges transmitters and receivers in parallel forming a infrared array, and the receivers sense infrared light from transimitters reflected by a finger. Whenever a finger on the screen, infrared light in certain area is not able to receive the light from the tansmitters, and it will each generate a maximum value on the x-axis and y-axis see Fig.1. Based on this, following coordinate resolution, we display the touched points on screen. In system realization, touch panel exists unstable coordinates, whose influence is not obvious in single touch, however, when used for multi-touch, especially for fast moving fingers, leading to gesture recognition errors. We believe that there are two main causes:
Fig. 1. Theory of infrared touch panel
1. Infrared light of the receivers is sensitive to the fingers movement, so it may swing with a subtle change of the fingers, especially serious when fingers just go on or will soon leave. Therefore, the sampling of touch information has sudden impulse disturbance and periodic interference. Particularly for touch panel must have quick reasponse to user’s actions, so the sampling frequence is high, and coordinates vibrate. 2. Physical coordinates are deside by the number of sensors and the extender position in the corresponding sensor. However, single touch coordinates only judged by the number of sensors, touched or untouched which has low resolution. When the number of sensors is low, mouse jump phenomenon is serious. Hence, even if the sensors closely packed, the display resolution cannot meet the requirements, for that the width of a sensor is 5mm, 8.6mm high, and 940nm wave length. 2.1 Signal Preprocessing we have to increase sampling frequency to satisfy rapidly changing fingers, as exsiting impulse and periodic interference at the same time, a suitable preprocessing algorithm is demanded. The preprocessing presented in this paper, first is to return all the sampling value to zero, that means each sensor subtract its DC element. Then adopt a filter method which combined mean-median filter with weighted recursive filter, to eliminate signal interference, compensate mouse drift. After pretreatment, we employ mass center theory to compute coordinates in order to process the final touch events, such as gesture arithmetic.
A Design of Low Cost Infrared Multi-touch System
97
Mean-median filter is a neutralized filtering method which mixed median filter and arithmetic mean, plays a good effect to sudden impluse disturbance. Its main idea is ordering the sampling data X1, X2, …, Xn by size, X1< X2<… <Xn. Remove the maximum and minimum, and we compute arithmetic mean with the rest data. With function(1) we are able to get the result.
x = ( x2 + x3 + ... + xN −1 ) /( N − 2)
(1)
Weigted recursive filter is improvement of recursive filter. It gives different weight to continuous sampling data of each sensor, the later sampling data is, the bigger weight given. Filter algorithm for N-sampling can be seen in function (2). x=C1x1+ C2x2+ …+ CNxN
,
(2)
Where C0 C1,… , Cn are constant, denote the weight of sampling data Xi, the bigger Ci is, the more contribution to the process. Due to cutting down rounding errors and increasing mouse send times, we choose four times for mean-media filter and three for recursive filter, where the constant we select C0=1/4 C1=1/4 C2=1/2. Here we get the balance of frequence of coordinates sending and data wave, according to the experiment data.. This algorithm combines the advantage of median filter and recursive filter, benefits to sudden pulse disturbance and periodic interference.
,
,
2.2 Coordinate Resolving Carefully observe the characteristics of sampled data, we found one finger may block up to four sensors at one time, and varied to each sensor. In this paper, we separate mapping process into quantization and mass center calculate. Quantization means that touch signal is divided by the correspoding sensor data when completely blocked, the percentage of full touched is got. Mass center is an illusion point where quality converge. First, on the basis of many experiment, we select a threshold to determine the position of touched sensor k. And then calculate the quantization of the sensor k, k-1, k-2, k-3 respectively. We can achieve the precise location of touched point from function (3), if we see the width of each sensor as 1.
x = k − 1 + ( data[k ] − data[k − 1] + data[k + 1] + data[k + 2]) / 2
(3)
Where k indicates the kth sensor is touched, and data[k] is its quatization value. Due to the linear relationship of sensor and resolution, we use the touched center x from function (3) to obtain coordinates as function(4). With the same method, Y coordinates are achieved. X=xRes*x/N
(4)
Where xRes is the resolution of X-axis on the display, and N is the sensor number on horizontal axis. 2.3 Multi-touch Gesture Recognition Gesture can be classified into single touch and multi-touch[10]. In single touch, which only has one touched point, we can realize click, double click, and drag. Multi-touch
98
J. Wu et al.
in this paper is multi-touch gesture, we control the graphical interface including move, zoom, rotation and scroll using two fingers. However, when there are two fingers touched, each axis has two touched points, which make up four points see Fig.2, and we can not deside which two are the exact touch points, leading to gesture recognition error. Some system cite time sequence to distinguish, believe that one finger always after the other[9], yet there is always the situation that touching at the same time, here we only judge by guessing. In this paper, we recognize gestures by movements of the coordinates in the up left corner and down right corner in a touch circle see Fig.3, which is the average time that fingers stay on the touch panal according to peoples normal habit. Next, we will introduce the judge process and parameter in detail.
Fig. 2. Coordinates exsiting false touched points
Fig. 3. Gesture recogniton
A: Zoom When the two touched points move closer or further to each other, and the rate of its Euclidean distance change exceeds our threshold, we see it as zoom. We use the change trend of maximum and minimum coordinates in a touch cycle, mentioned above, to calculate the zoom ratio. If the Euclidean distance becomes bigger, we zoom in the picture, otherwise zoom out. The width and height after transform can be obtain by function (6,7). Fig.4(a) clearly shows the disposition of zoom in, where A(xa ya), B(xb yb), is the coordinates before judgement, and C(xc yc), D(xd yd) are the latest coordinates.
,
,
,
,
Width = WidthPr e + ( xc − xa ) + ( xb − xd )
(6)
Height = Heigh Pr e + ( y c − y a ) + ( y b − y d )
(7)
B: Rotation When one touch anchors as focus position, while the other rotating around the focus point is detected, as Euclidean distance invariant, we see it rotation. However rotation a picture is not as obvious as it might seem at first because of the two false touched point. It not only contains the judge of rotation, but also rotation angle compute. We use curve fitting error and Euclidean distance to identify. In order to obtain the accurate rotation angle, we adopt trigonomrtric function (8) as Fig.4(b) shows. Follow this, we can rotate a picture in any angle with 0-360o.
A Design of Low Cost Infrared Multi-touch System
99
( )Zoom in (b) Rotation
Fig. 4. Multi-touch gesture recognition a
cosA=(a2+b2+c2)/2ab Where a, b are the Euclidean distance before rotate and after rotate, and rotation angle.
(3) A is the
C: Movement or scolling It will be move or scroll, when all touched points close to each other and move as a whole on the panel. The dragging distance is equal to the movement of touched points.
3 Experimental Platform In order to verify the feasibility of this scheme, in this section, we choose low cost MCU C8051F340 to set up a test platform. The main parameters of the MCU: 8051compatible microcontroller core, up to 48 MIPS; true 10-Bit 200Ksps ADC; 1KB USB FIFO RAM, support full speed transfer of 12Mbps; 64KB FLASH, 4KB RAM; precision internal calibrated 12 MHz oscillator and 4x clock multiplier. We designed a multi-touch system to apply to 15-inch LCD(4:3). Touch panel parameters: 63 sets of infrared LEDs on horizontal axis, 51 sets on longitudinal axis. Horizontal and vertical infrared LEDs form an orthogonal array in front of the display. We employ the algorithm including preprocessing, coordinates resolving introduced above to deal with the touch signal after A/D conversion. The results are sending to the host, which is Pentium 4 processor, 3.0GHZ, and 256MB memory. In the host computer, we develop a test software using VC for receiving and displaying the data from MCU, showing the function of multi-touch.
4 Result and Discussion In the test software, we give the same width to each sensor on x-axis, and draw sampling data on y-axis, received from MCU. Fig.5 shows the wave when one finger touched. The first half wave in x-axis shows the sampling value of horizontal, and the last is the data on vertical axis. Through the original data Fig.5(a), we see that the
100
J. Wu et al.
Fig. 5. Sample value one finger touched (a) original data (b) data after preprocessing
value of each sensor has great difference to each other, touch signal vibrates and it can not fully express touch information. After returning to zero and filter, we can see the data wave shows in Fig 5(b). There are only minor changes, untouched sensor close to zero, and the peaks can be fully show the touch information. We join all the touched coordinates in VC, with a staight line see Fig.6, after coordinates mapping. Among them, Fig.5(a) is the coordinates result that with the original data, existing obvious mapping errors. After preprocess without mass center theory, we get the touch path as Fig.5(b). Here serious mistakes disappeared, yet the movement error is still big, can not say touch path accurately. Fig5(c) is obtained follow the program discussed in this paper. In this picture, we can see the program not only remedy jitter, but also make move much more smooth. Success rate of coordinates sending can respectively be 95 times/sec and 89 times/sec for without filter and after preprocesing.
Fig. 6. Touch path (a) without filter (b) without mass center algorithm (c)result in this paper
When used for multi-touch, gesture recognition errors caused by mistake coordinates is obvious, and low-resolution add the opportunity of recognition error. Experiments show that the pretreatment and coordinates resolution method discussed in this paper, enhanced the application of infrared touch panel in multi-touch.
A Design of Low Cost Infrared Multi-touch System
101
5 Conclusion This article discussed a implementation program for infrared multi-touch. In the program, we preprocessed the signal data of sensor first of all, which including return to zero, mean-median fiter and weighted-recursive filter. Then centroid principle is adopted to compute touch center. Afterwards, from gesture recognition, we achieved click/double click/drag in single touch, and zoom/rotation/move in multi-touch. Finally, low-cost C8051F340 as the experimental platform, built a infrared multitouch system for 15-inch LCD, and developed a test, observe software using VC in host computer to verify the feasibility of this program. Experimental results show that the program implements a cost-effective system, which has the ability that simple, accurate coordinates, and smooth moving, successful coordinates delivery rate up to 89 times/sec. Besides that it can response to touch command quickly and accurately in multi-touch.
References 1. Buxton, B.: Multi-Touch systems that i have known and loved. J. Microsoft Research (2009) 2. Chang, R., Wang, F., You, P.: A Survey on the Development of Multi-touch Technology. In: J. Asia-Pacific Conference on Wearable Computing Systems, pp. 363–366 (2010) 3. Rekimoto, J.: Smartskin: an infrastructure for freehand manipulation on interactive surfaces. In: J. Proceedings of the SIGCHI conference on Human factors in computing systems: Changing our world, changing ourselves. CHI 2002, pp. 113–120. ACM Press, New York (2002) 4. Dietz, P., Leigh, D.: Diamondtouch: a multi-user touch technology. In: Proceedings of the 14th annual ACM symposium on User interface software and technology, UIST 2001, Orlando, Florida, November 11 - 14, pp. 219–226. ACM Press, New York (2001) 5. Apple iPhone, http://www.apple.com/iphone/technology/ 6. Han, J.Y.: Low-cost multi-touch sensing through Frustrated Total Internal Reflection. In: Proceedings of the 18th Annual ACM Symposium on User Interface Software and Technology, pp. 115–118. ACM Press, New York (2005) 7. Morrison, G.D.: A camera-based input device for large interactive displays. J. Computer Graphics and Applications 25(4), 52–57 (2005) 8. Lee, B., Hong, I., Uhm, Y., Park, S.: The Multi-Touch System with High Applicability using Tri-axial Coordinate Infrared LEDs. J. IEEE Transactions on Consumer Electronics. 55(4), 2416–2424 (2009) 9. Bérard, F., Laurillau, Y.: Single user multitouch on the DiamondTouch from 2 x 1D to 2D. In: J. Proceedings of the ACM International Conference on Interactive Tabletops and Surfaces ITS 2009, pp. 1–8. ACM, New York (2009) 10. Kim, S.-G., Kim, J.-W., Bae, K.-T., Lee, C.-W.: Multi-touch interaction for table-top display. In: Pan, Z., Cheok, D.A.D., Haller, M., Lau, R., Saito, H., Liang, R. (eds.) ICAT 2006. LNCS, vol. 4282, pp. 1273–1282. Springer, Heidelberg (2006)
A Review of Research on Network-on-Chip Simulator Haiyun Gu College of Information Engineering, Shanghai Maritime University, Shanghai 200135, China [email protected]
Abstract. The huge design space of Network-on-Chip raise the need of simulators for NoC to efficiently evaluate the performance and select the optimal architecture. This paper presents a review of research on NoC simulators, differentiates the current approaches into three categories: regular network simulators, dedicated NoC simulators, and full-system simulators. We compares the current NoC simulators according to topologies, routing and switching algorithms, traffic models, and discuss the open issues and developing trends in this field. Keywords: NoC, simulator, traffic model.
1 Introduction The amount of hardware resources on a single chip continues to increase. SoCs (System-on-Chips) will integrate hundreds of heterogenous IPs. It is not an easy task to connect all those IPs together and meet the high communication demands. Moreover, the interconnet’s area and power become more significant compared to the transistor’s. The major challenge to SoC designers shifts from computation to communication. NoC (Network-on-Chip), borrowing the communication technologies from the wide area computer networks, is a promising approach to providing a high performance interconnection architecture on a chip. Previous works proposed many different forms of NoC, such as mesh, torus, bipolar tree, application-specific toplogy, etc., along with different routing algorithms and strategies. So it is difficult to select the right form of NoC for a particular design. This raise the need of simulators for NoC to efficiently evaluate the performance and select the optimal interconnection network.. Currently we can mainly differentiate three categories of NoC simulators. The first category is regular network simulators, borrowing from the computer and communication network, such as NS-2[1,2], opnet[3], and OMNET++[4], utilizing the similarities that exist between general networks and NoC. The second category includes several dedicated NoC simulator, such as Nostrum[5], Noxim[6], Nirgam[7], NoCSEP[8], and a JAVA NoC simulator[9]. Most of them implement a high-level representation of NoC, modeling data at message level, providing a set of architectures and protocols, and evaluating the network with the chosen traffic pattern in terms of latency and throughput. Besides, Orion[10] and Ocin_tsim[11] concentrate on the power and area simulation of NoC. DRAGOON[12] proposed a simulator for M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 103–110. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
104
H. Gu
dynamically reconfigurable NoC. The third category integrates a NoC model into a full-system simulator. GARNET[13] is a NoC model integrated into GEMS, which is a simulation platform for CMPs. All three categories of NoC simulators have their advantages and limits. This paper presents a review of current research on NoC simulators. In section 2, 3, and 4, we compare the existing three categories NoC simulators, and discuss several open issues organized on three aspects: the hardware architecture, the routing protocol, and the traffic pattern. Finally we conclude the current research state of NoC simulator, and suggest the trends in this field.
2 Regular Network Simulators The primary difference between NoCs and general networks is in the size of the two. Because of small dimensions, NoC don't have enough resources for NIC or buffer, but it do have large bandwidth for communication compared to general networks. It means that easier protocols need to be designed for NoCs which require minimum logic and memory resources. ï NS-2, OPNET and OMNET++ are open source, object-oriented and discrete event driven network simulators written in C++. They are very common and widely used tool to simulate computer and communication networks. There are some previous works using these network simulators to evaluate NoC. Because it has been shown that on-chip traffic can exhibit self-similarity, which is also referred as LRD (long-range dependence) [14], [1] used a long-range dependent traffic model to simulate a 8*8 mesh NoC with NS-2. It is convenient for NS-2 to generate arbitrary kind of traffic. The used routing algorithm is Dijkstra’s SPF (Shortest Path First). The simulation results just showed the common relations among loss rate, buffersize and delay. [2] considered about the permanent or transient failures of the communication links under the deep submicron technology, modified the NS-2 simulator to assess their fault tolerant routing protocol, which included a low cost, efficient and fast packet retransmission mechanism to deal with transient faults in NoCs, and a dynamic routing protocol suitable for NoCs in order to deal with permanent faults occuring on-chip. [3] used OPNET to analyse the latency and power of a 4*4 mesh NoC with XY routing, uniform traffic model, and multiple topologies. [4] simulated a 2D torus NoC by OMNET++ choosing wormhole switching and exponential traffic model. Regular network simulators usually have a huge variety of protocols and various topologies can be created with little effort, but they cann’t deal with the logic gates. Although it is simple to simulate a NoC at behaviour level, but it is impossible to obtain a structual or physical design view of NoC by using the regular network simulators.
3 Dedicated NoC simulators Regular network simulators are targeted towards the simulation of large networks with complicated protocols, and the traffic models in them are not representative for
A Review of Research on Network-on-Chip Simulator
105
on-chip traffic. Researchers in NoC field are motivated to develop several dedicated NoC simulators. Nostrum[5], Noxim[6], and Nirgam[7] are open code simulators written in SystemC. They provided configuration commands to define the architecture of NoC (mesh, torus, tree, ring), the routing algorithm (XY routing, source routing, adaptive routing), flow control (wormhole, deflection), and traffic model (possion, burst, on/off, CBR, and input trace). The evaluation standards include the latency, the throughput and the link utilization. Figure 1 shows a typical evaluation flow of NoC simulator.
Fig. 1. A typical evaluation flow of NoC simulator
NoCSEP[8] means the “NoC centric System Exploration Platform”. The special feature of this work is to introduce a quasi-formal description language called “Parallel Application Communication Mechanism Description Language” (PACMDL) to describe the task-graph features of any parallel application. PACMDL was used to drive the application traffic generator which was represented by thread modeling in Fig. 2.
106
H. Gu
Fig. 2. Application modeling of NoCSEP
So, NoCSEP can use the application-driven traffic model to simulate the parameterized NoC. Apparently that is very useful to optimize the design of application specific NoCs. [9] proposed a dedicated NoC simulator written in Java, which processes the messages at flit level, implements routing policies and flow control, and collects measurement data. Fig. 3 shows the block diagram of this Java NoC simulator. The paper gave the simulation results of mesh topopogy NoC, with wormhole routing and uniform traffic. It was claimed that Java brought the advantage of portability to this NoC simulator. The dedicated NoC simulators parameterize the NoC at a high level and provide the evaluation of features such as different topologies, variable buffer size, link utilization, routing stratgies, and traffic models. Besides all these dedicated NoC simulators we discussed above, there are several special NoC simulators which respectively enhanced these abstract simulators above in different aspects: ORION[10] intoduced a power and area models for NoC, which has been widely used for early-stage NoC power estimation in literature and industry. Ocin_tsim[11] proposed a DVFS (dynamic voltage frequency scaling) aware NoC simulator with an ORION instance for each node to compute the per-node power consumption. GARNET[13] also incorporates ORION 2.0 power models for power estimation.
A Review of Research on Network-on-Chip Simulator
107
Fig. 3. Block diagram of Java NoC simulator
Fig. 4. Conception flow of DRAGOON
DRAGOON[12] is a dynamically reconfigurable architecture compliant generator and simulator of network. It was used to generate and simulate the DRAFT, a fat-tree topology NoC which can be dynamically reconfigurable depending on the partial reconfiguration capacity of its underlying Xillinx Virtex 5 FPGA. Fig. 4 shows the flow of DRAGOON.
108
H. Gu
4 Full-System Simulator A major challenge when designing a NoC simulator is to achieve the right balance between the level of abstraction, and the accuracy and the speed of simulation. Most dedicated NoC simulators used stand-alone models to evaluate the performance of the interconnect architecture, not the performance of the full system. [13] proposed GARNET, a detailed cycle-accurate interconnection network model, to enhance the GEMS full-system simulation platform for CMPs. GARNET model is highly parameterizable and flexible. Various network properties, such as number of VCs, buffer size, number of pipeline stages, flit size, etc., can be passed as parameters. The topology of GARNET is extracted from the GEMS, and can be arbitrary. With the integration of ORION into GARNET, GEMS with GARNET can report full-system power and performance results. Apparently full-system simulator can improve the simulation accuracy and efficiency, but GEMS is just used for CMPs. Similar design tools need to be developed for application specific MPSoCs.
Fig. 5. GEMS (with GARNET incorporated) overview
5 Conclusion To complete our investigation work on NoC simulators, a survey of some reseach and design methods for NoC simulators is presented in Table 1. In this paper, we classify the current research results on NoC simulators into three categories. Comparison of these simulators is done according to topologies, routing and switching algorithms, traffic models. The regular network simulators are flexible and complexed. The dedicated NoC simulators are specific, but the performance need to be improved. The full-system simulator is just for CMPs, similar development tools need to be invented for MPSoC. We should note that most simulations of NoC used
A Review of Research on Network-on-Chip Simulator
109
Table 1. Survey of research of NoC simulators Category
Regular network simulators
Research
Language
topology
Routing, switching
Traffic model
NS-2 with LRD traffic model[1]
C++ and Otcl
mesh
Dijkstra’s SPF
LRD (long range dependence
NS-2 with fault tolerant routing[2]
C++ and Otcl
mesh
2D, 3D mesh, torus, ring, shared-bus OMNET++[4] C++ 2D torus SystemC and Mesh, torus, Nostrum[5] Python tree, ring
OPNEC-Sim[3]
Dedicated NoC simulators
Full-system simulator
C++
Dynamic routing Constant rate XY, adaptive Odd-Even
Uniform
Wormhole
Exponential
XY,VC
Constant rate
Noxim[6]
SystemC
mesh
XY, adaptive
Nirgam[7]
SystemC
Mesh, torus
Source, XY, adaptive, wormhole
NoCSEP[8]
SystemC
Mesh, ring, binary tree, multistage
XY, SPF, dedicated
Java NoC simulator[9]
Java
any
wormhole
DRAGOON [12]
SystemC, VHDL
Fat-tree
Turn-back algorithm
GARNET[13]
C++
any
XY, VC
Possion, burst, on/off Constant rate, burst, input trace Real application driven Uniform Uniform, normal, pareto on/off Uniform random, tornado
the traditional traffic model (uniform, normal, on/off). But NoC is a new class of networks. A traffic model which can reflect the behaviour of on-chip traffic is needed.
Acknowledgement This work is supported by the science & technology program of Shanghai Maritime University. The author is grateful for the anonymous reviewers who made constructive comments.
References 1. kos Hegedus, A., Maggio, G.M., Kocarev, L.: A ns-2 Simulator Utilizing Chaotic Maps for Network-on-Chip Traffic Analysis. ISCAS (4), 3375–3378 (2005) 2. Ali, M., Welzl, M., Hessler, S.: A Fault tolerant mechanism for handling Permanent and Transient Failures in a Network on Chip. In: ITNG 2007, pp. 1027–1032 (2007)
110
H. Gu
3. Cai, J., Huang, G., Wang, S., et al.: OPNEC-Sim: An Efficient Simulation Tool for Network-on-Chip Communication and Energy Performance Analysis. In: ICSICT 2010, vol. 2, pp. 1892–1894 (2010) 4. Al-Badi, R., Al-Riyami, M., Alzeid, N.: A Parameterized NoC Simulator Using OMNet++. In: ICUMT 2009, pp. 1–7 (2009) 5. Lu, Z., Thid, R., Millberg, M., et al.: NNSE: Nostrum Network-on-Chip Simulation Environment. In: DATE 2005 University Booth Tool Demonstration (March 2005) 6. http://noxim.sourceforge.net/ 7. http://nirgam.ecs.soton.ac.uk/ 8. Chang, C.-F., Hsu, Y.: A System Exploration Platform for Network-on-Chip. In: ISPA 2010, pp. 359–366 (2010) 9. Grecu, C., Ivanov, A., Saleh, R., et al.: A Flexible Network-on-Chip Simulator for Early Design Space Exploration. In: MNRC 2008, pp. 33–36 (2008) 10. Kahng, A.B., Li, B., Peh, L.-S., Samadi, K.: ORION 2.0: A Power-Area Simulator for Interconnection Networks. In: DATE 2009 (2009) 11. Prabhu, S., Grot, B., Gratz, P.V., Hu, J.: Ocin tsim - DVFS Aware Simulator for NoCs. In: Proc. SAW 2010 (January 2010) 12. Devaux, L., Sassi, S.B., et al.: Flexible Interconnection Network for Dynamically and Partially Reconfigurable Architectures. International Journal of Reconfigurable Computing (2010) 13. Kumar, A., Agarwal, N., Peh, L.-S., Jha, N.K.: A System-Level Perspective for Efficient NoC Design. In: IPDPS 2008 (2008) 14. Varatkar, G., Marculescu, R.: Traffic analysis for on-chip networks design of multimedia applications. In: Proc. of DAC, New Orleans, Louisiana (June 2002)
Design Methodology of Dynamically Reconfigurable Network-on-Chip Haiyun Gu College of Information Engineering, Shanghai Maritime University, Shanghai 200135, China [email protected]
Abstract. NoC (Network-on-Chip) is inherently suitable to the dynamic partial reconfiguration. DRNoC, combining these two promising technologies, will be a desirable platform for the next generation portable eletronic consuming products. Taking the irregular 2D mesh NoC as a study case, this paper discusses the design methodology of DRNoC, including the topology, router, mapping algorithm, routing algorithm, implementation and simulation of DRNoC. Keywords: NoC, dynamica reconfiguration, Xilinx FPGA
1 Introduction Semiconductor technology entered into the era of deep submicron. Interconnect design issues become more important than computation issues in the field of MPSoC and CMP. The performance, area, and power of on-chip communications deserve great attention. A number of research studies have demonstrated the feasibility and advantages of NoC over traditional bus-based architectures. As a packet switched on-chip network for connecting different kinds of IPs, NoC is inherently compatible with dynamical reconfiguration technology, which can greatly improve the system performance by implementing only the needed tasks intermittently. Because NoC is a layered modular network, which can provide a unified interface to different IPs. No direct comunication between modules, especially between dynamic modules and static modules, can satisfy the requirments of Xilinx DPR design methodology. As far as we know, Xilinx FPGAs (especially the Virtex 2 Pro, Virtex 4, Virtex 5, and Virtex 6) are the only ones that both provide sufficient programmable resources to implement complex applications and support the DPR paradigm[1]. In this paper, we will discuss the design issues of DRNoC, including network topology, router architecture, mapping algorithm, routing protocol, implementation and the simulation technology. Section 2 is a brief review of related work. Section 3 is about design issues of DRNoC, we will take our research case of 2D irrgular mesh DRNoC as an example. Section 4 is about the implementation and simulation of DRNoC. We will give the discussion and conclusion in the last section. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 111–116. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
112
H. Gu
2 Related Work The realization of all DPR approaches strongly depends on the characteristics of the underlying hardware. The architecture of DRNoC is also constrained to the features of target FPGA. [2] presented DyNoC Dynamic Network on Chip , in which larger modules can be implemented on a set of neighbor PEs in a mesh topology. The routers inside the boundary of a module are useless. CoNoChi (Configurable Network-on-Chip)[3] propsed to divide the FPGA into rectangular subareas which can be configured as a switch, as a communication line or as part of a hardware module. Modules are connected to a switch through the interface. A switch can be dynamically inserted or deleted. So CoNoChi is a full customed communication architecture. DRAFT (Dynamic Reconfiguration Adapted Fat-Tree)[1] was implemented as a central column into the FPGA, in order to match the architecture of Xilinx Virtex 5 FPGA in which the center column contains I/Os and DPR ports (ICAP). Actually DRAFT itself was static, it can be seen as an independent core of network or even as an IP block connecting each part of the application. CuNoC (Communication Unit Network-on-Chip)[4] was composed of two types of CU: the classic CU and to-give-away CU (Cugw). Each CU was connected at least to one CU of different type as a back-up. Modules replaced one or several CUs according to its size. The CU does not have input/output buffers, but it has one for all 4 inputs.
(
)
2 Design Issues of DRNoC Previous works proposed many different forms of NoC, such as mesh, torus, bipolar tree, application-specific toplogy, etc., along with different routing algorithms and strategies. To CMPs, it is reasonable to choose a regular topology NoC, such as mesh, torus, tree etc. But in DRNoC, hundreds of heterogenous IPs which may be vary significantly in size, will be integrated on one chip. So regular topology may suffer from area overhead. On the other hand, full-customed topology may cause much code rewriting work of simulator for the lack of flexibility. We try to get a tradeoff by choose an irregular 2D mesh topology, shown in Fig. 1. In [5], we presented the mathmetic model and mapping algorithm in details. Fig. 1 is a mapping result when using a hybrid objective function, compromising between the communication and area cost by a coefficient. Fig. 2 is a typical architecture of router in NoC. Because of small dimensions, NoC don't have enough resources for Network Interface Card or buffer, but it do have large bandwidth for communication compared to general networks. It means that easier protocols need to be designed for NoCs which require minimum logic and memory resources. Xilinx DPR design flow states that the communications between dynamic and static modules should be performed through a interface called Bus Macro, which uses eight 3-state buffers (TBUFs) hooked up in an arrangement that allows one bit of information to travel between static and dynamic modules[6]. DyNoC defined that the routers can be available as hard macro on the programmable chip, apparently the routers in DyNoC integrated the function of Bus Macros in Xilinx architectures.
Design Methodology of Dynamically Reconfigurable Network-on-Chip
113
Fig. 1. Irregular 2D mesh NoC
Fig. 2. Router architecture in NoC
CoNoChi used a FIFO capable of storing a complete packet for input ports of the switch. The router in DRAFT connected the DPR modules through the Bus Macros provided by Xilinx. We used Dijkstra routing algorithm to find the shortest path between each pair of source and destination node in NoC. As shown in Fig. 3, each node stands for a router, each edge for the communication channel, and the weight of edge for
114
H. Gu
∞ ∞
∞ ∞
∞
∞
∞
Fig. 3. Dijkstra SPF routing
communication cost. Speaking to the irregular 2D mesh, when some edges are covered by the resource module, just set the weights of these edges as infinity. Dynamic reconfiguration means a change of traffic at run-time. The path between source and destincation modules should be calculated at run-time with the consideration of network situations. So simple routing algorithm is more suitable to DRNoC than complexed ones. The congestion control and flow control are open issues that needs more attention. Most of current researches on DYNoC choosed adpative XY routing algorithm.
Design Methodology of Dynamically Reconfigurable Network-on-Chip
115
4 Implementation and Simulation of DRNoC With the embedded hard and soft processor cores, current FPGAs can provide enough hardware resourecs for designers to implement a complete reconfigurable SoC. Xilinx suggested two flow of partial reconfiguration: module-based and difference based. The first approach is broadly used in DRNoC research. But till now no work really implements or simulates the administration of the whole dynamic reconfiguration process. One reason is that current DRNoC approaches are strong restricted to the characteristics of the underlying hardware (Xilinx FPGA). Another reason is the lack of automative development tools. Recently, [1] proposed DRAGOON to generate and simulate the DRAFT, a static fat-tree topology NoC which was claimed to be dynamically reconfigurable depending on the partial reconfiguration capacity of its underlying Xillinx Virtex 5 FPGA. A simulator of DRNoC which will be not stricted to the underlying hardware is needed. It has been shown that on-chip traffic can exhibit self-similarity, which is also referred as LRD (long-range dependence) [7], but most present simulation framework of NoC used the traditional traffic model (uniform, normal, on/off). Especially, there are three distinct types of communication in DRNoC: administration data, application data and configuration data. Obviously a traffic model which can reflect the behaviour of on-chip traffic of DRNoC is needed.
5 Conclusion In this paper, we discussed the design issues of DRNoC, its implementation and simulation. The irrgular 2D mesh topology is used as a study case. Comparing to the traditional computer or communication network, DRNoC has two distinct different characters: the lack of enough hardware resource, and the strong dependence on the underlying FPGA architectures. Definitely, DRNoC is a very potential technology for portable multemedia applications. More work needs to be done to increase the design efficiency of DRNoC. Acknowledgments. This work is supported by the science & technology program of Shanghai Maritime University. The author is grateful for the anonymous reviewers who made constructive comments.
References 1. Devaux, L., Sassi, S.B., et al.: Flexible Interconnection Network for Dynamically and Partially Reconfigurable Architectures. International Journal of Reconfigurable Computing (2010) 2. Bobda, C., Ahmadinia, A., Majer, M., Teich, J., Fekete, S., Veen, J.v.d.: DyNoC: a dynamic infrastructure for communicationin dynamically reconfigurable devices. In: Proceedingsof the International Conference on Field Programmable Logicand Applications (FPL 2005), Tampere,Finland, pp. 153–158 (August 2005)
116
H. Gu
3. Pionteck, T., Koch, R., Albrecht, C.: Applying partial reconfiguration to networks-onchips. In: Proceedings of the International Conference on Field Programmable Logic and Applications (FPL 06), pp. 155–160, Madrid, Spain (August 2006) 4. Jovanovic, S., Tanougast, C., et al.: CuNoC: A dynamic scalable communication structure for dynamically reconfigurable FPGAs. Microprocessors and Microsystems 33, 24–36 (2009) 5. Gu, H., Li, C., Sunshu: Research on Mapping Algorithm of irregular mesh NoC for Portable Multimedia Appliances. In: CCWMSN 2007 (2007) 6. Xilinx: Difference-Based Partial Reconfiguration, Application Note XAPP290 (2007) 7. Varatkar, G., Marculescu, R.: Traffic analysis for on-chip networks design of multimedia applications. In: Proc. of DAC, New Orleans, Louisiana (June 2002)
Numerical Simulation Study on a Flat-Plate Solar Air Collector Wenfang Li, Shuhui Xu, Haiguang Dong, and Jun You Beijing University of Civil Engineering and Architecture, 100044 Beijing, China [email protected]
Abstract. Solar air collector is a solar energy utilization device suitable for heating; a new solar air collector with cylindrical fin in the holes arranged in heat collecting plate was designed and studied. Three different structure of the new solar air collector were simulated. Flow patterns, temperature distribution, solar energy collecting efficiency were analyzed. Based on the simulation, solar air collector with optimal structure parameter was manufactured. The simulated results indicated that heat collecting plate with staggered holes arrangement is superior to that with lined holes arrangement, and collector with segment baffle to make the air flow in zigzag flow improved heat collecting efficiency. Heat collecting efficiency of the new designed collector is about 90%. Keywords: solar energy, air collector, numerical simulation, efficiency.
1 Introduction The major population of China lives in rural area, and the main energy consumption of rural house especially in northern China is heating house in winter. On the other hand, the solar resource in northern China is about 5 MKJ/m2·a, and sun shine hour is about 2000 hrs a year. To use solar energy for heating in northern China rural house is a good way to solve energy and environment problem, and the solar air collector is a simple way to use the solar energy. Solar air collector was studied both theoretically and experimentally. YAO Tao studied air collector efficiency with different material experimentally. The air collector includes vacuum glass, polycarbonate, single glass and double glass, and vacuum glass air collector has higher heat collecting efficiency [1]. ZHANG Liping designed a inclined solar air collector to improve the efficiency [2]. LUO Zanji etc al developed an air collector with vacuum glass tube, and the efficiency improved 30% [3]. N. N. Wadaskar also compared the efficiency of plate air collector and vacuum glass tube air collector, and the efficiency of vacuum glass tube air collector is higher 16.12% [4]. Suleyman Karsli compared the different structure of air collector of tube with fin, plate air collector and heat tube collector, and find the structure and solar radiation influence the efficiency [5]. Murat Caner etc al compared the curve and plate air collector experimentally, and simulated the heating characteristics of the air collector with artificial network model and Matlab [6]. B.M. Ramani studied the M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 117–123. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
118
W. Li et al.
porous media in air flow channel to improve the efficiency 20% ~ 25% theoretically and experimentally [7]. A simple low cost plate solar air collector was designed and simulated in this paper. Three different structure models of the new solar air collector were simulated. Flow patterns, temperature distribution, solar energy collecting efficiency were analyzed.
2 Model Establishment 2.1 Physical Model The size of the solar air collector is 1600 mm × 250 mm × 80 mm, it contains glass plate, heat plate, back plate and heat isolation walls, it was shown as Figure 1. Both sides of the heat plate was painted with selective absorb coating. The heat plate is made of aluminum, and holes were arranged in the plate, and a fin was made in every hole.
outlet double openings
equally distributed openings double openings inlet
(a)
(b)
Fig. 1. The structure of the solar air collector. (a) solar air collector; (b) heat plate, d1 = 10 mm, d2 = 15 mm.
Fig. 2. The heat plate holes with cylindrical fin.
Numerical Simulation Study on a Flat-Plate Solar Air Collector
119
The cylindrical fin was made in every hole arranged in heat plate. The height of the fin is 10 mm, and all plate and fin was coated with selective absorb material, which was shown as Figure 2. 2.2 Mathematical Model For making the calculation convenient, some assumptions and simplification are based on the discussion of the air solar-collector system. A. air flow in constant temperature, low velocity, and uncompressible, satisfying the ideal gaseous state equations; B. air in room meets the Boussinesq assumptions; C. natural convection, forced convection and radiation heat transfer occurred simultaneously. k-ε two-equation turbulent model was used for simulation in the paper. Considering the air as incompressible turbulent flow, it could be described by Reynolds time-average equation and continuity equations, which are as follows in the Descartes rectangular coordinate system. Continuity equation
∂ρU i =0. ∂xi
(1)
⎡ ∂U i ∂U j ⎤ + ) ⎥ + ρβ gi (Tref − T ) . ⎢( μ + μt ) ( ∂x j ∂xi ⎥⎦ ⎢⎣
(2)
Momentum conservation equation
∂ρU i ∂ρU iU j ∂p ∂ + =− + ∂t ∂x j ∂xi ∂x j Energy conservation equation
∂ρ h ∂ρ hU j ∂ ⎡ λ μt ∂h ⎤ + = ) ⎢( + ⎥ + SH . ∂t ∂x j ∂x j ⎣⎢ c p Prt ∂x j ⎦⎥
(3)
where ui is velocity of xi, m/s; uj is velocity of xj, m/s; i = 1, 2, 3 are in the rectangular coordinate; ρ is the density of air, kg/m3; p is the pressure of air, Pa; μ and μt are laminar flow viscosity and turbulence viscosity, kg/(m⋅s); β is thermal expansion coefficient of air, 1/K; Tref is reference temperature, K; T is temperature of air, K; gi is acceleration of gravity, m/s2; h is specific enthalpy of air, J/kg; SH is heat source, W/m3; λ is thermal conductivity of air, W/(m⋅K); cp is specific heat at constant pressure, J/(kg⋅K); Prt is turbulence Prandtl number. k equation
ρ
∂k ∂k ∂ + ρU j = ∂t ∂x j ∂x j
⎡⎛ μt ⎢⎜ μ + σ k ⎣⎢⎝
∂U j ⎛ ∂U j ∂U i ⎞ ∂k ⎤ + ⎜ ⎥ + μt ⎟ ∂xi ⎜⎝ ∂xi ∂x j ⎠ ∂x j ⎦⎥
⎞ − ρε . ⎟⎟ ⎠
(4)
120
W. Li et al.
ε equation ρ
∂ε ∂ε ∂ + ρU j = ∂t ∂x j ∂x j
⎡⎛ μt ⎞ ∂ε ⎤ C1 ∂U j ⎢⎜ μ + ⎥+ μ ⎟ σ ε ⎠ ∂x j ⎥⎦ k t ∂xi ⎢⎣⎝
⎛ ∂U j ∂U i + ⎜⎜ ∂x ∂x j ⎝ i
⎞ ε2 . (5) ⎟⎟ − C2 ρ k ⎠
Turbulence viscosity
μt = ρ Cμ
k2
ε
.
(6)
where Cμ = 0.09, C1 = 1.44, C2 = 1.92, σk = 1.0, σε = 1.3. 2.3 Boundary Condition
The simulation was conducted by solar radiation model with software Fluent 6.0. The average environment temperature is 268K, that is the average winter temperature in Beijing area. The glass plate is 3 mm thickness, density of the glass is ρ = 2220 kg/m3, cp = 830 kJ/(kg·K), λ = 1.15 W/(m·K).
3 Simulation Results Analysis In Figure 3 to Figure 5, it is can be found that when the air collector without baffles, the temperature of the heat collecting plate is high, but the temperature of the air in both channels are relatively low. When segment baffles are installed in the channel, the heat transfer of the plate and air was enhanced, and the air temperature increased. The optimal structure of the collector is the flat-plate arranged staggered holes and baffles in the air channel to enhance the solar radiation absorbing and heat transfer with air. There are two methods to evaluate the performance of the solar air collector. One of them is based on the temperature of air in inlet and outlet, Qd c p mΔt c p m (tout − tin ) . (7) = = Qs I⋅A I⋅A where Qd is the heat air obtained, Qs is the heat of solar radiation, m is the mass flow rate, kg/s; cp is specific heat of air, kJ/(kg·K); I is the solar radiation, W/m2; A is the area of the heat collector, tin is the temperature of air in the inlet, and tout is the temperature of air in the outlet. The second way of the air collector evaluation is based on the total heat flow rate of the air,
η1 =
η2 =
Qa .out − Qa .in . I⋅A
(8)
Numeriical Simulation Study on a Flat-Plate Solar Air Collector
(a)
(b)
121
(c)
bution of the heat plate; (b) Temperature distribution of the side Fig. 3. (a) Temperature distrib wall; (c) Velocity distribution inside of the air collector.
The solar air collector designed d was simulated. Temperature distribution, velocity distribution was shown in Figure F 3 and Figure 4.
Fig. 4. Temperature distributiing on the solar air collector without baffle. line-1: heat colllect plate; line-2: front air channel;; line-3: back air channel.
Fig. 5. Temperature distributing on the solar air collector with segment baffle. line-1: hheat c line-3: back air channel. collect plate; line-2: front air channel;
122
W. Li et al.
Fig. 6. Temperature distributing on the solar air collector with segment baffle. line-1: hheat c line-3: back air channel. collect plate; line-2: front air channel;
The efficiency and param meters of different structure are calculated in table 1. Table 1. The perfformance of three different types of solar air collector Mass Type flow kg/s
T. of inlet K
T. off outleet K
Heat flow Heat flow Solar of inlet of outlet radiation W W W/m2
Plate Solar area radiation m2 W
η %
1
0.03
283.2
288.7 74
-451.16
-261.57
592.2
0.4
236.9
0.800
2
0.03
283.2
289.0 05
-451.16
-248.53
592.2
0.4
236.9
0.866
3
0.03
283.2
290.9 94
-451.16
-235.92
592.2
0.4
236.9
0.899
Note: type 1 is the plate of holes aligned arrangement and without baffle; type 2 is a arrangement and with baffle; type 3 is holes w with holes with cylindrical fin aligned cylindrical fin staggered arrrangement and with baffle.
4 Conclusion Solar air collector with flatt heat collect plate arranged holes, it’s efficiency is abbout 80%. A better arrangemen nt holes increases 4% of the efficiency. Baffles in the air channel also enhance the heat h transfer of plate and air and increase the efficiency about 6%. The heat collect efficiency of the new designed flat plate is about 90%. w was supported in Science Research Project of Beijjing Acknowledgments. This work Municipal Education Com mmission (051100502), Funding Project for Academ mic Human Resources Develo opment in Institutions of Higher Learning Under the Jurisdiction of Beijing Municipality (PHR201007127), Beijing Characteriistic B Environment and Facilities Engineering and the Specialty Construction of Building Key Laboratory of Heating,, Ventilation and Air Conditioning in Beijing.
Numerical Simulation Study on a Flat-Plate Solar Air Collector
123
References 1. Yao, T.: Study on the Solar Collector with the Novel Transparent Material. D. Tianjin University Master Thesis (2005) (in Chinese) 2. Zhang, L.P., Duan, Q.B.: Numerical Simulation on Solar Air Collector with Tilt TIM. J. Energy Conservation Technology 25, 128–129, 189 (2007) (in Chinese) 3. Luo, Z.J., Cheng, X.Y.: Solar Tubular Air Collector Combined with the Construction. In: China Solar Thermal Utilization Annual Meeting (in Chinese) 4. Wadaskar, N.N.: Experimental Investigation of Vacuum Tube Solar Collector. In: Second International Conference on Emerging Trends in Engineering and Technology, ICETET (2009) 5. Karsli, S.: Performance Analysis of New-design Solar Air Collectors for Drying Applications. J. Renewable Energy 32, 1645–1660 (2007) 6. Caner, M.: Investigation on Thermal Performance Calculation of Two Type Solar Air Collectors Using Artificial Neural Network. Expert Systems with Applications 38, 1668–1674 (2011) 7. Ramani, B.M.: Performance of a Double Pass Solar Air Collector. J. Solar Energy 84, 1929–1937 (2010)
Artificial Immune for Harmful Information Filtering Yan Sun and Xue guang Zhou College of Electronic Engineering, Naval University of Engineering, Wuhan, Hubei 430033, China [email protected], [email protected]
Abstract. Biologically-inspired methods such as evolutionary algorithms and neural networks are well suited to dynamic problems. Artificial immune systems are proving useful in the field of information filtering. We tackle this dynamic problem with IHIF, a harmful information filtering model inspired by the immune system. It is based on a self-organising antibody network that reacts to dynamic evolvement in order to define and preserve the features of harmful Web pages. The experiment results demonstrate IHIF’s ability to filter harmful information. Keywords: information security; artificial immune; harmful information; IHIF.
1 Introduction With the proliferation of harmful Internet content such as pornography, violence, and hate messages, network content security presents great challenges to our evolving information society and economy. Effective content-filtering systems are essential. Many Web-filtering systems are commercially available, and potential users can download trial versions from the Internet. However, the ever changing nature of the Web calls for new techniques designed to classify and filter Web sites and URLs automatically. Bio-inspired approaches are well suited to dynamic problems. Artificial immune systems which could discriminate between the host organism’s own molecules (“self”) and external pathogenic molecules (‘‘non-self’’) have applied to computer virus detection [1], spam email filtering [2-3], intrusion detection [4-5], collaborative filtering [6-7], etc., widely. In this paper, we investigate the problem of pornographic Web site classification and filtering. We propose using artificial immune to classify harmful Web pages during filtering. Unlike most commercial filtering products, which are mainly based on indicative keywords detection or manually collected black list checking, our solution, immune-based harmful information filtering (IHIF), is an automatic machine learning-based pornographic Web site classification and filtering system [8]. IHIF would first be trained to learn a class of harmful patterns. Next, use the trained IHIF to filter those which are similar to previous harmful examples. The rest of this paper is organized as follows. Section 2 investigates related work on harmful information filtering. Section 3 proposes the IHIF model. Section 4 describes key techniques of IHIF. Section 5 presents the experimental results. Finally, section 6 concludes this work. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 125–131. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
126
Y. Sun and X.g. Zhou
2 Related Work Four approaches can be quote for harmful information filtering. The first one is the Platform for Internet Content Selection(PICS). The PICS is a set of specification for content-rating systems which is supported by Microsoft Internet Explorer, Netscape Navigator and other several Web filtering systems. PICS can only be used as supplementary means for Web content filtering because it is a voluntary self-labelling system freely rated to content provider [9]. The second approach is white-black list approach. White-black list approach allows Web sites on a white list access and block Web sites on a black list access. This approach is hard to construct and maintain the list timely. The third approach is keywords-based approach. If a page contains a certain number of forbidden keywords, it is considered harmful page. This approach is easy to block inoffensive Web pages which fight against violence or pornography [10]. The fourth approach is intelligent content analysis approach [11]. Intelligent content analysis filtering relies on machine learning. Semantic analysis, image processing and other technique can be applied in. Immune-based harmful information filtering we proposed belongs to intelligent content analysis filtering.
3 IHIF Model Design Fig.1 shows the architecture of our IHIF. It entails two processes: antibodies creation and harmful information filtering. In the antibodies generation process, a large sample of Web pages is used to generate mature cell. The harmful information filtering process then uses antibodies to identify harmful information.
Fig. 1. Immune-based harmful information filtering architecture
Artificial Immune for Harmful Information Filtering
127
Artificial immune systems are not meant to be accurate models of the biological immune system, but use relevant processes and concepts. In our IHIF, antigens are the word bags of Web pages including harmful and non-harmful Web pages. Antibodies consist of URL, title, keywords, update count, update time, abstract, opinion orientation degree, harmful degree and age of Web pages. Self consists of harmful Web pages while non-self consists of non-harmful Web pages. The main processes of IHIF are described as follows. It consists of 8 stages. (1) Choose certain harmful information dictionary according to requirement. (2) Generate the antigen according to the dictionary. (3) Compute the parameters of WebPages. (4) Generate the mature antigen by the strength threshold. (5) Compute affinity between antibody and antigen. (6) Filter the Webpage which include the certain harmful information by matching threshold. (7) Evolve the antigen according to the harmful information Webpage and memorize the characteristic of certain Webpage. (8) Dynamic updating the harmful information dictionary.
4 IHIF Description Three important processes are described in this section, including affinity computing, self-non-self discrimination and dynamic evolvement of antibodies. 4.1 Affinity Computing Given a current cell, ab, and a Webpage processed into the form of an antigen, ag, the affinity between ab and ag is computed as shown in equation (1) It should be noted that in IHIF we use r-continuous bits matching algorithm. ⎧ 1 iff ∃i, j ag k = ab.keyword k ∧ k = i," , j ∧ j − i ≥ r f m (ag , ab) = ⎨ ⎩0 otherwise
(1)
Where 1 denotes antibody matches antigen successfully and 0 denotes antibody matches antigen unsuccessfully. ag k denotes the number character in antigen ag .
ab.keywordk denotes the number character of keyword in antibody ab . 8 ≤ r ≤ l . l denotes the total number of characters of antigen ag . 4.2 Self-non-self Discrimination The ability for self–non-self discrimination is what makes the immune system a particularly appealing metaphor. In IHIF, memory cells will identify antigen firstly, if identify unsuccessfully, mature cells will identify it again. Pseudocode of elf-non-self discrimination algorithm is presented as follows.
128
Y. Sun and X.g. Zhou
program Self-non-self discrimination algorithm (output) Begin Present ag and form Ag; Initialize α,β; Flag=0; //recognized by abmemory For each ag in Ag For each abmeomory in Abmemory If(Match(ag,abmemory)> β) {Output abmeomory.url, abmeomory.abstract; abmeomory.count++ Flag=1;} If(0= =Flag;) { For each abmature in Abmature If(Match(ag,abmature)> β)] {Output abmature.url, abmature.abstract; abmature.count++; Flag=1; If(abmature.count>α) Move abmature from Abmature to Abmemory;} } If(0= =Flag) Output “Can’t be found.” End. Self-non-self discrimination process is a machine learning process. It can enhance the affinity of immune cells and expand the scope of immune colony. The optimum antibody is typically selected in the form of immune memory. 4.3 Dynamic Evolvement of Antibodies Since Web pages are timely, antibodies in IHIF should be evolved dynamically to adapt Web pages. Dynamic evolvement process is presented as follows:
t =0 ⎧Φ Tb (t ) = ⎨ ⎩Tb (t − 1) ∪ Tnew (t ) − T dead (t ) t ≥ 1
(2)
t=0 ⎧Φ M b (t ) = ⎨ ⎩ M b (t − 1) ∪ M activation (t ) − M dead (t ) t ≥ 1
(3)
M activation (t ) = {x x ∈ Tb (t ) ∧ x.Sfrequency ≥ α }
(4)
Equation (2) denotes the dynamic evolvement process of mature cells and Equation (3) denotes the dynamic evolvement process of memory cells. Tnew denotes the new mature cells. M activation denotes the activated mature cells. T dead and M dead denote the death of mature cells and memory cells respectively.
Artificial Immune for Harmful Information Filtering
129
The dynamic repertoire of IHIF adapts to the diversification of Web pages. It can preserve the excellent antibodies and remove the inferior antibodies, which will make IHIF be more maturity and self-non-self discrimination ability be stronger.
5 Experimental Results In order to validate the IHIF, we carried out a series of experiments. The quality of IHIF is evaluated using precise rate. The creation of a database requires a large number of texts. 600 pornographic and 600 nonpornographic Web pages are added to the database. We use the keyword-based harmful information filtering method to compare. Fig.2 shows the precise rate between IHIF and keyword-base method. In our case, strength threshold is ten, namely α = 10 , matching threshold is 0.8, namely β = 0.8 , and evolvement cycle is 1h, namely T = 1h .
Fig. 2. The relation between precise rate and filtering times
We can see from Fig.2, the precise rate of IHIF is fluctuant in different matching times. It is decided by the randomicity of learning time and choosing mechanism. However, the precise rate of IHIF is higher than of keyword-based method every time. It shows the filtering effectiveness of IHIF. In the experiments, we find that the strength threshold and matching threshold can influence the convergence speed. Fig.3 shows the relation between strength threshold, matching threshold and convergence speed. The convergence speed decreases with strength threshold increasing. This is because while strength threshold increases, the process of generating mature antibodies will slow down. Similarly, the convergence speed decreases with matching threshold increasing. However, the filtering precise rate increases with matching threshold increasing. Furthermore, the influence on convergence speed caused by strength threshold is more significant than matching strength. Therefore, we can deploy the strength threshold and matching threshold to get the best filtering effect.
130
Y. Sun and X.g. Zhou
Fig. 3. The relation between strength threshold, matching threshold and convergence speed
6 Conclusion Artificial immune system provides a way to filter harmful Web pages. In this paper we have presented IHIF, an immune-inspired model for adaptive, content-based harmful information filtering. Experiments results show the effectiveness of the IHIF. However, many further work directions can be considered. Web pages consist of text, pictures and multimedia. We have processed only text in IHIF. Harmful images filtering and multimedia filtering can be the directions of our future work. Acknowledgments. The authors thank the Natural Science Foundation of Naval University of Engineering of China under grant No. HGDYDJJ10008.
References 1. Tao, L.: Immune based Computer virus detection. Science in China 39(4), 422–430 (2009) (in Chinese) 2. Bezerra, G.B., Barra, T.V., Ferreira, H.M., et al.: An immunological filter for spam. In: International Conference on Artificial Immune System, pp. 446–458 (2006) 3. Wang, F., You, Z.S., Man, L.C.: Immune-based peer-to-peer model for anti-spam. In: International Conference on Artificial Immune System, pp. 660–671 (2006) 4. Gong, X., Li, T., Wang, T.F., et al.: An immune mobile agent based grid intrusion detection model. In: International Conference on Simulated Evolution and Learning, pp. 660–671 (2006) 5. Boukerche, A., Regina, K., Juc, L., et al.: An artificial immune based intrusion detection model for computer and telecommunication. In: Parallel Computing, vol. 30, pp. 629–646 (2004) 6. Nanas, N., De Roeck, A., Uren, V.S.: Immune-inspired adaptive information filtering. In: Bersini, H., Carneiro, J. (eds.) ICARIS 2006. LNCS, vol. 4163, pp. 418–431. Springer, Heidelberg (2006) 7. Secker, A., Freitas, A.A., Timmis, J.: AISIID: An artificial immune system for interesting information discovery on the web. Applied soft computing 8, 885–905 (2008) 8. Chao, D.L., Forrest, S.: Information immune systems. Genetic programming and evolvable machines 4, 31–331 (2003)
Artificial Immune for Harmful Information Filtering
131
9. Hammami, M., Chahir, Y., Chen, L.M.: WebGuard: A Web filtering engine combining textual, structural, and visual content-based analysis. IEEE transaction on knowledge and data engineering 18(2), 272–284 (2006) 10. Guermazi, R., Hammami, M.: Using a semi-automatic keyword dictionary for improving violent Web site filtering. In: Third International IEEE Conference on Signal-Image Technologies and Internet-Based System, pp. 337-344 (2008) 11. Lee, P.Y., Hui, S.C., Fong, A.C.M.: Neural Networks for Web Content Filtering. IEEE Intelligent Systems, 48–57 (2002)
Identification and Pre-distortion for GaN-PA Yuanming Ding1,2, Yan Wang2, and Akira Sano3 1
Liaoning Key Laboratory of Communication Networks and Information Processing Department of Information Engineering, Dalian University, Dalian 116622, China 3 Department of System Design Engineering, KeioUniversity, Yokohama 223-8522, Japan [email protected] 2
Abstract. A memory polynomial model (MPM) is adopted to describe the characteristics of GaN power amplifiers (GaN-PA) in orthogonal frequency division multiplexing (OFDM) communication systems, and the RLS algorithm is used to estimate the MPM parameters in on-line manner. The MPM with odd-even orders is considered in choosing models. Furthermore, the orders and memory length of MPM are decided by the final prediction error (FPE). Finally, an adaptive pre-distorter is designed besed on the achieved MPM, and its effectiveness is proved by numerical simulation. Keywords: GaN Power Amplifier, Pre-Distortion, Memory Polynomial Model.
1 Introduction OFDM signal itself has high peak to average power ratio and frequently generates distortion, includes the linear and nonlinear distortions from the inherent non-memory saturation characteristic and the memory of high power amplifiers (HPA), due to the influence of HPA [1, 2]. So distortion compensation is significant in OFDM systems for raising the system efficiency and communications quality. The model-based digital adaptive pre-distortion is a compensation method to realize the linearization of HPA [3]. We can design a Pre-Distorter (PD) for HPA in the base of estimating the uncertain characteristics of HPA. In the previous researches, we proposed the adaptive PD design based on the memory polynomial model (MPM) and Volterra series model (VSM). Comparing with VSM, MPM has fewer parameters, so the parameter estimated that becomes easy. Therefore, this paper mainly discusses an on-line manner about identification of the MPM of the GaN-PA. The recursion least squares (RLS) algorithm is also used to estimate the overall characteristic parameters of the GaN-PA, and the order and memory length of MPM are chosen by FPE [4].
2 Experiment System for Modeling GaN-PA The input and output signals can be got from the experiment system as shown in Fig. 1. The base-band OFDM signal is generated by IFFT [5] and the GaN-PA includes pre-amplifier and high frequency attenuator (ATT).. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 133–140. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
134
Y. Ding, Y. Wang, and A. Sano
Fig. 1. Experiment system for modeling GaN-PA.
As shown in Fig.2, the memory polynomial model is adopted to describe the unknown characteristics of GaN-PA in base-band, and it can be expressed as: Lm
Lq
zˆ (n) = Qˆ (u (n)) = ∑∑ qˆ l ,m (n) | u (n − m) |l −1 u (n − m)
(1)
m =0 l =1
Equation (1) can be changed into the LS form:
zˆ(n ) = ϕ qH (n )θˆq (n )
(2)
Q (•)
u ( n)
z ( n)
+ e (n ) −
Qˆ (•)
zˆ( n)
Q (•)
Fig. 2. GaN-PA modeling system.
The complex vector θˆq ( n) can be identified on-line by the RLS algorithm when the input and output data renew gradually [6].
θˆq (n) = θˆq (n −1) + Γ(n −1)ϕq (n −1) Γ(n) =
z(n) −ϕqH (n −1)θˆq (n −1)
(3)
1+ϕ (n −1)Γ(n −1)ϕq (n −1) H q
λ2 (n)Γ(n −1)ϕq (n −1)ϕqH (n −1)Γ(n −1) ⎤ 1 ⎡ ⎢Γ(n −1) − ⎥ λ1(n) ⎢⎣ λ1(n) + λ2 (n)ϕqH (n −1)Γ(n −1)ϕq (n −1) ⎥⎦
Here, 0 < λ1 (n) ≤ 1 , λ2 (n) = 1 , Γ(0) = Γ H (0) = ϒ 4 I > 0 .
(4)
Identification and Pre-distortion for GaN-PA
135
3 Determining Method of GaN-PA Model Order 3.1 The Final Prediction Error
The memory length m and model order l in Equation (1) can be decided by the final prediction error (FPE).
FPE =
N + N1 ⎧ 1 ⎨ N − N1 ⎩ N
N
∑ ( z(n) − zˆ(n)) n =1
2
⎫ ⎬ ⎭
(5)
Here, N is the total number of the measured data, N1 is the number of parameter. When the GaN-PA drain voltage v = 50V , the FPE has been got by numerical simulation (as is shown in Table1). The memory-less nonlinearity of HPA can be expressed by an odd-order polynomial [7, 8]. But the FPE changes smaller when we consider the even-order l = 2 for the identification of the GaN-PA. Moreover, the FPE reduces largely when we change m = 0 to m = 1 . However, there is no obvious change of FPE even though we change m = 1 to m = 2 and m = 3 . The less identification parameters are, the better modeling will be. Hence, the memory length m = 1 is the most suitable. Table1 shows that, the FPE of the model with even-order l=2 is smaller than that only with odd-order. Table 1. FPE Corresponding different model order and memory length
m=0 m=1 m=2 m=3
l=1,3,5,7 3.514e-5 8.155e-6 7.332e-6 7.086e-6
l=1,3,5,7,9 3.296e-5 6.002e-6 5.129e-6 4.870e-6
l=1,2,3,5 3.253e-5 6.558e-6 4.684e-6 4.416e-6
3.2 Convergence of Estimation Paramter
The gain characteristic and the phase characteristic of PA change with the temperature and the time. The parameter must be updated gradually when the model is identified online. Therefore, when the parameter of the model is estimated by RLS algorithm, convergence of parameter is good. It is important that it won’t produce lots of trouble if the parameter is greatly changed. The behaviour of the real part of the estimated parameters based on RLS algorithm shows in Fig.3 (a)and (b). We can see from the figures that any model with drain voltage v=50V starts with a slight change and begins to converge after one frame data. On the other hand, the parameter convergence of the MPM with even-order is better than that only with odd-order when the drain voltage v=50V.
136
Y. Ding, Y. Wang, and A. Sano HPA coefficients real parts
HPA coefficients real parts
3
3
2
2
1
1
0
0
-1
-1
-2
-2
-3
-3
-4 0
500
1000 1500 2000 Carrier Number
2500
-4 0
3000
500
(a) l=1,2,3,5 and m=0,1
1000 1500 2000 Carrier Number
2500
3000
(b) l=1,3,5,7 and m=0,1
Fig. 3. The behaviour of the real part of the estimated parameters.
4 Adaptive Pre-distortion for GaN-PA 4.1 Adaptive Pre-distortion Structure for GaN-PA
The concept of the pre-distortion methods is to distort the input signals to the PA with an inverse function of the PA nonlinearity and generate linearly amplified signals at the PA output. As shown in Fig.4, the identification-based pre-distortion apply the inverse system of the PA to indirectly construct the Pre-Distorter of the PA, and the PA output z(n)= γs(n) is achieved. The GaN-PA inverse model (pre-distorter model) is expressed as:
uˆ( n ) = Rˆ ( z ( n )) =
Lm
Lr
∑ ∑ rˆ
m = 0 l =1
l ,m
( n ) | z ( n − m ) |l −1 z ( n − m )
(6)
Equation (6) can be changed into the LS form:
uˆ( n ) = ϕ rH ( n )θˆr ( n )
(7)
Here, ϕ rH (n ) and θˆr ( n ) are defined as:
ϕ rH ( n ) = [ z ( n ), ...,| z ( n ) |L
r
−1
z ( n ),
z ( n − 1), ..., | z ( n − 1) |Lr −1 z ( n − 1), … , z ( n − Lm ), ...,| z ( n − Lm ) |Lr −1 z ( n − Lm )]
θˆr (n) = [rˆ1,0 ,..., rˆL ,0 , rˆ1,1,..., rˆL ,1,..., rˆ1,L , ..., rˆL ,L ]T r
r
m
r
m
(8) (9)
Identification and Pre-distortion for GaN-PA
137
The parameter vector θˆr ( n ) can be identified on-line by the RLS algorithm:
θˆr (n) = θˆr (n −1) + Γ(n −1)ϕr (n −1) Γ(n) = Γ(n −1) −
s (n )
γ
u(n) − ϕrH (n −1)θˆr (n −1) 1 + ϕrH (n −1)Γ(n −1)ϕr (n −1)
Γ(n −1)ϕr (n −1)ϕrH (n −1)Γ(n −1) 1 + ϕrH (n −1)Γ(n −1)ϕr (n −1)
x ( n)
u ( n)
(10)
(11)
z ( n)
Rˆ (•) Q(•)
e( n )
+ −
uˆ(n)
Rˆ (•)
Fig. 4. The pre-distortion structure of the GaN amplifier.
4.2 Simulation Conditions
The setup and conditions for the simulation are summarized as follows: (1) 64QAM-OFDM modulation symbol: ck = a k + jbk ( a k , bk ∈{±1,±3,±5,±7} ). (2) FFT size: 2048. (3) Frame number: 5. (4) Guard interval: 1024. (5) Carrier number: 400. (6) Total OFDM signal number: (2048 + 1024)×5. (7) Pre-distorter model: l=1,2,3,5, m=0,1 in equation (6). 4.3 Simulation Results 4.3.1 Parameters Convergence Figure 5 illustrates the parameters of the pre-distorter fully convergent in one frame data.
Y. Ding, Y. Wang, and A. Sano
1
Imaginary of parameters
Real of parameters
138
0 -1 -2
2000
4000
6000 8000 10000 12000 14000 Carrier number
2000
4000
6000 8000 10000 12000 14000 Carrier number
1 0.5 0 -0.5
Fig. 5. Convergence of the estimated pre-distorter coefficients. 4.3.2 Pre-distortion Compensation Performance
In Fig.6, ‘.’ represents the actual output of demodulated symbols and ‘◦’ symbols represent the ideal output demodulated symbols. Figure 6 (a) shows distortions of the amplifier and phase nonlinearity. The accuracy of signal transmission is very low. Figure 6 (b) shows that the distortion has been compensated. The accuracy of signal transmission increased. Compensated signal 10
5
5
Imag
Imag
No Compensated signal 10
0
-5
0
-5
-10
-10
-10
-5
0
5
10
-10
-5
Real
0
5
10
Real
(a)
(b)
Fig. 6. The constellation diagram of the output demodulated signal.
Figure 7 (a) illustrates the power spectrum of input OFDM signals. Figure 7 (b) illustrates the power spectrum of the PA output without any compensation. The spectral gaps between in-band and out-of-band are small due to out-of-band leakage of OFDM signal power, and in-band spectra are not flat due to memory effects of PA, so the PA output will have many distortions in amplitude and phase. On the other hand, Figure7 (c) shows that the power spectrum of PA output compensated by the adaptive pre-distorter. The spectral gaps can be improved to 57dB.
Identification and Pre-distortion for GaN-PA No Compensated PA Output Spectrum
Input Spectrum
0
0
-10
-20
Magnitude [dB]
Magnitude [dB]
-10
-30 -40
-20 -30 -40
-50
-50
-60
-60
-70 -1500
139
-1000
-500
0 500 Carrier number
1000
1500
-70 -1500
-1000
-500
0 500 Carrier number
(a)
1000
1500
(b) Compensated PA Output Spectrum
0
Magnitude [dB]
-10 -20 -30 -40 -50 -60 -70 -1500
-1000
-500
0 500 Carrier number
1000
1500
(c) The power spectrum of the compensated output signals.
Fig. 7. Power spectrum of input and output signals.
5 Conclusion This paper mainly discusses the online identification of GaN-PA in the OFDM transmission system. The model order and memory length are decided by FPE. There are conclusion as follows: (1) The MPM with model order l=1,2,3,5 and memory length m=0,1 is suitable for GaN-PA modeling. (2) By using the MPM with m=0,1 and l=1,2,3,5, can construct an adaptive predistorter and realize the linearization of the GaN-PA. (3) The numerical simulation results show that the adaptive pre-distorter works well. Acknowledgments. This work is supported in part by the Scientific Research Foundation for the Returned Overseas Chinese Scholars, State Education Ministry (20080890), and the NSFC under Grant No. 60871089.
140
Y. Ding, Y. Wang, and A. Sano
References 1. Vuolevi, J.H.K., Rahkonen, T., Manninen, J.P.: Measurement technique for characterizing memory effects in RF power amplifiers. IEEE trans. Microwave Theory and Techniques 49, 1383–1389 (2001) 2. Dardari, D., Tralli, V.: Analytical evaluation of total degradation in OFDM systems with TWTA or SSPA. IEICE Trans. Commun., E85-B, 845–848 (2002) 3. Eun, C.S., Powers, E.J.: A new Volterra predistorter based on the indirect learning architecture. IEEE Trans. Signal Process 45, 223–227 (1997) 4. Vassilakis, B., Cova, A.: Comparative analysis of GaAs/LDMOS/GaN high power transistors in a degital predistortion amplifier system. In: Proc. IEEE Microwave Conference, IEEE Press, New York (2005) 5. Ding, Y., Wang, J.: Identification and pre-distortion for high power amplifiers with memory. In: Proc. 2008 IET Conference on ICWMMN, pp. 728–732 (2008) 6. Ding, Y., Sun, L., Sano, A.: Adaptive nonlinearity predistortion schemes with applicationto OFDM system. In: Proc. 2003 IEEE Conference on Control Applications, pp. 1130–1135 (2003) 7. Shen, Q., Wang, A., Ding, Y.: Linearization technology of adaptive pre-distortion for power amplifiers in OFDM systems. The Journa of Liaoning University of Petroleum & Chemical Technology 26, 87–90 (2006) 8. Lazzarin, G., Pupolin, S., Sarti, A.: Nonlinearity compensation in digital radio systems. IEEE Trans. Commun 42, 988–999 (1994)
On-Line Monitoring System of Methane Reaction Generator Ma Baoji Industrial Training Center, Xi’an Technological University, Xi’an, Shaanxi, China [email protected]
Abstract. Due to the advantages of strong ability of treating waste water, high efficiency of biogas generating, less land occupied and energy saving. Internal Circulation(IC) anaerobic process is extensively used in the fields of wastewater treatment, methane generating and more fields. But this technology applied to pig farm wastewater treatment is just underway. Knowledge about the process control, influence facts of the biogas quantity and quality, relationship between the control parameter and the producing efficiency and so on are much less to know. A multi-parameter monitoring system used to monitor the react state in the internal circulation anaerobic process was developed. This system was applied to a pig farm wastewater treatment factory located at Yan Liang China. According to customer and the special environment of IC reactor, data acquisition circuit and the hardware and software of the system were designed. By means of this system the main parameters for reacting process control such as the temperature, pH value (pH), REDOX potentials (Eh) and liquid flow in the internal circulation system can be measurement on-line. Keywords: IC reactor; On-line monitoring; Single-chip microcomputer; Data acquisition.
1 Introduction Today, energy and environmental problems have become the focus of global attentions. Although oil, coal and natural gas still are the main source of organic raw materials and fuel, with exhausting of fossil fuels and growing environmental problems, developing clean and renewable energy has become a pressing issue. In this situation, biogas come from wastewater treatment are get more attention all over the world. Because powerful ability in the processing and potential prospect in application, Anaerobic biological technology of waste treatment is a significant technology in the waster water treatment fields[1]. From 1980 to 1990 years, the anaerobic biological treatment for wastewater has become a mature process. With the development of industrial production, requirements on finance investment, energy consumption, soil occupancy are more strict. There is a necessary effort to find a more efficient and more economic technique for wastewater treatment. Especially how to deal with the M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 141–148. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
142
M. Baoji
highly concentration organic wastewater makes this effort to become more necessary. In this background, a new type of reactor, internal circulation anaerobic reactor, has been developed[2]. Internal Circulation (IC) anaerobic process is a hot technology which is currently adopted in the fields of sewage treatment, methane generated and more fields [3]. But this technology adopted by pig farm wastewater treatment is just underway[4]. This paper, which is about a pig farm’s internal circulation anaerobic process of methane cycle engineering in Yan Liang provides a multi-parametric monitoring system applied to monitoring the methane generators. This system is used to on-line measurement the temperature of methane, pH value (pH), REDOX potentials (Eh) values and internal circulation system flow. It will provide accurate and timely methane production field data and make people to know much about the regular pattern of anaerobic reaction in order to optimize internal circulation anaerobic process, reduce methane production cost and increase methane production efficiency.
,
2 The Basic Composition of The System As shown in figure 1, The monitoring system is composed of a PC, a piece of AT89S52 SCM, temperature sensor, PH sensor, REDOX potentiometer and flowmeter. In the system PC performed as host computer, AT89S52 SCM performed as the data acquisition card . The data acquisition card is used to collect the internal parameter of the whole methane reaction generator to be measured and convert sensor output parameters (temperature, pH, REDOX potential, flow within the circulatory system, etc.) into digital signals and temporarily save these data. The data acquisition card via the USB communication interface will send the data to the PC When the PC sends the read command to the data acquisition card. The function of PC mainly completes data storage, data display, data management, data query etc.
Fig. 1. On-line monitoring system diagram
Sensor Selection The pig farm wastewater in the methane reaction generator produces the methane by complicated chemical reaction. These reactions need appropriate environmental conditions. The main conditions include that the reaction temperature, pH, REDOX potentials (Eh)of the liquid in methane generator and the flow of internal circulation system .According to variation range of above four parameters in reaction and practice experience, chosen sensors were shown in table 1 [5].
On-Line Monitoring System of Methane Reaction Generator
143
Table 1. Selected sensors
` temperature Sensor model
PH value
potential
PH7000PH/ORP
PH7000PH/ORP
Transmitter
PHG-1101
PHG-2101
0~14pH
-1999
±0.02pH
±1 mV
SWZ-Cu50
℃~100℃
Range
0
Precision
±0.1%
~1999mV
flow
FFT-0050150-1 0.5~10m/s 0.5%
3 Data Acquisition System Hardware Design The main function of the data acquisition system is to convert the received four 4 ~ 20mA analogy signal from sensor to digital signal through A/D converter. Then the digital signal will be sent to the PC via the USB communication interface control chip. Hardware block diagram is shown in Figure 2. Through the analog signal input interface, four channel analog current signals which come from the transmitter is converted to analog voltage signals. Then analog voltage signals were converted into the digital signal through the A/D converter after the collecting. According the USB protocol the SCM changes the parallel data into serial and sends to the PC via a USB control chip microcontroller (PDIUSBD12). In order to implement the firmware program download on line, which can get rid of the readwrite device to facilitate debugging, a MAX232 chip was employed to realize the serial communication between the host Fig. 2. Hardware block diagram computer and the lower computer. MCU and Peripheral Circuitry Among the many SCM products the series of MCS - 51 SCM is used widespread. Furthermore plenty of technical date and compatible peripheral chips can be used in application design. Especially the AT89S52 SCM of ATMEL has higher ratio of performance to price. So it was adopted as the main control unit of this monitoring system [6]. At the beginning to work the SCM need be reset in order to keep the same defined initial status with other parts and from this status began to work. In this system the design of the reset circuit adopts the power-on reset circuit shown in Figure 3. When the system is power-on the SCM will be reset. The SCM can not be reset if the system is running and only through cutting the switch again to reset the system when the program or system appears problems.
144
M. Baoji
The internal oscillator of the AT89S52 SCM is adopted as the clock source of the MCU. It also can make use of the external oscillator which produces oscillating signal that will be sent to the oscillating signal input channel, as the clock source of the MCU. This system employs the former. A crystal oscillator was connected to pin XTAL1 and pin XTAL2 of the AT89S52 SCM and then two small capacitances in parallel to ground were designed, as shown in Figure 4.
Fig. 3. Reset circuit
Fig. 4. Clock circuit
Data Acquisition Circuit A piece of TLC2543 was adopted as A/D converter, which is a 12- bit switchedcapacitor successive approximation digital analog converter manufactured by TI Company. It has 11 moulding channels, with automatic sampling protection, conversion time of 10μs. There are three input control terminal: chip select (CS), serial input /output clock (I / O CLOCK) and serial data input DATAINPUT port, along with a three-state serial data output DATAOUT. Don't need other components and can be directly connected to SCM, the interface circuit of the TLC2543 is very simple [7]. The Serial clock input and output signal (I / O CLK) of the TLC2543 is provided by the Pl.3 pin of AT89S5, chip select signal (CS) is provided by the P1.0, and DATAINPUT is provided by the P1.2. DATAOUT is connected to P1.1 and The reference voltage (REF), which need + 5V voltage, is provided by the TL431 regulator diode. As shown in figure 5.
Fig. 5. Data acquisition circuit
On-Line Monitoring System of Methane Reaction Generator
145
USB Interface Communication Circuit Considering that the controller’s function, price, accessible and difficulty to develop and other factors, this design uses a PDIUSBD12 as USB interface components of data acquisition system [8]. Design of the peripheral circuit of PDIUSBD12 was shown in fig. 6. The PCB of the data acquisition system is shown in figure 7.
Fig. 6. PDIUSBD12 peripheral circuit
Fig. 7. PCB of the data acquisition system
4 Software Design of the Data Acquisition System The software designs employ the uVision2 of the Windows integrated development environment as software development platform, high-level C51 of Single Chip Micyoco program language as the developing tool and Keil company’s V5.0 version as compiler respectively[9]. Modular programming technique was adopted to make the program structure is clear, simple to read and modify.
146
M. Baoji
Main Program Design and USB Communication Module The firmware of this system main perform the following operations: control the A/D converter, which collects the measured parameters of the analog variable from the sensors, and converts into digital quantity, then sends the data to host via the D12. This system mainly includes the following several modules: Major module, USB communication module, TLC2543 control module and serial interface communication module. Main program flowchart was shown in figure 8. Program block structure of the USB communication module was shown in Figure 9. start System
Delay 20s, waiting for each sensor probe
The main loop: send USB request, processing USB bus events and user function processing, etc Standard equipment
Interrupt service PDIUSBD12 command interface
Date
PC
The parameter to PC
Fig. 8. Main program flow chart
Fig. 9. USB communication module
USB Interrupt Service ISR The USB interrupt service processing is generated by the D12. It will get the data, which comes from the FIFO in the internal D12, and sent to MCU memory saving. Then establish the correct event signs to inform the main loop program for processing. The process was shown in figure 10. The Main Circulation Processing Program MAINLOOP The main loop examines the event marks, and enters the corresponding procedure for further processing. In the main loop, the MCU will make its port, memory, timer and interrupt service routine initialize, firstly. Then the MCU will reconnect the USB, and include the Soft-Connect that is set to ON. The process is very important. It ensures that the D12 do not operate until the MCU has been ready the service for the D12. After initialization, the MAINLOOP will enter the circulation status to check the various statues. When the setup packet has been checked, it needs knowing whether or not the setup flag has already been set "ON" by the interrupt service routine. If the setup flag has been set, a signal will be send to the protocol layering in order to request processing. This working process is shown in figure 11.
On-Line Monitoring System of Methane Reaction Generator
147
The main loop
Interrupt service
Interrupt entrance
Initialize the I/O port, timer and interrupt, reconnecting to the USB bus
Read D12 interrupt registers
Yes
Bus
No Setting bus reset logo
Suspend
Yes
Loop Setting suspend change logo
No Yes Control
Control endpoint Sending data processing
No Yes
Control endpoint
The timer event marks?
Control A/D operation
No Yes
receive data processing
Control
Yes
Bus reset?
No Yes
Send data disposal
Endpoint 1
No suspend change?
Bus reset processing
Yes Suspend change processing
No
No Endpoint1o
Yes
Receiving data disposal
Yes
Send data disposal
Yes
Receiving data disposal
Establish
No Endpoin2
Yes
Call protocol processing
No
No Endpoin2o
No Interrupt service ended
Fig. 10. Interrupt service process
Fig. 11. Main circulation flow char
5 Conclusion The internal circulation anaerobic process, with high efficiency of decontamination, less land occupation, energy saving and high gas production rate, has been become the development direction of wastewater treatment for medium and small-sized pig farms. According to customer requirements and the special environment of IC reactor located at a pig farm in YanLiang China, A multi-parameter monitoring system used to monitor the react state in the internal circulation anaerobic process was developed. The experience has been demonstrated that this system can properly measure the
148
M. Baoji
temperature, pH value (pH), REDOX potentials (Eh) and liquid flow in the internal circulation system on-line. This information is helpful to make people to know much about the regular pattern of anaerobic reaction and optimize internal circulation anaerobic process, reduce methane production cost and increase methane production efficiency.
References 1. Zhou, L.: Anaerobic fermentation of organic waste research, Northeast Agricultural University, Harbin (2003) 2. Zhou, M., Zhang, R., Li, J.L.: Methane practical technology, pp. 34– 38. Chemical Industry Press, Beijing (2004) 3. Zhou, M., Hu, J., Zuo, J.: Anaerobic wastewater biological treatment theory and technology, pp. 121–128. China architecture &building press, Beijing (2003) 4. Wu, M., Sun, K., Yan, L.: Different reaction temperature of urban living garbage anaerobic fermentation. Chemical and biological engineering research, 28–30 (2005) 5. Huang, X., Zheng, X.: Sensor principles and applications. Electronic Science and Technology University Press, Beijing (2004) 6. Yu, Y.: ATMEL89 series SCM application technology. Beijing Aerospace University Press, Beijing (2006) 7. TLC2543Datasheet[DB/OL]., http://www.21icsearch.com/searchpdf/ti/tlc2543.pdf 8. Wang, S., Li, G.: PDIUSBD12 interface application design. SCM and embedded application 244 (2002) 9. Chen, C., Wang, H.: with KeilC51 Developing Embedded Program. Computer Application 11 (2003)
Security Flaws in Two RFID Lightweight Authentication Protocols Wang Shaohui College of Computer, Nanjing University of Post and Telecommunication, Nanjing 210046, China [email protected]
Abstract. The design of lightweight authentication protocols that conform to low-cost devices is imperative. This paper analyses two recently proposed authentication protocols[11,18]. We show the protocol in [11], which is the modification version of HB+ protocol, still can not resist Man-in-the-Middle attack, and the protocol in [18] can not resist passive attack, and after eavesdropping about 20 consecutive authentications, the adversary can deduce all the secrets stored in the tag. Keywords: RFID; Man-in-the-Middle Attack; Passive Attack; Authentication.
1 Introduction Radio Frequency IDentification (RFID) is a contactless technology used to identify and/or authenticate remote objects or persons, through a radio frequency channel using RFID Rreaders and RFID Tags (or transponders), the latters embedded into the items. RFID is becoming more and more widespread in daily-life applications, from library management or pet identification, to anti counterfeiting, access control or biometric passports. The wide and fast deployment of RFID is mainly due to the diminution of the RFID tags price while their capacities steadily increase. Moreover, the ubiquity of RFID raises new concerns about privacy. For instance in public transportation, a customer holding an RFID ticket might not want anybody else to be able to track his movings. One option to preempt such a worry is to build secure RFID authentication protocols, in order to ensure privacy for RFID users. Thus, an RFID system should provide anonymity (the identity of the tag should be kept secret) and untraceability (it should not be possible to link two different tag communications) for a user. However RFID tag constraints in processing power and memory make them tougher to deal with in security. These kinds of constraints dictate a paradigm shift in security provision for RFIDs which is known as lightweight cryptography, and lightweight authentication protocol is a subset of lightweight cryptography. One family of such protocols is based on the problem of learning parity with noise(LPN)[1], which is NP hard. Hopper and Blum designed the first protocol of this kind, called HB[2], that is shown to be secure against passive adversaries. Juels and Weis introduced HB+ at Crypto 2005[3]. The protocol is a multi-round authentication protocol where each round consists of three communications between the reader and M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 149–156. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
150
W. Shaohui
the tag. On the tag, HB+ is computationally lightweight since it requires only simple bit-wise operations. Furthermore, the protocol is of secure against an active attacker in detection-based model[3]. In this model adversaries can interrogate a tag in any way they wish, but not readers, before attempting to pass an identification session posing as a tag. But HB+ is insecure against a stronger active adversary who can perform man-in-the-middle attack(MIM)[4]. Since then, many protocols[5,6,7,8], attempting to resist MIM attack, were proposed, but all of them have been broken[9,10]. Because of lightweight computation cost, HB-like authentication protocols still gain much attention. Recently, Piramuthu[11] (Piramuthu Protocol) published a paper to evaluate a few lightweight protocols, and gave a modification of HB-like authentication protocol which is claimed to resist MIM attack. Another family of RFID lightweight authentication protocols are designed only using simple bitwise operations like XOR, AND, OR, etc. In 2006, Peris et al. proposed a family of Ultralightweight Mutual Authentication Protocols (henceforth referred to as the UMAP family of protocols). Chronologically, M2AP [12] was the first proposal, followed by EMAP [13] and LMAP [14]. Since the publication of the UMAP family of protocols, their security has been analyzed in depth by the research community. In [15, 16] a desynchronization attack and a full disclosure attack are presented. These require an active attacker and several incomplete run executions of the protocol to disclose the secret information on the tag. Later, Barasz et al.[17] showed how a passive attacker (an attack model that may be, in certain scenarios, much more realistic) can find out the static identifier and particular secrets shared by the reader and the tag after eavesdropping on a few consecutive protocol rounds. In 2009, David and Prasad[18](DP Protocol) presented a new ultralightweight authentication of this kind to provide a strong authentication without compromising security. In this paper, we give a MIM attack on the Piramuthu Protocol, and a passive attack on DP Protocol . The attacks show that Piramuthu Protocol still can not resist MIM active attack. And after eavesdropping about 20 authentication processes, we can deduce all the secrets in DP Protocol. The rest of the paper is organized as follows. In section 2, we review the Piramuthu Protocol and DP Protocol. The MIM attack and passive attack against these two protocols are presented in section 3 and section 4 respectively. we state our conclusion in section 5.
2 Piramuthu Protocol and DP Protocol In this section, we will introduce the two recently proposed protocols briefly. 2.1 Piramuthu’s HB-Like Protocol HB-kind authentication protocols all depend for their security on the conjectured hardness of the Learning Parity with Noise (LPN) problem, which is one of the wellknown problems in cryptography. Let a be a random known k -bit vector, x be a secret k -bit vector, let η ∈ (0,0.5) be a noise parameter, and let v be a bit noise which satisfies Pr ob (v = 1) = η . Then it is hard to recover
x from the result
Security Flaws in Two RFID Lightweight Authentication Protocols
151
z = a ⋅ x ⊕ v , where a ⋅ x means scalar product of binary vectors a and x, and ⊕ is the Exclusive-OR (XOR). Supposed the reader and the tag shared two secrets ( x and y ), the HB+ authentication protocol requires r rounds and each round consists of the following steps. If the non-match rounds number exceeds a threshold t , the tag is rejected and otherwise it will be accepted. Step 1. The tag chooses at random a k -bit binary vector b , and sends it to the reader. Step 2. The reader generates at random a challenge a and send it to the tag. Step 3. The tag computes z = a ⋅ x ⊕ b ⋅ y ⊕ v , and sends z. Step 4. The reader checks whether z = a ⋅ x ⊕ b ⋅ y . The HB+ protocol can not resist active MIM attack. In [11], Piramuthu surveyed a plethora of new authentication protocols that promise to alleviate security and privacy problems associated with the use of RFID tags, and gave some modifications to some existing protocols including the HB-like protocol. He modified the HB+ protocol as the figure 1 shows. The protocol is more realistic, since the reader, as opposed to the tag, initiates the authentication process. The Reader and the Tag do not send the random values a and b explicitely, but blind them using the secrets x and y ; In addition, the computation is much more complicated than the original HB+ to resist the MIM attack.
Reader (secret x, y)
Tag (secret x, y)
v ∈ {0,1 | prob (v = 1) = η )
⊕ x⊕ y b ∈ {0,1}k ⎯b⎯ ⎯→ z = ( a ⋅b )*( x ⋅ y ) ⊕ ( a ⋅( y ⊕ a ))*b⋅( x ⊕ b )) ⊕ v ; a ⊕ x ⊕ y k ←⎯ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ⎯⎯ Chooses a ∈ {0,1} Checks z = ( a ⋅ b) * ( x ⋅ y ) ⊕ ( a ⋅ ( y ⊕ a )) * (b ⋅ ( x ⊕ b))
Chooses
Fig. 1. Round ot modified HB+ protocol
2.2 David and Prasad’s Protocol The protocol proposed by David and Prasad is very efficient for it only use the simple operands exclusive OR ( ⊕ ), bitwise AND ( ∧ ), and bitwise NOT ( x ). Here we only focus on the communication messages between the Reader and the Tag. The tag and the server share four values: the old and the new pseudonym PID1 and PID2 respectively to avoid the desynchronization attack, and two secret keys
K 1 and K 2 .
And the tag stores a static identifier ID which facilitates its unequivocal identification. The communications between the Reader and the Tag are as follows:
152
W. Shaohui
1. The reader sends a request message to the tag, which replies with its pseudonym
PID2 . 2. If there is a matched pseudonym
PID2 , the following computations use PID2 , or the old
PID1 is used.
3. The reader generates two random values messages
n1 and n2 . It computes and sends the
{ A, B, D} to the tag:
A = ( PID2 ∧ K 1 ∧ K 2 ) ⊕ n1
(1)
B = ( PID2 ∧ K 1 ∧ K 2 ) ⊕ n 2
(2)
D = ( K 1 ∧ n 2 ) ⊕ ( K 2 ∧ n1 )
(3)
n1 and n2 from messages A, B , and verifies the authenticity of the Reader via the message D . After a successful authentication, the tag computes and sends messages {E , F } to the reader, and updates the two pseudonyms values: 4: The tag deduces
E = ( K1 ⊕ n1 ⊕ ID) ⊕ ( K 2 ∧ n2 )
(4)
F = ( K 1 ∧ n1 ) ⊕ ( K 2 ∧ n 2 )
(5)
PID1 = PID2
(6)
PID2 = PID2 ⊕ n1 ⊕ n2
(7)
5. The Reader will authenticate the tag using the message F , deduce the tag’s identifier ID using message E , and update the two pseudonyms values as the (6) and (7) shows in the database.
3 MIM Attack on Piramuthu’s Protocol In the Man-In-the-Middle attack, the adversary is capable of manipulating challenges sent by a legitimate reader to a legitimate tag during the authentication exchanges, and to check whether this manipulation results (or not) in an authentication failure. It is easy to see, in Piramuthu’s protocol, if scalar product of two secrets x and y is equal to 0, then the value send by the tag is ( a ⋅ ( y ⊕ a )) * (b ⋅ ( x ⊕ b)) ⊕ v . The MIM attack on Piramuthu’s protocol is based on the following observation:
x = ( x1 , x2 ,..., xk ) and a = (a1 , a2 ,..., ak ) , the value a ⋅ ( x ⊕ a ) = ( a1 x1 ⊕ a2 x2 ⊕ ... ⊕ ak x x ) ⊕ ( a1 ⊕ a2 ⊕ ... ⊕ a k ) . So, if Observation: for k -bit vectors
Security Flaws in Two RFID Lightweight Authentication Protocols
153
x1 = 0 , when we change the first bit of a (i.e. a1 from 1 to 0, or from 0 to 1), the value of a ⋅ ( x ⊕ a ) will change with the probability 1; but if x1 = 1 , when we change the first bit of a , the value of a ⋅ ( x ⊕ a ) will maintain the same one, for at this time a1 x1 ⊕ a1 = a1 ⊕ a1 = 0 . We show how to identify the first bit of x under the condition that x ⋅ y = 0 . Different from the method used in [4], here we do not use constant k -bit vector δ = (1,0,...,0,...0) to XOR to each authentication challenge for each of the r rounds of authentication, but make the last bit of the challenge b maintain the same value, through letting the last bit of b ⊕ x ⊕ y of the r authentication rounds be the same value. From the Observation, we can find, if the last bit of x is 1, the change does not disturb the authentication, i.e. authentication process is alwayse successful. But if the last bit of x is 0, b1 participates in the calsulation of (a ⋅ ( y ⊕ a )) * (b ⋅ ( x ⊕ b))
(a ⋅ ( y ⊕ a)) * b1 , and from the ramdomness of a and b , we can suppose Pr ob((a ⋅ ( y ⊕ a)) * b1 = 1) = 0.25 . Through the MIM attack, the last bit b1 of b keeps the same value, the ablove probablity will change:
is
⎧Pr ob((a ⋅ ( y ⊕ a )) * b1 = 1) = 0, b1 = 0 ⎨ ⎩Pr ob((a ⋅ ( y ⊕ a )) * b1 = 1) = 0.5, b1 = 1 which will break the authentication process and make the reader reject. So, in our MIM attack, if the authentication process is successful, then we must have that x1 = 1 with overwhelming probability. If authentication doesn't succeed then x1 = 0 with overwhelming probability. We can retrieve the other bit of the secret x using the same way.
4 Passive Attack on David and Prasad’s Protocol In David and Prasad’s Protocol, they only use some simple operands, which do not indece any bit diffusion. We will show a passive attack to reduce the secret through eavesdropping some consecutive authentication process. It is easy to see for any bit a and b , a ∧ b = a * b , rewrite the equation (1~7) as follows:
a = 1 ⊕ a . So, we can
A = ( PID2 * K 1 * K 2 ) ⊕ n1
(1)
B = (1 ⊕ PID2 ) * K1 * K 2 ) ⊕ n2
(2)
154
W. Shaohui
D = ( K 1 * n2 ) ⊕ ( K 2 * n1 )
(3)
E = ( K1 ⊕ n1 ⊕ ID) ⊕ ( K 2 * n2 )
(4)
F = ( K 1 * n1 ) ⊕ ( K 2 * n 2 )
(5)
PIDnew = PID2 ⊕ n1 ⊕ n2
(7)
Because of the distributive law of operands * and ⊕ , from the equation (1’) and
A ⊕ B = ( K 1 * K 2 ) ⊕ n1 ⊕ n2 , and from (3’) and (5’), we can obtain D ⊕ F = ( K 1 ⊕ K 2 ) * ( n1 ⊕ n2 ) . Using the equation (7’), it is easy to see K 1 * K 2 = A ⊕ B ⊕ PID2 ⊕ PIDnew , thus randomly chosen values n1 and n 2
(2’), we can obtian
can be deduced via equations (1’) and (2’). After eavesdropping m consecutive authentication process, the adversary can get all the k -bit randomly chosen numbers
n1 and n 2 . As to the position i ∈ {1,..., k} ,
the probability that the i bit of n1 = 0 and n 2 = 1 is 0.25, so m need not be too large(about 20 is enough), for every position, we can find a couple of random (i)
(i )
= 0 and n 2 = 1 , and we can get the i -th position bit of K 2 via (5’). We can get K 1 as the same way, and at last the constant identifier ID
number satisfying n1
(i)
(i )
can be obtained using (4’).
5 Conclusions In this paper we have considered two recently proposed RFID lightweight authentication protocol, one based on HB-like authenticaiton, and the other based on UMAP protocols which use simple operands. These two protocols can not resist MIM attack and passive attack respectively. Through the attack, we can see good variants to HB-like authentication are very hard to find, and we must consider carefully when designing protocol using only simple operands like exclusive OR, bitwise AND and bitwise OR. It is an interesting challenge to find a successful protocol with good security and efficiency to the problem of low-cost tag authentication.
Acknowlegement This work was supported by National Natural Science Funds (Grant No.60903181) and Nanjing University of Post and Telecommunication Funds (Grant No.NY208072).
Security Flaws in Two RFID Lightweight Authentication Protocols
155
References 1. Blum, A., Kalai, A., Wasserman, H.: Noise-tolerant learning, the parity problem, and the statistical query model. J. ACM 50(4), 506–519 (2003) 2. Hopper, N.J., Blum, M.: Secure human identification protocols. In: Boyd, C. (ed.) ASIACRYPT 2001. LNCS, vol. 2248, pp. 52–66. Springer, Heidelberg (2001) 3. Juels, A., Weis, S.A.: Authenticating pervasive devices with human protocols. In: Shoup, V. (ed.) CRYPTO 2005. LNCS, vol. 3621, pp. 293–308. Springer, Heidelberg (2005) 4. Gilbert, H., Robshaw, M.J.B., Sibert, H.: An Active Attack Against HB+: A Provably Secure Lightweight Authentication Protocol. IEE Electronics Letters 41(21), 1169–1170 (2005) 5. Bringer, J., Chabanne, H., Dottax, E.: HB++: a lightweight authentication protocol secure against some attacks. In: IEEE International Conference on Pervasive Services, Workshop on Security, Privacy and Trust in pervasive and Ubiquitous Computing SecPerU (2006) 6. Munilla, J., Peinado, A.: HB-MP: A further step in the HB-family of lightweight authentication protocols. Computer Networks 51, 2262–2267 (2007) 7. Gilbert, H., Robshaw, M.J.B., Seurin, Y.: HB#: Increasing the security and efficiency of HB+. In: Smart, N.P. (ed.) EUROCRYPT 2008. LNCS, vol. 4965, pp. 361–378. Springer, Heidelberg (2008) 8. Bringer, J., Chabanne, H.: Trusted-HB: A low-cost version of HB + secure against man-inthe-middle attacks. IEEE Transactions on Information Theory 54(9), 4339–4342 (2008) 9. Gilbert, H., Robshaw, M.J.B., Seurin, Y.: Good variants of HB+ are hard to find. In: Tsudik, G. (ed.) FC 2008. LNCS, vol. 5143, pp. 156–170. Springer, Heidelberg (2008) 10. Frumkin, D., Shamir, A.: Untrusted-HB: Security vulnerabilities of Trusted-HB. Cryptology ePrint Archive, Report 2009/044 (2009), http://eprint.iacr.org 11. Piramuthu: Lightweight cryptographic authentication in passive RFID-tagged systems. IEEE Transactions on systems, man and cybernetics – part C: Applications and Reviews 38(3), 360–376 (2008) 12. Peris-Lopez, P., Hernandez-Castro, J.C., Estevez-Tapiador, J.M., Ribagorda, A.: M2AP: A minimalist mutual-authentication protocol for low-cost RFID tags. In: Ma, J., Jin, H., Yang, L.T., Tsai, J.J.-P. (eds.) UIC 2006. LNCS, vol. 4159, pp. 912–923. Springer, Heidelberg (2006) 13. Peris-Lopez, P., Hernandez-Castro, J.C., Estevez-Tapiador, J.M., Ribagorda, A.: EMAP: An efficient mutual-authentication protocol for low-cost RFID tags. In: Meersman, R., Tari, Z., Herrero, P. (eds.) OTM 2006 Workshops. LNCS, vol. 4277, pp. 352–361. Springer, Heidelberg (2006) 14. Peris-Lopez, P., Castro, J.C.H., Estevez-Tapiador, J.M., Ribagorda, A.: LMAP: A real lightweight mutual authentication protocol for low-cost RFID tags. In: Proceedings of the 2nd Workshop on RFID Security (2006), http://events.iaik.tugraz.at/RFIDSec06/Program/papers/ 013-LightweightMutualAuthentication.pdf 15. Li, T., Wang, G.: Security analysis of two ultra-lightweight RFID authentication protocols. In: IFIP SEC 2007, Sandton, Gauteng, South Africa, pp. 14–16 (May 2007)
156
W. Shaohui
16. Li, T., Deng, R.: Vulnerability analysis of EMAP – an efficient RFID mutual authentication protocol. ares. In: The Second International Conference on Availability, Reliability and Security (ARES 2007), pp. 238–245 (2007) 17. Barasz, M., Boros, B., Ligeti, P., et al.: Passive attack against the M2AP mutual authentication protocol for RFID tags. In: Proc. of First International EURASIP Workshop on FID Technology, pp. 76–83 (2007) 18. David, M., Prasad, N.R.: Providing strong security and high privacy in low-cost RFID networks. In: Schmidt, A.U., Lian, S. (eds.) MobiSec 2009. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol. 17, pp. 172–179. Springer, Heidelberg (2009)
Study on Mechanical Parameters in Finite Element Analysis of Children’s Orbital-Bone* Weiyuan Lu**, Zhixiang Liu, Xiuqing Qian, Tingting Ning, and Huagang Yan*** School of Biological medicine engineering, Capital Medical University, Beijing, 100069
Abstract. Children who have an disproportionally small eye or lack one eyeball are likely to suffer from facial asymmetry. In order to gain insight into the pathogenesis and seek effective intervention strategies to it, we studied the biomechanical factors that may affect the development of children’ orbital-bone by establishing a model based on CT images so that biomechanical analyses on two-year-old children’s orbital-bone can be performed. As the preparation for later biomedical analysis, the modeling is performed using software Mimics. Although there have been several reports for orbital-bone until now, most of them are concerned about adults instead of children, especially two-year-old, who are in period of blooming growth,. Keywords: Children’s orbital; mechanical parameters; modeling.
1 Introduction Nowadays, it frequently occurs in the clinics of ophthalmology that a child becomes malformed in his/her face because of the smallness in one eye or the lack of one eyeball. This malformation severely affects the appearance of the subject. It would be beneficial to the patients, their families and the society if an effective early intervention could be applied to them when they are at the developmental stage. In order to investigate the pathogenesis and explore effective intervention strategies to it, it is necessary to study the biomechanical factors affecting the development of children’ orbital-bone from the perspective of biomechanics. For this purpose, we use *
**
***
This work is supported by National Natural Science Foundation of China(Grant No.: 30900288), Funding Program for Academic Human Resources Development in Institutions of Advanced Education of Beijing (Grant No.PHR20100898), and Basic-Clinical Scientific Collaboration Fund of Capital Medical University(Grant No.: 2009JL06). Author profile: Weiyuan Lu(12/1959), female, associate professor, interest of research: biophysical technology. Correspondence author: Huagang Yan(10/1973), male, associate professor, interest of research: biophysical technology..
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 157–162. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
158
W. Lu et al.
software Mimics to build a model based on CT images, aiming at the orbital–bone of 2-year-old healthy children, and use finite element analysis(FEA) package ANSYS to do some biomechanical analysis. Presently, there are several reports on orbital modeling and mechanical FEA, most of them, however, are pertaining to adults instead of children, especially 2-year-old, who are in period of rapid growth.
2 Modeling Mimics is an interactive medical image control system developed by Materialise. It is a highly integrated and easy-to-use 3D image generating and editing software, which can import various scanning data(CT, MRI , build and edit 3D models, and export them in generic CAD(Computer Aided Design), FEA(Finite Element Analysis) or RP(Rapid Prototyping) formats. With Mimics, large scale of data conversion can be made on a PC.[1]
)
A. Material CT images of a two year old child that contain the orbital part, provided by TongRen Hospital. This data comes from the CT scan of the subject head with a Philips Brilliance 64 CT scanner. The acquisition setup is as follows: tube voltage 140 kV, MAS 256 mA·s- 1, slice thickness 0. 313 mm, window width 4 000 Hu, window center 700 Hu. In total, 515 coronal images, 515 sagittal images and 150 axial images are acquired. The resolution is 512×512. The data output is stored in DICOM (Digital Imaging and Communications in Medicine) format and recorded in CD-Rom. The Mimics software is purchased by School of Biological medicine engineering, Capital Medical University. B. Modeling The following rules have been observed in the modeling: Accuracy: the model matches the actual physiological structure. Simplicity: some minor structures that do not pose significant influence on the analysis is abandoned for the convenience of subsequent mechanical analysis. Intactness: no holes should exist in the model, thus,the sclerotin in the ethmoidal plate of the orbital wall is thickened a little bit in the modeling. The reason is that the output from Mimics should be a complete closed surface, but the sclerotin in the ethmoidal plate of the orbital wall is extremely thin and lots of holes, which is difficult to process, may emerge when reconstructed. Therefore, this sclerotin of this part is slightly thickened to avoid the generation of holes in the process of smoothing. Proper thresholds (the default lower and upper thresholds for bone are 226 and 2796, respectively) are selected. Data are imported after noise is eliminated using region growth. The 3D model is built.[2,3].
Study on Mechanical Parameters in Finite Element Analysis
159
Fig. 1. The final model built
3 Settings of the Mechanical Parameters in ANSYS Analysis The ANSYS package is a multi-purpose computer design program for finite element analysis, which can be used for the problems of structure, fluid, electricity, electromagnetic field and collision. The package provides interface to most CAD software and data communication & exchange is easy to accomplish. The first thing to use ANSYS package to perform biomechanical analysis for the two-year-old healthy child’s orbital part after the modeling with Mimics is to set proper mechanical parameters. After surveying, we found that there was no available relevant mechanical parameter of analysis for this particular type of subject. It is necessary to do iterative trials to find out the settings step by step. The details are provided below. Settings of mechanical parameters 1.Create a block in ANSYS whose length, width, and height are 3, 3, 1, respectively. After query and exploration, we finally set the elastic modulus to 1.37*1010Pa, and Poisson’s ratio to 0.35. Constraints for all directions is applied to the underside of the
160
W. Lu et al.
Fig. 2. Graph of stress and strain
block, and a 10 Pa pressure is applied from the above. The result shown in Fig. 2 is obtained after entering the solver. Since the objective of this study is to propose a remedy based on FEA, and the focus of interest in the FEA of orbital part is the inner wall, i.e., the surface upon which pressure is applied, the points on the surface of the block are selected for the calculation of stress and strain. It can be seen from the figure that the surface stress of the block is 9.354-10.522 and the strain is 0.840×10-9-0.107×10-8. 2. Double the height of the model, and then calculate the stress and strain on the surface points of the block. 3. Decrease the elastic modulus and observe the resulting stress and strain. 4. Set different Poisson’s ratio, and observe the stress on the surface points of the block.
Study on Mechanical Parameters in Finite Element Analysis
161
5. Input different pressure, and observe the stress and strain on the surface points of the block. Fig.3 shows the stress graph and the strain graph when the pressure is 9.
Fig. 3. The stress graph and the strain graph when the pressure is 9
It can be seen that the surface stress and strain drop significantly. [4-6] B. Conclusion of the trials After the iterative tests and trials described above, it proves that the remedy can be made by decreasing Poisson’s ratio or pressure. Furthermore, the experiments show that when the Poisson’s ratio is 0.2, if the stress and strain of the surface points are roughly consistent with those if the height is halved, then the solution is applicable as a remedy,
4 Discussions and Analysis The materials of investigation indicated that the normal development of the maxillofacial region has strong positive correlation with the development of the orbital
162
W. Lu et al.
region.[9]. Anson Chau et. al. pointed out that the size of the eyeball affects the development of the orbital volume, and the effect is far more significant in children in development stage than in adults[9]. Besides, more investigations showed that the development of orbital volume also relates to the age. The study by Robert et. al. showed that the orbital volume of 0-15 year old child and adolescent increases with the age, and the speed attain its maximum during ages 0-5.[7-9] Therefore, effective intervention should applied when the children’s orbital part is at its peak development. However, for this purpose, consideration solely from the perspective of medicine is in sufficient in that quantification is difficult to achieve. According to all works carried out so far, it is feasible to find a best mechanical stimulating point in the developing Children‘s orbital region based on biomechanical analysis including Mimics modeling and ANSYS analysis. Among these works, the study on the modeling and the setting of mechanical parameters is evidently important. Currently, there are reports on the modeling and mechanical FEA of adults orbital region based on CT images, but no reports on children are available. The modeling of orbital region for children in the early stage of development is difficult because the sclerotin of some parts is extremely thin according to the structure of the orbital region, and no relevant mechanical parameters is available for reference. However, based on the iterative trials and exploration described above, it proves that they could be determined after the modeling with Mimics, which paves the way for later study.
References 1. Chen, Z.B., Wan, L.: Modeling Approaches For Medical Finite Elements. Journal Of Clinicalrehabilitative Tissue Engineering Research 11(31) (August 5, 2007) 2. Uchio, E., Watanabe, Y., Kadonosono, K.: Simulation of airbag impact on eyes after photo refractive keratecto-my by finite element analysis method. Graefe’s Arch. Clin. Exp. Ophthalmol. 241(6), 497–504 (2003) 3. Al-Sukhun, J., Lindqvist, C., Kontio, R.: Modeling of orbital deformation using fnite element analysis. J. R. Soc. Interface 3(7), 252–262 (2006) 4. Zeng, P.: Fundamentals of Finite Element Analysis. Tsinghua University Press, Beijing (2007) 5. Escott, E., Rubinstein, D.: Free DICOM image viewing and processing software for your desktop computer:what’s available and what it can do for you. Radiographics:A Review. Publication of the Radiological Society of North America,Inc (2003) 6. Al-Sukhun, J., Lindqvist, C., Kontio, R.: Modeling of orbital deformation using fnite element analysis. J. R. Soc. Interface 3(7), 252–262 (2006) 7. Guo-dong, Z., Tao, S.-x., Mao, W.-y., Chen, J.-q., Luan, X.-g., Zheng, X.-h., Liao, W.-j.: Measurement of bone density based on three-dimensional reconstruction and finite element analysis. Journal of Clinical Rehabilitative Tissue Engineering Research 14(9) (February 26, 2010) 8. Li, G., et al.: Three2Dimensional Finite Element Analysis of the Subtalar joint by Mimics and ANSYS. Journal of Mathematical Medicine 23(2) (2010) 9. Uchio, E., Ohno, S., Kudoh, K., Kadonosono, K., Andoh, K., KisielewiczL, T.: Simulation of airbag impact on post-radial keratotomy eye using finite element analysis. J. Cataract Refract. Surg. 27(11), 1847–1853 (2001)
3D Model Retrieval Based on Multi-View SIFT Feature Shungang Hua, Qiuxin Jiang, and Qing Zhong School of Mechanical Engineering, Dalian University of Technology, Dalian, China [email protected]
Abstract. We research a 3D model retrieval algorithm on the basis of multiview SIFT features in this paper. By projecting the 3D model from multiple viewpoints, omnidirectional 2D depth images are obtained and from which SIFT features are extracted. Based on k-means clustering algorithm, we establish the codebook according to the proportion of SIFT features number of various shape types and whole SIFT features respectively. As a result, the former is much faster, so it is utilized to build the codebook in our paper. All the SIFT features associated with a model are clustered to generate a simplified vector by a histogram manner. For the similarity matching, Kullback-Leibler divergence is used to calculate distance between simplified vectors. Experiments show the algorithm based on multi-view SIFT feature can gain a satisfactory retrieval result for multiple shape benchmarks. Keywords: 3D Model Retrieval; Multiple View; SIFT Feature; KullbackLeibler divergence.
1 Introduction 3D model is intuitive for human visual perception and contains plentiful visual information, therefore it is widely used and abundant existence in various fields [1]. We usually wish to search required ones from existent 3D models to achieve model reuse. Nowadays, the number of 3D models is more and more, how to gain the required one from the mass of models quickly and accurately has become a research hotspot in the fields of computer visual and computer graphics. Existing 3D model retrieval methods can be classified roughly into four categories: graph-based, transform-based, histogram-based and view-based [2]. In these methods, view-based 3D model retrieval has many advantages, such as highly discriminative, effective for shape matching, invariance to noises and shape degeneracies, beneficial for 2D sketch-based and 2D image-based queries and so on. So this method is widely used for 3D model retrieval. Up to now, various algorithms have been proposed in this kind of methods. Pu et al. [3] proposed a method for representing a 3D model by a series of slices composed of 2D polygon sets along certain directions. Mohamed et al. [4] used 20 depth images to represent a 3D model. Each depth image is associated to a set of depth lines which will be transformed into sequences. And then the dynamic programming distance is used to compute the similarity of the models using the depth line descriptors. Napoleon et al. [5] proposed a method utilizing Continuous Principal Component Analysis for pose normalization and gaining a set of 2D M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 163–169. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
164
S. Hua, Q. Jiang, and Q. Zhong
multi-views of the model. A multi-scale contour representation is introduced for each multi-view, which describes the convexities and concavities of the silhouettes at different scale levels. In this paper, we research a 3D model retrieval algorithm based on multi-view, by extracting Scale Invariant Feature Transform (SIFT) [6,7] from all the 2D depth images projected from 3D model and use Kullback-Leibler divergence (KLD) to compute the similarity of models to realize the 3D model retrieval efficiently.
2 Algorithm Description The 3D model retrieval algorithm based on multi-view SIFT feature (MV-SIFT) describes a 3D model using a set of local, multi-scale and visual features. Firstly, we obtain a series of 2D depth images of a model from multiple view directions, and then extract local features using the SIFT algorithm which is proposed by David G Lowe. The essence of SIFT algorithm is to find out the key points in different scale spaces and describe them with a set of vectors. Due to invariance to image scale and rotation as well as the change of viewpoint and illumination, the SIFT feature is widely used in the field of computer visual for the image matching, pattern recognizing and so on [6,7,8,9]. Extracted SIFT features associated with a 3D model may be up to a few thousands, so comparing calculation between these features is expensive. Therefore, the k-means clustering method is used to gain the codebook for quantizing these features. For a 3D model, quantized features are accumulated into a single histogram to become a feature vector to realize the reduction of comparing calculation. The flowchart of the feature vector generation is shown in Fig.1.
Fig. 1. SIFT feature vector generation.
The steps of the 3D model retrieval algorithm in this paper are as follows: (1) Model Preprocessing Because the randomicity for a 3D model in initial spatial location, size and direction, firstly, our algorithm performs preprocessing so that the 3D model can be compared in the same scale and regulation. We utilize position regularization to update all the coordinates of points on the model surface. The centroid of the model is calculated by the formula as follows:
xc =
1 N
N
∑ xi , y c = i =1
1 N
N
∑ yi , z c = i =1
1 N
N
∑z i =1
i
.
(1)
3D Model Retrieval Based on Multi-View SIFT Feature
Where N is the number of points on the model surface, coordinates of each point,
165
(xi , yi , zi ) is the original
(xc , yc , z c ) is the centroid coordinates of the model. Then
we translate the centroid to the origin of coordinates. Size regularization is used for normalizing the coordinates of points with the radius of the minimum sphere surrounding the model. We treat the centroid as the centre of sphere.
z i (2 × rmax ) . xi ' = ~ x i (2 × rmax ) , y i ' = ~ y i (2 × rmax ) , z i ' = ~ Where
(2)
(~xi , ~y i , ~z i ) and (xi ' , y i ' , z i ') are the coordinates of each point after the
position
regularization
and
the
size
regularization
respectively,
rmax = max ~ x +~ y +~ z i is the radius of the minimum sphere. 1≤ i ≤ N
2 i
2 i
2
(2) Multi-view Projection and Depth Image We use the similarity of multi-view depth images associated with 3D model to judge the similarity between models. Considering the integrity of expression and the complexity of calculation, 42 vertexes of 80-face polyhedron are treated as viewpoints to project the model to get the depth images. The size of depth images in this paper is defined as 256×256. (3) SIFT Feature Extraction and Clustering We extract SIFT feature, a 128 dimensional vector, from all the depth images of a 3D model. In our experiment, we use three shape benchmarks for SIFT feature extraction, McGill university Shape Benchmark database (MSB) [10], Princeton Shape Benchmark (PSB) [11] and Purdue Engineering Shape Benchmark (ESB) [12]. As a result, there are about 1500 SIFT features extracted for each model in MSB, 1000 for PSB, 554 for ESB. A SIFT feature is encoded into a codeword according to the codebook of the shape benchmark. For a shape benchmark, its codebook is built via k-means clustering. In k-means clustering, k is the number of cluster center. We set the value of k by two manners: 1) Individual-k-means For a shape benchmark which contains n shape categories, we assume the SIFT feature number of a shape category is Ni (i=1,2,…,n) and can calculate the number of clustering center ki utilizing formula
⎛ ki = ⎜ N i ⎝
n
∑N i =1
i
⎞ ⎟ × k . For ki, we gain individual codebook for each category ⎠
via k-means clustering, and gather individual codebooks of all categories together to obtain the codebook for the shape benchmark. 2) Whole-k-means Executing k-means clustering once by whole SIFT features extracted from a shape benchmark to gain the codebook for the shape benchmark. After establishing the codebook, each SIFT feature for 3D models is encoded into a codeword in the codebook. With vector quantization, code words associated with a 3D model are accumulated into a histogram having k bins. It becomes a k-dimensional feature vector. Thus, we express a 3D model with a k-dimensional vector.
166
S. Hua, Q. Jiang, and Q. Zhong
(4) Similarity Calculation The similarity between models is calculated by Kullback-Leibler divergence (KLD) that describes the difference between two probability distributions. We use an improved version of KLD formula to measure the similarity between two feature vectors [13]: k
D(U ,V ) = ∑ (vi − ui )ln i =1
Where
vi . ui
(3)
U = (u i ) V = (v i ) are feature vectors of two 3D models respectively, k is
the dimension of the vector.
3 Experiment and Analysis The algorithm is implemented on a desktop PC with Core 2 Duo 2.66 GHz CPU. We use three shape benchmarks for our retrieval experiment, (1)MSB, 427 models selected from original MSB and divided into 17 categories, while all the models are articulated; (2)PSB, 1814 rigid models separated into a training set with 907 models in 90 categories and a testing set with 907 models in 92 categories; (3)ESB, 866 engineering models classified into 45 categories. 3.1 Codebook Establishment The experiments show that the 3D model retrieval can be realized effectively if the codebook dimension k is within 1000 to 1500[13], so we set k=1000 and build the codebook utilizing Individual-k-means and Whole-k-means respectively. With Individual-k-means, we implement the k-means algorithm. Table 1 shows SIFT feature number of various types and assigned ki for MSB. Table 1. SIFT features number and ki value for MSB. Model Type SIFT Features Number (Ni) Clustering Center Number (ki)
ant 42879 102
crab 44447 106
hand 14781 35
human 28987 69
cuttlefish 37785 90
… … …
For Whole-k-means, we utilize whole SIFT features associated with models in a shape benchmark to execute k-means algorithm, and obtain the codebook of the shape benchmark. Using two methods above, we build the codebook for the MSB, PSB and ESB, and their time-cost is illustrated in Table 2. It demonstrates that the time-cost with two manners is quite different. The time-cost by Individual-k-means is reduced significantly, while experiments show the retrieval effect by two manners is almost equal. So we establish the codebook with Individual-k-means in our paper.
3D Model Retrieval Based on Multi-View SIFT Feature
167
Table 2. Time-cost comparing for codebook establishment using two methods. Shape Benchmark MSB PSB ESB
Individual-k-means/hour 0.72 0.50 0.34
Whole-k-means/hour 10.75 30.66 15.63
3.2 Performance Comparison for 3D Model Retrieval Algorithm We compare retrieval performance of four algorithms, MV-SIFT, D2 Shape Distribution algorithm (D2) [14], Multiple Orientations Depth Fourier Descriptor algorithm (MODF) [15] and Absolute Angle Distance histogram algorithm (AAD) [16]. D2 algorithm proposed by Robert Osada describes a 3D model as a histogram of Euclidean distances between random points on the surface. Using orthogonal depth projection of the 3D model from 42 directions, MODFD calculates the general Fourier descriptor to construct the feature vector. ADD algorithm is a kind method of 3D model feature extraction based on the outline. Transforming the 3D model contained surface information into directed points set model, all the distance of the point pair are calculated to organize 2D histogram. For the MSB, PSB and ESB, we carry out experiments with algorithms above, and obtain the precision-recall curve respectively.
(a)
(b)
(c)
Fig. 2. Recall-precision curve for MSB (a), PSB (b), ESB (c).
Fig. 2 shows the retrieval result with four algorithms. For articulated models in MSB, the R-precision with our algorithm MV-SIFT is 89% while D2, MODFD and AAD is 55%, 67% and 68% respectively; for the rigid models in PSB, the values are 67%, 30%, 37% and 32% respectively; for the ESB, the values are 86%, 42%, 49% and 47% respectively. Experiments show that, the retrieval algorithm based on SIFT feature can gain a satisfactory retrieval result for various shapes. Fig. 3 illustrates an interface of our 3D model retrieval system based on MV-SIFT algorithm. Quarry model lies on the top-left corner. 3D model retrieval is accomplished and returns 20 most similar models. The pliers model is the original model user inputs and the right models are listed as the most similar models that sorted from NO.1 to NO.20 according to similarity calculated with KLD.
168
S. Hua, Q. Jiang, and Q. Zhong
Fig. 3. Interface of our 3D model retrieval system.
4 Conclusion Based on multi-view SIFT feature, we research a 3D model retrieval algorithm. Our algorithm simplifies the complex 3D model feature extraction by projecting it into 2D depth image comprehensively. Using the MV-SIFT algorithm, the local feature of 2D image can be extracted and clustered to generate a feature vector describing the original 3D model reasonably. Our algorithm reduces the computational complexity while preserving the integrity of the expression. We discuss two kinds of manners for the establishment of the codebook. Comparing with the Whole-k-means, the Individual-kmeans obtains the same retrieval effect but the computation speed is much faster. To different shape benchmark, a series of experiments were carried on by MV-SIFT and other three kinds of 3D model retrieval algorithms, and the result shows that our algorithm is satisfactory to articulated shapes, rigid shapes and mechanical shapes. In the further work, the 3D model retrieval algorithm based on the content can be combined with text to obtain an intuitive retrieval effect. At the same time, we can introduce the biomimetic imaginal thinking to improve the feature extraction of the 3D model with a high precision.
References 1. Yang, Y.B., Lin, H., Zhu, Q.: Content-Based 3D Model Retrieval: A Survey. Chinese Journal of Computers 27, 1297–1310 (2004) (in Chinese) 2. Daras, P., Axenopoulos, A.: A 3D shape retrieval framework supporting multimodal queries. IJCV 89, 229–247 (2010)
3D Model Retrieval Based on Multi-View SIFT Feature
169
3. Pu, J.T., Liu, Y., Xin, G.Y.: A 3D Model Retrieval Method Based on the Similarity Between 2D Polygon Sets. Journal of Image and Graphics 9, 1437–1442 (2004) (in Chinese) 4. Chaouch, M., Verroust-Blondet, A.: A new descriptor for 2D depth image indexing and 3D model retrieval. In: Proc. ICIP 2007, vol. 6, pp. 373–376 (2007) 5. Napoleon, T., Adamek, T., Schmitt, F., O’Connor, N.E.: SHREC 2008 entry: Multi-view 3D retrieval using multi-scale contour representation. 2008 IEEE International Conference on Shape Modeling and Applications (2008) 6. Lowe, D.G.: Object recognition from local scale-invariant features. In: 7th IEEE International Conference on Computer Vision, Kerkyra, Greece, pp. 1150–1157 (1999) 7. Lowe, D.G.: Distinctive Image Features from Scale-Invariant Keypoints. International Journal of Computer Vision 60, 91–110 (2004) 8. Wang, R.R., Ma, J.W., Chen, X.: SIFT Algorithm Based on Visual Matching Window for Registration Between Multi-sensor Imagery. Geomatics and Information Science of Wuhan University 36, 163–166 (2011) (in Chinese) 9. Zeng, L., Zhai, Y.: A SIFT matching algorithm based on pin-hole camera model. In: 2010 3rd International Conference on Computational Intelligence and Industrial Application (PACIIA), pp. 272–276 (2010) (in Chinese) 10. McGill 3D shape benchmark, http://www.cim.mcgill.ca/shape/benchMark/ 11. Shilane, P., Min, P., Kazhdan, M., Funkhouser, T.: The Princeton Shape Benchmark. In: Proc. SMI 2004, pp. 167–178 (2004), http://shape.cs.princeton.edu/benchmark/ 12. Jayanti, S., Kalyanaraman, Y., Iyer, N., Ramani, K.: Developing an Engineering Shape Benchmark for CAD Models. In: Computer-Aided Design, vol. 38, pp. 939–953 (2006) 13. Ohbuchi, R., Osada, K., Furuya, T., Banno, T.: Salient Local Visual Features for Shape Based 3D Model Retrieval. In: Proc. IEEE Shape Modeling International (SMI), June 4-6, Brook, Stony (2008) 14. Osada, R., Funkhouser, T., Chazelle, B., Dobkin, D.: Shape Distributions. ACM Transactions on Graphics 21, 807–832 (2002) 15. Ohbuchi, R., Nakazawa, M., Takei, T.: Retrieving 3D Shapes Based On Their Appearance. In: 5th ACM SIGMM International Workshop on Multimedia Information Retrieval, Berkeley, Californica, USA, pp. 39–45 (2003) 16. Ohbuchi, R., Minamitani, T., Takei, T.: Shape-Similarity Search of 3D Models by using Enhanced Shape Functions. International Journal of Computer Applications in Technology (IJCAT) 23, 70–85 (2005)
Current Issues and Future Trends in Analysis of Automotive Functional Safety Chunyang Mu, Xing Ma, Hongxing Ma, Xianlian Huang, Ling Zhang, and Rong Fan College of Electrical and Information Engineering, Beifang University of Nationalities, China {muchunyang,maxingsky,cherishma,hxlfzq, zhangling,fanrong11}@126.com
Abstract. The complexity of automotive electric and electronic systems is rapidly growing with increasingly new functions. Safety is one of key issues of future automotive development and is becoming more and more important. In this paper, we discuss the influence factors of automotive functional safety from three aspects during the development process, which are international standards, automotive E/E architecture and Model-Based Engineering approaches. And then we present related work such as modeling languages and tools, integration of mixed criticality applications and methods for functional safety analysis. According to the above discussion we propose the trends of analysis of automotive functional safety and give some advices for future research. Keywords: Automotive Functional Safety, Integrated E/E Architecture, ISO 26262, Model-Based Engineering, Electronic Control Unit.
1 Introduction Since 1960’s electronic systems were introduced into the automotive industry, electronic devices within a vehicle has increased rapidly and today electronics, especially software has become the main sources of automotive innovation [1]. To satisfy requirements of cost, safety, reliability and comfort from customers, the new functions of a car is still growing. Thus the complexity is rapidly increasing, which has become one of main challenges in design and development of a car. On the other hand, safety is one of key issues of future automotive development and is becoming more and more important. In the near future active safety and x-bywire technologies should be considered in the design of a car, especially for new energy source or electric vehicle. There will be a large increase in the number of safety-critical functions with increasing vehicle control authority [2]. The car designers need deal with the fail-safe design and face the big challenge of integration between safety critical and non-safety critical applications across different domains. It is expected to be resolved by using the methods and technologies of functional safety. The definition of functional safety given by ISO is “absence of unreasonable risk due to hazards caused by malfunctioning behavior of E/E systems” [3]. It has become the big challenge for automotive industry how to control the growing complexity of automobile E/E systems and improve the development efficiency. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 171–178. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
172
C. Mu et al.
In this paper, we shall firstly discuss the influence factors of automotive functional safety during the development process. Then we shall review current situation of functional safety methods based on MBE approaches and give the trends of analysis of automotive functional safety and advises the future work on this topic. Finally, we will summarize this paper.
2 Automotive Functional Safety: Influence Factors There are many influence factors of automotive functional safety, e.g. development process, production and service processes. Here we will focus on the factors during the development process. When analyzing functional safety of automotive systems, there are three main aspects should be considered, they are: 1) international standards concerned with automotive functional safety; 2) tendency of automotive E/E architecture; 3) methods and technologies for ECU development. 2.1 Functional Safety Standards Now there are two standards available for the development of automotive electronic control systems, they are IEC 61508 and ISO/DIS 26262. Before ISO/DIS 26262, the development of automotive functional safety was carried out mainly referred to IEC 61508 which is designated by IEC as a generic standard of “functional safety of electrical, electronic and programmable electronic safety-related systems” for whole industry sectors. So there are too many contents to be mastered by car designers. And moreover, it will appear some issues if directly used in automotive industry [3]. Therefore the particular functional safety standard for road vehicle – ISO 26262 emerges as the times require which is an adaptation of IEC 61508 with needs specific to the application of automotive E/E systems. The latest release is ISO/DIS 26262 and the final standard is expected to be published with simply name ISO 26262 in the mid of 2011. To avoid various risks which might be induced during development process, ISO 26262 includes guidance by providing appropriate requirements and processes, e.g. requirements for validation and confirmation measures, definition of automotive safety lifecycle and approach for determining ASIL (automotive safety integrity level). The OEM should have the obligation to produce safe cars. However, in practice there is no legal requirement for certification of the compliance with certain standard. But in the near future, ISO26262 will be the compulsory standard that should be complied by automotive industry with the release of the final version. 2.2 Automotive E/E Architecture There are two classes of systems for distributed applications, namely federated and integrated systems [4]. Today automotive complete vehicle E/E systems typically consist of ECU (including software), sensors and actuators. Thus one car has become a complex distributed embedded system which provides both safety critical and nonsafety critical functions and therefore its architecture also can be divided into the two classes, i.e. federated architecture and integrated architecture. Comparisons with the two classes of automotive E/E architectures are given in table 1.
Current Issues and Future Trends in Analysis of Automotive Functional Safety
173
Table 1. Comparisons between the federated and integrated architecture Federated architecture The E/E systems integrated within a car are designed and developed separately. The functions of ECUs are relatively independent, which will facilitate faultisolation and complexity management [4]. The communication among ECUs is realized by exchanging messages on eventtriggered bus with limited bandwidth. Thus there exists time non-deterministic e.g. latency and jitter and it is not suitable for the application of x-by-wire with high reliability requirement. Generally the design scheme with federated architecture diagram is decided before the development of systems and will be used for several years due to the causes of costs and techniques. So it is difficult of modularity and lacks of flexibility. ECUs’ messages are from a single source in general case and the functions between them are easy to be integrated, verified and validated through verification of timing constraints on the communication messages simply. Typically ECU is designed as one function one box [5] and with increasing of new functions the number of ECUs will be increased. This will result in uneven computation load among ECUs. Some reach their design limits while others might have low CPU utilization. And it also will bring some demerits, e.g. higher costs and weights (ECU hardware, wires and connectors), lower reliability of vehicle functions and fewer options in the layout of subsystems. In automotive product supply chains, the federated architecture diagram can make the integration costs of OEMs increase because that many electronic control systems are provided by Tier-1 suppliers who monopolize sources and technologies and are responsible for the development of them separately.
Integrated architecture The vehicle E/E systems are designed with comprehensive considerations from the view of system-level and become an organic whole. But it need face problems of faultisolation and complexity management. According to the domain (e.g. powertrain and chassis) concept, the ECUs turn into an interconnected distributed network by using time-triggered bus such as FlexRay. The communication bandwidth is increased significantly and can meet requirements of xby-wire technology (10-9 failures per hour). Typically the design scheme is based on international standard and PBD (platformbased design) methodology. It can effectively decouple designs of software from ones of hardware platform and improve extensibility and flexibility of systems. ECUs’ messages can be obtained from several sources because the distribution and layout of vehicle functions is considered under system-level. Although difficulty of integration and test of system, the ability of redundancy design can be provided. The architecture usually is divided into several levels of abstraction and then abstract models are setup correspondingly. It can effectively avoid the imbalance of the ECUs’ computation load by distributing system functions reasonably and optimizing design scheme of vehicle architecture. The number of ECUs can be evidently decreased by one box more function method. And thus costs and weights can be controlled and reliability of system also can be increased. The business model is changed in this architecture. The monopoly will be broken up and competition will be introduced because that the products from Tier-1 suppliers could be no more separate systems but ECUs’ components. Thus the OEMs have more opportunities to control the integration of E/E systems and to decrease the costs.
As shown in table 1, the two classes of architectures have their merits and demerits and fit for different period respectively. State of the art the federated E/E architecture has been widely applied, but has been found more and more difficult to meet the
174
C. Mu et al.
needs of modern automotive systems, e.g. complexity, extensibility, flexibility, reliability and costs; and the integrated E/E architecture is expected to overcome those problems and substitute for the former but still in development with its standards, methods and tools [4-7]. So when researching on automotive functional safety, the integrated E/E architecture should be considered as its design framework. 2.3 Model-Based Engineering Code-centric approaches have been used in software development of automotive E/E systems for a long time. And so far, more and more practices have shown that codecentric approaches are very difficult for dealing with the development of increasingly more complex, high dependable, real-time and embedded systems and are reaching their technical limits. We need new methods to achieve the following goals: 1) to cope with increasingly complexity of safety lifecycle and make all activities in them connected seamlessly through certain artifacts described with a mathematical formalism; 2) to do the verification and validation activities of functional safety in earlier development stages in order to reduce the costs of test and debug; 3) to increase the efficiency of development of functional safety via some automated or semi-automated tools. In contrast with code-centric approaches, model-centric approaches (i.e. modelbased engineering, MBE or model-driven development, MDD) that are expected to overcome those technical limits faced by code-centric approaches have made great progress (e.g. meta-modeling, practical model transformation and auto-code techniques) and may turn into the mainstream design approaches for embedded systems in future [8,9]. In the light of rapid progress of MBE and its advantages, ISO have taken model-centric approaches into account when drafting out the ISO 26262 standard and have given the suggestions and guides of methods using MBE approaches for functional safety analysis although still lacking of practical cases [3]. So for when design automotive E/E systems in future, MBE approaches should be considered adequately during the process of automotive functional safety analysis.
3 Methods of Functional Safety: The Current Situation When researching on the methods of automotive functional safety analysis with MBE approaches, three aspects should be considered: 1) the selection of modeling languages and tools and the connectivity with safety lifecycle specified by standard; 2) the integration of functional safety and non-functional safety SWCs (software components); 3) the methods for automotive functional safety analysis. 3.1 Modeling Languages and Tools By now there are several influential modeling languages and tools can be used for the analysis of automotive functional safety, e.g. AADL, SysML, MARTE, EAST-ADL2, AUTOSAR and HiP-HOPS. AADL is a standard from SAE and is a formal modeling language used as an architecture description language [10]. Recently AADL also can be applied for the system performance simulation and the modeling and analysis of control system [11,12].
Current Issues and Future Trends in Analysis of Automotive Functional Safety
175
SysML and MARTE are both an extended profile derived from UML 2.0 of OMG. SysML can be used for system modeling with the abilities of specification, analysis, verification and validation [13,14]. And MARTE is expected for the modeling and analysis of a real-time system and can provide the formal semantics for the specification of timing requirements and properties [15,16]. EAST-ADL2 is an architecture description language developed in the ATESST project (further refining of EAST-ADL in ITEA EAST-EEA project) and can well support the development of embedded system; besides design of software framework, it also can be used for modeling of requirement engineering and traceability, variability, timing and safety analysis [17,18]. The AUTOSAR specification that puts emphasis on more logic and static expressions than behavior simulation of system did not agree on a formal model of computation [19]. Therefore EAST-ADL2 and MARTE are introduced into the AUTOSAR modeling system by AUTOSAR partnership in order to enhance the abilities to describe requirements, features, variability and timing of automotive control systems [20-22]. In addition, the current release of AUTOSAR (release 4.0) has provided the support for functional safety which is still under development [23]. HiP-HOPS is a scalable automated dependability analysis and optimization tool which focus on failure modeling of system and support multi-objective design optimization [24,25]. So it has been used with a number of different tools and modeling languages, e.g. Matlab/Simulink and EAST-ADL2 [26]. As presented, each modeling language or tools is for specific domain. When researching on automotive functional safety with MBE approaches, three factors are suggested to be considered: 1) the openness, extendibility of specification of modeling language, 2) the connectivity with methods and tools used in automotive standards, 3) the ability to explore new methods of functional safety analysis. 3.2 Integration of Mixed Criticality SWCs In order to analyze automotive functional safety under the integrated E/E architecture, one of key problems is to deal with the integration of mixed criticality SWCs. Now there have been some significant research results. A systematic resource allocation approach is presented for the consolidated mapping of safety critical and nonsafety critical applications onto a distributed platform [27]. The impacts of ISO 26262 to the development of automotive E/E architecture are discussed and methods for the allocation of safety requirements during early phases are presented in [28]. [29] illustrates how to perform an integrated safety process without lost in the details of safety lifecycle according to ISO 26262 by using a practical design of lane assistance functions, but the process is more suitable for code-centric approaches. Generally the software development processes in automotive industry are based on the V model. For non-safety critical SWCs there already exists two V processes, i.e. “V+v” model which is corresponding to the development of basic software platform and application respectively [30]. If the safety lifecycle process was considered, the dimensions of V model would be enlarged to three, which would make the solution space of E/E architecture more complex. So it is necessary to find efficient algorithms to handle the integration of mix criticality SWCs in order to reduce the dimension.
176
C. Mu et al.
3.3 Methods for Functional Safety Analysis: Advance with MBE Approaches Methods currently used for the analysis of automotive functional safety have Review, PHA, FMEA and FTA, which combining with MBE approaches has been becoming a new research focus. A systematic approach to PHA with the EAST-ADL2 language is presented according to the ISO/DIS 26262 so as to setup precise modeling of requirements, user functionalities and the derived safety mechanisms [31]. A modeling language translation between EAST-ADL2 and HiP-HOPS is realized by using model transformations and by leveraging the advantages of different model transformations techniques [32]. To achieve the optimization of designs with respect to dependability and cost from the early stages, a design process supported by HiP-HOPS is presented which integrates system modeling, automated dependability analysis and evolutionary optimization techniques [33]. A parallel genetic algorithm, named AHHPGA, which uses HiPHOPS to overcoming the limitations imposed by reliability block diagrams, is proposed to solve reliability optimization of series-parallel systems [34].
4 Trends and Open Issues In summary, work on the analysis of automotive functional safety should comply with following principles: a) analyzing with the integrated E/E architecture approaches; b) using MBE approaches with modeling language (e.g. AUTOSAR meta-model, UML Profile and HiP-HOPS) that can provide formal notation; c) and considering the impact of international standard such as ISO 26262. There are still some questions need to be settled. One key issue is that the semantic extension of modeling language based on existing one in order to support for modeling requirements of integrated E/E architecture and of automotive functional safety. Another one is to address efficient algorithms for finding the solution space of E/E architecture during handling with the integration of mix criticality SWCs. For the methods of functional safety analysis, it needs more practical cases in light of the safety lifecycle and methods recommended by ISO 26262.
5 Conclusion Automotive functional safety is a key issue of future automotive development. In this paper, we argued the influence factors from three main aspects which are international standards, E/E architecture and MBE approaches and reviewed current research results of them. In the end we proposed the trends of analysis of automotive functional safety and gave some suggestions for future research.
References 1. Mössinger, J.: Software in Automotive Systems. J 3(4), 92–94 (2010) 2. Di Natale, M., Wei, Z., et al.: Using system-level timing analysis for the evaluation and synthesis of automotive architectures. In: Ramesh, S., Sampath, P. (eds.) Next Generation Design and Verification Methodologies for Distributed Embedded Control System, pp. 99–113. Springer, Heidelberg (2007)
Current Issues and Future Trends in Analysis of Automotive Functional Safety
177
3. ISO.: Road vehicles — Functional safety —Part 1-10. ISO/DIS 26262 (2011) 4. Obermaisser, R., Peti, P., Tagliabo, F.: An integrated architecture for future car generations. J. Real-Time Syst. 36, 101–133 (2007) 5. Di Natale, M., Sangiovanni-Vincentelli, A.L.: Moving From Federated to Integrated Architectures in Automotive: The Role of Standards, Methods and Tools. J. Proc. of the IEEE 98(4), 603–620 (2010) 6. Obermaisser, R., El Salloum, C., Huber, B., Kopetz, H.: From a Federated to an Integrated Automotive Architecture. J. IEEE Trans. on Computer-Aided Design of Integrated Circuits and Systems 28(7), 956–965 (2009) 7. Islam, S., Suri, N., Balogh, A., Csertán, G., et al.: An optimization based design for integrated dependable real-time embedded systems. J. Des Autom Embed Syst. 13, 245–285 (2009) 8. Mellor, S.J., Clark, A.N., Futagami, T.: Model-driven development: Guest editor’s introduction. J. IEEE Software 20(5), 14–18 (2003) 9. Gérard, S., Espinoza, H., Terrier, F., Selic, B.: 6 modeling languages for real-time and embedded systems. In: Giese, H., Karsai, G., Lee, E., Rumpe, B., Schätz, B. (eds.) ModelBased Engineering of Embedded Real-Time Systems. LNCS, vol. 6100, pp. 129–154. Springer, Heidelberg (2010) 10. Feiler, P.H., Gluch, D.P., Hudak, J.J.: The Architecture Analysis & Design Language (AADL): An Introduction. Technical Note, CMU/SEI-2006-TN-011 (2006) 11. Shenglin, G., Lei, L., Yun, L., Wang, L.: Formal schedulability analysis and simulation for AADL. In: The 2008 International Conference on Embedded Software and Systems, pp. 429–435. IEEE Press, Los Alamitos (2008) 12. Shiraishi, S.: An AADL-based approach to variability modeling of automotive control systems. In: Petriu, D.C., Rouquette, N., Haugen, Ø. (eds.) MODELS 2010. LNCS, vol. 6394, pp. 346–360. Springer, Heidelberg (2010) 13. OMG.: OMG Systems Modeling Language (OMG SysMLTM), Ver. 1.2. OMG Document Number: formal/2010-06-01(2010) 14. Hause, M., Stuart, A., Richards, D., Hol, J.: Testing Safety Critical Systems with SysMLUML. In: 15th IEEE International Conference on Engineering of Complex Computer Systems, pp. 325–330. IEEE Computer Society Press, Los Alamitos (2010) 15. OMG.: UML profile for MARTE: Modeling and Analysis of Real-Time Embedded Systems, ver. 1.0. OMG document number: formal/2009-11-02 (2009) 16. André, C., DeAntoni, J., Mallet, F., de Simone, R.: The Time Model of Logical Clocks Available in the OMG MARTE Profile. In: Shukla, S.K., Talpin, J.-P. (eds.) Synthesis of Embedded Software: Frameworks and Methodologies for Correctness by Construction. LLC, pp. 201–227. Springer, Heidelberg (2010), doi:10.1007/978-1-4419-6400-7_7 17. Debruyne, V., Simonot-Lion, F., Trinquet, Y.: EAST-ADL—an Architecture Description Language. In: IFIP International Federation for Information Processing, Architecture Description Languages, vol. 176, pp. 181–195 (2005) 18. Cuenot, P., Frey, P., Johansson, R., Lönn, H., Papadopoulos, Y., Reiser, M.-O., Sandberg, A., Servat, D., Tavakoli Kolagari, R., Törngren, M., Weber, M.: 11 the EAST-ADL architecture description language for automotive embedded software. In: Giese, H., Karsai, G., Lee, E., Rumpe, B., Schätz, B. (eds.) Model-Based Engineering of Embedded Real-Time Systems. LNCS, vol. 6100, pp. 297–307. Springer, Heidelberg (2010) 19. Fürst, S., Mössinger, J., Bunzel, S., et al.: AUTOSAR – A Worldwide Standard is on the Road. In: 14th International Congress Electronic Systems for Vehicles (2009)
178
C. Mu et al.
20. Cuenot, P., Frey, P., Johansson, R., Lonn, H., Reiser, M.-O., Servat, D., Tavakoli Kolagari, R., Chen, D.J.: Developing Automotive Products Using the EASTADL2, an AUTOSAR Compliant Architecture Description Language. In: 4th European Congress ERTS Embedded Real Time Software, Toulouse, France (2008) 21. Johansson, R., Bunzel, S., Graniou, M., et al.: A road-map for enabling system analysis of AUTOSAR-based systems. In: CARS 2010 Proceedings of the 1st Workshop on Critical Automotive applications: Robustness & Safety, ACM, New York (2010) 22. Espinoza, H., Gérard, S., Lönn, H., Kolagari, R.T.: Harmonizing MARTE, EASTADL2, and AUTOSAR to Improve the Modelling of Automotive Systems. In: The Workshop STANDRT, AUTOSAR (2009) 23. Espinoza, H., Gérard, S., Lönn, H., Kolagari, R.T.: Harmonizing MARTE, EASTADL2, and AUTOSAR to Improve the Modelling of Automotive Systems. In: The Workshop STANDRT, AUTOSAR (2009) 24. AUTOSAR.: AUTOSAR Specifications Release 4.0, http://www.autosar.org 25. Papadopoulosa, Y., McDermida, J., Sasseb, R., Heiner, G.: Analysis and synthesis of the behaviour of complex programmable electronic systems in conditions of failure. J. Reliability Engineering and System Safety 71, 229–247 (2001) 26. ATESST2.: Report name State of practice and State of the art. Version number 1.0, The ATESST2 Consortium (2008) 27. Islam, S., Lindström, R., Suri, N.: Dependability Driven Integration of Mixed Criticality SW Components. In: 9th IEEE International Symposium on Object and ComponentOriented Real-Time Distributed Computing. IEEE, Los Alamitos (2006) 28. Hillenbrand, M., Heinz, M., et al.: An Approach for Rapidly Adapting the Demands of ISO/DIS 26262 to Electric/Electronic Architecture Modeling. In: 21st IEEE International Symposium on Rapid System Prototyping, IEEE, Los Alamitos (2010) 29. Dittel, T., Aryus, H.-J.: How to “Survive” a safety case according to ISO 26262. In: Schoitsch, E. (ed.) SAFECOMP 2010. LNCS, vol. 6351, pp. 97–111. Springer, Heidelberg (2010) 30. Mu, C., Sun, L., Du, Z., Chen, Y.: Method Based on OSEK/VDX Platform using Modelbased and Autocode Technology for Diesel ECU Software Development. In: 31st Annual IEEE Computer Software and Applications Conference, pp. 629–634. IEEE, Los Alamitos (2007) 31. Sandberg, A., Chen, D., Lönn, H., Johansson, R., Feng, L., Törngren, M., Torchiaro, S., Tavakoli-Kolagari, R., Abele, A.: Model-based safety engineering of interdependent functions in automotive vehicles using EAST-ADL2. In: Schoitsch, E. (ed.) SAFECOMP 2010. LNCS, vol. 6351, pp. 332–346. Springer, Heidelberg (2010) 32. Biehl, M., DeJiu, C., et al.: Integrating Safety Analysis into the Model-based Development Tool Chain of Automotive Embedded Systems. In: ACM/LCTES 2010 (2010) 33. Adachi, M., Papadopoulos, Y., et al.: An approach to optimization of faul tolerant architectures using HiP-HOPS. J. Softw. Pract. Exper (2011) 34. Zeng, W.-h., Papadopoulos, Y., Parker, D.: Reliability Optimization of Series- Parallel Systems Using Asynchronous Heterogeneous Hierarchical Parallel Genetic Algorithm. J. Mind and Computation. 1(4), 403–412 (2007)
Development of an Automatic Steering System for Electric Power Steering (EPS) System Using Fuzzy Control Theory Tao Hong*, Xijun Zhao, and Yong Zhai Intelligent Vehicle Research Center, Beijing Institute of Technology, Beijing 100081, China [email protected]
Abstract. Automatic steering wheel is a basic and crucial part of a driverless vehicle which is highly recognized as the finally trends of vehicle. In comparison with hydraulically power system, the electric power steering (EPS) system is a new power steering system which could provide power when the driver steers. The electronic properties of the EPS are quite desirable for automatic control. A novel automatic steering controller for mass-produced vehicle equipped with EPS system is presented in this paper. This controller steers the wheel by simulate the torque signals which are generated by human drivers. Considering the nonlinearity and uncertainty of steering systems, fuzzy theories are implemented for this system instead of classic control theories such as a PID controller. This system has been tested on real road for its effectiveness. Keywords: Automatic steering control, Electric power steering (EPS), Fuzzy Controller.
1 Introduction Automatic steering system is not only one of crucial parts of Intelligent Vehicles (IV) but also a core technique in driving assisting systems such as automatic parking systems. Due to huge marketing and research potential of automatic steering systems, worldwide researchers focus on study, implementation and validation of this kind of systems [1]. Some prospective studies in the Defense Advanced Research Projects Agency (DARPA)[2] Grand Challenge and Urban Challenge, California Partners for Advanced Transit and Highways(PATH) Research Programs and the Autopia Program presented lots of excellent theories on lateral control of Intelligent Vehicles such as sliding mode control[3], optimal preview control[4], model reference adaptive control[5]. However, because of the limitation of traditional hydraulically powered steering systems, automatic steering systems had to include additional components such as motor to move the steering system[2]. As a new power steering technology, Electric power steering (EPS) system replaces the hydraulic parts by electronic signals to *
This work was supported in part by the National Natural Science Foundation of China. (Grant No. 90920304).
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 179–186. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
180
T. Hong, X. Zhao, and Y. Zhai
control the wheel. As a result, the EPS offers a new architecture of automatic steering system which requires no additional servo components. In this paper, we present a novel EPS-based automatic steering system. An electronic controller is designed to control the EPS system on the test vehicle—a CHERY A3. Given the difficulties in establishing an accurate model of steering system, fuzzy theory, which requires no explicit mathematical model, is implemented in the controller instead of classic PID controller[6]. The effectiveness of the method and controlling rules is verified using on-road experimental results. This paper organized as the following: first, an overview of the system is given; the fuzzy control rules used in the controller are derived in section 2, and is followed by the analysis of experimental results of on-road testing, finally, conclusions are presented.
2 Controller Architecture The full architecture of the proposed automatic steering system is show in fig.1. The vehicle’s position with respect to the reference trajectory is calculated by decision making computers in every 50ms. The target steering angle is generated every 50ms based on the automatic steering algorithm and the vehicle model. The target steering angle, as well as the steering angle change rate read from the CAN bus, are inputted to the automatic steering controller at a rate of 100hz. The automatic steering controller outputs adequate signals to drive the EPS system for steering.
Fig. 1. Architecture of system
EPS system is composed of a torque sensor which measures drivers’ steering torque, a controller receives the torque signal from torque sensor and velocity from CAN bus in vehicle and generates PWM signals to drive a DC motor in EPS system[2] to drive front wheel moving. According to the structure of EPS, we constructed our automatic steering controller which could generate torque signals similar with humanity to drive EPS system as showed in fig. 2. Considering outputs of torque sensor locating in EPS system is two differential voltage signals, outputs of automatic steering controller should be the same with it, so that the controller of EPS would mistake outputs of automatic steering controller for the outputs of the torque sensor. For the reasons stated above, main goals of the automatic steering controller presented in the paper are generating a torque signal which should be the same or at least similar with output of torque sensor when human operated the steering system in every turning situation.
Development of an Automatic Steering System for EPS System
181
Fig. 2. EPS automatic steering controller
The reason to employ fuzzy theory in the system includes: First, it is hardly to establish accurate mathematical model for the packaged EPS system; Second, fuzzy theory works better in an environment with nonlinearity and uncertainty than the classical PID controller[6].
3 Fuzzy Controller The aim of this work is to simulate the human driver’s behavior in steering. Fuzzy controller quantified qualitative control rules summarized from artificial experience according to fuzzy mathematics. Typical fuzzy control strategies including fuzzy up the input and output variables by means of defining the variable linguistic labels and membership functions, fuzzy rules specified and control variables defuzzification. 3.1 Fuzzification To generate the membership functions, trial-and-error, or export knowledge[1] is widely used. However, how to represent human experience is one of the hardest problems in fuzzy logic without unified, valid solutions. In the paper, human-operating steering experiments are done on different roads at different velocity. In these experiments, we record the data of torque signals measured by torque sensor in EPS, steering angle and its change rate from CAN bus in vehicles when human operating the car. Fig. 3 shows the data of human driving, and the goal of our work is to build a controller with similar curve as shown in fig. 3. These human operation data then become the resource and foundation when we design fuzzy controller. The shape of all membership functions used in the paper is triangular. Since the shape is generally less important than the number of curves and their placement[6], we design these curves carefully based on these experiments which could represent human’s habit or experience when they are driving.
182
T. Hong, X. Zhao, and Y. Zhai
In this controller, target steering angle E and steering angle change rate EC are considered as two inputs of the system, torque signal U is the output. Since span of E is (500, +500), 7 fuzzy sets—(NB, NM, NS, Z0, PS, PM, PB)—are defined in the range of (-5, +5). Then, membership functions could be generated as are shown in fig.4. Meanwhile, variation range of EC whose value is restricted to the interval (0, 300), and construct 7 fuzzy sets: (NB, NM, NS, Z0, PS, PM, PB) at a range of (0, 10) whose membership functions could be seen in fig. 5. Finally, membership functions of U whose physical range is (1.5V, 3.5V) and (NB, NM, NS, Z0, PS, PM, PB) at a range of (1.5, 3.5) are appeared in fig. 6.
Fig. 3. Human driving experience
Fig. 4. Membership function of target angle
Fig. 5. Membership function of angle change rate.
Fig. 6. Membership function of torque signal.
Note that in these membership figures, NB means target angle is negative big and needs to turn to left; NM means negative medium which needs to turn to left; NS means negative small and needs to turn to left; Z0 means zero; PS means positive small and needs to turn to right; PM means positive medium and needs to turn to right; PB means positive big and need to turn to right.
Development of an Automatic Steering System for EPS System
183
3.2 Fuzzy Logic Human experience is included in fuzzy controllers when establishing fuzzy logic. Since every input has 7 linguistic values, 49 control rules are needed to constitute as show in table 1. The main ideas of procedural rule to manage a car’s steering are: IF target angle left THEN steering left; IF target angle right THEN steering right; IF steering angle change rate large THEN steering slow; IF steering angle change rate small THEN steering fast. In order to steering the vehicle smoothly, more rules should be included except the basic rules illustrated above. For example, although the system is at a rate of 100Hz, which in most situations is efficient enough, in some extreme small target angle cases, it would appear too slow since the steering wheels are in a high steering change rate. Thus, it is necessary to set the rules to avoid these extreme kinds of phenomenon— reduce the torque signal in advance. The whole rules used in Fuzzy EPS automatic steering controller presented in this paper are demonstrated in the following table. Table 1. Control rules of fuzzy controller
NB NM NS Z0 PS PM PB
NB NB NB NB NB NB NB NB
NM NS NB NM NM NM NB NB
NS NS NS Z0 Z0 Z0 Z0 Z0
Z0 Z0 Z0 Z0 Z0 Z0 Z0 Z0
PS PS PS Z0 Z0 Z0 Z0 Z0
PM PB PB PM PM PM PS PS
PB PB PB PB PB PB PB PB
3.3 Defuzzifucation Defuzzification is the last step in designing a fuzzy controller where the output linguistic labels are transformed into crisp values. In this paper, Mamdani method which is more suitable for real-time control is employed and MATLAB/Simulink software is used to calculate the values as shown in table2. Table 2. Results of defuzzification
1 2 3 4 5 6 7 8 9 10
-5 1.56 1.56 1.56 1.56 1.56 1.56 1.56 1.56 1.56 1.56
-4 1.57 1.57 1.76 1.76 1.76 1.76 1.96 2.03 2.04 2.04
-3 1.99 1.99 2.05 2.05 2.05 2.03 2.11 2.29 2.3 2.29
-2 2.07 2.07 2.11 2.11 2.11 2.13 2.11 2.34 2.33 2.34
-1 2.31 2.31 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5
0 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5
1 2.69 2.69 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5
2 2.93 2.93 2.89 2.89 2.89 2.87 2.89 2.66 2.67 2.66
3 3.01 3.01 2.95 2.95 2.95 2.97 2.89 2.71 2.7 2.71
4 3.43 3.43 3.24 3.24 3.24 3.24 3.04 2.96 2.96 2.96
5 3.44 3.44 3.43 3.43 3.43 3.44 3.43 3.44 3.43 3.44
184
T. Hong, X. Zhao, and Y. Zhai
Fig. 7. Control surface of fuzzy controller
4 Experiments and Results Experiments were conducted to verify the effectiveness of this controller. This system was installed on a CHERY A3 with EPS system . Experiments are divided into two parts: one test is observing the response of system to step angular signals, the other is real tests on campus road. Fuzzy logic used in our controller has been demonstrated in both step signal and real road experiments. In the first experiment, different step angular signals—35 Deg, 130 Deg, 290 Deg and 450 Deg which represent small, medium and large steering angle sequentially are tested on road. As is seen in fig. 8 to fig. 11, all four situations could finally obtain the target angle with angle error less than 5 degree and less than 2 seconds delay. The less the target angle is, the faster the system would get the goal but the easier to overshoot. Since transmission ratio from steering wheel to front wheel of vehicle is 16, the largest overshoot of our controller would lead to slip angle error of front wheel less than 0.5 Deg which could fully meet the requirement of our system.
Fig. 8. Response curve of 35 Deg step angular
Fig. 9. Response curve of 130 Deg step angular signal
Development of an Automatic Steering System for EPS System
Fig. 10. Response curve of 290 Deg step angular signal
185
Fig. 11. Response curve of 450 Deg step angular signal
If target angle could be delivered with slight change, this system could follow the target steering angle better as show in fig.12 comparing to step signal of the same angle which is shown in fig. 11.
Fig. 12. Response curve when target angle changes slightly
Fig. 13. Response curve when target angle changes relatively sharply
Fig. 13 shows a relatively sharp change of target angle compared to Fig. 12, which also has a good performance on following target steering angle. On road experiments have done to demonstrate the effectiveness of this controller. We detect and calculate the target angle by combining GPS, lidars with cameras. The results show the effectiveness of the controller as seen in fig. 14. In most cases, our automatic steering system could follow the target route well. When the turnings of road are extremely shape, 1-2 seconds delay would be produced. However, these delays do not affect vehicle successfully passing the turnings.
186
T. Hong, X. Zhao, and Y. Zhai
Fig. 14. Real road test
5 Conclusion A new automatic steering system based on EPS system has been put forward in this paper. This system could move the steering system of CHERY A3 which has been equipped EPS as its steering system to a target angle calculated by computer after received route information with a moderate velocity. The controller has two inputs: target angle and steering angle change rate, one output—torque signal for EPS which is similar to the torque signal produced by torque sensor when human driving in the same situation. Fuzzy control theories are adept to this design to accomplish this function when considering the convenience of fuzzy theories dealing with nonlinearity and uncertainty of environment. Experiments on real road have been conducted to verify the effectiveness of this EPS fuzzy automatic steering controller. Results and analysis have been presented above, on the same time, proved this controller could follow target route correctly and efficiently.
References 1. onieva, E.: Automatic lateral control for unmanned vehicle via genetic algotithm. Applied Soft Computing, 1303–1309 (2010) 2. Naranjo, J.E.: Hybrid steering control for intelligent vehicle. In: ICRA 2007 Workshop: Planning Perception and Navigation for intelligent vehicle (2007) 3. Ackermann, J., Guldner, J.: Linear and nonlinear controller design for robust automatic steering. IEEE Transactions on Control Systems Technology 3, 132–143 (1995) 4. Peng, H., Tomizuka, M.: Opital preview control for vehicle lateral Guidance. ASME J. DynSyst., Meas, Control 115, 679–686 (1991) 5. Panfilov, D.U., Tkachev, S.B.: ‘tracking of reference trajectory for wheeled mobile robot. In: Proceedings of the 14th International Conference on Process Control, Strbske Pleso, High Tatras, Slovakia (2003) Paper No.095 CD-ROM 6. Takashi Shigematu, J.: Development of Automatic driving system—Automatic steering control by fuzzy algorithm. In: Intelligent Vehicles 1992 Symposium, Detroit, MI, pp. 154–159 (1992)
Design and Implementation of Interactive Digital Shadow Simulation System Qian Li*, Qing-yi Hua, Jun Feng, Wei Niu, Hao Wang, and Jie Zhong Dept. Of Information Science and Technology Northwest University Xi’an, China 710127 [email protected]
Abstract. The research of Digital Shadow is focused in recent years, to combine the traditional Shadow puppets with digital technology for manufacture and performance plays a tremendous role in promoting its heritage. However, current research are mostly simulation-based, and ignore the role of the user in the system. This article starts from the users’ point of view, presents a user’s experience-oriented, interactive design and performance model. The IDSS systerm, designed and completement on the basis of this, allows users to manipulate and control the digital Shadow props directly, meanwhile, with the rendering of visual and auditory , to coincide with the real Shadow play relatively and effectively solve the problems of lacking of interaction in current Digital Shadow system. Keywords: Digital Shadow; Interactive; user experience.
1 Introduction Shadow is a very ancient folk performing arts in China, it has a very high artistic value all over the world. However, due to the complex manufacture and performance of Shadow, difficulty to store the finished Shadow and simple communication channels, the development of this ancient art is not optimistic. Therefore, the Shadow’s digital dissemination has become an inevitable trend. The technology of Digital Shadow has become a research hotspot in recent years, but current researches mostly focus on the simulation model and the Shadow puppet figures control, the layout of opera and the simulation of performances form are still rare. Some so-called Digitalize is similar to animation manufacture and lacks of interaction and performance. Simply digitalize the result and lacking of interaction and performance make ordinary users not really understand the creation process and performance of Shadow, which not really promote the spreading and development of Shadow play. This paper, for the purpose of stimulating the fun of creation and user’s interactive experiences , designs and develops a Digital Shadow platform with the figures of user friendly , and employ the interactive experience with the innovative design for the *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 187–194. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
188
Q. Li et al.
ordinary users. In order to stimulate the fun of user's creation and attract more young people to spread the Shadow. Which can provides new ideas for the inheritance and development of Shadow. IDSS separates the application and display. In the interaction scenarios, the user directly manipulate the visual objects which relevant to its mandate , including the selection, move, delete and animation control. This interactive approach gives user a direct impression, as if he is involved in the operation of the individual application of semantic objects, rather than through systematic dialogue [14]. The user's main interactive task includes opera figures selection, scene layout and action design.
2 Related Research on Digital Shadow The current studies of Digital Shadow focus on the simulation and control of Shadow model, Professor Shen Yi-fan from Fudan University using numerical simulation technology to develop a Shadow model simulation software [10]. Shadow puppets’ digital protection and performances also made some achievements. The works of digital art - Digital Shadow displayed in Shanghai international Convention Center exhibition halls [9] are mainly through the manufacture and processing of the computer that are combined with long and short shots and montage of the film , which made the traditional Shadow puppet into digital animation. Between the year of 2004 and 2005, our country has successively protected the Dun Huang heritage and Dao Qing Shadow in Huan County through digital technology [6]. Shadow Story system explored by Institute of Software, Chinese Academy of Sciences, is mainly relatively simple to simulate the Shadow puppet’s manufacturing and performing process for children. Current research on Digital Shadow is still in the primary stage. Simulation of the Shadow figures models require higher technology and equipment support. The system lacks of interactive and neglects the interaction design of the "usability goals "and"user experience goals " [11], which results that ordinary users can not really understand the Shadow of the creation and performance process [4]. To solve these problems that the Digital Shadow faces now, we need a platform to cover a full graphic design, audio manufactureion, animation, rendering, script compiler, network transmission, and interactive animation features etc., which no software can solve currently. The aim of this paper , to preliminary study and implement the layout of the opera scene and interactive performances in the context of current simulation technology, is relatively mature. Through this platform, users can manipulate and control of Digital Shadow props directly, by using multi-channel audio and video output feedback, and can coincide with the real Shadow play. Our studies will present new ideas for the future development of Digital Shadow.
3 System Design This System uses the B / S architecture, simplifying the client software. It can provide an interactive environment for users from different locations designing a Shadow play through the Web server, which can increases the user’s experience and inspired the user’s creation. The system offers the following modules: the role of selection, scene layout , action design and animation performing of four parts.
Design and Implementation of Interactive Digital Shadow Simulation System
189
3.1 Interaction Design Interaction Design is the key to the system, which aims to introduce "availability" and "the concept of “user experience" in the design process [11]. Good interaction not only can increase the fun and experience , but more importantly, can make the operation as a process to increase awareness of the operation for the operator. During the operation the user's cognitive development and emotional factors will be impacted. Our system is based on this purpose. IDSS can be applied to a interactive experience platform for Shadow art galleries with the purpose of Shadow play spread. The ordinary people, as the system’s main user, is difficult to grasp the complexity related technologies. They usually require little or no training as people already get used to interacting with the browsers., so the proposed system must be designed user-friendly and easy to use to reduce the users’ cognitive load [3]. IDSS provides a computing framework which supports the dynamic generation of interactive plot, management and conflict resolution, and allows users to act as a drama protagonist to determine their current behavior and action. Use interactive mode of WYSIWYC (What you see is what you control) [12] to make users fell natural, convenience and comfortable during the operation. The main tasks of the user interaction are as followings: (1) Stage of Scene design: the user select figures ,props and background which are used in opera scenes directly, then drag to layout, while figures and props in the scene can be transformed (with scales, rotations, location etc.).
Select the role
Layout the scene (Including background, props and music)
Design action
Save and play the animation
Fig. 1. The flow of user interaction task
(2) Stage of action design: The user manipulate the object figures, control the action of target figures, including body posture, tilt angle , location and direction of movement directly. For example, people can draw the line with the mouse and let the figures walk to the trajectory according to the user. Also, he can control the
190
Q. Li et al.
movement continuing or stoping immediately . In action design process , the system automatically records the time node, and saves records, which allows user to view the animation designed by themselves. (3) Stage of play: User can save the Shadow animation designed by themselves after the completion of the animation manufacture ,then replay the Shadow animation interactively in the page. (The flow of user interaction task is shown in Fig. 1.) 3.2 Architecture Design The IDSS is based on B / S network structure (Shown in Fig.2). The system is composed of three parts including browser interaction module, browser and server communication module, web server and database server communication module. The main function of browser is to provide a human-computer interaction interface; the browser and server communication module sends the user's request to the web server through the Hypertext Transfer Protocol (HTTP), web server responds and deals with the results feedback to the browser; The web server and database server communication module is that a web server submits user’s request to the database server, which feedbacks the relevant information to the web server. MySQL database is used in IDSS to store graphics and scene materials of Shadow play.
Fig. 2. Network structure of IDSS
This structure makes the system extremely flexible and dynamically adjusts to the scene configuration, figures and action, background music playback and so on., which achieves to moduling the function, reducing the coupling of software modules. The B / S structure simplifies the client software, systems development and maintenance is concentrated in the server side, while users just need to access it with the dynamic downloading, and can realize multi-user, distributed manufacture, greatly to meet the needs from users.
4 Related Technologies IDSS in this paper is based on JSP which is widely used in Internet. IDSS separates Shadow manufacture and scene displaying from the application logic of graphics transformation and animation generation, which is helpful to protect the code while ensuring the Web browser fully supported.
Design and Implementation of Interactive Digital Shadow Simulation System
191
The interfaces' layout uses CSS (Cascading Style Sheets Cascading Style Sheets). CSS is part of the DHTML technology, which can control the HTML to markup its simple syntax, and process the page's content and CSS separately so as to improve the visual effect through a variety of CSS styles [6]. Java Applet is embedded in HTML so the IDSS allows the users to manufacture and control the Shadow by themselves completely, in order to meet the need of interaction. And Java Applet works with JavaScript so that the client page can communicate with server appliance. The communication between JavaScript and Java Applet introduce both languages' advantages, so as to develop more friendly and dynamic Web applications. We must emphasis that Java Applet also has a good security mechanism and cross-platform performance. Java provides a rich library for multimedia API, the multimedia data (such as text, graphics, static image, animation audio etc.) can be processed and displayed easily. And we use this library to transform graphics and generate animation.
5 Implementation of Major Functions 5.1 Shadow Figures Modeling Shadow figure is similar to the natural human’s body structure, composed of eleven components, including the head, chest, abdomen, left arm, Left forearm, right thigh, and right calf etc. Therefore, we use sub-components method to modeling. The whole figure Composed through the connection point between components. Specifically, Create the class Part as the parent of all other component classes . The major variable members of Part including the URL of graphics resources of components, the coordinates of connection point, coordinates of rotation axis and rotation angle etc.
Part
Role
Male lead
…
Clown
Head
...
Leg
Fig. 3. Class graphs for components
In traditional Shadow Play, Shadow characters mainly divided into male lead 、 female character type 、 character with painted facial make-up 、 middle-age male character、clown categories, so we create the class Role as the parent of other
192
Q. Li et al.
Shadow figures’ classes. The major variable members of Role including the eleven objects of components and their location coordinates etc. (The Class Graphs shown in Fig.3)The graphics data of Shadow figures are stored in the database, such as url of graphics resources , the node coordinates etc. In the process of modeling, data are read from the database to initialize the objects and the complete figures are displayed in the user interface. 5.2 Motion Control of Shadow Figure We use sub-components method to modeling the Shadow figures, which simulate the natural bones and joints. We know that the reality of the Shadow play is controlled by the main components movement, other associated parts are drived in motion, which are similar to the Human skeleton movement, so when design the Digital Shadow figures’ action, we used forward kinematics to solve the problem of linkage between the components. Firstly, we determine the level of relations between the various components, that means, which one is parent object, and which one is child [Fig.3]. In Interactive process, the system acquires the user's operation information, access the property of primary node (the parent), through real-time control of a single bone point, the child inherited the motion(such as rotation ,scaling or transformations ) from the parent level. In this way , the parent’s movement will drive the child and form a complete action.
Chest
Left arm
Left forearm
Abdomenen
Left thign
Left calf
Head
Right thign
Right arm
Right foream
Left calf
Fig. 4. The lever of components (chest as the parent node)
5.3 The Technique of Double-Buffering in Shadow Animation When designing Shadow action , each group of animated image files owns a large amount of data, so the speed of the system drawing up on the screen slowed down every time, which results the screen flicker. To solve this problem, the system uses Double-buffering technology. When the image files which is displayed on the
Design and Implementation of Interactive Digital Shadow Simulation System
193
screen is large and more , the use of Double-buffering technology will create a virtual Standby screen outside of the screen , that is, between the time of the user’s interaction and the animation generated by backstage program , first create two graphics buffers, one for the display of front browser, and the other for the backstage graphics , in the stage of displaying (drawing) graphics, the two graphics buffers update the data synchronized , when the data in front display area needs to be restored , you can use backstage graphics backups to restore graphics backups, specifically ,override paint () and update () method.
a: Action of walking
b: Action of speaking
Fig. 5. The scene of action design
6 Conclusion This paper studies the current research in Digital Shadow, discusses the major problem of interaction and usability encountered. We propose a interactive mode for Shadow’s manufacture and performance. The system IDSS is designed and implemented with flexibility, interactivity, and real-time. (Shown in Fig.5) However, there are still some limitations and shortcomings on the system web-based, which only supports multi-user operation asynchronous currently. To reach the goal of different users manufacture and performance a Shadow play online immediately also need the efforts of the next step, which is a work must be completed for the development of Digital Shadow.
References 1. Pina, A., Cerezo, E., SeroHn, F.J.: Computer animation: from avatars tounrestricted autonomous actors (A survey on replication and modeling mechanisms). Computers & Graphics 24, 297–311 (2000) 2. Lau, H.Y.K., Mak, K.L., Lu, M.T.H.: A virtual design platform for interactive manufacturedesign and visualization. Journal of Materials Processing Technology 139, 402–407 (2003)
194
Q. Li et al.
3. Holzinger, A., Ebner, M.: Interaction and Usability of Simulations & Animations:A case study of the Flash Technology. IFIP, pp. 777–7804. IOS Press, Amsterdam (2003) 4. Zhao, L.-M.: Research and Application of Shadow Model and Control Technology.Master’s thesis (2009) (in Chinese) 5. Shen, Y.-f.: Scientific Computing Visualization.Introduction of Digital ShadowSimulation. Key Laboratory of Intelligent Information Processing in Shanghai, 1–2 (2006) (in Chinese) 6. Holmberg, N., Wunsche, B., Tempero, E.: A Framework for Interactive web-Based Visualization. In: Seventh Australasian User Interface Conference (AUIC 2006), Conferences in Research and Practice in Information Technology(CRPIT), Hobart,Australia, vol. 50 (2006) 7. Zeleznik, R.C., Conner, D.B., Wloka, M.M., et al.: An Object-OrientedFramework for the Integration of Interactive Animation Techniques. In: Proceeding of the ACM SIGGRAPH, Computer Graphics, vol. 25, pp. 105–111 ( July 1991) 8. http://www.univs.cn/newweb/univs/hfut/2004-07-11/301123.html 9. Garca, R.R., Quiros, J.S., Santos, R.G.: Interactive multimediaanimation with Macromedia Flash in Descriptive Geometry teaching. Computers &Education 49, 615–639 (2007) 10. Preece, J., Rogers, Y., Sharp, H.: Interaction Design Beyond Human-Computer Interaction ; ISBN 0-417-49278-7 11. Hua, Q.-Y., Liu, Q.-F., Yu, D., Wang, X.-W.: Perceptual-Control-BasedAgent Architecture Model. Journal of Software 20(suppl.), 76–83 (2009) (in Chinese)
Weighing Machine Modifications for Purblind and Sightless People Vladimir Kasik and Martin Stankus VSB - Technical University of Ostrava, FEECS, DMC, 17. listopadu 15, 708 33 Ostrava-Poruba, Czech Republic {vladimir.kasik,martin.stankus}@vsb.cz
Abstract. The paper discusses the possibilities of the weighing machine modifications in relation to use by purblind and sightless people. The systems use several commercial weighing machines with common digital displays. There are requested two main functions of adjusted weighing machines. One is the weight measurement and the second is a value reproduction in spoken words. These are the four methods presented in detail to solve with their advantages and disadvantages. Keywords: weighing machine, purblind, sightless, LCD, display.
1 Introduction Measuring of self body weight is easy part for healthy man when using the weighing machine. However the same task is formidable or impossible for purblind and sightless people, when the weight value is optically displayed. This paper is engaged in weight measurement system design aspects with weighing machines for purblind and sightless people. The systems under consideration exploit the commercial weighing machines with LED or LCD displays. The designed system should generally fulfill two basic functions, see Fig. 1: weight value scanning from common weighing machine and speech synthesis of scanned
weight value sensor
speech synthesis
weighing machine Fig. 1. Weighing machine system for purblind and sightless people M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 195–201. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
196
V. Kasik and M. Stankus
values. The second function – speech synthesis – has been solved and published in other applications sufficiently, therefore only weight value scanning problem is discussed in the following text. It is assumed, that the weighing machine uses an electric weight sensor and the weight value is displayed on LED or LCD display.
2 Weight Value Sensor There were four methods and corresponding sensor types proposed for weight value scanning. In all cases the scanning is performed by single digits. These methods together with their functionality evaluation are proposed in the following chapters. 2.1 Contacting to the Display (Case A) The absolutely simplest and cheapest solution for automated weight value scanning from the weighing machine is a direct contacting to display. The 3,5-digit 7-segment LCD and LED displays are the most frequent optoelectronic devices for that purpose.
to weighing machine logic
to weight value coder
Fig. 2. Contacting to LCD display
There are signals connected to individual segments of the display digits, eventually including the decimal points (26 signals for example). A 7-seg/BCD coder performs interpretation of the digits composed from separate segments (Fig. 2). We commonly use the devices with inverse function in electronic circuits - BCD/7-seg decoders. The 7-seg/BCD coder [1] used in the project is generally more complicated than the BCD/7-seg decoder due to extension by 3 columns in the truth table. It could be difficult to determine the result for illegal combinations of input values in that sparse truth table, see Fig. 3. However, it is reasonable to solve those combinations until the case of sensor B in the next chapter. It’s also necessary to deal with the LED and LCD displays differently, because LCD display segments are driven with rectangular or pulse shaped signals. Hence some shaping circuit should be inserted in the scanning line from the LCD segments.
Weighing Machine Modifications for Purblind and Sightless People
X/Y
197
} BCD code
Fig. 3. 7-segments/BCD encoder
2.2 Phototransistor Pattern in Segment Positions (Case B) Binary information from separate display segments is transferred by optoelectronic devices – phototransistors – to logic signals. The electronic circuit includes phototransistors, passive and/or active electronic devices. Phototransistors
........
High luminous LEDs
Fig. 4. Phototransistor pattern in segment positions
A signal gain from the phototransistors primarily depends upon display type and size, distance between phototransistor and display, light conditions and phototransistor electrical characteristics. Higher signal gain is available with LED displays than LCD displays, at which an external light source is needed – the high luminous LEDs, for example. Also a narrow scanning angle is needed at phototransistors, typically not wider than 20° [2]. There is one fact among the disadvantages, that there is a need of different phototransistor patterns arrangement for different weighing machine (display) types. The requirements for 7-seg/BCD encoder are the same as in the previous case A. 2.3 Phototransistor Matrix (Case C) Phototransistor matrix is a solution applicable for several weighing machine types. The requirements for photoelectric sensor elements are similar to the previous solution. However it is necessary to include an adjustable threshold for input signals due to variety of usable displays.
198
V. Kasik and M. Stankus
........ Phototransistor matrix (20x9)
High luminous LEDs
Fig. 5. Phototransistor matrix
The basic change in this case is quite different circuit for digit determination (recognition). An appropriate candidate for the circuit is an artificial neural network, implemented in programmable FPGA device for example. The number of the matrix elements and phototransistor sizes also influence the results. Success of the solution depends on the next two processes. The first one is a learning process with the back-propagation method for example. Thus the network setting will depend upon display type, especially upon segments size and shapes. The second task is a picture segmenting process for pictures obtained from the phototransistor matrix. It’s reasonable especially when we suppose, that the matrix doesn’t need to be in the fixed position.
a)
b)
... .....
.....
segmenting
recognition
1 0 2
Fig. 6. Weight value recognition. a) value on display, b) pattern in the matrix
Weighing Machine Modifications for Purblind and Sightless People
199
We can notice two disadvantages among others: slightly higher price depending directly on matrix sizes and formal uncertainity of the results outgoing from the use of neural network. 2.4 Display Scanning with a Camera (Case D) The most complex and currently the most expensive solution of the described problem is based on the use of a camera for the weight value scanning. The solution outgoes from the previous method with scanning matrix, but the number of sensing points in the matrix is significantly greater. In this case we can talk about a computing speed or performance of the system. However, there is a simplification relate to working only on static pictures. The possibility of reading and reproduction not only the weight value on weighing machine, but any kind of text scanned by camera, could be a significant advantage. That task wholly falls into the area of artificial intelligence. The result in this case influence also light conditions, text layout in camera view (camera position, slope, rotation), character font, etc. [3], [4], [7]. The main disadvantage of that solution is meaningfully higher price of the sensor and also of subsequent circuits for videosignal fitting and processing.
Fig. 7. Display scanning with CCD camera
3 Conclusions Choosing of appropriate scanning method must respect many factors, especially the function facilities requirements [4], [5], [9] and economic point of view. These requirements are contradictory as they are summarized in the following table.
200
V. Kasik and M. Stankus Table 1. Summary of the proposed methods. Feature Without guarantee loss Portability to compatible devices Usable for other applications Reliability Ease of installation Design complexity Price (approx.)
A -
B +
C +
D +
-
-
+
+
+++ +++ $5
++ + -$15
+ + --$50
+ + + ---$500
For weight value reading only from the weighing machine the case A – contacting to display seems to be the optimal choice, even if it causes the guarantee loss. This fact is compensated by low realization cost [11], [12]. When we have higher requests on function facilities of the system, the camera system (case D) will be an attractive solution, which is open for many other extensive applications. The B and C sensors are certain compromises, which can be probably applied in special cases only. Acknowledgments. The work and the contribution were supported by the project: Ministry of Education of the Czech Republic under Project 1M0567 “Centre of applied cybernetics”, student grant agency SV 4501141 “Biomedical engineering systems VII” and TACR TA01010632 “SCADA system for control and measurement of process in real time”. Also supported by project MSM6198910027 Consuming Computer Simulation and Optimization. [6], [8].
References 1. Haberle, H.: Prumyslova elektronika a informacni technologie, Europa-Sobotales cz. s.r.o., Praha, Czech Republic (2003) ISBN 80-86706-04-4 2. GES, http://www.ges.cz 3. Augustynek, M., Penhaker, M., Korpas, D.: Controlling Peacemakers by Accelerometers. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 161–163. IEEE Conference Publishing Services, NJ (2010), doi:10.1109/ICCEA.2010.288, ISBN 978-0-7695-3982-9 4. Pindor, J., Penhaker, M., Augustynek, M., Korpas, D.: Detection of ECG Significant Waves for Biventricular Pacing Treatment. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 164–167. IEEE Conference Publishing Services, NJ (2010), doi:10.1109/ICCEA.2010.186, ISBN 978-0-7695-3982-9 5. Krejcar, O.: Large Multimedia Artifacts Prebuffering in Mobile Information Systems as Location Context Awareness. In: 4th International Symposium on Wireless Pervasive Computing, ISWPC 2009, Melbourne, Australia, February 11-13, pp. 216–220 (2009), doi:10.1109/ISWPC.2009.4800591, ISBN 978-1-4244-4299-7
Weighing Machine Modifications for Purblind and Sightless People
201
6. Labza, Z., Penhaker, M., Augustynek, M., Korpas, D.: Verification of Set Up DualChamber Pacemaker Electrical Parameters. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, March 19-21, vol. 2, pp. 168–172. IEEE Conference Publishing Services, NJ (2010), doi:10.1109/ICCEA.2010.187, ISBN 978-0-7695-3982-9 7. Krawiec, J., Penhaker, M., Krejcar, O., Novak, V., Bridzik, R.: Web System for Electrophysiological Data Management. In: Proceedings of 2010 Second International Conference on Computer Engineering and Application,s ICCEA 2010, Bali Island, Indonesia, March 19- 21, vol. 1, pp. 404–407. IEEE Conference Publishing Services, NJ (2010), doi:10.1109/ICCEA.2010.85 , ISBN 978-0-7695-3982-9 8. Stankus, M., Penhaker, M., Kijonka, J., Grygarek, P.: Design and Application of Mobile Embedded Systems for Home Care Applications. In: Proceedings of 2010 Second International Conference on Computer Engineering and Application,s ICCEA 2010, Bali Island, Indonesia, March 19- 21, vol. 1, pp. 412–416. IEEE Conference Publishing Services, NJ (2010), doi:10.1109/ICCEA.2010.86, ISBN 978-0-7695-3982-9 9. Penhaker, M., Rosulek, M.: Electrodes For Biotelemetry And Home Care Applications. In: Proceedings of 3th International Conference on Systems, ICONS 2008, Cancun, Mexico, April 13-18, pp. 179–183. IEEE Conference Publishing Services, NJ (2008) ISBN 978-07695-3105-2 10. Penhaker, M., Rosulek, M., Cerny, M., Martinák, L.: Design and Implementation of Textile Sensors for Biotelemetry Applications. In: IFBME Proceedings of the 14th Nordic – Baltic Conference on Biomedical Engineering and Medical Physics (IFMBE 2008), Riga, Latvia, June 20, vol. 20, pp. 405–408. Springer, Heilderberg (2008), ISBN 978-3540-69366-6, ISSN 1680-0737 11. Krejcar, O., Janckulik, D., Motalova, L., Musil, K., Penhaker, M.: Real Time ECG Measurement and Visualization on Mobile Monitoring Stations of Biotelemetric System. In: Nguyen, N.T., Le, M.T., Świątek, J. (eds.) ACIIDS 2010. LNCS, vol. 5990, pp. 465–474. Springer, Heidelberg (2010), doi:10.1007/978-3-642-12090-9_6, ISBN 9783-642-12089-3, ISSN 1860-949X (Print) 1860-9503 (Online) 12. Krejcar, O., Cernohorsky, J., Fojcik, P., Janckulik, D., Martinovic, J.: Smartphone, PDA and mobile Embedded device clients of Biotelemetric System for monitoring of life functions. In: 5th International Conference on Innovations in Information Technology, Innovations 2008, Al Ain, United Arab Emirates, December 16-18, pp. 145–149 (2008), doi:10.1109/INNOVATIONS.2008.4781761, ISBN 978-1-4244-3396-4 13. Krejcar, O., Janckulik, D., Motalova, L.: Complex Biomedical System with Biotelemetric Monitoring of Life Functions. In: Proceedings of the IEEE Eurocon 2009, St. Petersburg, Russia, May 18-23, pp. 138–141 (2009), doi:10.1109/EURCON.2009.5167618, ISBN 978-1-4244-3861-7
Active RFID Based Infant Security System Lin Lin1, Nan Yu1,2, Tao Wang1,*, and Changan Zhan1,* 1
School of Biomedical Engineering, Southern Medical University, Guangzhou Dadao Bei 1838, Guangzhou 510515 China 2 Syris Corporation Limited, Jingxi Zhonglu 20-511, Guangzhou 510515 China {tatwang,changan.zhan}@gmail.com
Abstract. Although infant abduction in pediatric area of hospitals happens at a low probability normally overlooked, its impact can be devastating for families and healthcare staff. To improve infant security in hospitals, we have developed an active RFID based system that tracks the body temporature of new-borns. The system can measure body temporature through the near-infrared sensor attached to baby’s wrist and estimate the location of the subject through the signal strengthen received by RFID readers network. It documents security records for the patients in a database and reports abnormal situation with text, warning lamp signal or alarm. We design the database in a in a way compatiable with the general hospital information system. Keywords: Radio Frequency Identification (RFID), Body Temperature, Database, Infant Security.
1 Introduction Currently the most common approach to identifying newborn in hospitals relies on the information band attached to baby’s wrist. It provides an economic and convenient way to pair babies and parents, but nothing helpful in preventing babies from abduction. The potential security problem imposes significant psychological stress for parents and medical staff. Even in developed countries, infant abduction does still happen. According to statistics from the National Center for Missing and Exploited Children (NCMEC) [1], there were 252 cases of abduction occurred in United Statesd during 25 years from 1983 to 2008, indicating the necessity of improving infant security in hospitals. RFID is an identification technology based on information coded in radio frequency signals. The core components include RFID tags and readers [2]. Tag carries and emits ID information of subjects to which the tag is attached. The powered tag, also called as active RFID tag, can measure and code context information (e.g. temperatures of subjects / environment, etc.) and take data from RFID reader. RFID reader can accept information from multiple tags, and provide mechanisms to communicate with computers. With the development of VLSI circuits, digital communication and information security, RFID technologies have found their ways to vast commercial applications. Compared to barcode, RFID system provides higher capacity in terms of *
Corresponding authors.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 203–209. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
204
L. Lin et al.
information volume, long distance communication and fast multiple objects identification and tracking. To effectively prevent babies from abduction in pediatric areas in hospitals, companies around the world have been developing different surveillance system. Among others, Xmark’s Hugs system has been successfully implemented in many hospitals in North America [3]. It can read and track the infant information in the monitoring areas and reports any susceptible behaviors. However, Hugs is costly for developing countries such as China and does not measure body temperature of the subject. Based on the commercial solutions currently accessible to us [2, 4-6] and the market needs in China and developing countries in general, we have developed body temperature based active RFID infant security system. The system itself can work as a local area security network, and can be integrated into including the general hospital information infrastructure (HIS). It will provide an economical approach to digital hospitals, improving infant security and hospital management in general.
2 The Design of Active RFID Infant Security System After the initial medical examination and preparation, the newborn is registered to the RFID security database. Basic information is stored in the RFID tag and the tag is attached to the baby’s wrist. Each tag has a unique ID that is bound to one baby. By reading the ID and temperature signals from the tag at pre-set time intervals, the infant security system can monitor the location and health situation of the subject. Once any abnormal situation (e.g. temperature is out of normal range, or the baby is not in the safe areas) happens, the system can proving warning signal or alarm, according to the level of risks. Special situations such as known leave for bathing time can be taken care of by disabling the monitoring of this specific ID on the operation console in the nurse station.
Fig. 1. Topological Structure of the Infant Security System
Active RFID Based Infant Security System
205
2.1 Topological Structure Figure 1 depicts the topological structure of the infant security system. Each infant in the hospital wears an RFID tag, which can measure and send the temperature information to the RFID readers. The readers are adjusted in antenna length and direction to cover specific areas in the pediatric department. All the readers are connected to the LAN hub through the standard network interface RJ-45. System console accesses all the data from readers in real time and save the information into the database. Console identifies any abnormality based on the temperature and signal strengths reaching different readers, and provides warning and alarm accordingly. Surveillance video will be activated in all the monitored areas.
Fig. 2. System Integration
2.2 System Integration Infant security system has two main components: birth registration and surveillance. Their basic elements are shown in Figure 2. Shortly after a baby is born, registration is completed by inputting the necessary information to the database and binding the RFID tag to this specific subject. All the information is archived into the database. When registration step is done, the system enters the surveillance stage until the patient is discharged from the hospital. During surveillance period, the tag measures the infant’s
206
L. Lin et al.
body temperature and sends the information to the readers. The console at the nurse station can visualize the temperature measurements over time and judge the status of the subject. There are two types of abnormality that suggest the probability of infant abduction: the tag is detached from the subject; the tag cannot be tracked by any reader. In the first situation, the temperature information may not be in the normal range of body temperature; under the second scenario, the tag signal is lost. Either situation happens, the console add the abnormal events into the database and initiate the alarm system. 2.3 System Functionality The detailed functions of the infant security system include: 1) Infant information input: basic information of baby (name, sex, date of birth, room number and bed number etc.) and information about parents (names of mother and father, room number, bed number, date of registration into the hospital, contact information etc.) and RFID tag number. RFID tag number is the key information in the database and uniquely binding the baby and parents. 2) Infant temperature based tracking: the reader takes the temperature measurement at preset time intervals and the computer console in the nurse station visualizes the real time data. According to the temperature, the console can tell whether the tag is worn properly and baby is in good health. 3) Indication of tag status: beside the body temperature, signal strength from the RFID tag can be used to localize the place of the infant. RFID tag also sends the battery volume and warns the console when it is about out of power so that technician can change battery timely. 4) Abnormality judgment: newborn’s body temperature measured at the wrist is normally in a range between 35°C and 37°C. When the actual number is not in the range, it is possible that the tag is not worn properly or detached from the subject. In any case, the system reports the abnormality. Another abnormality is that no signal can be received from a specific tag. Loss of signal may indicate that the subject is not in the safe areas. The module for abnormality judgment is one of the key elements fo the system. 5) Alarming function: according to the level of risks, different warning and alarm signals are designated. Details (name of the newborn, bed number, parent contact information) are shown on the large LED screen; warning lamp, alarm and surveillance video can be initiated when necessary. 6) RFID device management: information about RFID readers and tags need to be managed properly so that they can be bound to locations and subjects. For the readers, IP addresses and locations are specified and stored in the database. The ID of working tag is specifically attached to the infant and traced over the whole period until it is unregistered. 7) All the data stored in the database, which can be integrated into the general HIS, are part of the electronic medical record.
Active RFID Based Infant Security System
207
3 System Implementation 3.1 Hardware As mentioned before in Figure 1, the core hardware in our system includes standard PCs and file servers, general purpose hubs for local area network, and RFID tags and readers. To obtain the reliability for long distance (>10 meters) communication and subject localization, we choose the active RFID system from SYRIS Corporation [7]. 1) Active RFID tag (model: SYTAG245-NW): This tag weighs around 10 grams, supports two-way communication at frequency of 2.45GHz. It also provides high precision temperature measurement through embedded infrared sensors, and detection of vibration. 2) RFID reader (model: SYRD245-1N): It supports two-way communication at frequency of 2.45GHz with multiple tags simultaneously. All the data can be accessed through the RS232/RS485 data interface or RJ-45 ethernet interface.
Fig. 3. Data Tables for the Infant Security System
3.2 Data Structure We developed the system under Microsoft Visual Studio 2010 platform using the .NET framework in C# language. We choose the SQL Server 2008 platform to develop the database. Figure 3 illustrates the three main data tables in the database: 1) data for the infant, including name, sex, date of birth, status, tag ID, department, bed number, etc.; 2) data for mother, including name, contact information, date of admission to the hospital, home address, emergency contact, etc.; 3) data for the RFID tag, including tag ID, signal strength, events, body temperature readings, environment temperature readings, reader IP address, time of communication. The primary key in these tables is the RFID tag ID.
208
L. Lin et al.
3.3 Software The software is installed on the computer in the nurse station, which receives and stores the all the data from the RFID tags by accessing RFID readers. The software visualizes the real time status of patients (location and body temperature). It also provides assessment of the safety and initiates alarming system when the patients are subject to potential risks. Figure 4 illustrates the functions of the software.
Fig. 4. Diagram of the Software
Fig. 5. The Local Area Network of Infant Security Systems
Active RFID Based Infant Security System
209
3.4 Networking of the RFID Readers For reliable coverage and real time localization of the patients, it is critical to properly network multiple RFID readers in the areas under surveillance. As demonstrated in Figure 5, we use one RFID reader for each room and adjust its antenna direction and length so that it is good coverage of the room without too much overlapping with readers in other rooms. At the main door of the department, we designate three specific readers to monitor the directions of movement of tags (leaving or entering the department).
4 Summary We have developed the active RFID based infant security system and tested in two hospitals. The results indicate that this system satisfies all the planed functionalities with several advantages: 1) Automatically tracks the status of infant (location and health situation) and initiates the multiple level alarm system when necessary. 2) Measures the body temperature in real time. 3) Simultaneously monitors multiple tags for efficiency. 4) The use of information technologies significantly improves the level of digitization in the hospital. 5) The system provides a cost-effective solution to hospitals in developing countries. Our future efforts would be improving the system mainly in two aspects: 1) the accuracy of abnormality report – reducing the false alarm rate while minimizing miss error; 2) optimizing the battery life in the RFID tag and sampling rate of body temperature.
References 1. 2. 3.
4. 5. 6.
7.
National Center for Missing and Exploited Children, http://www.missingkids.com Ni, L.M., Liu, Y., Lau, Y.C., Patil, A.P.: LANDMARC: Indoor Location Sensing Using Active RFID. Wireless Networks 10, 701–710 (2004) Wyld, D.C.: Preventing the Worst Case Scenario: An Analysis of RFID Technology and Infant Protection in Hospitals. The Internet Journal of Healthcare Administration 7(1) (2010), http://www.ispub.com/journal/the_internet_journal_of_healthc are_administration/volume_7_number_1_37/article/ preventing-the-worst-case-scenario-an-analysis-of-rfidtechnology-and-infant-protection-in-hospitals.html Guo, Z., Xu, M., Zhang, L.: Application of Radio Frequency Technology in Infant Protection System. China Digital Medicine 5(6), 60–62 (2010) (in Chinese) Cao, S., Zhao, F.: Research and Realization on the Model of Neonates Surveillance System Based on RFID. Microcomputer Applications 29(9), 89–94 (2008) (in Chinese) Luo, J., Li, R., Zeng, J., Yang, Y.: Research and Design on Blood Management & Tracking System Based on RFID Technology. Computer Engineering and Applications 23, 168–172 (2006) (in Chinese) SYRIS Technology Corp, http://www.syris.com/
Modified Segmentation Prony Algorithm and Its Application in Analysis of Subsynchronous Oscillation Yujiong Gu, Dongchao Chen, Tiezheng Jin, and Zhizheng Ren Key Laboratory of Condition Monitoring and Control for Power Plant Equipment of Ministry of Education, North China Electric Power University, Changping District, Beijing 102206, China [email protected]
Abstract. Based on traditional Prony algorithm (TPA) and segmentation PA (SPA), a modified SPA (MSPA) is proposed in this paper. By dividing the whole observation window into several segments according to certain rules and then utilizing data in all of the segments, the overall sample function matrix is constructed and the average error effect of the whole observation window is taken into account. Meanwhile, a new approach to extracting oscillation modes is presented by means of Kaiser window FFT analysis and a concept of energy class. The MSPA and time domain simulation method are integrated and used in analysis of subsynchronous oscillation (SSO). Their results can be confirmed and complemented by each other. Simulation results show that the MSPA not only enhances SPA’s computational efficiency and credibility, but also avoids the lost of oscillation modes existing in modified PA (MPA) which uses singular value decomposition to determine the rank of Prony model. Keywords: subsynchronous oscillation, segmentation Prony algorithm, time domain simulation method, oscillation modes.
1 Introduction The technologies of high voltage direct current (HVDC) transmission and series capacitor compensation have been widely used in power grid, which will make the subsynchronous oscillation (SSO) occur more often in interconnected power systems, and threaten the safety and economy of power grid. Prony algorithm (PA), which can be used to analyze simulation data as well as measured data and obtain the characteristic parameters of sampling signal easily, is applicable for SSO analysis. Most of the exiting PAs [1-5] can only be applied to part of sampling signal every time, so the results are random and inaccurate. An improved PA [6-7], which is called segmentation PA (SPA) in this paper, enhances the accuracy of the identified results by dividing the whole observation window into several segments and comparing the results of each segment obtained by PA to determine the optimal results, but it reduces the computational efficiency. More important, it is difficult to deal with and choose the results among different segments. Reference [8] reports a moving window PA (MWPA) which has stronger adaptability to noise and can be applied to long time range signals. However, M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 211–217. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
212
Y. Gu et al.
it is raised on the basis of the modified PA (MPA) [1] which uses singular value decomposition (SVD) to determine the rank of Prony model. Experimental results of this paper and reference [9] demonstrate that the order of the model acquired by means of SVD is low, so some concerned oscillation modes sometimes can not be obtained. In view of the problems mentioned above, a modified SPA (MSPA) based on traditional PA (TPA) and SPA is proposed in the paper. First, the derivation process of the proposed methodology and calculation method are described in detail. Then a new approach to extracting oscillation modes is presented by means of Kaiser window FFT (KW-FFT) analysis [4] and a concept of energy class. Finally the MSPA and time domain simulation method are integrated and used in analysis of SSO. The presented method is tested on the IEEE First Benchmark Model (FBM) for computer simulation of SSO [10].
2 MSPA PA is a method fitting a linear combination of exponential terms to a signal (N≥2p) [2]. Supposing that a signal is composed by p exponential functions, the mathematical model in discrete time function form is p
xn = ∑Ak e jθk en(σk + j2πfk )Δt
(1)
k =1
where n=0,1,…,N-1; k=1,2,…,p; p is the order; Δt is the sampling time-interval; Ak, fk, σk and θk are magnitude, frequency, attenuation factor and primary phase. Meanwhile, the expressions of residues and pole are defined as follows. bk = Ak e jθ k
z k = e (σ k + j 2 πf k ) Δ t
(2)
MWPA provides some usage for reference for the method proposed in the paper. Unlike MWPA, MSPA put forward here is based on the TPA [2-3] which is not dependent on SVD to determine the order. At the same time, MSPA has meaningful improvements on how to determine the order and extract oscillation modes. Assuming that N is the number of data points in the observation window, while the number of sampling data within each segment is same as m, and the identification order of each segment is same as p (p is great enough to ensure the identification accuracy for each segment).To ensure that it is completely applicable to effective signal, there must be several repetitive data points whose number is m-p between the adjacent sections. The serial number of each segment is i and the total number of the segments is j which can be calculated by the following formula. j = [( N − m ) / p ] − + 1
(3)
where the operator [ ]- means negative round number. For the ith segment similar with the derivation process of TPA [2-3], the forward differential equation can be obtained and expressed as p
∑a x h=0
i i h n+ h
=0
(4)
Modified Segmentation Prony Algorithm and Its Application
213
where xni are the data points in the ith segment, i=1,2,…,j; n=0,1,…,m-p-1; api=1. Sum the two sides of equations shown as the above equation in all of the segments, and then the following formula can be obtained. j
p
∑∑a i =1 h = 0
i h
x ni + h = 0
(5)
Because ahi (i=1,2,…,j; h=0,1,…,p) should remain unchanged for each segment, let them be equal to ah. Equation (5) can be transformed into equation (6). p
j
∑a ∑x h
h=0
i =1
i n+ h
=0
(6)
The following formula can be constructed by equation (6). X(1) ⎡ X(p) ⎤ ⎡ X(0) ⎢X(p +1)⎥ ⎢ X(1) X (2) ⎥ =⎢ −⎢ ⎢ # ⎥ ⎢ # # ⎥ ⎢ ⎢ X m X m p X m ( 1 ) ( 1 ) ( − − − p) − ⎦ ⎣ ⎣
" X(p −1)⎤ ⎡ a0 ⎤ ⎢ ⎥ " X(p) ⎥⎥ ⎢ a`1 ⎥ # # ⎥⎢ # ⎥ ⎥⎢ ⎥ " X(m−2)⎦ ⎣⎢ap−1⎦⎥
(7)
where X(n)= xn1+xn2+…+xnj; n=0,1,2,…,m-1. As shown by equation (7), the overall sample function matrix is constructed and the average error effect of the whole observation window is taken into account in the MSPA, which are different from the exiting ones. Using singular value decomposition and total least square method (SVD-TLS) [1-3] to solve the coefficients ah, zk can be obtained by solving the characteristic polynomial which is presented as equation (8). Z
p
+ a p −1 Z
p −1
+ " + a1 Z + a 0 = 0
(8)
The MSPA residues can be computed by SVD-TLS according to the following formula. ⎡ 1 ⎢ z ⎢ 1 ⎢ # ⎢ m −1 ⎣⎢ z1
1 z2
"
#
#
1 ⎤ ⎡ b11 ⎤ ⎢ ⎥ z p ⎥⎥ ⎢ b21 ⎥ = # ⎥⎢ # ⎥ ⎥⎢ ⎥ z mp −1 ⎦⎥ ⎣⎢b1p ⎦⎥
"
z 2m −1 "
⎡ x 10 ⎤ ⎢ 1 ⎥ ⎢ x1 ⎥ ⎢ # ⎥ ⎢ 1 ⎥ ⎣⎢ xm −1 ⎦⎥
(9)
In term of zk and bk1 (residues in the first segment), magnitude, primary phase, damping coefficient and frequency can be obtained on basis of the following formula. 1 ⎧ Ak = bk ⎪ θ = arctan Im(b 1 ) / Re(b 1 ) ⎪ k k k ⎨ z t σ = ln / Δ k ⎪ k arctan[Im(z k ) / Re(z k )] ⎩⎪ fk = 2πΔt
[
]
(10)
214
Y. Gu et al.
3 Selecting Parameters and Extracting Oscillation Modes According to the sampling theorem, the sampling frequency 1000 Hz is adopted in the analysis of SSO. The time length of each segment is set to 2 seconds. It is not necessary to make the time length of the observation window be too long. Here, the time length of the window 4~5 s is adopted and the failure period should be avoided. With regard to the rank p, a big value is assigned firstly, and the oscillation modes will be extracted later. By doing so, not only the complex process of determining the order is avoided, but also the identification accuracy is guaranteed. In practice, identification accuracy and efficiency should be taken into account comprehensively so as to determine an appropriate order. The rank 500 is temporarily adopted here because the simulations are offline and the demand of real-time is not high. Lots of interference components will emerge when p is assigned to a big value directly. The sampling signal is analyzed by KW-FFT method [4] in order to get the frequencies (FL, L=1,2,…) of the peak points, then the oscillation modes can be preliminary screened by equation (11). f k − FL ≤ C
(11)
where C is a constant, which could be 0.5~2 Hz according to practical needs. By means of making changes to the energy class defined in literature [5], the energy class of SSO modes is defined as m
E k = Ak2 ∑ ( e σ k sΔt ) 2 = s =1
Ak2 ( e 2 mΔtσ k − 1) 1 − e − 2 Δ tσ k
(12)
Both magnitude and attenuation factor are taken into account in formula (12). Near each FL, a group of fk can be obtained on basis of equation (11). Their energy class can be calculated by equation (12). And then, the mode whose energy class is the biggest among the group can be found out. It is just one of the oscillation modes.
4 Simulations and Results The study system is the FBM, whose wiring diagram and parameters are given in [10]. The system exhibits five torsional modes at frequencies 15.71 Hz, 20.21 Hz, 25.55 Hz, 32.28 Hz, and 47.75 Hz. The loading condition was: generator output of Pe=0.9 p.u., power factor of PF=0.9 lagging, terminal voltage of Vt=1.0 p.u., and XC=0.371 p.u.. It is assumed that the system is experienced by an instantaneous three phase short-circuit in the right of series compensation from 1.5 s to 1.5075 s. The simulation lasts 10 s and the time range of the observation window is from 2 s to 6 s. Using generator rotor speed deviation as sampling data, the analysis results by SPA (analyze each segment by TPA after segmenting), MPA, and MSPA are shown in the following tables (in which ‘—’ means that the mode is not obtained). The results in all of the tables show that the oscillation frequencies are calculated correctly. Results based on SPA are shown in Table 1, Table 2, and the front half part of Table 3. It should be noted that the results acquired by analyzing different segments are not very close, even the difference is quite big. The attenuation factor of
Modified Segmentation Prony Algorithm and Its Application
215
the fourth segment (4~6 s) is 0.195, which is quite different with the others (about 0.07) and will impact the precision of the final results. Meanwhile, considering the subjective factors existing in the process of conjoint analysis, the credibility of the results obtained by SPA is not very high. Table 1. The results of the first and second segments based on TPA
The first segment (2~4 s) Mode 1 Mode 2 Mode 3 Mode 4 15.92 20.28 25.52 32.29 0.068 0.486 0.015 -0.004
F/Hz
σ
The second segment (2.5~4.5 s) Mode 1 Mode 2 Mode 3 Mode 4 15.92 20.28 25.52 32.28 0.074 0.485 0.011 -0.001
Table 2. The results of the third and fourth segments based on TPA
The third segment (3~5 s) Mode 1 Mode 2 Mode 3 Mode 4 15.92 20.28 25.52 32.28 0.074 0.487 0.013 -0.004
F/Hz
σ
The fourth segment (3.5~5.5 s) Mode 1 Mode 2 Mode 3 Mode 4 15.92 20.28 25.52 32.28 0.077 0.487 0.012 -0.003
Table 3. The results of the fifth segment (4~6 s) based on TPA and MPA
The results based on TPA The results based on MPA Mode 1 Mode 2 Mode 3 Mode 4 Mode 1 Mode 2 Mode 3 15.92 20.28 25.52 32.28 15.94 20.28 — 0.195 0.485 0.011 -0.005 0.112 0.485 —
F/Hz
σ
Mode 4 — —
Table 4. The results of the observation window (2~6 s) based on MSPA
F/Hz
σ
Mode 1 15.92 0.079
Mode 2 20.28 0.489
Mode 3 25.53 0.016
Mode4 32.27 -0.001
The results calculated by MPA are presented in the latter part of Table 3. Compared with the results acquired by TPA, it is obvious that the last two modes are not obtained. Table 4 shows the results computed by MSPA. It is clearly indicated that the mode at 20.3 Hz has the positive maximum attenuation factor, so it is the most dangerous mode, next are the modes at 15.9 Hz and 25.5 Hz. The absolute value of the attenuation factor of the mode at 32.3 Hz is only 0.0012, which is close to the critical damping. Obviously, the MSPA enhances SPA’s computational efficiency by reducing the TPA analysis number of times and avoiding the the process of conjoint analysis. The results in different tables show that the MSPA results accord with the general trend of TPA results in all of the segments. In other words, the credibility of the final results is improved. What’s more, unlike MPA, all of the concerned oscillation modes are obtained by using MSPA.
Y. Gu et al.
Amplitude(p.u.)
216
0.02
15.9 Hz
0 -0.02
Amplitude(p.u.)
0
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
2
3
4
5 t(s)
6
7
8
9
10
0.2 20.3 Hz 0 -0.2
0
1
Amplitude(p.u.)
-3
2
x 10
25.5 Hz 0 -2
0
1
Amplitude(p.u.)
-3
2
x 10
32.3 Hz 0 -2
0
1
Amplitude(p.u.)
Amplitude(p.u.)
Amplitude(p.u.)
Amplitude(p.u.)
Fig. 1. The generator rotor speed deviation response curves in oscillation modes.
5 15.9 Hz 0 -5
0
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
2
3
4
5 t(s)
6
7
8
9
10
50 20.3 Hz 0 -50
0
1
0.5 25.5 Hz 0 -0.5
0
1
0.5 32.3 Hz 0 -0.5
0
1
Fig. 2. The torque between LPA and LPB response curves in oscillation modes.
Mechanical and electric parameters containing SSO information such as speed deviation and torque could be obtained by using PSCAD/EMTDC. And then, the time-domain waveforms in different oscillation modes can be acquired. Due to space limitations, only the generator rotor speed deviation and the torque between LPA and LPB response curves in oscillation modes are given here (as shown in Fig. 1 and Fig. 2). It should be noted that the first three curves in each figure are divergent. The curves corresponding to the mode at 20.3 Hz diverge fastest, and then there are the modes at 15.9 Hz and 25.5 Hz. The amplitude of the curves corresponding to the mode at 32.3 Hz in each figure is nearly a constant. It is shown clearly in Fig. 1 and Fig. 2 that the results in Table 4 are correct and credible.
Modified Segmentation Prony Algorithm and Its Application
217
5 Conclusions In this paper, a MSPA based on TPA and SPA is proposed to solve the problems of the exiting PAs. It is worth noting that the MSPA and domain simulation method are integrated and used in analysis of SSO, whose results can be confirmed and complemented by each other. The main conclusions are got as follows: (1) Because the overall sample function matrix is constructed and the average error effect of the whole observation window is taken into account, the MSPA enhances SPA’s computational efficiency and the credibility of results. (2) The MPA, the order of which is determined by use of SVD, can not obtain all of the concerned modes. With a new method for determining the order and extracting oscillation modes, this problem is solved by the MSPA. (3) Simulation results based on the FBM show that the method presented here is suitable for the analysis of SSO and superior to the traditional ones to some extent. (4) Being proposed on basis of TPA, MSPA is very sensitive to noise. How to remove noise from measured data efficiently needs to be researched later. Acknowledgments. This research is supported by the Program for New Century Excellent Talents in Univercity (NCET-08-0769) and the National Natural Science Foundation of China (No. 51075145).
References 1. Xiong, J., Xing, W., Wan, Q.: Identification of control modes in low frequency oscillation analysis by Prony method. Journal of Southeast University (Natural Science Edition) 38, 64–68 (2008) 2. Zhang, X.: Modern Signal Processing. Tsinghua University Press, Beijing (2002) 3. Sun, X., Gao, M., Liu, D., Hou, X., Xuan, R.: Analysis and Processing of Electrical Fault Signals With Modified Adaptive Prony Method. Proceedings of the CSEE 30, 80–87 (2010) 4. Ma, C., Wang, H., Meng, Y., Xu, Y., Xie, T.: Research on Integrated Monitoring Algorithm of Low Frequency Oscillation. Power System Technology 32, 31–35 (2008) 5. Deng, J., Tu, J., Chen, W.: Identification of Critical Low Frequency Oscillation Mode in Large Disturbances. Power System Technology 31, 36–41 (2007) 6. Dong, H., Liu, D., Zou, J.: Analysis of Power System Low Frequency Oscillation Based on Prony Algorithm. High Voltage Engineering 32, 97–100 (2006) 7. Wu, C., Lu, C., Han, Y., Wu, X., Liu, Y.: Comparison of applicability in low frequency oscillation mode identification between Prony and ARMA. Electric Power Automation Equipment 30, 30–34 (2010) 8. Ding, L., Xue, A., Li, J., Wang, J., Han, F., Wang, M.: A Moving-window Prony Algorithm for Power System Low Frequency Oscillation Identification. Automation of Electric Power Systems 34, 24–28 (2010) 9. Barone, P., Massaro, E., Polichetti, A.: The segmented Prony method for the analysis of non-stationary time series. Astronomy and Astrophysics 209, 435–444 (1989) 10. IEEE Subsynchronous Resonance Task Force: First Benchmark Model for Computer Simulation of Subsynchronous Resonance. IEEE Transactions on Power Apparatus and Systems 96, 1565–1572 (1977)
Group Control Strategy of Welding Machine Based on Improved Active Set Algorithm Chen Shujin and Zhang Junjun Provincial key Lab of Advanced Welding Technology, Jiangsu University of Science and Technology, Zhenjiang, China, 212003 {chenshujin7120,zjj8874}@126.com
Abstract. In order to solve the group optimal control problem on welding machine of shipyard, this paper established the optimization model of operating parameters. Optimization object includes minimum the average waiting time of welding, the largest number of online welding machine and minimum transformer energy consumption. Group control system has nonlinear, multiconstraint characteristics, but the inequality constraints in this study are linear. When quadratic programming problem was solved by improved active set algorithm, the overall control strategy was obtained, which can achieve objective optimization by priority scheduling, multi-step optimization strategy, guaranteeing the production quality at the same time. This research provides a theoretical basis and foundation technology for the stable operation of welding machine group. Keywords: Welding machine, Group control, Active set algorithm.
1 Introduction Due to disorder of all welding facilities in block assembly shop of ship-building, power system is greatly attacked, which consequently influences welding quality to a large degree. So it is necessary to control welding machine group so as to stabilize power system and guarantee welding quality. At present, there is no report about the study on group-control over welding machines in yard. However, some study on group-control over spot welding machines is valuable for reference. For example, Cui built a group-control system for resistance welding machines based on serial communication techniques[1]; Cheng studied a networking control system for resistance welding machines based on CAN-bus[2]; Wang set a simple group-control system for resistance welding machines[3]. Among all of the above studies, defect is focused on that they centered on realization of system hardware and simple integration of facilities, few of which studied group-control algorithm. As in welding process parameters of welding machines and power system is unknown, former research just set welding machines of limited power rigidly according to rated power, carrying out tolerance control. Group-control system for welding machines aims to solving complicated, nonlinear and multiple constraints optimization[4]. Therefore, to design a reasonable M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 219–226. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
220
C. Shujin and Z. Junjun
group-control algorithm is the key problem in control system. To solve this problem, intelligent methodology such as artificial neural network, adaptive control techniques is used successively[5-6]. But artificial neural network has the problem of convergence and generalization; the constraints of system affects the implementation of adaptive algorithms[7]. To design group-control algorithm, this paper creatively applies active set optimization theory in group-control model according to production reality in welding shops of yard and puts forwards detail control strategies. 1.1 The Structure of Welding Machine Group Control System The structure of welding machine group control system is shown in Figure 1.
Master controller
CAN-Field bus
Welder
Welder
Welder
Welder
Welder
Welder
…
Fig. 1. Schematic diagram of welding machine group control system
In the group control system, a large number of welding machine and the master controller were connected through the CAN bus, the master controller is responsible for communication with each node, collecting information of parameters and status of all nodes in the network. After the state judgment of whole network, the master respond to the operation request of each welding machine. Because CAN bus has strong anti-interference, high reliability, it is suitable for large scale welding machine group control field, and can meet the requirements of long distance communication.
2 Group Control Model The welding equipments in the system have same three-phase welding power supply, and the three-phase power is balanced when the system is not powered. The system has large number of high power welding machine, welding specifications for each welding machine are not identical, welding nodes online are working with asynchronous, so the three-phase power supply will be unstable and adversely affected by voltage fluctuations, which may affect the welding quality in severe cases. Therefore, the group control system must ensure that the power fluctuations within a certain range in order to avoid affecting the quality of welding,
Group Control Strategy of Welding Machine Based on Improved Active Set Algorithm
221
To simplify the difficulty of modeling, make the following assumptions: specification of the welding machines and welding parameters of welding machine itself are known; assuming there is no welding fault interruptions; allow welding power over the total as a percentage of the total capacity of the transformer, overload rate is set to 10%. There are three main parameters: the number of online welding machine, the average waiting time of welding machine, the transformer energy consumption. The input parameters of master controller include network parameters, welding specifications, parameters of machine own, number and distribution of welding machine and so on. Welding specifications which mainly refers to the effective welding current and welding time, network parameters mainly refers to the power capacity, apparent power, welding parameters mainly refers to their apparent power welder, welding machine efficiency. Output parameter is the online number of welding machine and the power factor compensation capacitors. 2.1 The Probability of Synchronous Online of Welding Equipments The more the number of online welding machine means the higher efficiency. If not take into account other external factors, at any time k, the number of online welding nodes is a random event, its distribution meet the binomial law, the probability of synchronous online is the following:
PNn = CNn F n (1 − F ) N − n =
N! F n (1 − F ) N − n ( N − n )! n !
(1)
2.2 The Average Waiting Time of Welding Machine
AWT (Average Waiting Time) refers to the average time spent in waiting allow welding instruction for all welding machine, it is an important indicator to evaluate the performance of group control algorithm. Let n is number of online welding machine, the AWT is calculated as: n
∑ WT ( k ) AWT =
(2)
k =1
n
WT ( k ) refer to the application time one machine takes, including Welding cycle T, the network delay time. When the application exceeds the 10% of total power capacity, WT ( k ) can be expressed as: WT ( k ) = TPN = n
TN ! ( N − n )! n !
F (1 − F ) n
N −n
(3)
where F is the duty cycle for the welding machine, N is total number of welding machine.
222
C. Shujin and Z. Junjun
When the application phase load to meet the application requirements, WT ( k ) is:
WT ( k ) = Timed
(4)
Where Timed is communication delay time of network. 2.3 Rate of Transformer Capacity Utilization
To avoid serious overload or no load of transformer, for simplicity, assume that all the welding application can get response, and then the total welding power is the following: n
W = ∑ w( k )η ( k )
(5)
k =1
Where w( k ) and η ( k ) are the power consumption and efficiency respectly. Establish Quadratic objective optimal function as the following: J = uT Eu + qu
(6)
Where u = [ u1, u 2, u 3] = [1 n , AWT ,1 W ] , q = E [ c1, c 2, c 3] ,q is Weighting coefficient column, E is unit Matrix. When the system is running, the maximum number of line welder, the waiting time for online application, total welding power all have constraints: 1 N ≤ u1 ≤ 1 , T
T
u 2 ≥ 1 NT , u 3 ≥ (10 / 11) Wmax , these constraints can be written in the following
formula: u≥R
(7)
where R = [1 N ,1 NT , (10 / 11) W ] = [ r1, r 2, r 3] T
T
max
Obviously, formula (6) and (7) formed a quadratic programming problem.
3 Optimization Strategy Considering quadratic programming problem which is consist of formula (8):
⎧J= ⎨ ⎩s.t.
f ( u ) = u Eu + qu T
u ≥ ri
i ∈ IC
(8)
Where I C is the limited index set of inequality constraints. The inequality constraints in this study is linear, so the active set algorithm is fit for solving, the active set algorithm has a strong ability to search along with constraint border. During the solving process, we should estimates the constraint index step by step, after the amendment, the original question is equivalent to the corresponding
Group Control Strategy of Welding Machine Based on Improved Active Set Algorithm
223
equation constraint problems. So we can obtain the solution by solving a series of equality constraints. During each iteration process, we can get search direction by solving an equation constraint of the problem. Because of the linear search process, those non-functional inequality constraints can ensure the feasibility of iterative sequence. We introduce the Lagrange operator λi , and then the Lagrange function is the following: L ( u, λ ) = u Eu + q u − T
T
∑ λ (u − r ) i
i
(9)
i∈I C
We define the active set U (u * ) when u * is the optimize solution. U ( u ) = {i ∈ I C u ≥ r} *
(10)
From formula above, we know that E is half positive definition matrix, so quadratic programming is convex, that is any partial optimal solution is the overall optimal solution, and all the iterative points are feasible. So the solution of original problem is also the solution of the below formula:
⎧ min ⎨ ⎩s.t.
u Eu + q u T
T
u = ri
(11)
i ∈ U (u ) *
We define g (u) = ∇f (u) = Eu + q , iteration direction is p k = u − u k .Then the expression of quadratic programming problem is the following:
⎧ min ⎨ ⎩s.t.
p Ep + q p T
T
p=0
(12)
∀i ∈ wk
When the solution u * is obtained, Lagrange operator λ* is satisfied the below relation: Eu + q = *
∑λ
*
(13)
i
i∈ I C
If p k = 0 and λ* ≥ 0 , u k is the Kuhn-Tucker point. If p k ≠ 0 , but the solution is not feasible, then u k +1 = β k p k + u k
(14)
Where β k is step parameter, β = min {β ,1} . k
max
⎧r − u ⎩ p
β max = min ⎨
i
k
k
⎫ ⎭
pk < 0, i ∉ wk ⎬
(15)
224
C. Shujin and Z. Junjun
Based on the analysis above all, the main steps of solving the problem are the following: Step 1. Give the initial point u 0 , define the active set of system U (u * ) , ε > 0 k =1. Step 2. Solving the problem (12), if p k < ε , turn to step 3, else turn to step 4.
,
Step 3. Calculate λ* which satisfied formula (13), choose λ*i = min{λi i ∈ wκ }. If
λ*i ≥ 0 , ∀i ∈ wk ∩ U (u ) , then u k is approximate optimized solution. If λ*i < 0 , delete the relevant constraint from wk , turn to step 6. Step 4. Calculate β k , then u k +1 = β k p k + u k . Step 5. If α k < 1 , add the relevant constraint into wk , then turn to step 6. Step 6. k = k + 1 , turn to Step 2.
4 Experimental Results Ship welding workshop is equipped with SZ9-1600/10 transformer, welding equipment such as single-phase, three-phase CO2 welding machine, are connected to power line by the triangle method. Then the group control experiments on 120 sets of welding equipment were carried out. In order to achieve reactive power compensation, and avoid fluctuations of power factor, voltage and current, welding system on the two-phase power were compensated by the use of three-phase delta connection imbalance compensation system. After the operation application of each welding machine, the number of online welding machine is calculated by the master controller according to the optimization algorithm, power factor compensation is also realized based on the upload parameters of each welding machine. 440
1 0.95 3
400
1
PF
voltage(V )
420
0.9
380 0.85
360 2 340
1
5
9
13 17 time(h)
21 24
Fig. 2. Voltage curve of 24 hours power supply
0.8 1
4 5
9
13 17 time(h)
21 24
Fig. 3. Power factor curve of 24 hours
As shown in Figure 2, curve 1 and 2 is the voltage curve of different times in a one day, respectively, curve 1 represents the voltage curve using the optimized algorithm,
Group Control Strategy of Welding Machine Based on Improved Active Set Algorithm
225
curve 2 represents the voltage curve when optimization algorithm is not used. Figure 2 also shows that, the average supply voltage workshop was increased 1.1% and reached 394V after group optimization controlling.There are two troughs on the curve: 10-11 points in the morning and afternoon between 3-4 points, the maximum voltage drop of two stages appeared at the same time in these two stage. But the voltage return to the maximum in at about midnight, this indicating that welding work had stopped, we can call this stage idle time. The power factor curve of different times in a day is shown in Figure 3. Curves 3 and 4, respectively, reprensent using the optimized algorithm and optimization algorithm is not used.through controlling the number of on-line capacitance and welding machine, dynamic power factor compensation is achieved, the average power factor increased to 90%, 95% transient, about 4% higher than curve 4.
5 Conclusion In this paper, we have successfully controlled the number of online welding machine under the condition of constrained input and output of network group control system. The optimization model considered n and AWT, experiment show it is simple and effective. The results of the experiment also indicate that CAN-Fieldbus technology is fit for welding group controlling, the perfect performance of this group control system was realized by the active set algorithm, the entire control process followed the principle of continuous and smooth. The active set algorithm is fit for solving the inequality constraints problem in this text; it has a strong ability to search along with constraint border. During each iteration process, the original question is equivalent to the corresponding equation constraint problems. Because of the linear search process, those non-functional inequality constraints can ensure the feasibility of iterative sequence. Finally, the results of the experiment indicate that this method is simple and feasible. If this method is combined with the other control technology, it will reduce the dependence of electricity demand of the production, reduce energy consumption and increase energy efficiency.
References 1. 2.
3. 4.
Cui, y., Zhao, j.: Computer group control system for resistance welding. Welding Technology 35(5), 50–51 (2006) (in Chinese) Cheng, H., Yu, X., Guo, J., Yin, G.: Development of Networking System and GroupControl System for Resistance Welding Machines. Modern Electronics Technique 7, 148–150 (2008) (in Chinese) Wang, R.: The resistance welding machine control system based on microcontroller. Welding Technology 39(12), 41–43 (2010) (in Chinese) Lin, T., Chen, H.B., Li, W.H., et al.: Intelligent methodology for sensing, modeling, and control of weld penetration in robotic welding system. Industrial Robot 36(6), 585–593 (2009)
226 5.
6. 7.
C. Shujin and Z. Junjun Xin, L., Xu, Z., Zhao, M., et al.: Analysis and research on mismatch in tailored blank laser welding for multi-group. In: Proceedings of the 2008 IEEE International Conference on Information and Automation, ICIA 2008, pp. 1034–1039 (2008) (in Chinese) Sagues, P.: Adaptive control techniques advance automatic welding. Welding Journal 89(8), 26–28 (2010) Wylie, N., Wylie, S.R., Cullen, J.D., et al.: NDE system for the quality control of spot welding in the automotive industry. In: Proceedings IEEE Sensors Applications Symposium, SAS 2010, pp. 73–78 (2010)
Simulation and Experiment Research on the Effects of DC-Bias Current on the 500kV Power Transformer Feng-hua Wang1, Jun Zhang1, Cheng-yu Gu2, and Zhi-jian Jin1 1
Key Laboratory of Control of Power Transmission and Conversion, Ministry of Education, Department of Electrical Engineering, Shanghai Jiaotong University, Shanghai 200240, China {fhwang7723,junzhang,zjjin}@sjtu.edu.cn 2 East China Electric Power Test & Research Institue, Shanghai 200437, China [email protected]
Abstract. In the paper, the effects of DC-bias current on the 500kV power transformer with three-phase five-limb core structure are investigated by calculation and experiment. First, the coupling field-circuit model is applied to simulate the DC-bias characteristics of power transformer, where the traditional magnetic circuit models are replaced by Maxwell's equations in the magnetic circuit. Then the no-load DC-bias experiment is made to investigate the endure ability of 500kV power transformer. It is seen that the calculated results are agreed well with the experimental results. The no-load currents of the 500kV power transformer are distorted and the THD increases under DC-bias. The even harmonic is increased first and then decreased with the increasing of DC injected current. The obtained results are significant for the manufacturer of power transformer and operation staff of power system. Keywords: power transformer, DC bias, magnetizing current, harmonic.
1 Introduction When the monopolar operation with ground return is adopted or the bipolar operation with unbalanced currents is occurred in the High Voltage Direct Current (HVDC) systems or the phenomenon of magnetic storm is occurred, DC currents or the geomagnetic induced currents (GICs) which are essentially direct currents due to its extremely low frequency are found to enter and leave the directly earthed neutrals of high-voltage star-connected windings, causing a DC-bias in the magnetizing current of the transformer. Those DC currents cause the transformer core to saturate during the half cycle in which the bias current is in the same direction as the magnetizing current. Consequently, some undesirable effects such as increased noises, excessive core vibrations and overheating etc are brought out, which poses a potential threat for the integrity and longevity of the transformers [1]. In the past several years, many researchers have paid more attentions to analysis the performance of power transformer influenced by DC-bias through the simulation studies such as the coupled field-circuit method [2] where the electric circuit equations and magnetic circuit equations are solved together and the finite element M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 227–234. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
228
F.-h. Wang et al.
method [3] or through the experimental studies [4] and some important conclusions have been obtained. However, three-phase five-limb power transformer is always adopted in the high voltage and large capacity power transmission. Due to the large volume and high cost, it is difficult to make the DC-bias experiment in the 500kV power transformer. Moreover, the foundation of magnetic circuit model is a hard work because of the complex magnetic structure and few work has been done. In the paper, the coupled field-circuit method is applied to simulate the DC-bias characteristics of a 500kV power transformer, where the traditional magnetic circuit models are replaced by Maxwell's equations in the magnetic circuit. The no-load DCbias experiment is made to investigate the endure ability of 500kV power transformer. The results are significant for the manufacturer of power transformer and operation staff of power system.
2 Description of the Calculation Model of 500kV Power Transformer under DC-Bias The DC current is flowed into the AC system through the neural point of the two AC power transformer with star-grounded connection. Fig.1 is the schematic diagram of the coupling model of electric and magnetic circuits of a three-phase five-limb power transformer under dc current inrush. In the figure, us1, us2 and us3 are the three-phase power supply, B1, B2 and B3 are the magnetic induction intensity of three-phase core column, B4 and B5 are the magnetic induction intensity of upper return yoke, B6 and B7 are the magnetic induction intensity of low return yoke, i1, i2 and i3 are the primary current of three-phase winding, ZL1, ZL2 and ZL3 are the three-phase load reactance, e1(t), e2(t) and e3(t) are the electromotive force of three-phase winding to the neutral line, U0 is the DC voltage. 2.1 Electric Circuit Equations According to the electrical circuit model shown in Fig.1, the following equations are satisfied with the loop constituted by each of the three phases and the neutral line:
usj (t ) + U 0 − R j i j (t ) − L j
di j (t ) dt
= e j (t ) = − N
d φ j (t ) dt
j = 1, 2,3
(1)
where, φ j ( j = 1, 2,3) are the magnetic flux of three-phase core column separately, R j ( j = 1, 2,3) are the linear resistances of the transmission line and the three-phase windings and R1=R2=R3, L j ( j = 1, 2,3) are the three-phase winding inductance and L1=L2=L3, N is turn of the primary winding. Equation (1) could also be represented in matrix form with the rearrangement. [Q ] = R[ I ] + L[ I ][di / dt ] + N [ I ][dφ / di ]
(2)
where, [Q] is the summer of the AC power supply and DC voltage, [I] is the identity matrix.
Simulation and Experiment Research on the Effects of DC-Bias Current
i1
i3
i2 us 2
us1
229
us 3
e2 (t )
e1 (t )
e3 (t ) U0
B1
B3
B2
e1 (t ) B5
B4
B6
B7
ZL2
Z L1 Z L3
Fig. 1. Coupling model of the electric circuit and magnetic circuit for a three-phase five-limb power transformer under DC-bias
2.2 Magnetic Circuit Equations
Maxwell's integral equations, which are suitable for any situation in electromagnetic fields, are represented as follows: G G G G G ∂D G (3) v∫ l H ⋅ dl = ∫ J ⋅ dS + ∫ ∂t ⋅ dS G
G
v∫ B ⋅ dS = 0
(4)
The schematic diagram of magnetic circuit of three-phase five-limb power transformer is shown in Fig.2. Here, H1, H2 and H3 are the magnetic field intensity of three-phase core column, H4 and H5 are the magnetic field intensity of upper return yoke, H6 and H7 are the magnetic field intensity of low return yoke. For the low frequencies in the core, the displacement current is ignored, so the second term on the right side of Eq.(3) is ignored. By applied the Eq.(3) to the magnetic circuit loop , , and marked in Fig.2, the following equation can be obtained.
①
②③ ④
g j ( H1 , H 2 , H 3 , H 4 , H 5 , H 6 , H 7 , i1 , i2 , i3 ) = 0
j = 1, 2,3, 4
(5)
where, g is the function of magnetic field intensity, winding current and the length of magnetic circuit.
230
F.-h. Wang et al.
H6
H7
H4
H5 H1
H2
H3
Fig. 2. Magnetic circuit of three-phase five-limb power transformer
Similarly, by applied the Eq.(4) to the three independent magnetic circuit node in Fig.2, then we have h j ( B1 , B2 , B3 , B4 , B5 , B6 , B7 ) = 0
j = 1, 2,3
(6)
where, h is the function of magnetic induction intensity and section area of the core. The single-value curve used for expressing the nonlinearity of each power transformer core [5] is represented as follows. B = f (H )
(7)
Substituting Eq.(7) into variable B of Eq.(6), the seven nonlinear equations are formed with Eq.(5). Finally, the three nonlinear equation including three variable H1, H2 and H3 are obtained. g j ( H1 , H 2 , H 3 , i1 , i2 , i3 ) = 0
j = 1, 2,3
(8)
Through programming with the iterative algorithm, the waveforms of no-load current and winding current of three phases are obtained. Then, the magnetic field intensity and flux density under DC-bias are found using Eq.(5) and Eq.(6).
3 DC-Bias Experiment of 500kV Power Transformer The DC-bias experiment are made in two 500kV power transformer connected in parallel form and the connection diagram is figured in Fig.3. The type of test transformer is YSFP-31500/220. In the figure, Tr1 and Tr2 is the two test power transformer with same structure, G is the generator. The DC source is composed of DC source and M&C system, where the M&C system is the measurement and control system to measurement the magnetic current of power transformer through Hall current sensor and to control the output of direct current of DC source [4]. The direct current output from the M&C system is applied to simulate the DC component in the earth flowed into the operated transformer. By adjusted the values of direct current in the M&C system, the distortion degree of magnetizing current and the noise of test transformer can be observed and consequently to estimate the ability of test
Simulation and Experiment Research on the Effects of DC-Bias Current
231
transformer to endure the DC-bias. Meanwhile, the sound intensity of test transformer is measured through the sound level meter which is placed near the test transformer to investigate the noise variations of test transformer.
Fig. 3. Connection diagram of DC-bias experiment of 500kV power transformer.
4 Results and Discussions 4.1 Calculation Results
Fig.4 and Fig.5 is the calculated results of the no-load current and magnetic flux under different DC voltage for 500kV power transformer based on the coupling fieldcircuit method. It is seen that the three-phase no-load current are distorted and their peak values become larger with increasing DC voltage. The magnetic flux move forward with increasing voltage which is implied the DC component in the power transformer. Using the FFT, the harmonic distributions of three-phase exciting currents with different DC bias are shown in Tab.1, Tab.2 and Tab.3. It is seen that the even harmonic and odd harmonic and THD all increase with DC voltage.
(a) U0=0
(b) U0=100
Fig. 4. Waveforms of excitation current of 500kV transformer under different DC voltage.
232
F.-h. Wang et al.
(b) U0=100
(a) U0=0
Fig. 5. Waveforms of magnetic flux of 500kV transformer under different DC voltage. Table 1. Harmonic characteristic of excitation current of A phase under different DC voltage. U0(V) 0 50 100 200
First 0.4551 0.4655 0.4919 0.6023
Second 0.0048 0.0416 0.0838 0.2065
Third 0.0476 0.0522 0.0670 0.1494
Fourth 0.0028 0.0263 0.0532 0.1372
Fifth 0.0461 0.0509 0.0636 0.1233
Sixth 0.0005 0.0055 0.0162 0.0679
Seventh THD(%) 0.0122 14.8581 0.0145 19.2292 0.0214 28.2089 0.0575 54.7439
Table 2. Harmonic characteristic of excitation current of B phase under different DC voltage. U0(V) 0 50 100 200
First 0.4781 0.4908 0.5162 0.5690
Second 0.0098 0.0572 0.0986 0.1565
Third 0.0281 0.0293 0.0294 0.0172
Fourth 0.0048 0.0299 0.0574 0.1037
Fifth 0.0485 0.0522 0.0601 0.0749
Sixth 0.0013 0.0044 0.0025 0.0146
Seventh THD(%) 0.0129 12.2590 0.0165 18.2980 0.0219 26.0107 0.0324 36.2536
Table 3. Harmonic characteristic of excitation current of C phase under different DC voltage. U0(V) 0 50 100 200
First 0.4564 0.4675 0.4980 0.2027
Second 0.0098 0.0440 0.0901 0.6263
Third 0.0490 0.0545 0.0731 0.2292
Fourth 0.0063 0.0281 0.0580 0.1708
Fifth 0.0466 0.0518 0.0666 0.1551
Sixth 0.0020 0.0066 0.0193 0.1377
Seventh THD(%) 0.0125 15.2951 0.0151 19.9317 0.0235 30.0605 0.0800 59.3634
4.2 Experimental Results
Fig.6 is the experimental results of the no-load current under different DC current for 500kV power transformer. It is seen that the no-load current are distorted clearly and their peak values become larger with increasing DC current. The harmonic distributions of exciting currents are shown in Tab.4. It is shown that the THD increases with DC current. The odd harmonic increases with DC current, while the
Simulation and Experiment Research on the Effects of DC-Bias Current
233
even harmonic increases firstly and then decreases, which may imply the deep saturation of the core. At the same time, the sound intensity is 59dB measured by the sound level meter with no DC current. When the injected DC current is 4A, the sound intensity is 82dB.
(a) Idc=3A
(b) Idc=4A
Fig. 6. Waveforms of excitation current of 500kV transformer under different DC currents. Table 4. Harmonic characteristic of excitation current of A phase under different DC current. Idc(A)
First
Second
Third
Fourth
Fifth
1 2 3 4
1 1 1 1
0.0050 0.0128 0.0137 0.0011
0.046 0.059 0.093 0.761
0.001 0.013 0.026 0.003
0.0006 0.029 0.028 0.325
Sixth 0.0001 0.0044 0.016 0.003
Seventh THD(% ) 0.0007 4.58 0.0084 6.883 0.020 10.946 0.0242 83.947
5 Conclusion The coupling field-circuit model is applied to simulate the DC-bias characteristics of a 500kV power transformer, where the traditional magnetic circuit models are replaced by Maxwell's equations in the magnetic circuit. The DC-bias experiments are made in the 500kV power transformer with the developed DC controlled current source to simulate the DC component in the earth and to the power transformer experimentally. It is seen that the calculated results are agreed well with the experimental results. The no-load current of the three-phase five-limb transformer is distorted clearly and the THD increases under DC-bias. The variation of even harmonic is increasing firstly and then decreasing, which implies the variation of B-H curve. Therefore, it is necessary to model the B-H curve carefully including the linear segment and saturation segment to investigate the DC endure ability of 500kV power transformer by simulation. This is our next works.
234
F.-h. Wang et al.
References 1.
2.
3. 4. 5.
Cao, L.: Study on the Influence of DC biasing Current on Power Transformer Magnetization Characteristics. Ph. D. thesis, Department of Electrical Engineering. Tsinghua University, Beijing (2007) Cao, L., Zhao, J., He, J.L.: Research on the Withstand Performance of Three-phase Threelimb Power Transformer under DC Current Biasing. High Voltage Engineering 33, 71–75 (2007) Tong, L.: Research of DC Magnetic Bias on 500kV Auto-transformer. Master Thesis, Department of Electrical Engineering. Shanghai Jiaotong University, Shanghai (2007) Wang, F.H., Zhang, J., Jin, Z.J.: Experimental Study of the Effects of DC-bias Current on the Power Transformer. In: APPEEC 2010, pp. 1–4. IEEE Press, New York (2010) Pedra, J., Sainz, L., Corcoles, F.: PSPICE Computer Model of a Nonlinear Three-phase Three-legged Transformer. IEEE Trans. Power Del. 19, 200–207 (2004)
A HID Lamp Model in Simulink Based on the Principle of Electric Arc Xiaohan Guan* and Zhongpeng Li College of Information Engineering, North China University of Technology 5#, Jinyuanzhuang Road, Shijingshan District, Beijing, China, 100144 [email protected]
Abstract. A dynamic conductance model of HID lamp, based on the classical principle of electric arc, will be established in this paper. Followed by the model and corresponding results, this type of HID lamp model will be simulated at low and high frequency in Simulink. The V-I characteristic, the relationship of current and voltage output, also the conductance of HID lamp model will be measured in this paper. It shows that the proposed model faithfully emulates external electrical properties of HID lamp at low and high frequency. Keywords: HID lamp; model; Simulink; electric arc
1 Introduction With the development of Computer-Aided Design, simulation tools are more significant in the power electronic systems currently. In the design process of electronic ballasts, the electronic ballast circuit would be seriously considered, and then simulated in order to test the feasibility and optimization of the circuit. Therefore, an equivalent model of HID lamp must be provided to facilitate the simulation. Matlab/Simulink is the high-performance numerical software of Mathworks Company in United States in the mid-80s in 20th century. After developing within three decades, Matlab has become a basic mathematical tool of mathematical statistics, automatic control theory, dynamic system simulation and many other courses. In fact, there are many articles on HID lamp model in Pspice. However, the model of HID lamp in Simulink is still less. Therefore, in the second section of this paper, a new dynamic conductance model of HID lamp based on the principle of electric arc will be established. The model combined the mathematical model proposed by Cassie and Mayr. This model will be simulated at low and high frequency in Simulink. Simulation results show that the model in this paper can simulate the external electrical characteristics of HID lamp and verify the *
This work is supported by Beijing Education Committee Technology Development Plan Project (KM200810009011) and Funding Project for Academic Human Resources Development in Institutions of Higher Learning under the Jurisdiction of Beijing Municipality PHR201008185.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 235–242. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
236
X. Guan and Z. Li
applicability of the model. The model of this paper can provide numerous guidance and reference value for electronic ballasts.
2 Establishment of the New Dynamic Conductance Model Before a model of HID lamp is established, it is extremely significant to understand some basic knowledge of the HID lamp’s electrical properties, such as different electronic properties [1] of HID lamp at low and high frequency. In the other word, when the low frequency sinusoidal current is treated as input, such as tens of Hertz, lamp voltage will cause the phenomenon of re-ignition. From another view, when the sinusoidal current is changing around zero, the voltage will increase suddenly. This phenomenon is similar as beginning ignition. And with the current increase, the voltage reaches maximum value dramatically and followed by decreasing slowly to the normal level. This phenomenon occurs periodically as the sinusoidal current. So its V-I characteristics show a classic hysteresis phenomenon. When the input current is a high-frequency sine wave, for instance, tens of kHz, current and voltage of lamp are sinusoidal and at the same phase. The V-I characteristics at this time is a linear relationship, however, the slope is not fixed. As it can be seen, HID lamp model should be designed to simulate these two characteristics simultaneously. Since discharge process of HID lamp is an electric arc, researchers had carried out much study of electric arc followed by lots of results. The study of HID lamp arc can be referenced from the research of switch arc mathematical model. The classical Cassie mathematical model established in 1939 and Mayr mathematical model proposed in 1943, based on simplifications of principal power-loss mechanisms and energy storage in the arc column, have been recognized for many years. In the Cassie model, Cassie assumed that the current density in an electric arc model is a constant, so the cross-section of the arc varied directly with the arc current. The resistivity and stored energy per unit volume are constants. Based on these basic assumptions, the famous Cassie arc model can be obtained, showed in equation (1). This model has a drawback that the modeled arc cannot be ceased. It describes the behavior of the arc when the current is strong; however it is not suitable for the description of arc characteristics when the arc-current is near to zero. θ
d ln G v 2 = 2 −1 dt EO
(1)
In Mayr’s model, Mayr assumed that the heat loss occurs from the outer arc only. Also the conductance of the arc changed with the energy stored in it. The Mayr mathematical equation is
θ
d ln G i2 = −1 dt PO G
(2)
This equation does allow the arc to cease. With the decrease of conductance G, i2/POG can be still more than unity. Hence, dlnG/dt is positive and the conductance
A HID Lamp Model in Simulink Based on the Principle of Electric Arc
237
continues to decrease until the arc is extinguished. The fitting of model results to measured data is achieved by means of a proper selection of arc parameters like the time constant and the current-dependent cooling power, which are normally taken as a function of arc current and voltage. The modified Mayr model is used in this article, shown as equation (3).
1 dG d ln G 1 vi = = ( − 1) θ P( PO + Ci i ) G dt dt
(3)
G is the instantaneous arc conductance; θ is the arc time constant; EO is the constant steady-state arc voltage; v is the arc voltage; i is the arc current; PO is the constant power loss of temporarily stable; P is the fill pressure of the circuit breaker; Ci is the current constant. Obviously, the Cassie model and modified Mayr model are not applicable in all cases. But two models are complementary with each other. As the modified Mayr model is more feasible for zero and low arc current region, Cassie model is more suitable for high arc current region. If these two models can be combined reasonably, a more applicable mathematical arc model can be obtained. Therefore, the hypothesis is presented as follow: 1. The time constant in these two models is the same. 2. A complete arc discharge process can be described by the combination of the Cassie model and modified Mayr model. But the conversion between two models lacks a transition point. It can be assumed that the transition current is I. If the arc current is greater than I, the arc discharge process is described by the Cassie model; otherwise, it is described by the modified Mayr model. 3. This paper supposes that the transition current is continuous. The transition is smooth. It is possible to define a transition factor f, which is an exponential function of the arc current. The transition factor f can be taken as: f = exp( −
i2 ) I2
(4)
A new mathematical arc model, equation (5), was got using equations (1), (3) and (4):
θ
1 dG v2 vi = ( 2 − 1)(1 − f ) + ( − 1) f G dt EO P ( PO + C i i )
(5)
In addition, the arc inherent conductance Gm between the electrodes should be considered in equation (5). Considered equations (4) and (5), the complete model is thus given by
θ
dG i2 i2 i2 i2 i2 G= G exp( − 2 ) − G 2 + Gm − exp( − 2 ) + dt EO EO I P ( PO + Ci i ) I
(6)
238
X. Guan and Z. Li
The equation (6) is the new dynamic conductance mathematics model of HID lamp. A 250W of HID lamp was tested at 50Hz in order to obtain the parameters. The parameters were taken as: θ =2*10-4S, EO=120V, I=0.45A, Gm =1.5*10-8S, PO = 250W. P and Ci were obtained by genetic algorithms and other mathematical calculations. P=4.99bar, Ci =499.8V/bar. According to equation (6), the dynamic conductance model of HID lamp in Simulink was established as Figure 1.
Fig. 1. Dynamic Conductance model of HID lamp in Simulink
3 Simulation of the New Dynamic Conductance Model The simulation circuit was shown as Figure. 2. According to the HID lamp current in practical work, the input current of simulation model is set to a sinusoidal current that the peak is 1.5A. In order to observe the voltage and current waveforms better, the input of simout1 in Figure. 2 was amplified to certain multiple.
Fig. 2. Simulation Test Circuit of model
A HID Lamp Model in Simulink Based on the Principle of Electric Arc
239
3.1 Simulation of the Model at Low Frequency
First, the conductance of the model at low frequency is observed, which was shown as Figure.3. It shows that the conductance changes periodically with the sinusoidal current. The peak is not fixed, which changes with the peak of the current. Figure 4 shows the voltage and current waveforms of the model at low frequency. It can be seen that the output voltage of the model is similar to a square wave. Current and voltage are in the same phase, but the voltage has a peak at each zero-crossing point. That is because the phenomenon of re-ignition of HID lamp appears at low frequency. However, as the frequency increases, the peaks gradually become much smaller and then disappear. At this time, the performance of voltage waveform will be improved.
Fig. 3. Conductance at 50Hz
Fig. 4. Voltage and Current at 50Hz
Figure 5 is the V-I characteristics of model at low frequency. It shows that the V-I characteristic performed as the classic hysteresis phenomenon, that is, the current reach the maximum, and then voltage reach the maximum as well. After that, both current and voltage are close to zero. Basically, the parameters of HID lamp are changing with this principle regularly at low frequency. All mentioned above are due to the gas thermal inertia in HID lamp. HID lamp at low frequency performed the nonlinear V-I characteristics. In order to analyze the frequency characteristics of the model deeply, the model in this paper was simulated at 5Hz. Simulation results of voltage and current were shown in Figure 6. It can be seen that the dynamic conductance model at 5Hz can reflect the negative incremental impedance characteristics of HID lamp more clearly. In other words, the lamp voltage decreases as the current increases.
240
X. Guan and Z. Li
Fig. 5. V-I characteristics at 50Hz
Fig. 6. Voltage and Current at 5Hz
3.2 Simulation of the Model at High Frequency (50 kHz)
The conductance of the model at high frequency was shown in Figure.7 and Figure.8. It can be seen in Figure 7 that conductance of the model gradually increased from zero to a constant value. When the model reached at high frequency in stable state, the equivalent conductance was shown in Figure.8. The conductance fluctuated in small range, and small-scale periodic fluctuations could be ignored, that is, the conductance was regarded as a constant. This fact is coincided with the actual situation of HID lamp. When HID lamp start at high frequency, the resistance is infinite. Otherwise, when it achieves stable state, the equivalent resistance is a constant value.
Fig. 7. Conductance at 50 kHz
Fig. 8. Conductance at the stable state
Figure 9 shows voltage and current of the model. It shows that the voltage becomes a sine wave and the peak disappears. The voltage and current are in same phase. This indicates that the model appears a pure resistance at high frequency. Figure 10 shows the V-I characteristics which was a linear relationship, while the slope was not fixed, but changed in certain range. It was verified that resistance with HID lamp could be considered as a variable resistor at high frequency.
A HID Lamp Model in Simulink Based on the Principle of Electric Arc
Fig. 9. Voltage and Current at 50 kHz
241
Fig. 10. V-I characteristics at 50 kHz
4 Conclusion The arc discharge process of HID lamp was described by the classical Cassie model and the modified Mayr model. The new mathematical model was established in this paper followed by the new dynamic conductance model based on the principle of an electric arc. Simulation results showed that the new dynamic conductance model could simulate the main characteristics of HID lamp. The model’s characteristics at low and high frequency are in great agreement with the external characteristics presented by HID lamp. Moreover, the model at a more low-frequency (5Hz) better reflects the negative incremental impedance of HID lamp. Some specific guidance and reference value in future will be provided in the process of electronic ballasts designed. The Cassie model and modified Mayr model describe the arc characteristics only from the physical concept. Therefore, a description of some complex features about HID lamp, such as the phenomenon of acoustic resonance and stroboscopic, has not yet contained in the new model. Such model establishment will become the following direction of HID lamp model.
References 1. 2.
3.
4.
Wang, Y., Wu, W., Wang, J., Yang, L.: Pspice Models of High-Intensity Discharge Lamps. Journal of Shanghai University (Natural Science), 11(6) (2005) Parizad, A., Baghaee, H.R., Tavakoli, A., Jamali, S.: Optimization off Arc Models Parameters Using Genetic Algorithm. In: International Conference on Electric Power and Energy Conversion Systems EPECS 2009, pp. 1–7 (2009) Shvartsas, M., Sam, B.-Y.: A SPICE compatible model of high intensity discharge lamps. In: 30th Annual IEEE Power Electronics Specialists Conference (PESC 1999), pp. 1037–1042 (1999) Wei, Y., Hui, S.Y.R.: A Universal Pspice Model for HID Lamps. In: 37th IAS Annual Meeting,Conference Record of the Industry Applications Conference 2002, pp. 1475–1482 (2002)
242 5. 6. 7.
8. 9.
X. Guan and Z. Li Herrick, P.R.: Mathematical models for high-intensity discharge lamps. IEEE Transactions on Industry Applications, 1A 16(5), 648–654 (1980) Wei, Y., Hui, S.Y.R., Chung, H., Cao, X.H.: Genetic algorithm optimized high-intensitydischarge lamp model. Electron. Lett. 38(3), 110–112 (2002) Zissis, G., Damelincourt, J.J., Bezanahary, T.: Modelling discharge lamps for electronic circuit designers: A review of the existing methods. In: Proceedings of the 2001 Industrial Application Society (2001) Anton, J.C.: An equivalent conductance model for high-intensity discharge lamps. In: IEEE Industry Applications Society-Annual Meeting, vol. 2, pp. 1494–1498 (2002) Tseng, K.J.: Dynamic Model of Fluorescent Lamp Implemented in PSpice. In: Proceedings of Power Conversion Conference PCC 1997, vol. 2, pp. 859–864 (1997)
Coordinated Control for Complex Dynamic Interconnected Systems Xin-yu Ouyang1,2 and Xue-bo Chen2 1
School of Control Science and Engineering, Dalian University of Technology, Dalian Liaoning 116024, China [email protected] 2 School of Electronics and Information Engineering, Liaoning University of Science and Technology, Anshan Liaoning 114051, China [email protected]
Abstract. It provides a coordinated control method for complex systems with dynamic interconnections, that is, by using the dynamic inclusion principle and a desired reverse order permutation transformation, complex system with information constrains of dynamic topology structure is decomposed as a group of pair-wise decoupled subsystems in the expanded space. Then decentralized controllers and coordinators are designed, according to the conditions of dynamic inclusion principle, the overall coordinated compensator also are given. The obtain coordinated controller of the overall system can be contracted and implemented in the original space. Keywords: Complex Systems; Coordinated Control; System Decomposition.
1 Introduction The research on complex systems has been a focus in modern science currently[1-12], there are many literatures discussed this issue. However, there hasn’t uniform definition for complex systems. According to the motive of this paper, we call the system as complex system, which consists of multiple homogeneous subsystems and has many dynamic interconnections between subsystems, such as multi-agent system, electric power systems, multi-vehicle system, etc.. Since this kind of complex systems have the characteristics of high dimensions and variable topology structure constraints, coordinated control for them is a difficult problem. According to these facts, we will introduce dynamic inclusion principle and permuted transformations, and provide a coordinated control method for dynamic interconnected complex systems.
2 Descriptions of Complex Dynamic Interconnected Systems Consider an n -order complex dynamic interconnected system S = {Si } with N subsystems described by M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 243–249. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
244
X.-y. Ouyang and X.-b. Chen
N
Si : xi = Aii xi + ∑ eij (t , x) Aij x j + Bii ui ; yi = Cii xi , i = 1, 2," , N ( N ≥ 3 )
(1)
j =1
where xi ∈ R ni , ui ∈ R mi and yi ∈ R li are the state, input and output vectors of the i th subsystem respectively, Aii ∈ R ni ×ni , Aij ∈ R ni ×ni , Bii ∈ R ni ×mi and Cii ∈ R li ×ni are constant matrices; eij (t , x) is dynamic interconnected coefficient between subsystem i and j , which is a function with respect to time t and/or state x ; eij = 0 denotes it hasn’t self-connection in the i th subsystem at i = j . Assume all subsystems of the system are homogeneous, then the matrix form of the system (1) can be described by S : x = Ax + Ea x + Bu ; y = Cx
(2)
The variables satisfying N
N
N
i =1
i =1
i =1
n = ∑ ni , m = ∑ mi , l = ∑ li , x = [ x1T ," , x NT ]T , u = [u1T ," , u NT ]T , y = [ y1T ," , y NT ]T
(3)
Here x ∈ R n , u ∈ R m and y ∈ R l are the state, input and output vectors of the system respectively. Coefficient matrices are
A = blockdiag ( A11 , A22 ," , ANN ), B = blockdiag ( B11 , B22 ," , BNN ), C = blockdiag (C11 , C22 ," , CNN ), Ea = (eij Aij ),
(i, j = 1, 2," , N )
(4)
Let AE = A + Ea , the system (2) also can be rewritten as S : x = AE x + Bu , y = Cx
(5)
In fact, Ea represents dynamic topology structure of the system (2), i.e. dynamic interconnections between subsystems. In order to understand the characteristics of the complex system, let’s give the following notion of multi-overlapping[3,4,13]. Definition 1: The system S is said to possess N ( N − 1) / 2 multi-overlapping pair-wise dynamic interconnected subsystems
Sij : xi = Aii xi + eij Aij x j + Bii ui ;
yi = Cii xi ⎫ ⎪ x j = e ji A ji xi + A jj x j + B jj u j ; yi = C jj x j ⎬ ⎪ i = 1, 2,..., N − 1 j = i + 1,..., N ⎭
(6)
Coordinated Control for Complex Dynamic Interconnected Systems
245
if eij ≠ 0 and/or e ji ≠ 0 , where the subsystem Si in (1) is a multi-overlapping part of the pair-wise subsystem Sij in (6). If the subscripts of these pair-wise subsystems are arranged as Sij : S12 , S 23 , S13 , S34 , S 24 , S14 ," , Sij , " , S 2 N , S1N i = j − k , j = 2,3," , N , k = 1, 2," , j − 1.
. ()
(7)
we call the special sequence as recurrent reverse order subscripts. According to the definition 1, we know the dynamic interconnected system is a system with structure information overlapping, thus the system can be decomposed.
3 Decomposition of Systems With the system S in (5), we associate a corresponding expanded system described by
, y = Cx S = {Si } : x = A E x + Bu
(8)
where x ∈ R n , u ∈ R m and y ∈ R l are the state, input and output vectors of the expanded system S ; A E , B and C are matrices with appropriate dimensions. It is crucial to assume that n < n , m < m , l < l . In order to analyze the complex system, we give the following definition [4,7]. Definition 2: The system S dynamic includes the system S , or S ⊃ S , if there exists a group of full rank matrices {Vn × n ,U n× n , Rm × m , Qm× m , Tl×l , Sl ×l } satisfying UV = I n ,
QR = I m , ST = I l , such that for any x0 ∈ R n and any fixed u (t ) , the conditions x0 = Vx0 and u = Ru imply x(t ; t0 , x0 , u ) = Ux (t ; t0 , x0 , u ) and y[ x(t )] = Sy[ x (t )] for all t ≥ t0 . Here x(t ; t0 , x0 , u ) , x (t ; t0 , x0 , u ) are the unique solution of the first equation
in (5) and (8) for the initial time t0 respectively. The coefficient matrices of the system S can be obtained by A E = VAEU + M 1 , B = VBQ + M 2 , C = TCU + M 3 .
(9)
246
X.-y. Ouyang and X.-b. Chen
where T
N -1 N -1 ⎛
⎞ V = blockdiag ⎜ I n1 I n1 " I n1 , " , I nN I nN " I nN ⎟ ,
⎟ ⎜ N ⎝ ⎠ N N 1 1 ⎛
⎞ 1 U= blockdiag ⎜ I n1 I n1 " I n1 , " , I nN I nN " I nN ⎟ ,
⎟ ⎜ N −1 N ⎝ ⎠ T
N -1 N -1 ⎛
⎞ R = blockdiag ⎜ I m1 I m1 " I m1 , " , I mN I mN " I mN ⎟ , ⎜ ⎟ N ⎝ ⎠ 1 1 N N ⎛
⎞ 1 Q= blockdiag ⎜ I m1 I m1 " I m1 , " , I mN I mN " I mN ⎟ , ⎜ ⎟ N −1 N ⎝ ⎠
(10)
T
N -1 N -1 ⎛
⎞ T = blockdiag ⎜ I l1 I l1 " I l1 , " , I lN I lN " I lN ⎟ , ⎜ ⎟ N ⎝ ⎠ N -1 N -1 ⎛
⎞ 1 S= blockdiag ⎜ I l1 I l1 " I l1 , " , I lN I lN " I lN ⎟ ⎜ ⎟ N −1 N ⎝ ⎠
and M 1 , M 2 and M 3 are complementary matrices with appropriate dimensions, satisfying M 1V = 0 , M 2 R = 0 and M 3V = 0 . Let’s introduce permuted inclusion and permutation matrices[3] in the following. Definition 3: Consider
SP : x p = A Ep x p + B P u p , y p = C p x p
(11)
Assume there exists a group of full rank matrices {Vn × n , U n× n , Rm × m , Qm× m , Tl×l , Sl×l } such that S ⊃ S , then there exists a group of full rank matrices {U p , V p , R p , Tp } such that the system S p permuted includes S , or S p ⊃ S . Where x p ∈ R n , u p ∈ R m ,
y p ∈ R l ; x p = PA−1 x , u p = PB−1u , y p = PC−1 y ; U p = UPA , V p = PA−1V , R p = PB−1 R and Tp = PC−1T ; PA , PB and PC are non-singular permutation transformation matrices with appropriate dimensions. Definition 4: By partitioning an identity matrix I n× n into M sub-identity matrices,
I1 ," , I k ," , I M , with proper dimensions, we call
Coordinated Control for Complex Dynamic Interconnected Systems
⎡ 0 pk ( k +1) = blockdiag ( I1 ," , I k −1 , ⎢ ⎣ I k +1 ⎡0 p −1k ( k +1) = blockdiag ( I1 ," , I k −1 , ⎢ ⎣Ik
Ik ⎤ , I ," , I M ), 0 ⎥⎦ k + 2 I k +1 ⎤ , I ," , I M ) 0 ⎥⎦ k + 2
247
(12)
as basic column exchange matrix and basic row exchange matrix respectively, and H P = pi ( i +1) p(i +1)( i + 2) " p( j −1) j = Π kj −=1i pk ( k +1) , G (13) P −1 = p −1( j −1) j " p −1(i +1)( i + 2) p −1i (i +1) = Π kj −=1i p −1k ( k +1) , (i ≥ 1, j ≤ M )
are column group permutation matrix and row group permutation matrix respectively. In order to obtain the special sequence of Sij in Definition 1, the following transforms can be used: H H H P = Π iN=1− 2 Π Nj =−1i −1Π kN=(1N+−i ( ji −) −1)i ( j +1) pk ( k +1) G G G (14) P −1 = Π iN=1− 2 Π Nj =−1i −1Π kN=(1N+−i ( ji −) −1)i ( j +1) pkT( k +1) Here permutation matrices P and P −1 represent nonsigular column transformation and nonsigular row transformation respecitively. After the decomposition and permutation above, we can obtain pair-wise subsystems with recurrent reverse order subscripts as in (6) and (7).
4 Coordinated Control of Systems Consider the pair-wise subsystems in (6), we can design decentralized controllers and coordinators for them. The decentralized controllers to control each subsystem can be described by ⎡ kii K ij : uij = ⎢ ⎣0
0 ⎤ ⎡ xi ⎤ k jj ⎥⎦ ⎢⎣ x j ⎥⎦
(15)
and the coordinators can be described by ⎡0 Lij : uij = ⎢ ⎣l ji
lij ⎤ ⎡ xi ⎤ 0 ⎥⎦ ⎢⎣ x j ⎥⎦
(16)
which are used to coordinate the interconnected relations between subsystems i and j . Then the pair-wise closed loop subsystems can be described by ⎡ xi ⎤ ⎡ Aii + Bii kii Scij : ⎢ ⎥ = ⎢ ⎣ x j ⎦ ⎣e ji Aji + l ji B ji
eij Aij + lij Bij ⎤ ⎡ xi ⎤ Ajj + B jj k jj ⎥⎦ ⎢⎣ x j ⎥⎦
(17)
However, these pair-wise coordinators are not contractible to and implemented in the original space S with respect to dynamic inclusion principle. So we need to design a coordinated compensator ΔL for contraction in the expanded space.
248
X.-y. Ouyang and X.-b. Chen
In the expanded space, the controller is K = blockdiag ( K ii ) , i = j − k , j = 2,3," , N , k = 1, 2," , j − 1.
(18)
and the coordinator is L = blockdiag ( Lij ) , i = j − k , j = 2,3," , N , k = 1, 2," , j − 1.
(19)
where ⎡ kii K ij = ⎢ ⎣0
0⎤ ⎡0 , Lij = ⎢ ⎥ k jj ⎦ ⎣l ji
lij ⎤ 0 ⎥⎦
(20)
According to the dynamic inclusion principle and decomposition of the complex system stated above, it is obvious that the structure of ( K + L ) should be the same as the one of A Ep . Therefore, once the position of Aij is fixed in the expanded space, locations of lij will be determined. In this way, the coordinated compensator
ΔL can be established. Let LΔ = L + ΔL , it have ⎡ LΔ11 ⎢L LΔ = ( LΔ ij ) = ⎢ Δ 21 ⎢ # ⎢ ⎣ LΔ N 1
LΔ12 LΔ 22 # LΔ N 2
" LΔ1N ⎤ " LΔ 2 N ⎥⎥ , i, j=1,2,…,N. % # ⎥ ⎥ " LΔ NN ⎦
(21)
here LΔ ij are block matrices with a dimension of (N–1) I ni × (N–1) I n j and have
LΔij
⎧0, ⎪ ⎪ ⎪⎪ ⎡ 0 = ⎨⎢ ⎪⎢ 0 ⎪⎢ # ⎪⎢ ⎩⎪ ⎣⎢ 0
i = j, " lij " 0 ⎤ " lij " 0 ⎥⎥ , # #⎥ ⎥ " lij " 0 ⎦⎥
i < j , non-zero element is in column j − i,
(22)
i > j, non-zero element is in column N − ( j − i ).
Thus we can obtain the coordinator and coordinated compensator by L = P −1 LΔ P
(23)
Here P is recurrent reverse order permuted transformation matrix. At last, we obtain the coordinated controller ( K + L of overall complex system,
)
it can be contractible to and implemented in the original space S by Lk = Qp ( K + L )V p
(24)
Coordinated Control for Complex Dynamic Interconnected Systems
249
5 Conclusions The paper discussed coordinated control method of dynamic interconnected complex systems by using dynamic inclusion principle and permutation transform. The obtain coordinated controller of the overall system can be contracted and implemented in the original space.
Acknowledgment This research reported herein was supported by the NSF of China under grant No. 60874017.
References [1] Zhang, Z.D., Jia, L.M., Chai, Y.Y.: On General Control Methodology for Complex Systems. In: Proceedings of the 27th Chinese Control Conference, Kunming,Yunnan, China, pp. 504–508 (2008) [2] Ouyang, X.Y., Chen, X.B., Wang, W.: Modeling and decomposition of complex dynamic interconnected systems. The 13th IFAC Symposium on Information Control Problems in Manufacturing, Moscow, Russia, p.1006–1011 (2009) [3] Chen, X.B., Stankovic, S.S.: Decomposition and decentralized control of systems with multi-overlapping structure. Automatica 41, 1765–1772 (2005) [4] Chen, X.B., Stankovic, S.S.: Dual inclusion principle for overlapping interconnected systems. Int. J. Control 77(13), 1212–1222 (2004) [5] Ikeda, M., Šiljak, D.D., White, D.E.: Decentralized control with overlapping information sets. Journal of Optimization Theory and Applications 34(2), 279–310 (1981) [6] Chen, X.-B., Stankovic, S.S.: Overlapping decentralized approach to automation generation control of multi-area power systems. International Journal of Control 80(3), 386–402 (2007) [7] Chen, X., Stankovic, S.S.: Inclusion principle of stochastic discrete-time systems. Acta Automatica Sinica 23(1), 94–98 (1997) [8] Šiljak, D.D.: Large scale dynamic systems: stability and structure. North Holland, New York (1978) [9] Ikeda, M., Šiljak, D.D.: Lotka-Volterra Equations: Decomposition, Stability, and Structrue. Journal of Mathematical Biology 9(1), 65–83 (1980) [10] Tan, X.L., Ikeda, M.: Decentralized stabilization for expanding construction of large-scale systems. IEEE Transactions on Automatic Control 35(6), 644–650 (1990) [11] Šiljak, D.D.: Dynamic graphs. Nonlinear Analysis: Hybrid Systems 2, 544–567 (2008) [12] Wang, Q., Chen, X.B.: Connective Stability Analysis for a Class of Pseudo-Linear Interconnected Swarm Systems. In: Proceedings of the 8th World Congress on Intelligent Control and Automation, Jinan, China, pp. 1195–1199 (2010) [13] Chen, X.-B., Xu, W.-B., Huang, T.-Y., Ouyang, X.-Y., Stankovic, S.S.: Pair-wise decomposition for coordinated control of complex systems. Submitted to Information Sciences (2010)
Study on Calibration of Transfer Character of Ultrasonic Transducer Qiufeng Li1, Quanhong Zhang1, Min Zhao1, and Lihua Shi2 1
Key Laboratory of NDT of Ministry of Education, Nanchang Hangkong University Nanchang, China 2 Engineering Institute of Corps of Engineers, PLA Univ. of Science and Technology Nanjing, China [email protected]
Abstract. Transfer character of ultrasonic transducer often influences on the test signal partly, and then test errors arise. To the problem, a compact method is proposed to calibrate the transfer character in this paper. The experiment data was obtained in water- immerging test of the transducers, and a discrete transfer function is established based on system identification algorithms and then used for transducer calibration. The method is validated effective by experiment. Not only can the characteristic of transducers be indicated, but also a referenced method is presented for calibrating the transfer character of LTI system. Keywords: Ultrasonic transducer, transfer character, LTI system, system identification.
1 Introduction During the course of ultrasonic test, the transfer character of ultrasonic transducer is that test signals could be filtered by a band-pass filter, which would pass the resonant frequency and restrain the deviation frequency. And thus excitation signal selected is always close to the resonant frequency at which greater response signal and SNR would be obtained [1]. Then the transfer character of transducer can be reflected by frequency response of transducer concretely. Nevertheless, the higher resolution needs to be obtained with wideband excitation signal. So the frequency band of excitation signal from transducer is requested more wide, which can obtain more frequency signals [2,3]. It is important to measure the frequency response of transducer. But the measuring device is so expensive and complicated that domestic producers cannot afford to it and provide the graph. For this reason, a compact method of calibrating frequency response of transducer, which could be achieved with common instruments and material, is presented in the contribution. The theory of the method is introduced in next section. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 251–258. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
252
Q. Li et al.
2 Theory of Calibrating Transducer To continuous linear time-invariant (LTI) system, the relationship between input x(t) and output y(t) can be described by a linear differential equation with constant coefficients as below: N
∑ a (i ) ⋅ i =0
d i y (t ) M d j x (t ) = b ( j ) ⋅ ∑ dt i dt j j =0
(1)
It can express dynamic characteristics of the system. Any linear time-invariant system can be described by a difference equation similarly [4,5]: N
y (n) + ∑ a (i ) ⋅ y (n − i ) i =1
(2)
M
= ∑ b( j ) ⋅ x ( n − j ) j =0
Here a(i) (i=1,2,3…N) and b(j) (j= 1,2,…M) are constant coefficients of the equation. Taking (2) with Z-transform can transform as below: N
M
i =1
j =1
Y ( z )[1 + ∑ a (i) z −i ] = X ( z )[b(0) + ∑ b( j ) z − j ]
(3)
,
From the trait of Z-transform, Y(z)=X(z)H(z) and the discrete transfer function (DTF) of system H(z) can be given by comparing with (3). M
H ( z) =
Y ( z) = X ( z)
∑ b( j ) z
−j
j =0
N
1 + ∑ a (i ) z
(4) −i
i =1
Actually, the calibration of transducer system is the process of calculating H(z), which can be given after evaluating constant coefficients a(i) and b(j) through the system identification algorithms [6-8]. For major actual system, the order is unknown, so important problem is to ensure the order. In theory, higher order can describe the system more accurate. But the oversize order would bring more complicated model, calculation and error in practice. Thus higher order is not advantaged at all time [9]. For lower frequency transducer system, lesser order of the DTF model is required, and the feasible value is M N 5 which has been verified through experiments.
==
Study on Calibration of Transfer Character of Ultrasonic Transducer
253
3 Verification of LTI System 3.1 LTI System Character Before calibration, a precondition, the detecting system is LTI system, must be achieved. The results are effective and significant in the condition of assuring the precondition. Therefore, the detecting system established must be assured as LTI system. The detecting devices usually have working range. And these devices are working as LTI system when its work under the range. That is the reason why the model is established with LTI system in this paper. To assuring the precondition, the experiment has been achieved to verifying the LTI system. And the theory of verification can be described as follow. On the assumption that the unit impulse response of detecting system is h(n) the response to input signal x1(n) is y1(n) and the response to x2(n) is y2(n).
,
,
y1 (n) = x1 (n) ∗ h(n)
(5)
y2 ( n) = x2 (n) ∗ h(n)
(6)
If the response to ax1(n)+bx2(n) is ay1(n)+by2(n), as follow equation:
y (n) = [ax1 ( n) + bx 2 ( n)] ∗ h(n) = ax1 (n) ∗ h(n) + bx2 (n) ∗ h( n)
(6)
= ay1 ( n) + by 2 (n) Then the system is linear system. If the input signal is delayed k sampling cycles, the output signal is delayed k sampling cycles correspondingly. And then the system is also a time-invariant system.
y1 ( n − k ) = x1 (n − k ) ∗ h(n)
(7)
The upper content could be described directly as follow. For the given input, the system output has nothing to do with moment of input signal. The system is called LTI system if it is linear and time-invariant [5]. 3.2 Verification Experiment A test system shown in Fig. 1 includes an arbitrary function generator, a pair of 50kHz ultrasonic transducers produced by Kcrt company and signal collection and display unit. signal collection and display unit collects signals by 9812 card and inputs the signals into computer, and then displays the image after the signals are processed with imaging algorithm.
254
Q. Li et al.
ֵSignalো
Signal ֵো䞛䲚
Excitation
collection and
থ⫳఼
Ϣᰒ⼎ display
water ∈
Fig. 1. Sketch of test system.
The output signal from transducer need be collected in the experiment. However, in the course of propagation from receiver and collector, the signal would be affected not only by transducer system and but also by the media, and then the established model could not reflect the frequency response of transducer system because it involves the disturbance of the media. Therefore, water-immersion method is introduced for water is a homogeneous and isotropic media. When ultrasonic wave propagates in water, it can be thought that the wave has just attenuation in amplitude, and the effect of attenuation could be removed through adjustment of signal amplitude [10-12]. To bring out the reflected wavepackets facilely, a water tank with 300mm depth is selected which avoids the overlap of reflected waves.
1 0.8
Scaledx(n) amplitude
0.6 0.4 0.2 0
-0.2 -0.4 -0.6 -0.8 -1 -1.5
-1
-0.5
0
0.5
1
1.5
2
2.5 -4
t t/ s
x 10
18
|X(jamplitude )| Scaled
16
14
12
10
8
6
4
2
0
2
4
6
8
10
12 4
f / Hz
x 10
Fig. 2. The waveform and spectrum of excitation signal.
Study on Calibration of Transfer Character of Ultrasonic Transducer
255
Two excitation signals, impulse signalδ(n) and 50kHz modulated signal x(n), are selected as input signal respectively. δ(n) is given by difference operation with step signal in fact. And x(n) is a cosine function modulated by Gaussian pulse, which equation is shown as below:
x(n) = cos(2πft ) ⋅ e ( − ((t −ti )⋅ω )
2
)
(8)
Here f is the main frequency, w is a pulse-width coefficient of Gaussian pulse and ti is positional parameter of wavepacket in the transmitting cycle. Actual waveform and its spectrum are shown in Fig. 2. According to the input signals, system responses should be as below respectively.
y1 (n) = δ (n) ∗ h(n)
(9)
y 2 ( n ) = x ( n) ∗ h( n)
(20)
In the light of LTI system trait, it should be y2(n)=x(n)y1(n). And then the system is verified as LTI system if measured output of x(n) is y3(n)=y2(n)=x(n)h(n). Comparison of measured data is shown in Fig. 3.
0.8
Scaled amplitude
0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 1000
2000
3000 4000
5000
Sampling point
Fig. 3. Comparison of measured output data.
In the figure, solidline represents the collected waveform y2(n) after generated by x(n), and dashline describes the convolution result with x(n) and the collected signal after generated byδ(n). In view of existing some errors in the experiment, wavepacket and amplitude of two waveforms could be thought as uniform and anastomotic approximately, which could be verified that the test system is a LTI system.
4 Experiment of Calibrating Transducer 4.1 Signal Collection In the experiment, x(n) is selected as excitation signal. A pair of input and output signals is collected as the data for system identification. From the collected output
256
Q. Li et al.
signal, the first wavepacket is the reflected wavepacket from bottom. Contrasting with input signal as Fig. 4, the reflected wavepacket has been changed obviously, and ringing has comparative length.
3
2
1.5
Output signal y(n)
1
H(j2πf) |H(j )|
Scaled amplitude
2.5 2.5
2 1.5 1
0.5
0.5
0
Input signal x(n)
-0.5
0 4
-1
150
200
250
300
Sampling point Fig. 4. Comparison of input and output signals.
4.5
5
f /Hz
350
5.5 4
x 10
Fig. 5. The frequency response of system.
4.2 Calibrating Rresult After amplitude of the output signal is adjusted according to the input signal, the model of the system is established in the light of system identification, and then DTF H(z)=B(z)/A(z) could be obtained. The graph of H(jω) is shown in Fig. 5. The model parameters of measured transducer system are listed in Table I. And then the calculated DTF is calibration of the system. Table 1. Parameter of DTF of 50kHz transducer sytem. a(1) a(2) a(3) a(4) a(5)
0.5739 -2.129 3.064 -2.023 0.5186
b(1) b(2) b(3) b(4) b(5)
-3.338 3.952 -1.520 -0.418 0.3364
4.3 Verification for Calibrating Result To verifying the upper calibrating results, another modulated signal, which waveform is shown in Fig. 6, is selected as input signal to validate the DTF. After the input signal passes through the test system, the output signal compares with the output waveform which is obtained after the input signal passes through the calibrated DTF. The contrasting graph is shown in Fig. 7. In the Fig. 7, solidline represents the output waveform after input signal passes through the test system, and dashline describes the output signal after input signal passes through the calibrated DTF. After comparison with two output signals, it could be discerned that those signals are anastomotic approximately, which shows that the calibrating result is effective.
Study on Calibration of Transfer Character of Ultrasonic Transducer
257
1
1 0.8
Scaled amplitude
Scaled amplitude
0.6 0.4 0.2 0 -0.2 -0.4 -0.6
0.5
0
-0.5
-0.8 -1 0
0.2
0.4
0.6
0.8
1 -3
x 10
t /s
-1 0
1000
2000
3000
Sampling point
Fig. 6. Waveform of verified excitation signal. Fig. 7. Comparison of output signal and filtered signal.
5 Conclusion A compact method to calibrate transfer character of transducer has been presented in this paper. At first, the system for detection is verified as a LTI system. And then DTF of the transducer system is established based on system identification algorithms. At last, the transfer function is verified with other test signal, and the result shows that the calibration effect is valid. This kind of method can be used for calibrating others LTI systems. Acknowledgment. This work is supported by Natural Science Foundation of China (10872217), by Open Foundation of Key Laboratory of NDT of Ministry of Education (ZD200929003), and by the Graduate Innovation Base of Jiangxi Province.
References 1. Yuan, Y.Q.: Ultrasonic transducer. Nanjing University Press, Nanjing (1992) 2. Chandrana, C., Kharin, N.A., Nair, A.: High resolution fundamental and harmonic imaging using a MEMS fabricated ultrasonic transducer. In: 2007 IEEE Ultrasonics Symposium, New York, October 28-31, pp. 1183–1187 (2007) 3. Benenson, Z.M., Elizaroy, A.B., Yakovleva, T.V., et al.: Approach to 3-D ultrasound high resolution imaging for mechanically moving large-aperture transducer based upon Fourier transform. IEEE Transactions on Ultrasonics, Ferroelectrics and Frequency Control 49(12), 1665–1685 (2002) 4. Parks, T., Burrus, C.S.: Digital filter design. John wiley and sons, Chichester (1987) 5. Hu, G.S.: Digital Signal Processing Theory, Algorithm and implementation. Tsinghua university press, Beijing (2003) 6. Ljung, L.: System Identification: Theory for the User, 2nd edn. Prentice-Hall, NJ (1999) 7. Woo, S.-H., Doo, H.-L.: ‘System identification of structural acoustic system using the scale correction. Mechanical Systems and Signal Processing 20(1), 389–402 (2006)
258
Q. Li et al.
8. Dong, X.-J., Meng, G., Peng, J.-C.: Vibration control of piezoelectric smart structures based on system identification technique: Numerical simulation and experimental study. Journal of Sound and Vibration 297(6), 680–693 (2006) 9. Zhang, C.X., Ren, J.S.: The Order Discernment of Transfer Function for Linear System. Journal of Nanjing University of Science and Technology 21(2), 106–109 (1997) 10. Li, Q.F., Shi, L.H., Liang, D.K.: Method of Compensating Transducers Based on Digital Filtering in Concrete Test. Journal of Nanjing University of Aeronautics and Astronautics 40(1), 55–59 (2008) 11. Ohara, Y., Kawashima, K.: Detection of Internal Micro Defects by Nonlinear Resonant Ultrasonic Method Using Water Immersion. Japanese Journal of Applied Physics 43(5), 3119–3120 (2004) 12. Hak-joon, K.I.M., Sung-Jin, S.O.N.G., Lester, W.S.: Modeling Ultrasonic Pulse-Echo Signals from a Flat-Bottom Hole in Immersion Testing Using a Multi-Gaussian Beam. Journal of Nondestructive Evaluation 23(1), 11–19 (2004)
A Novel Non-contact Pulse Information Detection Method Based on the Infrared Sequence Images Weibin Zhou1,2, Bin Jing1,*, Dian Qu1, Guihong Yuan1,3 Chunyan Wang1, and Haiyun Li1 1
School of Biomedical Engineering, Capital Medical University, No.10, Xitoutiao,Youanmen, Fengtai District, Beijing, China 2 School of Pharmacy & Bioengineering, Chong Qing University of Technology, No.69, Hongguang Rd, Banan District, Chongqing, China 3 School of Foundational Education, Peking University Health Science Center, Xueyuan Rd.Haidian District, Beijing, China [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Abstract. In this paper, we propose a novel non-contact method to detect the pulse information from the radial artery using the infrared sequence images. First, a ROI (region of interest) can be located on the radial artery by the infrared imaging system because of its higher temperature than surrounding tissue. Then, a short time of AVI video of the radial artery is recorded and the area of the ROI is calculated in every frame, and a time-lapse signal is constructed using the calculated results, which can reflect the pulse information. Compared to the pulse wave from the pressure sensor, our result is acceptable. Our method reveals a novel non-contact way to obtain the pulse information and shows a significant value in the Chinese medicine. Keywords: radial artery, pulse information, infrared sequence images.
1 Introduction Pulse condition is very important in Chinese medicine, and it could give a lot of diagnostic messages. Traditionally, it depends on doctors’ experiences to feel the pulse exactly, but the experiences are relative and not objective. Many kinds of contact sensors have also been used to measure the pulse, but they may bring inconvenience to the subjects. Recently, some new pulse wave measurement methods have been proposed in [1][2][3].Infrared imaging system already has many applications in biomedical measurement. We have used it to detect physiological signals on Lumbar Vertebra and temporal artery in [4][5]. In this paper, we propose a novel objective pulse information detection method from the infrared sequence images. The paper is organized as follows: Section2 introduces the experiment setup. Section 3 introduces the processing method. Section 4 shows the discussion and conclusion. *
Co-first author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 259–265. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
260
W. Zhou et al.
2 Experiment Setup First, an infrared dynamic image acquisition system is constructed. It has an infrared sensor (Fluke, NETD<90mk) and a video capture card (10moons, DV610) and a workstation (Dell T7500). Fig 1 shows the infrared dynamic image acquisition system.
Subject radiation
Infrared imaging system
Video capture card
Computer workstation
Fig. 1. The infrared dynamic image acquisition system
The experiment was conducted in a thermostatic room, and there were no heat sources such as air-conditioner, computers, and there were no persons who were not associated with the experiment in the room. The subject needed to stay at the room for a short time to get thermal equilibrium with the ambient. Then the subject was asked to sit on a chair near a desk, and lay his hand on the desk in his relaxed manner. After that, the infrared dynamic image acquisition system began to record the video of ROI. The frame rate is 7.5 frame/s, and the record lasted for 5s. In order to verify the detected pulse information, another pulse signal detection system based on pressure sensor is also constructed. It contains pressure sensors, voltage lift circuit, amplifier circuit, filter circuit, A/D (analog/digital) conversion circuit and MCU (microprocessor control unit). Fig 2 illustrates the components of the system.
Subject
Pressure sensor
Voltage lift circuit
Amplifier circuit
PC
MCU
A/D conversion
Filter circuit
Fig. 2. The pulse signal detection system
3 Method Before capturing the video, we first need to locate the ROI on the radial artery. As we know, it is easy to feel the pulse on the radial artery. When the blood passes the radial
A Novel Non-contact Pulse Information Detection Method
261
artery, the skin covering the radial artery will have a higher temperature than the surrounding skin and the area of the white ROI will be the largest. When the blood leaves the radial artery, the surface skin temperature will return to normal temperature the same with surrounding skin and the area of the white ROI will be the smallest. So we just need to let the infrared sensor aim to the subject wrist, and change the displayed highest temperature of the infrared sensor properly to display the position of radial artery. Fig 3 shows the anatomy of the radial artery from [6], and Fig 4 shows a captured image by our infrared dynamic image acquisition system.
Fig. 3. The anatomy of the radial artery
Then we calculate the number change of the pixels in the ROI in every frame, and the change can constitute a time-lapse signal. After that, the signal is interpolated to 25Hz using the ‘linear’ method, and the result is illustrated in Fig 5. In order to verify the time-lapse signal, we also design a pulse signal detection system to obtain the pulse wave. Using this system, we could detect the pulse signal of the same subject, the pulse signal is sampled in 200Hz and the result is showed in Fig 6.
262
W. Zhou et al.
Fig. 4. The thermogram of subject’s left wrist, the white area is the ROI.
Fig. 5. The time-lapse signal obtained from the infrared sequence images
Fig. 6. The pulse wave from the pressure sensor
A Novel Non-contact Pulse Information Detection Method
263
Another experiment has also been tested that two wrists of the subjects are captured in the same image at the same time. A captured image is showed in Fig 7. Though two wrists have different temperature, two pulse waves can be obtained separately from two ROI which are illustrated in Fig 8, Fig 9. By comparison, we find that the pulse wave from the left wrist synchronizes with the other.
Fig. 7. The thermogram of two wrists captured together
Fig. 8. The pulse information from the left wrist
264
W. Zhou et al.
Fig. 9. The pulse information from the right wrist
4 Discussion and Conclusion Compared to the pulse wave from the pressure sensor, the pulse wave from the infrared sequence images loses some detail information mainly due to the low sample frequency. There are many other factors that could affect the wave result, such as the surrounding heat sources like the experiment computer and the subject’s irregular motion in the experiment. Further research is needed to get a more precise pulse wave. In this paper, we firstly propose a novel non-contact pulse information detection method using the thermal sequence images, and demonstrate the synchronization of the pulse wave in left and right wrist radial artery. This method shows large potential in application in Chinese medicine.
Acknowledgements The work is supported by: National Natural Science Foundation of China, Grant No.30670576; Scientific Research Key Program of Beijing Municipal Commission of Education, Grant No. kz200810025011; Medicine and Clinical Cooperative Research Program of Capital Medical University. Grant No. 10JL24.
References 1. Zhang, A., Wang, L.: Information detection of pulse wave base on time-varying images. Chinese Journal of Scientific Instrument 28(5), 820–825 (2007) 2. Yoon, Y.-z., Myeong-Hwalee, Soh, H.-s.: Pulse type classification by varying contact pressure. IEEE Engineering in Medicine and Biology 11, 20–21 (2000) 3. Sorvoja, H., Kokko, V.-M., Myllyla, R., Miettnen, J.: Use of EMFi as a blood pressure pulse transducer. IEEE transactions on instrumentation and measurement 54(6), 2505–2512 (2005)
A Novel Non-contact Pulse Information Detection Method
265
4. Jing, B., Li, H.: An Approach to Detection of Physiological Signals on Lumbar Vertebra Based on Infrared Sequence Images. In: The 4th International Conference on Bioinformatics and Biomedical Engineering, Cheng du, China (2010) 5. Jing, B., Li, H.: A non-contact Approach to the Detection of Heart Rate Based on Infrared Sequence Images. Chinese Journal of Biomedical Engineering 29(6), 943–946 (2010) 6. http://web.sc.itc.keio.ac.jp/anatomy/Rauber-Kopsch/ web/1-50.html
A Method of Neurons Classification and Identification Xingfu Li1 and Donghuan Lv2 1
Guilin College of Aerospace Technology, Guilin Guangxi 541004, China [email protected] 2 College of Information and Communication, Guilin University of Electronic Technology, Guilin Guangxi 541004, China [email protected]
Abstract. This paper presents a new method to solve the problem of identification of neurons. Firstly, the neurons are divided into 7 categories based on their functions and geometrical characteristics. In order to get the key feature of neurons, the principal component analysis (PCA) technique was used to do the decorrelation processing with the geometrical characteristic data extracted from space geometric data of neurons. Then the BP neural network algorithm was used to classify and identify the neurons and to establish the mapping relationship between the key characteristics of neuronal geometry and the categories, thus the classification and identification of the neurons was completed. The experimental results shown that this method on neurons identification accuracy is high by 91.4%. Keywords: Neurons, BP neural network, Principal component analysis (PCA), Key geometrical feature.
1 Introduction How to distinguish different types of neurons is still no mature methods [1]. This paper ,considering the geometry of neurons only, using geometric features of neurons, combining with BP neural network and principal component analysis, presents a method of classification and identification of neurons based on their spatial patterns. Using this method neurons can be classified and identified more accurately.
2 The Morphological Classification and the Recognition Algorithm of Neurons Firstly, according to the function of neurons and their geometry characteristics divide them into 7 categories. Then according to the geometrical data of various types of neurons, using principal component analysis, extracte the key geometry characteristics of the neurons. Finally, according to the key geometry characteristics of the neurons , using BP neural network classify them. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 267–273. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
268
X. Li and D. Lv
2.1 Classification of Neurons It is difficult to achieve the purpose of morphological classification of neurons when name it just from one point of characteristic for the neurons, as neurons in complex and diverse forms. A good naming of neurons is that the corresponding features and structural characteristics should be knew when see the name of neurons. Namely: "See name to know the Meaning". In this paper, the neurons were divided into 7 categories by " See name to know the Meaning ", and the classification results are shown in Table 1. Table 1. Table of neurons’ categories Class NO. C1 C2 C3 C4 C5 C6 C7
Name Motor neuron Purkinje neuron Pyramidal neuron Bipolar interneuron Tripolar interneuron Multipolar interneuron Sensory neuron
2.2 Extraction of Key Morphological Characteristics of Neurons Extraction of key morphological characteristics of various types of neurons is critical for classification and identification of the neurons[2]. As more morphological characteristics are extracted, and they have a certain correlation between, some reflected information overlap. In order to ensure that the extracted geometrical characteristic to be typical , the principal component analysis (PCA) was used to do the data processing, to get the key feature of neurons. 2.2.1 Extraction of Geometric Features of Neurons Based on NeuroMorpho.Org database, extracted the geometry characteristics reflected various neurons from different perspectives. The samples for the spatial structure of 7 categories of neurons (see Table 1)shown in Figure 1. Through observation and analysis of the Figure 1 and its various corresponding spaces geometry data , chose 22 parameters such as Cell body surface area, Trunk number, Number of cell bodies to describe the geometry characteristics of the neurons. Their symbols and descriptions are shown in Table 2. In Figure 1, C1 is similar to C2 in space size, but C1's bifurcation number is less than C2’s obviously, thus the parameter Num_of_Bif has strong distinction between them; C5, C6 and C7 are alike in space size and relatively simple, but they are obviously different from the number of branches, thus the parameter Num_of_Bra can highly differentiate them; the Parameters R_gen_V70, R_gen_V80 and R_gen_V90 reflect the aggregation level of the overall structure of neurons and their root layer by layer; the Parameters R_baoti_V70, R_baoti_V80 and R_baoti_V90 reflect the aggregation level of the overall structure of neurons and cell bodies. These parameters are based on the spatial structure information of C1, C2, C3 and C4 shown in Figure 1. They can Highly differentiate the various morphological features of neurons.
A Method of Neurons Classification and Identification
269
Table 2. The symbols and descriptions for neuronal morphology parameters Symbols
Descriptions
Soma_Surface
Cell body surface area
Num_of_Stems
Trunk number (AV No. 1)
num_bao_ti
Number of cell bodies
num_zhou_tu
Number of axons
num_shu_tu
Number of dendrites
num_jian_duan_shu_tu
Number of dendritic tip
Num_of_Bif
Number of bifurcation
Num_of_Bra
Number of branch
Mean_Diameter
Average radius of cell bodies, axons, dendrites and dendritic tip
Length
Total length of each branch
Surface
Total surface area of cell bodies, axons, dendrites and dendritic tip
Volume
Mean_L_baoti
Total volume of cell bodies, axons, dendrites and dendritic tip Euclidean distance (The total distance from each leaf node to the root node) Average distance from each leaf node to the cell body
Mean_L_gen
Average distance from each leaf node to the root node
Branch_Order
Bifurcation series Sphere radius that takes root (AV No. 1) as the center and contains 70% of the total volume Sphere radius that takes root as the center and contains 80% of the total volume Sphere radius that takes root as the center and contains 90% of the total volume Sphere radius that takes cell body(AV No. 1) as the center and contains 70% of the total volume Sphere radius that takes cell body as the center and contains 80% of the total volume Sphere radius that takes cell body as the center and contains 90% of the total volume
Eu_Distance
R_gen_V70 R_gen_V80 R_gen_V90 R_baoti_V70 R_baoti_V80 R_baoti_V90
270
X. Li and D. Lv
Fig. 1. The geometric structure of neurons in the sample Table 3. Principal Component Cumulative probability table Cumulative number
Cumulative probability
Cumulative number
Cumulative probability
1 2 3 4 5 6 7 8 9 10
0.408 0.638 0.777 0.844 0.891 0.935 0.957 0.970 0.981 0.989
11 12 13 14 15 16 17 18 19 20
0.993 0.995 0.996 0.998 0.999 0.999 0.999 1 1 1
2.2.2 Extracting the Key Geometrical Characteristic of Neurons with Principal Component Analysis Many geometric morphological characteristics are extracted from 2.2.1.And they usually have a certain correlation. It means that the information of some characteristics reflects a certain degree of overlap. Then the data reduction and the elimination of the correlation between the data is necessary. Principal component analysis is an effective method[3-6]. The concrete achieving Steps are stated as follows:
A Method of Neurons Classification and Identification
271
STEP1: In NeuroMorpho.Org database, select a certain number of samples from various types of neurons act as the experimental research data.Then,extract geometry characteristic data of neurons in the all experimental data; STEP2: Normalizing the morphological characteristic data extracted from the STEP1, in order to eliminate the dimension; STEP3: Using principal component analysis to extract the key geometrical characteristic of neurons with the normalized data from STEP2. Table 3 shows the principal component cumulative probability of the morphological characteristic data of neurons .In this paper , the former 14 principal components are selected as the key geometrical characteristic of neurons, in order to retain neuronal geometry information as much as possible. 2.3 Neurons Classification and Recognition System Based on BP Neural Network In theory, a three-layer BP network can approximate any nonlinear mapping [7-12].Therefore ,this paper uses BP network to build the classification and recognition system. Select the part of the samples from various neuronal experimental data as a standard training set, and the remaining samples as test sample set. Calculating the key geometric morphological characteristics in all samples and establishing the mapping relationship between the key geometric morphological characteristics and the neurons categories. Then complete to determine the category of the test samples. The concrete achieving Steps are stated as follows: STEP1: Select the part of the samples from various neuronal experimental data as a standard training set. Every sample consists of input information and the output results expect to get. Among them, input information of each neuron samples is the key geometric morphological characteristics, Output is the coding of the neurons’ categories. The specific coding is shown in table 4. Table 4. The coding of neurons’ categories
Category C1 C2 C3 C4 C5 C6 C7
1 0 0 0 0 0 0
0 1 0 0 0 0 0
0 0 1 0 0 0 0
Coding 0 0 0 1 0 0 0
0 0 0 0 1 0 0
0 0 0 0 0 1 0
0 0 0 0 0 0 1
STEP2: Select a sample from the training sample ,and input the information into the network STEP3: Calculate the output of each layer node treated by neurons. STEP4: Calculate the error between actual output and expected output , If the error is acceptable ,then quit; if not, Continue STEP5.
272
X. Li and D. Lv
STEP5: Do the calculating work from the output layer back to the first hidden layer, and adjust the neural network connection weights and thresholds, in accordance with the principles of making progress towards to reduce error. STEP6: Repeat from STEP3 to STEP5 for each sample of the training sample, until the error of entire training sample to be accepted. STEP7: Input the samples of neurons to be tested to the trained system, predict the type of the sample by the output of the system.
3 The Analysis of Experiment and Results In the all kinds of neurons, selected 120 samples as the experimental study data, and choose 100 samples as standard training samples, the rest of the sample data as testing samples. Selected the key geometrical feature in all samples, and built classification and recognition system based on the BP neural network, then completed the identification of categories of the samples belong to. According to the following two principles to create the BP network model[13]: 1: Three layer BP networks can effectively solved the common problem of pattern recognition; 2: In the three layer BP networks, the numbers of hidden nodes L and input nodes m will satisfy approximately the next relationship: L = 2m + 1 .The network's input vector range is [0,1] , the transfer function of hidden layer node using s-type tangent function , the output layer node transfer function using s-type logarithmic function . Measure the performance of the system by the average of recognition rate. The recognition rate of Sample i is:
p(i ) =
p(i, C ) , N = 1, 2,..., 7 N ∑ p(i, Ck ) k =1
(1)
Among them, p (i, C ) represents the output probability of test samples’ category belongs to known types; p(i, Ck ) represents the output probability of test samples’ type belongs to the category Ck . In the experiments, training times is 1000, training target is 0.001, learning rate is 0.1, when the recognition rate of test sample exceed 0.9, we would deem that was an accurate identification. The average of Recognition rate reached 91.4%.
4 Conclusion The method presented in the paper combined the geometrical characteristic of neurons and their functions , could be used to do the naming of neurons by " See name to know the Meaning ", achieved the good effect on the classification and identification of neurons .that would have some reference value to accelerate the understanding of the human brain . Nevertheless the extracting of the geometrical feature of neurons
A Method of Neurons Classification and Identification
273
based on the morphological characteristic samples of various types of neurons in the NeuroMorpho.Org database primarily ,observed the sample pictures and analyzed the corresponding geometric data. At the same time, the actual morphological characteristics of neurons was much more than that, the sample data selected in the experiment was not comprehensive enough. But we estimated that the effectiveness of the method would not be affect.
References 1. Bedenbaugh, P., Sarko, D.K., et al.: Prosody-Preserving Voice Transformation to Evaluate Brain Representations of Speech Sounds. IEEE Transactions Audio, Speech, and Language Processing (2010) 2. Ascoli, G., Goldin, R.F.: Coordinate systems for dendritic spines: a somatocentric approach. J. Complexity 2(4), 40–48 (1997) 3. lei, Y., shu-qin, L.: Principal component analysis in the application of wheat stripe rust prediction. J. Computer engineering and design 31(2), 459–461 (2010) (in Chinese) 4. fa-jun, Y., yuan-li, Z.: Principal component analysis combined with perceptron application in medical spectral classification. J. Spectroscopy and spectral analysis 10, 2396–2400 (2008) (in Chinese) 5. Panagakis, Y., Kotropoulos, C., Arce, G.R.: Non-Negative Multilinear Principal Component Analysis of Auditory Temporal Modulations for Music Genre Classification. IEEE Transactions Audio, Speech, and Language Processing, 576–588 (2010) 6. Han, X.: Nonnegative Principal Component Analysis for Cancer Molecular Pattern Discovery. IEEE/ACM Transactions Computational Biology and Bioinformatics, 537–549 (2010) 7. Zou, w.-f., Zhu, z.-d.: The color images target recognition method of space and distance conversion. Journal of Nanjing University of Aeronautics 39(5), 601–606 (2007) (in Chinese) 8. Berger, T.W., Dong, S., et al.: The Neurobiological Basis of Cognition: Identification by Multi-Input, Multioutput Nonlinear Dynamic Modeling. Proceedings of the IEEE (2010) 9. Tomas, P., Sousa, L.A.: A Feature Selection Algorithm for the Regularization of Neuron Models. IEEE Transactions Instrumentation and Measurement (2009) 10. Liu, y.-j., Zhu, j.-y., Zeng, j.: The improvment of the BP neural network in engine performance trend analysis and the application of fault diagnosis. Journal of the institute of technology of nanjing university (natural science edition) 34(1), 24–29 (2010) (in Chinese) 11. Zong-Ben, X., Rui, Z., Wen-Feng, J.: When Does Online BP Training Converge? IEEE Transactions Neural Networks (2009) 12. Muzhou, H., Xuli, H.: Constructive Approximation to Multivariate Function by Decay RBF Neural Network. IEEE Transactions Neural Networks (2010) 13. Wang, j.-g., Ding, y.: Long distance pipeline across structure damage test simulation and recognition. Journal of tianjin university 43(3), 229–233 (2010)
A Broadband Image-Rejection Sub-harmonically Pumped Mixer MMIC for Ka-band Applications Fang-Yue Ma, Yang-Yang Peng, Xiao-Ying Wang, and Wen-Quan Sui* Department of Nano Electronics, Zhejiang-California International Nanosystem Institute, Zhejiang University, Hangzhou, People’s Republic of China [email protected]
Abstract. A broadband image-rejection SHP (sub-harmonically pumped) mixer in Ka-band is proposed in this paper. It is composed of two SHP mixers, an LO in-phase power divider, and an RF quadrature-phase divider/combiner. To get smaller chip size, quasi-lumped components are utilized in the design. The simulated conversion loss of the chip is 11-12.5dB, image rejection is better than 20dB in most of the Ka-band, and second harmonic component of LO (2LO) is well suppressed at RF/IF port. The compact chip size, 1.4x1.5mm2 using a 0.15μm GaAs pHEMT technology, makes it useful both as a single device or be an integrated part of a transceiver chip.
Keywords: Sub-harmonically pumped mixer, wide-band mixer, monolithic microwave integrated circuit (MMIC), image-reject, converter.
1 Introduction In recent years, the realization of low cost and high data transmission rates in consumer and professional interactive media system becomes increasingly important. The development of systems and components operating in Ka-band gives millimeterwave communication great significance. One important component of these systems is the mixer, since it is used in both the receiver and transmitter channels. With a number of advantages, such as no DC power supply requirement, superior suppression to all even harmonics when the diode pair are well-matched, and lower requirement for local oscillator, SHP mixer using an ADPA (anti-parallel pair of diodes) become the ultimate solution at high frequency [1]-[4]. To date, few papers are reported on image-rejection SHP mixers working in the whole Ka-band [5], [6], even though expanding bandwidth has been always of interest to both MMIC research and practical applications. In this paper, the broadband image-rejection SHP mixer is implemented using WIN semiconductor’s 0.15μm GaAs pHEMT (pseudomorphic high electron mobility transistor) MMIC technology on a 100μm substrate thickness. An image-rejection SHP mixer design that employs Wilkinson divider as an LO divider and Lange coupler as an RF divider/combiner is described in details. The designed MMIC mixer chip size is as compact as 1.4 x 1.5 mm2. *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 275–281. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
276
F.-Y. Ma et al.
2 Configuration of the Broadband Image-Rejection SHP Mixer Fig. 1 shows the structure and topology of the broadband image-rejection SHP mixer. It consists of two SHP mixers, an LO in-phase power divider, and an RF quadraturephase divider/combiner. In practical use, single-sideband and image-rejection are desired in mixer design. Conventional mixers generally occupy large areas and their performances are affected by extra image-rejection filters. On the other hand, for the proposed image-rejection SHP mixer, the image-rejection filter is not needed, therefore, its good performance could be maintained for a wide bandwidth. For down-conversion, the in-phase LO signals and quadrature phase RF signals are fed in separately to two SHP mixers, namely SHP MIX1 and SHP MIX2 in Fig. 1. The frequencies of the main generating components are described as (2fLO±fRF). As shown in Fig. 1, down-conversion USB signals (2fLO+fRF) from SHP MIX1 delay π/2 radians relative to SHP MIX2 while LSB signals (2fLO-fRF) from SHP MIX1 advance π/2 radians relative to SHP MIX2. Signals are combined using off-chip IF quadrature combiner. Therefore, the desired down-converted in-phase LSB signal appears at the output while the out-of-phase USB signal is canceled. The above described circuit also works as an image-rejection mixer. The difference between desired and image frequencies is twice the IF. Therefore, phase after conversion at one of two signals is different from that at the other, so image-rejection signals are filtered while the desired signals are being kept. It can also potentially have similar performance in up-conversion.
π /2
S /2
S /2
S / 2
S /2
S
S /2
S /2
S / 2
S /2
S
Fig. 1. Structure of the broadband image-rejection SHP mixer
3 Design of the MMIC Circuit 3.1 Design of the SHP Mixer The schematic of the SHP mixer is shown in Fig. 2. The ADPA is utilized for signal mixing. The low-pass filter feeding the IF is used to isolate RF and IF ports, as RF high-pass filter does. Similarly, to isolate the RF/IF ports from the LO port, λLO/4
A Broadband Image-Rejection Sub-harmonically Pumped Mixer MMIC
277
open stub and λLO/4 short stub are needed. The λLO/4 open stub is simultaneously electrically “short” at fLO, and electrically “open” at fRF and fIF, while the λLO/4 short stub is simultaneously “open” at fLO, and grounded at RF and IF frequency. However, the λLO/4 transmission line occupy a large area since it is a quarter of the wavelength of LO frequency. To make the stubs compact, quasi-lumped stub is used to set its center frequency at LO signal [7]. The layout of the SHP mixer is shown in Fig. 3. 3.2 Design of the Broadband Image-Rejection SHP Mixer The broadband image-rejection SHP mixer consists of two SHP mixers, an LO inphase power divider and an RF quadrature-phase divider/combiner. Wilkinson divider is a most likely candidate for in-phase divider because it divides signals accurately in amplitude and phase, has lower insertion-loss, and can be applied in wide bandwidth. Furthermore, it can achieve multi-way distribution. Because the differences between unit mixers are negligible and Wilkinson divider outputs well-balanced signals for the wide band, the major imbalances in the proposed image-rejection SHP mixer come from the RF divider/combiner. Conventional lumped-element quadrature hybrid is often used as an RF divider/combiner since it occupies smaller area [8]-[10]. Therefore, some approaches have been proposed to minimize the hybrid’s size, but, when size is reduced, bandwidth is decreased at the same time. By contrast, Lange coupler outputs complete quadrature signals with well-balanced amplitude in wide frequency band. Therefore, Lange coupler has been chosen as RF divider/combiner for our MMIC design. The performance of the proposed MMIC mixer design has been simulated using ADS (Advanced Design System) and SONNET software. The EM (electromagnetic) simulations of the circuit layouts are done with ADS, as the layout of the chip is shown in Fig. 4.
Fig. 2. Schematic of the SHP mixer
Fig. 3. Layout of the SHP mixer
278
F.-Y. Ma et al.
Fig. 4. Layout of the chip
4 Result of the Broadband Image-Rejection SHP Mixer The conversion gain versus RF frequency of the unit SHP mixer for down-conversion is shown in Fig. 5. IF is fixed at 1GHz and the input LO power level is 9dBm. For LSB, conversion gain of -12±1dB is obtained for RF frequency from 26 to 40GHz. Fig. 6 shows the dependence of the conversion gain characteristic on LO input power of the image-rejection mixer. The frequency is fixed at 1GHz for IF and 33GHz for RF. The maximum conversion gain of -8.6dB occurs at the LO power of 6dBm. The best LO power varies with changing RF frequency from 6dBm to 9dBm.
Fig. 5. Conversion gain vs. RF frequency of the unit SHP mixer
Fig. 6. Conversion gain vs. LO power of the unit SHP mixer
A Broadband Image-Rejection Sub-harmonically Pumped Mixer MMIC
279
Fig. 7 shows the frequency response of the proposed image-rejection SHP mixer for down-conversion. IF is fixed at 1GHz and the input LO power level is 12dBm. The maximum conversion loss for the RF frequency of 27-39GHz is between 1112.5dB due to port mismatch losses. The isolations of LO and RF ports to IF port is above 21dB as shown in Fig. 8 and is better than 30dB in most of the Ka-band. Fig. 9 presents the isolation of LO port to RF port and the second harmonic component of the LO detected at RF port. The image rejection is better than 18dBc in the whole Kaband as given in Fig. 10. Input/output characteristics is shown Fig. 11 with fixed RF at 33GHz and fixed IF at 1GHz. The 1dB compression occurs for the RF input power of 6dBm. The P1dB RF input power for the whole Ka-band varies from 5 to 7dBm as shown in the inset of Fig.11.
Fig. 7. Conversion gain vs. RF frequency of the image-rejection SHP mixer
Fig. 8. Port isolations vs. RF frequency of the image-rejection SHP mixer
Fig. 9. Port isolations vs. RF frequency of the image-rejection SHP mixer
Fig. 10. Image-rejection vs. RF frequency of the image-rejection SHP mixer
280
F.-Y. Ma et al.
Fig. 11. IF output power vs. RF input power of the image-rejection mixer (Inset is P1dB RF input power vs. RF frequency)
For up-conversion, frequency response of the proposed image-rejection SHP mixer is shown in Fig. 12. RF is fixed at 28GHz and input LO power level is 12dBm. Conversion gain of -12±1dB is obtained from DC to 10GHz.
Fig. 12. Conversion gain vs. IF frequency of the image-rejection SHP mixer
5 Conclusion A compact size and wide band image-rejection SHP MMIC mixer at Ka-band has been presented. The die size of the chip is only 1.4x1.5mm2. The mixer exhibits an 11-12.5dB conversion loss, high isolation over the whole Ka-band band, image rejection above 18 dBc and P1dB RF input power from 5 to 7dBm for the whole Kaband. This image-rejection SHP mixer is suitable for the prevalent Ka-band receiver and transmitter module applications.
A Broadband Image-Rejection Sub-harmonically Pumped Mixer MMIC
281
Acknowledgement This work is partially supported by the Natural Science Foundation under grant number 60971058 and Natural Science Foundation of ZheJiang Province under grant number R107481.
References 1. Cohn, M., Degenford, J.E., Newman, B.A.: Harmonic Mixing with an Antiparallel Diode Pair. IEEE Trans. Microwave Theory Tech. MTT-23, 667–673 (1975) 2. Roberts, M.J., Iezekiel, S., Snowden, C.M.: A W-Band Self-Oscillating Subharmonic MMIC Mixer. IEEE Transactions on Micraowave Theory and Techniques 46(12) (December 1998) 3. Lin, C.-H., Lai, Y.-A., Chiu, J.-C., Wang, Y.-H.: A 23–37 GHz Miniature MMIC Subharmonic Mixer. IEEE Microwave and Wireless Components Letters 17(9) (September 2007) 4. Chen, W.-C., Chen, S.-Y., Tsai, J.-H., Huang, T.-W., Wang, H.: A 38-48-GHz Miniature MMIC Subharmonic Mixer. In: Gallium Arsenide and Other Semiconductor Application Symposium, pp. 3–4 (2005) 5. Singh, P.K., Basu, S., Liao, K.-H., Wang, Y.-H.: Highly Integrated Ka-Band SubHarmonic Image-Reject Down-Converter MMIC. IEEE Microwave and Wireless Components Letters 19(5) (2009) 6. Mahon, S.J., Convert, E., Beasly, P.T., Bessemoulin, A., Dadello, A., Costantini, A., Fattorini, A., McCulloch, M.G., Lawrence, B.G., Harvey, J.T.: Broadband Integrated Millimeter-Wave Up- and Down-Converter GaAs MMICs. IEEE Transactions on Microwave Theory and Techniques 54(5) (2006) 7. Okazaki, H., Yamaguchi, Y.: Wide-Band SSB Subharmonically Pumped Mixer MMIC. IEEE Transactions on Microwave Theory and Techniques 45(12) (1997) 8. Ozis, D., Paramesh, J., Allstot, D.J.: Analysis and design of lumped-element quadrature couplers with lossy passive elements. In: 2006 IEEE Int. Conf. Circuits and Systems in Conf. Rec. pp. 2317–2320 (2006) 9. Chiang, Y.C., Chen, C.Y.: Design of a wide-band lumped-element 3-dB quadrature coupler. IEEE Trans. Microwave Theory and Techniques 49, 179–476 (2001) 10. Hou, J.-A., Wang, Y.-H.: A Ka Band Balanced Third LO-Harmonic Mixer Using a Lumped-Elements Quadrature Hybrid. IEEE Microwave and Wireless Components Letters 18(6) (June 2008)
Study of Phase-Shift Laser Ranging on Travelling Crane Anti-collision System Bisheng Cao, Zhou Wan, Zhongguo Jing, and Xin Xiong Bisheng Cao, Kunming University of Science and Technology, 650093 Yunnan, China [email protected]
Abstract. Combining the research situation of travelling crane anti-collision system, this paper presents a way of phase-shift laser ranging using sine amplitude modulation to solve the measurement precision deficiency of travelling crane anti-collision system. In order to enhance the precision of measuring result, system uses independent inner and external optical receiving circuit, eliminating the additional phase shift caused by receiving circuit time delay. Keywords: laser ranging; phase-shift; travelling crane anti-collision.
1 Introduction To avoid travelling cranes traffic collision with each other working simultaneously on the same track, some research should be done for travelling crane anti-collision system, especially the high-precision measurement of the distance between travelling cranes. At present the tools used to measure the distance between travelling cranes mostly are infrared, ultrasonic, etc. Since travelling crane is running in an execrable and interferefering environment, the measurement reliability of space between cranes is poor. Fortunately, laser which has been widely used owns the advantages of good direction, high energy, anti-interference abilities, so a method of laser ranging is proposed. There are three main methods of laser ranging: pulsed laser ranging: a direct measurement of the time interval between transmitting beam and receiving beam; phase-shift laser ranging: a measurement of the time interval by testing a continuous amplitude modulated wave’s phase difference between emission beam and reflected beam; frequency modulated continuous wave laser ranging: a measurement of the time interval by testing a frequency modulated wave’s frequency difference between transmitter beam and receiver beam[1]. It has been proved that phase method has advantages of higher precision (up to millimeter degree), simpler in frame, and high practical value. Besides, if an inner optical receiver circuit which is the same as external optical receiver circuit is added, the additional phase shift will be eliminated which can enhance the precision of measuring result[2]. Therefore, a method of phase-shift laser ranging with an inner optical receiver circuit is adopted.
②
①
③
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 283–288. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
284
B. Cao et al.
2 Analysis of Phase-Shift Laser Ranging Principle Phase-shift laser ranging is a way of which can obtain the distance (short for S) indirectly by testing a continuous amplitude modulated wave’s phase difference between emission light beam and reflected light beam. When S< λ /2( λ is the wavelength of laser), the general formula is as (1), and the phase difference can be seen in Fig. 1 [3].
S=
c Δϕ ( ). 2 2πf
(1)
where c is the velocity of light, Δϕ is the phase difference, and f is the frequency of sine light wave.
Fig. 1. Phase difference during light emission and return
3 System Design The hardware of phase-shift laser ranging is composed of frequency generator, laser emission, laser receivers of inner and external optical route, signal filter and amplifier, digital phase difference examination and the data processing. System structure is shown in Fig. 2.
Frequency generator
Laser emission
Filter and amplifier
Inner optical laser receiver Lens
Filter and amplifier
Inner optical laser receiver
Digital inspecting phase difference and data processing
Fig. 2. Structure chart of phase-shift laser ranging system
Study of Phase-Shift Laser Ranging on Travelling Crane Anti-collision System
285
3.1 Frequency Generator Since the measurement range is 0~ 35000mm, and accuracy is 20mm, 5MHz sinusoidal modulated signal is needed to be generated. Therefore, MAX038 (a highfrequency waveform generator) is selected, and its output frequency and duty cycle can be adjusted to current, voltage or resistance [4].
(a)
(b)
Fig. 3. (a) Frequency Generator chart and (b) laser emission chart
Fig. 3(a) shows the MAX038 chip connection circuit which can generate 5MHz sine wave. Port A1 is needed to be set to high-level. The generated frequency is determined by (2), and the frequency value of sine wave can be different if R2 and C2 are regulated [4]. Sine wave generated by MAX038 outputs by port 19 whose load capacity is very strong. The value of C2 should be 50pF, and the value of R2 should be 20K. fo=5/ (R2C2) .
(2)
3.2 Laser Emission LASER adopted is SLD1133VL which is small, light weight, low power consumption. To achieve phase-shift laser ranging method, we should add a modulated signal to the light, so the intensity of light varies with the modulated changing signal. For a semiconductor laser, when threshold current is less than the injection current, the laser is in stimulated emission state, eradiating laser. Therefore, when modulating the SLD1133VL, an AC signal must be added to the 5 MHZ DC signal to make sure the threshold current lower than the injection current. Laser modulation transmitter circuit is shown as Fig. 3(b).In Fig. 3(b), the input signal by port C provides drive for transistor Q1, and transistor Q2 provides the static bias current which is important for SLD1133VL’s stimulated emission. 3.3 Laser Receiver of Inner and External Optical Route Since laser receivers of inner and external optical route are the same, only the external optical receiver circuit is given.
286
B. Cao et al.
3.3.1 Photoelectric Conversion Circuit The photosensitive receiving device adopted is avalanche photodiode (APD) which has Converters with internal photoelectric gain. Before current signal enters amplifier, APD will amplifies that current signal and gains a larger photocurrent signal.therefore that means APD will not cause extra noise. When APD is in a high bias voltage condition, a small temperature change could cause large variation. Therefore, in order to keep the gain constant temperature invariant, a temperature compensation circuit must be added, making the APD bias voltage also change with temperature change. The formula of APD’s best gain avalanche gain constant (Mopt) can be expressed by the following formula[4]. 1
M opt = (
4 KT ) 2+ x . q( I P + I db ) xRL
(3)
where K, q, RL are constants, x is surplus noise coefficient, Ip is Not multiplied the primary current, Idb is Surface leakage current, and T is short for temperature. In order to maximize the receiving system’s Signal Noise Ratio (SNR), APD bias voltage must be designed in the temperature compensation circuit. Therefore, even at various temperatures, APD can work in best gain avalanche gain constant. To this end, selection of a temperature sensor chip MAX6613 and an operational amplifier LM6152 are selected in the temperature compensation circuit design. MAX6613 which is a low power, providing precise analog output temperature sensor provides an analog voltage output proportional to the temperature. The relationship betweenMAX6613's output voltage and temperature is shown as formula (4) [4]. Vout=0.40+0.019T=B+AT .
(4)
where T is short for temperature, and B is a constant. MAX6613’s external circuit is shown in Fig. 4(a).
(a)
(b)
Fig. 4. (a) MAX6613’s external circuit and (b) filter amplifier Circuit
3.3.2 High-Frequency Filter Amplifier Circuit After the photoelectric detection circuit receives the modulated Laser, there is a lot of noise in receiving signal, and the signal is weak. Therefore, to insure the following
Study of Phase-Shift Laser Ranging on Travelling Crane Anti-collision System
287
circuit working well and truly, amplifying and filtering is needed. High-frequency filter amplifier circuit is shown as Fig. 4(b). 3.3.3 Digital Inspecting Phase Processing Circuit Design In the digital Inspecting phase circuit, laser receivers of inner and external optical route are separately input to a FPGA chip, and the Schematic diagram is shown as Fig. 5[2].
Fig. 5. Digital inspecting phase processing circuit
Because the structure of inner and external optical receivers circuit are basically the same, so the additional phase shift is eliminated in the inspecting phase pulse. Inspecting phase method used here is doing an integral to integer cycle phase pulse, and then getting the phase information of inspecting phase pulse according to the value of integral voltage along with pulse width of information. Author in [4] shows the value of phase difference ( Δϕ ) as (5).
Δϕ =
NVo 2πNT1 = = K 2T1 . NT /( RC • 2π ) NT
(5)
,
In (5), K2 is a constant T1 is the pulse width of inspecting phase signal. This method can relate phase information and voltage value together, and that has high stability. Therefore the distance value of travelling cranes can be easily calculated by (1) and (5).
4 The Test Results and Analysis To test whether this new phase-shift laser ranging has superiority on accuracy, it is compared with traditional phase-shift laser ranging which has no inner optical receiving circuit. After tests in the real environment, partial data received is shown separately in Table 1 and Table 2 (S is short for distance, and A is short for accuracy).
288
B. Cao et al. Table 1. Partial data received by new phase-shift laser ranging. S/mm 10000 17000 25000 30000 35000
Data1/mm 10018.93 17017.61 25012.25 30009.11 35000.71
Data2/mm 10018.09 17017.77 25012.08 30009.23 35000.87
Data3/mm 10018.13 17017.61 25012.33 30009.98 35000.99
Data4/mm 10018.22 17017.61 25012.26 30009.83 35000.39
Data5/mm 10018.91 17017.66 25012.25 30009.11 35000.66
A/mm 18.456 17.652 11.234 9.452 0.798
As can be seen from Table 1, the new phase laser ranging’s measurement accuracy is <18.456mm, more than the project’s required accuracy (20mm).Besides, as the distance becomes large, the accuracy becomes higher. Table 2. Partial data received by traditional phase-shift laser ranging. S/mm 10000 17000 25000 30000 35000
Data1/mm 10058.33 17047.64 25042.26 30041.12 35038.70
Data2/mm 10058.59 17047.47 25042.07 30041.22 35038.77
Data3/mm 10058.53 17047.63 25042.34 30041.99 35038.90
Data4/mm 10058.25 17047.51 25042.25 30041.82 35038.89
Data5/mm 10058.92 17047.66 25042.26 30041.12 35038.68
A/mm 58.524 47.582 42.236 41.454 38.788
In table 2, it is easy to seen that the traditional phase laser ranging’s measurement accuracy is >38.788mm which does not meet the system requirements (20mm). The accuracy of measuring result must be enhanced. That’s why an inner optical receiving circuit is added to eliminating the additional phase shift caused by receiving circuit time delay. Similar to the result of Table 1, as the distance becomes large, the accuracy becomes higher. Through the data and analysis above, we can easily conclude that the system achieved system requirements (meeting the working range of 0 ~ 35000mm and measurement accuracy of less than 20mm).
References 1. Zhang, T., Zhang, K.-s.: Study of phase-shift laser measuring based on Matlab. J. Laser & Infrared 40(1), 22–27 (2010) 2. Zhang, Z., Zhang, J., Zhu, D., Shao, Z.: Research on a Fast and Accurate Phase Shift Laser Range Finder. J. Chinese Journal of Science Instrument (supplement) 26(8), 111–112 (2010) 3. Jin, N., Wang, W., Weng, J.-f., Zhang, Z.-y.: The Design of the Circuit System Used for Phase Laser Range Finder. J. Journal of Optoelectronics·Laser 12(8), 864–867 (2001) 4. Cheng, Y., Yang, J.: Study on emission system of phase-laser range finder. Journal of Changchun University of Science and Technology (Natural Science Edition) 33(1), 29–31 (2010)
Bearing Condition Monitoring and Fault Diagnosis of a Wind Turbine Using Parameter Free Detection Shenggang Yang1, Xiaoli Li1, and Ming Liang2 1 Key Lab of Industrial Computer Control Engineering of Hebei Province, Institute of Electrical Engineering, Yanshan University, Qinhuangdao 066004, China [email protected] 2 Department of Mechanical Engineering University of Ottawa, 770 King Edward Avenue, Ottawa, Ontario, Canada [email protected]
Abstract. The most frequently used component of a wind turbine is bearing which failure could lead to malfunction and ultimately complete stall in a mission-critical equipment. Hence, bearing fault detection is an imperative part of preventive maintenance procedures in a wind turbine. This paper presents a free parameter approach to implement bearing condition monitoring and fault diagnosis. This approach extracts the amplitude and frequency modulations of faulty vibration signals that measured from a wind turbine system. The amplitude demodulation is inherent, and the fault frequency will be detected from the spectrums of the signal. The effectiveness of this approach has been validated by using simulated signal and experimental evaluation. Keywords: Bearing; Condition Monitoring; Fault Detection; Wind turbine.
1 Introduction The benefits of monitor condition based maintenance such as the reduced down time, repair costs and avoid catastrophic equipments failures which have fueled extensive research activities in wind turbine condition monitoring and fault detection [1]. Most failure wind turbine components due to the heavy load or their harsh operating conditions [2]. In most wind turbine fault detection studies, such fault characteristic frequencies [3] and the associate harmonics are sought in the spectrum of the original or enhanced vibration signal. High Frequency Resonance (HFR) technique and its variants are often used by industry to detect bearing faults [5]. However, the design of a suitable filter requires proper parameters, namely center frequency and bandwidth. Most studies have focused on the development of efficient and robust approaches to estimate proper center frequency and optimum bandwidth of the filter. Qiu et al [6] used minimal Shannon entropy to choose bandwidth and applied a periodicity detection method for center frequency selection. Lin et al [7] selected these parameters based on a kurtosis maximization criterion. Bozchalooi and Liang [8] on the other hand applied a smoothness index to guide the selection of such parameters. Therefore, a parameter free approach will help to mitigate this problem. As such, this M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 289–294. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
290
S. Yang, X. Li, and M. Liang
study is directed towards the development of wind turbine bearing fault detection with parameter free to implement steps. Consequently, filter parameter selection becomes unnecessary and all the related trouble will be avoided. Furthermore, computational simplicity of the proposed approach makes it suited for industrial applications, particularly realtime processing wind turbine bearing fault diagnosis.
2 Bearing Fault Detection In this section, we intend to detect bearing faults by examining the amplitude demodulated version of bearing vibration with white noise mixture. To illustrate the possibility of this approach, we first examine the spectral density of the amplitude demodulated version of simulated noisy signal, then propose a approach to increase the Signal to Interference Ratio (SIR) of the measured vibration signal. 2.1 Faulty Wind Turbine Bearing Vibrations with White Noise The signal of Figure 1(a) illustrates a series of fault generated impulses simulated at 40 KHz sampling rate with the resonance frequency of 10 KHz and fault characteristic frequency of 77Hz. The spectrum of the signal is shown in figure 1(b). As can be seen from the spectrum, the energy of the signal widely spreads almost over the entire frequency range.
Fig. 1. (a) Faulty bearing vibrations with a fault characteristic frequency of 77 Hz and a resonance frequency of 10 KHz, and (b) the corresponding frequency domain representation
2.2 Maximum Likelihood Dection The Maximum likelihood (ML) function for the signal-noise mixture can be written as follows: N
ln L( z ) = −( N + 1) ln σ 2 + ∑ ln z (n) n=0
Fault Diagnosis of a Wind Turbine Using Parameter Free Detection
291
M 1 ⎛ 2 ⎞ ⎜ z ( n) + ∑ A2 (exp( −2 β (nTs − mTp + ϕ ) )u (nTs − mTp + ϕ ) ⎟ 2 n = 0 2σ ⎝ m=0 ⎠ N
−∑
⎛ ⎛ ⎜ ⎜ z ( n) ⎜ ⎜ + ∑ ln ⎜ I 0 ⎜ n= 0 ⎜ ⎜ ⎜ ⎜ ⎝ ⎝ N
M
∑A
m=0
2
⎞⎞ exp (− 2 β (nTs − mTp + ϕ ) )u ( −2 β (nTs − mTp + ϕ ) ⎟ ⎟ ⎟⎟ ⎟⎟ σ2 ⎟⎟ ⎟⎟ ⎠⎠
(1)
Where L(z) is the maximum likelihood function for the signal-noise mixture. The amplitude of fault generated impulses can be obtained by maximizing the above log likelihood function. Then, the existence of fault can be concluded when the ML estimate of the amplitude A of significant value is observed. For cases when prior knowledge of the background noise standard deviation σ is available, the maximization of the log likelihood function should be performed with respect to A, β and φ, otherwise with respect to A, β, φ and σ. Since there are no analytical solutions available for the above maximization problem, optimization methods have to be adopted. 2.3 Increase the Signal to Interference Ratio of the Vibration Signal Which the fault bearing generated impulses excite a resonance in the system, then a very important feature of this phenomenon is that the frequency of resonance is usually much higher than the frequencies of vibration. In the following, we utilize the high frequency characteristic of the excited resonance and propose a approach to increase the signal to interference ratio of the measured vibration signal. Consider the signal model which mixed with a single harmonic as interference has shown below: M
r (t ) = v (t ) + x (t ) = a × cos ω v t + ∑ A × exp( − β (t − mTP + ϕ )) cos ω r (t − mTP )u (t − mTP + ϕ ) m =0
(2)
Where ωv is the frequency of the interfering component and ωr is the excited resonance frequency. We compare the SIR of the signal model of (1) with the SIR of a differentiated version of the same signal. We first derive the SIR of the original signal. For interference power we can write: Pv =
1 T (a cos ωvt ) 2 dt T ∫0
(3)
By differentiating (1) with respect to time we have: dr (t ) dv(t ) dx(t ) = + dt dt dt
(4)
Similarly, we can derive the SIR of the differentiated signal given in (5) by calculating the power of differentiated interference and the power of differentiated fault signal: Pdv = dt
1 T (− ωv a sin ωv )2 dt T ∫0
(5)
292
S. Yang, X. Li, and M. Liang
As before, for a single impulse we can write: Pdx = dt
1 TP
TP
∫
0
(− βA exp(− βt ) cos ω r t − ω r A exp(− β t ) sin ω r t ) 2 dt
(6)
3 Simulation Result In this section, we evaluate the proposed method on simulated signal mixture. The signal mixture is obtained by adding white Gaussian noise to the simulated faulty bearing signal of figure 1(a). The resulting signal-noise mixture has a SNR of -6 db and is shown in figure 2(a).
Fig. 2. (a) Simulated signal of figure 1(a) mixed with white Gaussian noise, and(b) signal of part (a) mixed with vibration interferences
Then we further add to the signal-noise mixture vibration interferences including 10 harmonics of gear meshing frequency of 220 Hz and 10 harmonics of shaft rotational frequency of 22 Hz. The resulting signal-noise-vibration interference mixture is illustrated in figure 24(b). The spectrum and the envelope spectrum of this mixture are shown in figures 3(a) and 3(b) respectively. As we can see from the close
Fig. 3. (a) Spectrum, (b) envelope spectrum of the simulated signal of figure 2(b).
Fault Diagnosis of a Wind Turbine Using Parameter Free Detection
293
up views, neither the fault characteristic frequency nor any of the associated harmonics can be detected from such spectral information.
4 Experimental Evaluation The raw data and its frequency domain representation are plotted in figures 4(a) and (b), respectively. Figure 4(b) shows that the spectrum of the measured signal is dominated by the shaft rotational frequency (22.9 Hz) and the harmonics as well as gearbox meshing frequency (165.7 Hz) and its harmonics.
Fig. 4. (a) A portion of the measured signal, and(b) spectrum of the signal measured from experiment.
To illustrate the efficiency of the proposed method, the envelope spectrum of the twice differenced signal is compared with the envelope spectrum of the bandpass filtered result. A bandpass filter is again designed using the Parks-McClellan method and is carefully adjusted so that the filter completely covers the high SNR frequency band of the measured signal. Figure 5(a) illustrates the bandpass filtered signal. The fault generated impulses can be easily observed in this figure. Figure 5(b) displays the envelope spectrum of the bandpass filtered signal. The effectiveness of the proposed fault detection approach can be evidenced by comparing figures 4 and 5(b).
Fig. 5. (a) Bandpass filtered signal, and(b) envelope spectrum of the bandpass filtered signal.
5 Conclusion In this paper, a parameter free approach has been developed for wind turbine bearing fault detection and condition monitoring. This study focuses on the mixtures of the faulty wind
294
S. Yang, X. Li, and M. Liang
turbine bearing vibration and intrinsic background noise, and the fault signal, background noise or vibration interferences generated by other machine elements. As the signal mixture, we propose a maximum likelihood based fault detection method. It is shown that such signal mixture follows distribution. According to this result, a maximum likelihood function is formulated and maximized to estimate the amplitude of fault generated impulses. It is shown that the vibration interference has diminished the amplitude demodulation effect. Therefore, a differencing technique is proposed to increase the signal to interference ratio of the measured signal in order to effectively apply amplitude demodulation. The results have shown that the proposed method can effectively reveal the wind turbine bearing fault characteristic frequency and the associated harmonics in the presence of intense vibration interferences.
Acknowledgements The authors would like to thank the Editor and reviewers for constructive comments that led to an improved manuscript. This research was partly supported by National Natural Science Foundation of China (61025019, 90820016), Program for New Century Excellent Talents in University (NECT-07-0735), and Natural Science Foundation of Hebei China (F2009001638).
References 1. Hameed, Z., Hong, Y.S., Cho, Y.M., Ahn, S.H., Song, C.K.: Condition monitoring and fault detection of wind turbines and related algorithms: A review. Renewable and Sustainable Energy Reviews 13, 1–39 (2009) 2. Caselitz, P., Giebhardt, J.: Rotor condition monitoring for improved operational safety of offshore wind energy converters, ASME Transactions. Journal of Solar Energy Engineering 127, 253–261 (2005) 3. Tian, Z., Jin, T., Wu, B., Ding, F.: Condition based maintenance optimization for wind power generation systems under continuous monitoring. Renewable Energy 36, 1502–1509 (2011) 4. McFadden, P.D., Smith, J.D.: Vibration monitoring of rolling element bearing by the highfrequency resonance technique- a review. Tribology International 17, 3–10 (1984) 5. Sabini, E.P., Lorenc, J.A., Henyan, O., Hauenstein, K.L.: Bearing defect detection using time synchronous averaging (TSA) of an enveloped accelerometer signal. United States Patent (6), 634–681 (2004) 6. Qiu, H., Lee, J., Lin, J., Yu, G.: Wavelet filter-based weak signature detection method and its application on rolling element bearing prognosis. Journal of Sound and Vibration 289, 1066–1090 (2006) 7. Lin, J., Zuo, M.J.: Gearbox fault diagnosis using adaptive wavelet filter. Mechanical Systems and Signal Processing 17, 1259–1269 (2003) 8. Liang, M., Bozchalooi, S.: An energy operator approach to joint application of amplitude and frequency-demodulations for bearing fault detection. Mechanical Systems and Signal Processing 24, 1473–1494 (2010)
An Approach of K-Barrier Coverage of WSN for Mine Qianping Wang, Liangying Wang, Rui Zhou, Dong Jiang School of Computer, China University of Mining and Technology, Xuzhou, P. R. China
Abstract. In this paper, background the environment of coal mine, we present K-barrier coverage wireless sensor network (WSN) based on redundancy routing protocol, node deployment strategy and optimized physical topology. The proposed node deployment strategy achieves high-accuracy localization and high-reliable communication. And it is proved to supply k-barrier coverage by the formula. Hierarchical topology control is used to constructing virtual backbone of k-barrier coverage WSN, generating an efficient logical network topology for data forwarding. Simulation of k-barrier WSN localization system of coal mine is implemented. The results show that the system is k-barrier and the virtual backbone greatly improves the efficiency of network data forwarding and improves the network survival. Keywords: k-barrier coverage, Node deployment, Topology control.
1 Introduction The first thing to do in constructing WSN of both the ordinary and special environment is to determine the network coverage according to the function. For the ordinary WSN, there are many coverage control, node deployment and topology control algorithms. But most of the algorithms can not be directly applied to the underground applications because of the special environment of coal mine according to [1]. So we analyze and design coverage control and topology control suitable for coal mine WSN in this paper. We built up k-barrier coverage WSN in coal mine for subsequent work as routing protocols and localization algorithms design. Coverage control of WSN defined in [2] optimizes allocation of limited resources through node deployment strategy and routing algorithms, improving the performance of the localization, monitoring, communication and other services. Different coverage schemes have effects on the lifetime and the performance of the network. Through analyzing the challenges posed by WSN in coal mine, coverage control of underground WSN should take into account the following factors: Localization accuracy, Network connectivity, Monitoring capacity. In WSN, network connection at the largest communication range is called "physical topology". After the sensor nodes are deployed, the physical topology of the network is fixed. "Logic topology" is the network connection formed by logical links set up by means of removing unnecessary physical communication links in the physical topology through power control and backbone construction at the premise of M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 295–302. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
296
Q. Wang et al.
network coverage and connectivity. The process of generating logical topology from physical topology is known as "topology control" [3]. Research on topology control for WSN presently focus on generating an efficient data forwarding network topology at the premise of network connectivity and coverage through removing unnecessary wireless communication links by power control and backbone nodes selection [4].
2
Coverage Control in Coal Mine
The WSN coverage is divided into point coverage, barrier coverage, area coverage and k-coverage according to the differences of the monitoring region in [5]. Point coverage covers some important targets whose location is known for data collection and monitoring; barrier coverage aims at detecting intruders that attempt to cross the network, reflecting the sensing, localization and monitoring capacity of a given WSN; area coverage covers the whole target area, that is, any point in the target area can be covered by at least one working node; while in k-coverage any point in the target area is covered by k-working nodes as defined in [6]. K-coverage can reach the coverage and localization purpose, but coal mine is a linear topology, and the underground localization system can not only think about coverage, cost control and unknown nodes' movement should be considered.
2.1
K-Barrier Coverage in Coal Mine
It can be concluded that no single coverage scheme can meet the requirements of localization systems of WSN in coal mine, so we introduce k-barrier coverage combining the characteristic of barrier coverage and k-coverage. From [7], we know that a belt region is k-barrier covered if all crossing paths in the region are k-covered. K-coverage guarantees any point throughout the coal mine covered by k sensor nodes, achieving the goal of network coverage even if there is serious signal interference or severe equipment damage. And barrier coverage ensures accuracy coverage of all crossing path of the target nodes to satisfy the underground high-precision localization in the special environment of coal mine. Before building up an underground WSN with all the area covered by k-barrier coverage, we introduce a few definitions and theorems related to k-barrier coverage: The definitions of k-barrier coverage: The Given Sensed Area (GSA): the target area where sensor networks complete the task. Sensing Radii: sensing range of sensors, expressed by r. Disk-based Sensing (DS): the sensing area formed by the sensor node as center and the sensing radius as radius. The probability of the node activity (Pnode_active): in order to extend the lifetime of WSN, certain scheduling mechanism is used to make the necessary node active, while the other nodes sleep. Wake up the sleeping nodes when they are in need. The network probability of node activity Pnode_active is defined as:
An Approach of K-Barrier Coverage of WSN for Mine Pnode _ active
lifetime of the network with all nodes active lifetime of the network after employing the scheduling mechanism
297
(1)
Exposure: the integral of sensing from a given start to a given end, reflecting the coverage performance in a crossing path. Let Sa be the set of sensors involved in sensing q. In time [t1, t2], the target q moves L along the trajectory p (t) = (x (t), y (t)), so in the trajectory, the aggregated sensing of the sensor set Sa, i.e., the exposure of target q in the trajectory p (t) is: 2 (2) d p (t ) E ( S a , q ) E ( S a , p ( t ) , t1 , t 2 )
1
c ( si , q (t ))
i
dt
dt
(np node _ active ) :a monotonically increasing function of npnode_active, where n is the number of the nodes and npnode_active is the number of the active nodes,there exists: (3) (np node _ active )=o(loglog(np node _ active )) C(npnode_active):an assistant function defined for examining the coverage, there exists: 2 n p n o d e _ a c tiv e r (4) C (s)
s l o g ( n p n o d e _ a c tiv e )
k-barrier coverage theorem:Assuming that topology of a sensor network is the belt region B with length s and the network coverage degree is K, for sufficiently large s, if ( n p n o d e _ a c t i v e ) ( K 1) lo g lo g ( n p n o d e _ a c t i v e ) (5) C (s) 1 lo g ( n p n o d e _ a c t i v e )
when s , all crossing paths in region B will reach k-coverage at a probability close to 1, that is say area B is k-barrier coverage, concluded from [8]. Node deployment is the first thing to consider in achieving underground kbarrier coverage. So we first deploy sensor nodes of the localization system of WSN in coal mine.
2.2
Nodes Deployment in Coal Mine
There are many ways to deploy nodes, but most of the researches on node deployment of WSN is based on the random node deployment by aircraft. In practice, random node deployment is rarely used. We employ deterministic deployment in underground WSN localization system as large-scale deployment requires high construction cost and communication break may happen in the random deployment. In order to save cost, we first put one node in the effective communication range every fixed distance. In this situation a dead node will lead to disrupted communication in the whole coal mine. This can not satisfy network connectivity. Moreover there are at most two anchor nodes to do the localization. Thus no matter what method to use for the localization, it is unable to meet the accuracy. Therefore, two more sensor nodes are put between the previous two to improve localization accuracy and network connectivity. We can know from experiments that in an enclosed linear space, two communication nodes placed on
298
Q. Wang et al.
different walls has lower packet loss rate than that of the nodes placed on the same wall. So the node deployment scenario is designed: one node is placed in the effective communication range every fixed distance, and then two redundant nodes are placed alternately between two nodes of the previous nodes in the equidistant distance. Hence any point shown in Figure 1 has at least six anchor nodes to do the localization, meeting the localization accuracy. And communication links can be re-established by redundant nodes once there are node damages, ensuring the entire network connectivity.
2.3 Validation of K-Barrier Coverage in Coal Mine It is analyzed that the node deployment strategy meets the underground localization accuracy and network connectivity requirements. The following work is done to validate whether the deployment strategy supplies K-barrier coverage over the entire coal mine. We have known from the previous section that an area is K-barrier coverage when all the crossing paths in the area are k-covered by the WSN. We can see any crossing path in the belt region of Figure 1 is covered by at least 6 sensor nodes. That is to say the region is K-barrier covered.
Fig. 1. K-barrier coverage of WSN localization system in coal mine
We use k-barrier coverage theorem to do the verification as follows. From Figure 2 we can know that the network's coverage degree is 6. In addition, the anchor nodes in the coal mine can be powered wired and the unknown nodes are battery-powered by miners' lamps, meaning the network lifetime is infinite whether all the nodes are always active or the nodes employ active scheduling mechanism. So lifetime of the network with all nodes active =1 (6) P node _ active
lifetime of the network after employing the scheduling mechanism
When s , path length tends to infinity, and the number of network nodes n is also tends to infinity. Now the equation is: lim C ( s) 1
(npnode _ active ) ( K 1) log log(npnode _ active )
s , n
=
lim
s , n
2npnode _ active r s log(npnode _ active )
log(npnode _ active )
1
(npnode _ active ) ( K 1) log log(npnode _ active ) log(npnode _ active )
0
(7)
We can see the entire coal mine is K-barrier coverage with the proposed node
An Approach of K-Barrier Coverage of WSN for Mine
299
deployment strategy, ensuring coverage and continuous monitoring of any unknown moving nodes.
3 Topology Control of WSN of Coal Mine Underground WSN constructed according to the above coverage scheme and node deployment strategy only has the k-barrier coverage physical topology. In order to efficiently operating the network, we should optimize the network through topology control. In this way, a real k-barrier coverage underground WSN is established.
3.1 Power Control and Hierarchy Topology Control The topology control of sensor networks can be divided into two categories in accordance with the research: power control and hierarchical topology control. Reference [9] implies that purpose of power control in WSN is to reduce the transmitting power as much as possible without sacrificing system performance. Although power control can effectively reduce energy consumption and improve network connectivity. Most power control technologies stay in the realm of theory; very few in [10] which do not fit special topology of coal mine can be adopted in practical applications. And because of underground localization accuracy, we select RSSI-based localization. If we use power control to eliminate redundant paths for network optimization, different power all over the network makes the signal strength taken by RSSI can’t correctly reflect the distance between two nodes. The whole network must use a unified power to locate the unknown nodes. So power control can not be used in this system. Different from power control, hierarchy topology control uses the uniform transmission power in the entire network. Because wireless communication module consumes much the same energy in idle state with that in sending and receiving states, the hierarchical topology control, for the purpose of energy conservation, selects some nodes as backbone nodes to open their communication module according to certain mechanism and close non-backbone nodes’ communication module. Hierarchical topology control can effectively eliminate redundant communication links and save a lot of energy through sleep scheduling mechanism. So k-barrier coverage WSN in coal mine proposed in this paper using hierarchical topology control to optimize its topology.
3.2
Establishment of the Virtual Backbone Network
Hierarchical topology control elects the cluster heads (virtual backbone nodes) through clustering mechanism in the premise of network topology connectivity. The backbone formed by the cluster heads forwards the data [11]. So in constructing virtual backbone using hierarchical topology control, the first step is to elect appropriate nodes as the virtual backbone nodes by certain algorithm. The election
300
Q. Wang et al.
algorithms are generally based on residual energy or geographical location. But mine is a linear topology, it is difficult to cluster in the normal way based on energy or geographic location. As a solution, we specify the initial nodes as the virtual backbone nodes (Backbone-nodes) and the nodes joining later as redundant nodes. The virtual backbone nodes and communication links among compose the virtual backbone of WSN of coal mine. Virtual backbone nodes are always in work condition, while the redundant nodes sleep at most time. When needed, the redundant nodes are waken up according to the localization algorithm and routing mechanisms to participate in localization and routing recovery implementation. Optimized logical topology is shown in Figure 2 (b):
(a)physical topology
(b)logical topology
Fig. 2. Topology of WSN localization system of coal mine
From the physical topology and the logical topology in Figure 2, we can see most of the unnecessary communication links are eliminated after establishing virtual backbone of underground WSN. This method effectively reduces energy consumption avoiding the broadcast storm. The whole network using the unified power enables the accuracy of the unknown nodes’ RSSI-based localization. If some of the virtual backbone nodes have been damaged, due to the presence of redundant nodes, route recovery strategy of all cases can be designed, laying a solid foundation for routing protocol design. Though communication through the same link will consume much energy of virtual backbone nodes, it doesn’t do any matter to the practicability of the network because we can easily maintain and update the battery for the nodes are powered wired or by miner's lamp. Besides, the wireless network routing design makes immediate localization of dead nodes. Finally, the K-barrier coverage WSN of coal mine is established.
4 Simulation First, establish the scene and define antenna type, signal transmission mode, routing protocol and the way mobile nodes move. We deploy anchor nodes adopting the node deployment strategy described above. The model has 200 backbone nodes and other 200 redundant nodes. For a clear scene, only a part of the nodes are shown in the figure. To simulate the underground tunnel, the scene is set as a narrow range of 10000m * 10m.
An Approach of K-Barrier Coverage of WSN for Mine
301
After establishing the scene, simulations are done to verify coverage control, topology control, routing protocol and localization algorithm. Since we have verified that the system is k-barrier coverage, the simulation of the coverage is aimed at verify node deployment strategy. The number of nodes in the coverage range of two backbone nodes and two redundant nodes as well as the relationship between coverage range and coverage degree are concerned. The simulation result is shown in Figure 4 of [12].
Fig. 4. Simulation of coverage control
Fig. 5. Time delay effect of topology control
From the figure we can know that when the number of the nodes is too small, the coverage is difficult to reach 100% even if the maximum effective communication radius is 30. But 100% coverage can be achieved with the effective communication radius of 10 when there are more than four nodes. That is to say too many nodes are superfluous and a waste of resources in the purpose of achieving 100% coverage. And too many nodes also prone to broadcast storms, increasing the difficulty of routing design. The node deployment strategy of four nodes, implemented with a minimum of nodes, achieves complete coverage requirements within a radius of effective communication. Figure 5 shows the time delay of data packets transmission through the physical topology before topology optimization and logical topology after optimization. The simulation results show that topology optimization make data packet transmission time delay decreased significantly. And the optimized network topology nodes have much higher lifetime. It is obvious that constructing virtual backbone network to optimize network topology by selecting backbone nodes can greatly improves the efficiency of network data forwarding and improves the network survival.
5 Conclusion In this paper, we analyze a variety of typical control schemes and propose a kbarrier coverage strategy for underground WSN localization system. To realize the solution, backbone nodes are alternately placed in the tunnel and other two redundant nodes are placed alternately between each pair of the nodes. The node deployment strategy is verified to be K-barrier coverage. And then an efficient logical topology for data transmission is generated from the physical topology formed after node
302
Q. Wang et al.
deploying through the virtual backbone structure. We have initially established kbarrier coverage underground WSN through node deployment strategy and coverage control as well as topology control. The ns2 simulation shows that the system has an impressive performance in selecting number of nodes, node deployment strategy, network coverage, topology control.
References 1. Jiang, D., Wang, Q., Wang, K.: The Research and Design of High Reliability Routing Protocol of Wireless Sensor Network in Coal Mine. In: NSWCTC 2009, vol. 5, pp. 568–571 (2009) 2. Ye, F., Zhong, G., Lu, S., Zhang, L.: PEAS: A robust energy conserving protocol for longlivedsensor networks. In: Stankovic, J., Zhao, W. (eds.) Proc. of the Int.Conf. on DistributedComputing Systems (ICDCS), pp. 28–37. IEEE Press, New York (2003) 3. Xu, Y., Heidemann, J., Estrin, D.: Geography-Informed energy conservation for ad hocrouting. In: Rose, C. (ed.) Proc. of the ACM Int. Conf. on Mobile Computing and Networking (MobiCom), pp. 70–84. ACM Press, New York (2001) 4. Li, S., Zhang, K.: Theroy and Application of Wireless Sensor Networks. Machine Press, Beijing (2008) 5. Gui, C., Mohapatra, P.: Power conservation and quality of surveillance in target trackingsensor networks. In: Haas, Z.J. (ed.) Proc. of the ACM Int. Conf. on Mobile Computingand Networking (MobiCom), pp. 129–143. ACM Press, New York (2004) 6. Xing, G.L., Wang, X.R., Zhang, Y.F., Lu, C.Y., Pless, R., Gill, C.: Integrated coverage andconnectivity configuration for energy conservation in sensor networks. ACM Trans. on Sensor Networks 1(1), 36–72 (2005) 7. Chen, B., Jamieson, K., Balakrishnan, H., Morris, R.: SPAN: An energy efficient coordinationalgorithm for topology maintenance in ad hoc wireless networks. ACM Wireless Networks 8(5), 481–494 (2002) 8. Heinzelman, W.R., Chandrakasan, A.P., Balakrishnan, H.: Energy-Efficient communicationprotocol for wireless microsensor networks. In: Nunamaker, J., Sprague, R. (eds.) Proc. of the Hawaaian Int.Conf. on System Science (HICSS), pp. 3005–3014. IEEE Press, Washington (2000) 9. Monks, J., Bharghavan, V., Hwu, W.: A power controlled multiple access protocol for wirelesspacket networks. In: Sengupta, B. (ed.) Proc. of the INFOCOM 2001, pp. 219–228. IEEEPress, Anchorage (2001) 10. Yu, H., li, O.: Theroy, Technology and Implement of Wireless Sensor Networks. National Defence Industrial Press, Beijing (2008) 11. Ding, P., Holliday, J., Celik, A.: DEMAC: An adaptive power control MAC protocol for adhoc networks. In: Walke, B. (ed.) Proc. of the PIMRC 2005, pp. 1389–1395. IEEE Communications Society, Berlin (2005) 12. Jiang, D.: Research and Design of Wireless Sensor Network Localization System in CoalMine Based on Redundancy Routing Protocol and K-Barrier Coverage. China University of Mining and Technology (2010)
Design and Implementation of Intrusion Detection System Tai-ping Mo and Jian-hua Wang School of Electronic Engineering & Automation, Guilin Univ. of Electronic Tech., Guilin 541004, China {mtp,wjh}@guet.edu.com
Abstract. This paper have a research on intrusion detection technology , by analyzing the composition and implementation of intrusion, we designed a network intrusion detection system model: network packet capture - analysis of data package - key elements of the data packet matches with the rule base causing alarm. under VC++6.0 and Access 2000 environment, we designed and implemented a network intrusion detection system. The experiment result show the system can detect both known intrusions and the new intrusion. What's more it can notify users to deal with problems immediately. Keywords: intrusion detection, rules base, invasion.
1 Introduction Since James P. Anderson detail the concept of intrusion detection for the first time in his book “Computer security threat monitoring and surveillance”[4] in 1980. The intrusion detection system has made a significant progress. As more and more companies began to turn their business to network, network security has become an unavoidable problem. With the maturity of the attacker skills, the complication and diversity of attack tools and techniques, the simple firewall technology has been unable to meet our needs. At the same time, network environment has become more complex. Hardware equipment, software systems need to constantly upgrade and worker’s carelessness could cause a major security risk. Intrusion Detection System is in accordance with a certain degree of security policy, through software, hardware, network, the status of the system to found all kinds of attack attempts, aggressive behaviors or attack results, so as to ensure the network resources confidentiality, integrity and availability. Network Intrusion Detection System (NIDS) and Host Intrusion Detection System (HIDS) are the most popular IDS, and the appliance of them are most widely. Network intrusion detection system is more common so this paper has design and implement it. Network intrusion detection technology is a kind of dynamic secure technology, and it is an important part in the security protection system. Firewall is a static security and defense technology well as network intrusion detection system is dynamic. It can detect network intrusion events and processes and make real-time response. Working with network firewall, NIDS become the core of network security equipment. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 303–308. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
304
T.-p. Mo and J.-h. Wang
2 IDS and NIDS IDS is a combination of software and hardware and have function of intrusion detection. Through Collecting and analyzing some key points of computer network or computer system, IDS can discover whether the network or system have violation or attack. The data will be analyzed, then useful results can be obtained. The main function of IDS include: Monitor and analyze users’ and systems’ activities, Verificate system’s configuration and vulnerability, Assess critical resources of system and data integrity of the files, Identify of the known attacks, Statistic and analysis of abnormal behavior and Manage the log of the operating system. IDS always contains information collection and data analysis. IDS Can be divided into host-based and network-based. Among them, host-based intrusion detecting systems (HIDS) are often through selecting system log, application log as data source, or through other means (such as calls of the monitoring system) to gather information from the host; Data source of network intrusion detecting system (NIDS) is packets on the network, NIDS often set a NIC of one machine into promiscuous mode, monitor data packets and make judgments. In the shared network, NIDS monitor communications and do data collection, analysis of suspicious phenomenon. Fig. 1 illustrates the principle of it's implementation. Compared with HIDS, NIDS is transparent to the invaders. There is two kinds of NIDS's operation, one is running on the target host to monitor the communications of its own information, the other is runing on a separate machine to monitor all network communication and information devices, such as the Hub, router. NIDS including packet capture, protocol decoding and matching modules. It is always run at real-time status to detect possible intrusions any time. NIDS has high detection speed, better for hiding, wide field of vision, less use of resource of monitor and many other advantages.
Fig. 1. Implementation principle of network intrusion detection system(NIDS).
Design and Implementation of Intrusion Detection System
305
3 Design and Implementation of NIDS Based on the design principles of IDS, this paper adopt misuse detection technology, design and implement a network intrusion detection system. Considering machine learning way requires a longer time and more frequency to find new attacks of old loophole and attack methods of new loophole, we adopt artificial way. There is a complex database in the system and new rules also can be set by the user who use it. 3.1 Design Theory Intrusion detection technology contents misuse detection and anomaly detection. Misuse detection, which used to detect those types of the already known attack, needs to judge weather the user’s behavioral characteristics matches the characteristics of the attack feature library or not[3]. Besides, it contents the methods of network intrusion and the knowledge of system defect. The technology has the advantages of high detection accuracy. But it can only testing the known attack mode. When there are some attack means aiming at the new vulnerabilities or some new style attacks for old loopholes, we should add the new attack model towards the characteristics artificially or from some other machine learning system to the attack feature library. Only in this way can the system get the ability of testing a new attack. The usual methods in misuse detection technology are expert system, the state transition and model reasoning. With comprehensive factor considered, we use the technology of misuse detection to design and complete the intrusion detection system. Compared with the intrusion detection systems that using common techniques of misuse detection, our system have a complex rules database and any intrusion rules can be set by user himself. According to these rules, the system can deal with invasions and send alarm to the users. NIDS of this paper have some advantages and disadvantages. Advantages: compared with IDS that using common technology of misuse detection, this system can let user set up their own rules of the invasion. When invasion of a new mode appear, user can add new rules at any time and update the original rule, the discovery of new invasion model which makes the system more flexible. Disadvantages: Due to the technology of after detection, the user must understand the characteristics of invasion so as to set their own rule, Therefore it increase the complexity of user operations, because all rules must be set by the user. 3.2 Framework of NIDS This system contain several functions such as network data collection and testing engine, rule detection, alarm and response and information released, Fig. 2 depicts the functional blocks of the system. Firstly, user create a rule base, after that system will start packet capture program first, then analysis of the data packet, sent the results to the database, extracted data in the database and compare it with rules from database, finally the user can view information.
306
T.-p. Mo and J.-h. Wang
Fig. 2. Function module of network intrusion detection system(NIDS).
3.3 Design and Implementation of Functional Modules In the overall framework, network data collection modules , test engine modules, test the rule base modules ,alarm and response information modules will be included. Data Collection and Testing Engine. With the comprehensive consideration, this system is developed by winpcap network package. Independent of the host protocol the main function of winpcap is to send and receive datagram, which offers the following functions: Capture the original datagram, including the sharing of the hosts on the network to send / receive and exchange of data;Before datagram sent to the application, in accordance with the custom of certain special rules to filter out the data reported and Send the original datagram in the network ;Collecting statistics of network traffic. The winpcap packet provide a process of capture data for application, including two different levels of API: packet.dll, wpcap.dll. besides a virtual device driver NPF.vxd will be included. packet.dll calls the kernel directly, and wpcap.dll provide a more friendly, more powerful function. Steps of using winpcap can be seen in Table 1. Database of Detect Rules. The Database which offer detective rules is the most important part of system, it’s the basis of NIDS run effectively. First of all, for some of known specific attacks,we can set these source IP, port, MAC address, protocol type and packet length. Each set is equivalent to a record, you can set multiple records, base of detection rules is constituted by these records. After setting detection rules, you can click Add Record button to add rules. While the system running, we can add the rules according to actual situation manually. Alarm and Response. After the system is running, the system starts to capture network packets and displays them in the list. The length, type, source IP address, source MAC address, source port, destination IP address, destination MAC address, destination port of data packets can be seen in the list. users can click on any one record, then detail information of this paket will be displayed in the left side. At the
Design and Implementation of Intrusion Detection System
307
same time system capturing data packets and compare the contents of the packet with the rules of database. when the system detects attacks, it will alarm through the following statements: qqmsg *pMsgWindow=new qqmsg; qqmsg& msgWindow=*pMsgWindow; msgWindow.CreateMsgWindow(); msgWindow.ShowWindow(SW_SHOW); msgWindow.UpdateWindow(); msgWindow.hid(); PlaySound(".\\msg.wav",NULL,SND_ALIAS|SND_ASYNC); m_pRecordset2.CreateInstance("ADODB.Recordset"); View Information. Intrusion information View is the last part of the system. We set up a blocking protocol called "TCP", The destination port is "192.168.2.11", the event code is "100001", the event name is the invasion of "aim at TCP "protocol , the response way is "sound", the invasion level is "high" . Click add record then we can see the rules we just set.After adding the test rules and clicking the "start" button to begin testing, once test the attack then click it and generate alarm, record the attack event, and we can check attack event information at this time . Table 1. Steps of using winpcap in NIDS. Basic Steps Enumeration of NIC information
Open NIC and set it to promiscuous mode
Intercept data packets and save files
Used Functions int pcap_findalldevs (pcap_if_t** alldevsp, char *errbuf) pcap_t* pcap_open_live (char* deivce, int snaplen, int promisc, int to_ms, char*ebuf) pcap_dumper_t* pcap_dump_open (pcap_t* p, const char* fname) int pcap_next_ex (pcap_t* p, struct pcap_pkthdr** pkt_header, u_char** pkt_data) void pcap_dump (u_char* user, const struct pcap_pktdr* h, const u_char* sp)
Parameter Description Alldevsp: pointer of a structure, if sucess we will get a NIC list which store the first poinster of the list errbuf: strings that store the error message device: Get the name of NIC. snaplen: The length of the data package that obtained. promisc: Whether set to "promiscuous mode". to_ms:Timeout, milliseconds pcap_t: Return Value,NIC handle pcap_t* p: NIC handle. const char* fname: the name of files that stored. pcap_t * p NIC handle. pcap_pktdr** pkt_header:header that relevant with paket capture driver. u_char** pkt_data: Pointer that point to the contents of data packets. u_char* user: NIC handle. pcap_pktdr *h: header that relevant with paket capture driver. const u_char* sp:packet pointer of the contents.
308
T.-p. Mo and J.-h. Wang
4 Conclusion Based on the study and analysis of the basic theory of IDS, this paper final design and implement the network-based intrusion detection system. By intercepting network packets, analyzing the data packets, matching the key contents of the packet with the rule base, creating an alarm and have achieved the basic functions of network intrusion detection system. Finally, we take a simple test which shows that the system through the rule database which is designed by the user can detect known intrusion activities, along with new detection capabilities of the intrusions. Although the function of the system is quite simple, it is practical.
References 1. Hou, F.-m., Li, D.-x.: Design of a New Intrusion Detection SystemBased on Protocol Tree. J. Application Research of Computer, 150–152 (2005) 2. Verwoerd, T.: Intrusion Detection Techniques and Approaches. J. Computer Communications 25, 1356–1365 (2002) 3. Cheng, Y.-q., Mei, D.-h., Chen, L.-f.: A Model of Intrusion Detection System Based on Data Mining. J. Computer Technology and Development 19(12) (2009) 4. Jiang, J.-c., Ma, H.-t., Ren, D.-e., Qing, S.-h.: A Survey of Intrusion Detection Research on Network Security. Journal of Software, 1460–1466 (2000) 5. Tang, Z-j., Li, J-h.: Intrusion Detection. Tsinghua University Press, Beijing (2004) 6. Ye, N., Emran, S.M., Li, X., et al.: Statistical Process Control for Computer Intrusion Detection. In: DARPA Information Survivability Conference & Exposition Anaheim, California, June 12-14, vol. 1(1), pp. 3–14 (2001) 7. Schulter, A., Reis, J.A.: A Grid-based Intrusion Detection System. Networks and Management Laboratory Federal University of Santa Catarina. In: Proceedings of the International Conference on Networking, International Conference on Systems and International Conference on Mobile Communications and Learning Technologies, IEEE, Los Alamitos (2006) 8. IDS Special Topic, http://www.chinaitlab.com/www/special/ciwids.asp
Self Tuning PID Controller for Main Steam Temperature in the Power Plant Amin Aeenmehr and Alireza Sina Production Technology Research Institute, branch of ACECR, Ahwaz, Iran [email protected], [email protected]
Abstract. In this paper, a PID self-tuning controller is used for the control of main steam temperature in the power plant. A common weakness of these selftuning PID controllers is their inability to cope with dead time processes. In this paper, self-tuning controller based on pole assignment approach, which can overcome constant and known dead time is used and the results show that the controller works well in handling dead-time process. Keywords: Self-tuning PID controller, Smith predictor, Dead-time, Main steam temperature, Power plant.
1 Introduction Many industrial processes inevitably change over time for a variety of reasons that include: equipment changes, different operating conditions, or changing economic conditions. Consequently, a fundamental control problem is how to provide effective control of complex processes where significant process changes can occur, but cannot be measured or anticipated. The main steam temperature controlled process in the power plant is a typical process with nonlinear, dead time, time-varying parameters and it is very difficult to control[1]. Traditionally, PID or PI controllers connected to the plant are tuned with a reduction of gain so that overall stability can be obtained. This results in poor performance of control. One of the most important events in the development of digital control systems is the introduction of the self-tuning controller for single variable systems [3]. The extension of the theory to multivariable systems has since been investigated extensively [4] , [5]. However, in the industrial sector, the process controllers in operation are predominantly PID type due to their simple and robust nature. Various types of self-tuning PID controllers have been proposed in the past. In this paper, a self-tuning pole assignment PID controller which can overcome known and constant dead, is used.
2 Pole Assignment Self-tuning PID The original pole assignment self-tuning PID controller proposed by Wittenmark and Astrom is shown in Fig. 1. Assuming that the process can be described by the difference equation [2]. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 309–315. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
310
A. Aeenmehr and A. Sina
(1) With (2)
A=1+
(3) Given A, B, and 1
(4) (5)
1
(6)
The closed-loop transfer function is given by 1
(7)
1
In order to obtain a closed-loop polynomial P, polynomials Q and R must satisfy the Diophantine equation 1
(8)
The coefficients Q and R can be obtained by solving the simultaneous equations that follow 1
(9) (10)
1
(11) 0
(12)
Self Tuning PID Controller for Main Steam Temperature in the Power Plant
311
Fig. 1. Block Diagram of Pole Assignment Self-Tuning PID.
If 1 is the desired characteristic equation, then controller parameters R and Q can be determined uniquely, provided A and B are coprime. The controlled variable can be determined by the relationship 1
1
(13)
3 A Pole Assignment Self-tuning PID Controller with Smith Predictor Which Overcomes Constant Dead Time Smith has proposed the idea of a predictor to overcome dead time by including a minor feedback loop at the output of the controller. The key idea is that the controller design can be assigned PID controller which incorporates the smith predictor is shown in Fig. 2. Form Fig. 2, the controlled variable can be determined as follows [2]: 1
1
(14)
In this configuration, closed loop stability is not affected by dead time as it can be shown that the controlled variable is independent of the delay. Since (15) (16) (17) Then controlled variable 1 (18)
312
A. Aeenmehr and A. Sina
1 1 If
then 1 1
(19)
Since equation (19) does not include the dead time, then u is independent of dead time.
Fig. 2. Block Diagram of Pole Assignment Self-Tuning PID Controller with Smith Predictor.
4 Simulation The process considered is the pulverized coal-firing 200MW steam-boiler unit used for electric power generation. It produces 670 tons of steam per hour at maximum continuous rating [1]. Two-stage sprayers were applied for the superheated temperature system in a multi-stage control manner to reduce the time constant of the plant and improve the control performance. The rated superheated steam temperature is 540°C. The task of the super heater in boiler-turbine system is to heat the steam by combustion gas and then send it to turbine[1]. As shown in Fig.4, the steam coming from the boiler drum passes through the lowtemperature super heater and receives a spray water injection for protection before passing through the radiant-type platen super heater. The steam coming out from the radiant-type platen super heater receives a second spray water injection before passing through the high-temperature super heater. The super heater steam temperature reaches the highest point within the whole steam-water process and thus presents great influence on the safety and running efficiency of the whole power plant [1]. A properly control system by super heater water spray should maintain strictly the steam temperature within the permitted range (10°C in transient process and 5°C in steady state). Higher temperature could damage the super heater and the high-pressureturbine by high heat strength. Lower temperature could decrease the running efficiency of the whole steam-boiler. By reducing temperature fluctuations, mechanical stress causing micro cracks is diminished, therefore the useful life of the
Self Tuning PID Controller for Main Steam Temperature in the Power Plant
313
plant is increased and maintenance cost is decreased [1]. The main steam temperature is an important parameter, which is related to the efficiency and safety of the power plant. However, it is affected by many disturbances such as load changing or combustion situation changing or flow of the spray water changing etc. The main steam temperature controlled process is a typical process with significant delay and time-varying parameters. According to many experiments and, the main steam temperature controlled process can be described approximately as[1] 0.4 30 1
(20)
to turbine
1. 2. 3. 4. 5. 6.
low-temperature platen high temperature Spray valve feed water valve spray
Fig. 3. The superheated steam system.
The presented controller is applied to the superheated steam and simulated by MATLAB/SIMULINK. The results are shown in figures (4-6).
Fig. 4. Reference input.
314
A. Aeenmehr and A. Sina
Fig. 5. Output of controlled superheated steam system..
Fig. 6. The reference input and output of controlled superheated steam system.
Fig. 4 shows the reference input. Fig. 5 shows the response of the controlled system and Fig. 6 shows the reference input and output in a plot. The reference input increases to 4 at t=520 s and consequently the output increases to 4 with sharp undershoot and negligible settling time and overshoot.
5 Conclusion A self-tuning PID controller based on the pole-assignment is designed to control the main steam temperature in the power pant in this paper. The constant and known dead time process can be controlled by the controller with a Smith predictor. The presented controller is applied to the superheated steam and simulated. the simulation results show that the proposed controller copes well with the dead time processes.
Self Tuning PID Controller for Main Steam Temperature in the Power Plant
315
References 1. Xiu-Zhang, J., Gen-Yuan, W., Yao-Quan, Y.: Multi-IMC Adaptive Control System for MainSteam Temperature in the Power Plant. In: Proceedings of the Fourth International Conference onMachine Learning and Cybernetics, pp. 676–681. IEEE, Los Alamitos (2005) 2. Fong-Chwee, T., Sirisena, H.R.: Self-Tuning PID Controllers for Dead Time Processes. IEEETransaction on Industrial Electronics 35(1), 19–12 3. Astrom, J.K., Wittenmark, B.: On Self-Tuning Regulator. Automatica 9(3) (1973) 4. Borrison, U.: Self Tuning Regulator for a Class of Multivariable Systems. Automatica 15(2) (1979) 5. Sirisena, H.R., Teng, F.C.: Multivariable pole-zero placement self tuning controller. Int. J. Syst. Sience 17(2) (1986)
A Novel Transformerless Single-Phase Three-Level Photovoltaic Inverter Xiaoguang Yang and Youhua Wang Key Laboratory of Electromagnetic Field and Electrical Apparatus Reliability, Hebei University of Technology, Tianjin 300130, China [email protected]
Abstract. Single-phase transformerless inverter is widely used in low-power photovoltaic (PV) grid-connected systems due to its small size, high efficiency and low cost. This paper proposes a novel high efficiency transformerless single-phase three-level-based photovoltaic inverter. The topology is simulated and experimentally validated in a 1.2-kW prototype and a comparison with three-level diode clamped inverter is performed. The results show that the proposed topology retains the positive characteristics of the three-level diode clamped inverter; namely, the nongeneration of variable total common-mode voltage, the reduced current ripple, and the high efficiency. The advantage of the proposed topology is that it reduces the input voltage by half compared with the three-level diode clamped inverter. Keywords: photovoltaic (PV) system, transformerless inverter, three-level diode clamped inverter, common-mode current
1 Introduction Today, Photovoltaic(PV) inverters become more and more widespread. These grid connected inverters convert the available direct current supplied by the PV panels and feed it into the utility grid. According to the latest report on installed PV power in total, about 6,2 GW of PV capacity were installed in the IEA PVPS countries during 2009 (2008:5,5 GW); raising the total installed capacity to 20,4 GW in those countries. By far the greatest proportion (74 %) was installed in Germany and Italy alone. If the US, Japan and France are also included, then over 93% of PV installations in 2009 occurred in five countries [1]. Usually, grid connected PV systems include a line transformer between the converter and the grid. The use of the transformer is to guarantee galvanic isolation between the grid and the PV system. Moreover, the transformer significantly reduces leakage currents between the PV system and the ground, and ensures that no direct current (DC) is injected into the grid. However, the line transformer is big, heavy, and expensive, and it reduces the overall efficiency of the converter. Transformerless PV systems have higher efficiency, smaller size and weight compared with the PV systems with transformers. But transformerless inverters must M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 317–324. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
318
X. Yang and Y. Wang
cover the purposes of the transformer, which are to fulfill safety requirements, to avoid DC current into the grid, and to reduce common-mode currents between PV system and ground [2]. Safety requirements can be fulfilled by including a ground fault detector in the inverter. The common-mode currents might cause severe electromagnetic interferences, grid current distortion, and additional losses in the system. Different inverter topologies have been proposed for transformerless PV systems to minimize the common-mode current and to improve the efficiency of the whole PV system. One of these topologies is the full bridge with bipolar pulse width modulation. However, bipolar modulation causes large current ripple and high switching losses, reducing the overall efficiency of the inverter [3,4,5]. Another topology proposed for transformerless PV systems is the half-bridge inverter [6,7,8]. This topology, besides not generating variable common-mode voltage, guarantees the noninjection of DC current. However, the half-bridge inverter causes a large current ripple and high switching losses, thus reducing the efficiency of the inverter. In order to improve the efficiency and reduce the current ripple, the use of a single-phase three-level diode clamped inverter has been proposed [6,9]. A disadvantage of the three-level diode clamped inverter is that for single phase grid connection they need a 700V DC-link voltage. This paper presents a novel three-level inverter topology for transformerless gridconnected PV system. This topology generates no varying common-mode voltage, has low current ripple, and has high efficiency. The input voltage of the proposed inverter is only half of the traditional three-level diode clamped inverter.
2 Common-Mode System Description Fig. 1 shows a detailed scheme of a transformerless PV system, including the PV array, the DC-side filter, the inverter, the AC-side filter (split in two parts L1 and L2, which are between the line and the neutral) and the grid. L1
Photovoltaic array
P Filter DC
Power Converter Inverter
1 Vdm
L2
Cdm
Vg
Lcm
2 N Ccm
CPVg
Ccm
Ground
icm
Fig. 1. Common-mode currents in a transformerless PV inverter.
~
A Novel Transformerless Single-Phase Three-Level Photovoltaic Inverter
319
There are the stray capacitances CPVg between the PV array and the ground. Due to the large surface of the PV generator, its stray capacity with respect to the ground reaches values that can be even higher than 200 nF/kWp in damp environments or on rainy days [4]. These high values can generate ground currents with amplitudes well above the permissible levels, such as those concerning the standards. The currents can cause severe (conducted and radiated) electromagnetic interferences, distortion in the grid current and additional losses in the system. Considering the requirement of EMC, the differential-mode filter capacitor Cdm, and the common-mode filter elements (Lcm and Ccm) are also included in this system. To study the leakage current into the ground, it is useful to describe the system behavior with the help of the common- and differential-mode concepts. The commonmode output voltage of any circuit is the average value of the voltages between the outputs and a common reference. In our case, it is convenient to use the negative terminal of the dc input, which is point N, as the common reference. Therefore, the common-mode voltage of the converter νcm is
vcm =
v1N + v2 N 2
(1)
The differential-mode output voltage νdm is defined as the voltage between both converter outputs vdm = v1N − v2 N = v12
(2)
The effects of the stray capacitances between the inverter outputs and the ground have been disregarded. The common-mode currents can exist if there are asymmetries in the value of the differential-mode impedances, resulting in an equivalent commonmode voltage [2] vecm = vdm
L2 − L1 2( L1 + L2 )
(3)
The total common-mode voltage νtcm of the system is vtcm = vcm + vecm
(4)
3 Three-Level Diode-Clamped Inverter The use of a single-phase three-level diode clamped inverter has been proposed in PV system, as shown in Fig.2. During the grid voltage positive half cycle, S2 remains on, whereas S1 and S3 commutate at the switching frequency in order to modulate the input voltage. During the grid voltage negative half cycle, S3 remains on, whereas S2 and S4 commutate at the switching frequency. Fig. 3 shows the simulation results of the main electrical variables during a grid period under the condition of vin = 700 V, fsw = 5 kHz, and L1 = 2.5 mH.
320
X. Yang and Y. Wang
Fig. 2. Three-level diode-clamped inverter
(a) v12
(b) ig
(c) vtcm Fig. 3. Voltage across 1 and 2, grid current and common-mode voltage in a three-level diode clamped inverter
A Novel Transformerless Single-Phase Three-Level Photovoltaic Inverter
321
4 A New Three-Level Inverter The proposed topology is shown in Fig.4, which consists of six switches (S1-S6 ) and two diodes (D7-D8), two capacitors C1-C2 and two inductors L1-L2 . In the positive half cycle, S2 and S6 are on. In order to modulate the input voltage, S1 and S4 commutate at the switching frequency with the same commutation orders. S3 and S5 commute at the switching frequency together and complementarily to S1 and S4. In the positive half cycle, S3 and S5 are on. In order to modulate the input voltage, S1 and S4 commutate at the switching frequency with the same commutation orders. S2 and S6 commute at the switching frequency together and complementarily to S1 and S4.
(
(
)
Fig. 4. Topology of the new three-level inverter
In the positive half cycle, when S1 and S4 are on, and the inductor current, which flows through S1, S2, S6, and S4, increases. In this topology, the clamping diodes (D7D8) and the capacitive divisor limit the blocking voltage of S1 and S4 to half of the input voltage. It can be obtained that: v1N =vin, v2N =0, vdm=v12=vin, vtcm=vcm= vin/2. When S1 and S4 turn off, S3 and S5 are on, the inductor current splits into two paths, one path is through S6 and the freewheeling diode of S3, and the other is through S2 and the freewheeling diode of S5. In this case, the inductor current decreases. Because the diodes clamping effects, v1N=v2N=vin/2, vdm=v12=0, vtcm=vcm=vin/2, in this case, S3 and S5 are turned on with no current. In the negative half cycle, when S1and S4 are on, and the inductor current, which flows through S1, S5, S3, and S4, increases. In this topology, the clamping diodes (D7D8) and the capacitive divisor limit the blocking voltage of S1 and S4 to half of the input voltage. It can be obtained that: v1N =0, v2N =vin, vdm=-v12=-vin, vtcm=vcm= vin/2. When S1and S4 turn off, S2 and S6 are on, the inductor current splits into two paths, one path is through S5 and the freewheeling diode of S2, and the other is through S3 and the freewheeling diode of S6. In this case, the inductor current decreases. Because the diodes clamping effects, v1N=v2N=vin/2, vdm=v12=0, vtcm=vcm=vin/2, in this case, S2 and S6 are turned on with no current. Fig. 5 shows the simulation results of the main electrical variables of the proposed inverter during a grid period. The switching frequency and the inductance are the same as those used for the three-level diode clamped inverter simulation, but the input
322
X. Yang and Y. Wang
(a) v12
(b) ig
(c) vcm Fig. 5. Voltage across 1 and 2, grid current and common-mode voltage in the new inverter
voltage vin = 350 V. Comparing the results shown in Fig. 3 with that in Fig. 5, it can be observed that the proposed topology remains advantage of the three-level diode clamped inverter, but reduces the input voltage by half.
5 Experimental Results To validate the operation of the proposed topology, a prototype was built. The prototype specifications are an input voltage vin between 350 and 700V, a grid voltage of 220V, a line frequency of 50Hz, a rated power of 1.2kW, a switching frequency of 5kHz, and an inductance of 2.5mH. International Rectifier’s IRG4PC4OUD 600-V fast insulated-gate bipolar transistors were chosen for the switches. Fig. 6 shows the experimental results for the proposed topology. Fig. 6(a) presents the voltage v12, and Fig. 6(b) shows the common-mode voltage. The waveforms confirm and validate the theoretical analysis of the topology operation. As can be
A Novel Transformerless Single-Phase Three-Level Photovoltaic Inverter
323
(a) v12
(b) vcm
Fig. 6. Voltage across 1 and 2, grid current and common-mode voltage in the new inverter
Fig. 7. Waveform of output current and grid voltage
seen, the common-mode voltage does not vary. Fig. 7 shows the grid voltage and current.
324
X. Yang and Y. Wang
6 Conclusion Transformerless inverters offer a better efficiency, compared to those inverters that have a galvanic isolation. On the other hand, in case the transformer is omitted, the generated common-mode behavior of the inverter topology greatly influences the ground leakage current through the parasitic capacitance of the PV. This paper presents a novel three-level inverter topology for transformerless grid-connected PV system. The topology proposed generates no varying common-mode voltage, has low current ripple, and has high efficiency. The input voltage of the proposed inverter is only half of the traditional the three-level diode clamped inverter. As a conclusion, the proposed topology represents a valuable power-conversion stage for transformerless grid-connected PV systems.
References 1. 2.
3. 4.
5. 6.
7.
8.
9.
Trends in photovoltaic applications: survey report of selected IEA countries between 1992 and 2009. In: IEAPVPS (2010) Gonzalez, R., Gubia, E., Lopez, J., Marroyo, L.: Transformerless single-phase multilevelbased photovoltaic inverter. IEEE Transactions on Industrial Electronics 55(7), 2694–2702 (2008) Mohan, N., Undeland, T.M., Robbins, W.P.: Power electronics: converters, applications, and design, pp. 212–215. John Wiley & Sons Inc, New York (1995) Myrzik, J.M.A., Calai, M.: String and module integrated inverters for single-phase grid connected photovoltaic systems — a review. In: Power Tech Conference Proceedings, Bologna, Italy, June 23-26, vol. 2, pp. 1–8 (2003) González, R., López, J., Sanchis, P., et al.: Transformerless inverter for single-phase photovoltaic systems. IEEE Transactions on Power Electronics 22(2), 693–697 (2007) Kjaer, S.B., Pedersen, J.K., Blaabjerg, F.: A review of single-phase grid-connected inverters for photovoltaic modules. IEEE Transactions on Industry Applications 41(5), 1292–1306 (2005) Shimizu, T., Hashimoto, O., Kimura, G.: A novel high-performance utility-interactive photovoltaic inverter system. IEEE Transactions on Power Electronics 18(2), 704–711 (2003) Tsai-Fu, W., Hung-Shou, N., Hui-Ming, H., et al.: PV power injection and active power filtering with amplitude-clamping and amplitude-scaling algorithms. IEEE Transactions on Industry Applications 43(3), 731–741 (2007) Calais, M., Agelidis, V.G.: Multilevel converters for single-phase grid connected photovoltaic systems—an overview. In: IEEE International Symposium on Industrial Electronics, Pertoria, South Africa (1998)
Image Reconstruction Algorithm Based on Fixed-Point Iteration for Electrical Capacitance Tomography Cuihuan Li1,2, Xiaoguang Yang1, and Youhua Wang1 1
Province-Ministry Joint Key Laboratory of Electromagnetic Field and Electrical Apparatus Reliability, Hebei University of Technology, Tianjin, China 2 School of Sciences, Hebei University of Technology, Tianjin,China [email protected]
Abstract. To improve the quality of the reconstruction image for discontinuous media distribution areas, a total variation (TV) regularization based on bounded variation function was employed to solve the ill-posed problem of electrical capacitance tomography (ECT). By using TV regularization, an Euler equation, a non-linear partial differential equation, is derived to describe the ECT problem. However, it is very time consuming, if possible, for traditional methods to solve this Euler equation. This paper presents a new fixed-point iterative algorithm which can get the solution stably and rapidly. Numerical results show that the presented method improves the quality of the reconstruction image for discontinuous media distribution areas in ECT image reconstruction, and leads to the common boundary between different media clearer. Keywords: electrical capacitance tomography (ECT); image reconstruction; illposed; total variation regularization; fixed-point iterative algorithm.
1 Introduction Electrical Capacitance Tomography (ECT) is a process tomography technology based on capacitive sensing mechanism. It is a measurement technique for obtaining information about the contents of process vessels and pipelines. For the advantages of simple structure, low in cost, fast in respond, non-invading, good security, without radiation and wide application, it has been used to the void fraction measurement of many kinds of two-phase flow, such as the oil/gas, gas/liquid in petroleum industry, the gas-solid pneumatic conveying system and fluidized bed [1-5]. The 12-electrode ECT measurement system is shown in Fig.1. It consists of array electrode, data acquisition and signal processing, image reconstruction and display. Capacitances between various different combination electrode pairs are measured, and the data obtained are used to reconstruct cross sectional distribution. The quality and speed of image reconstruction is the key of the practical application for ECT. In fact, there are many aspects affect image quality which include the number and structure of the sensor, C/V conversion circuit, image reconstruction algorithms. When the conversion circuit is confirmed, it’s hardly to M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 325–332. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
326
C. Li, X. Yang, and Y. Wang
increase the number plate, so by increasing the number plate to improve the image quality is extremely limited. Thus, the image reconstruction algorithm is the primary problem to improve quality of image reconstruction. At present, common methods used in ECT image reconstruction include: linear back projection algorithm (LBP), Landweber iteration method [6], conjugate gradient method [7], the novel Gauss-Newton method [8], algorithm accelerated by polynomial [9], neural network algorithm [10], improved trust region based[11], regularization method [12-15] and so on. LBP method algorithm is simple, fast reconstruction, but the image quality is relatively poor, so it is only a qualitative algorithm. Landweber iteration is a steepest descent method essentially, but it is semiconvergence. Conjugate gradient method suit for the coefficient matrix is symmetric positive situation. Neural network algorithm is essentially a pattern recognition method, and there are some difficult to determine the structure of the network for the practical application. Parameters of acceleration algorithm based on polynomial and improved trust region algorithm is often selected by experience which leads to a certain randomness. Image reconstruction is an ill-posed problem, and regularization is often employed to get the stable solution. Tikhonov penalty function is of 2-norm and requires smooth solution which lead to blur boundary and additional artifacts in the reconstruction image. In this paper, total variation regularization based on bounded variation function is presented and a fixed-point iterative algorithm is proposed to get TV regularization solution. Numerical results show that the proposed method can overcome the problem of ill-posedness effectively, and provide high quality images.
Fig. 1. Principle diagram of ECT system
2 Principle of ECT ECT technology includes forward and inverse problem. The forward problem is to calculate the potential distribution for a known distribution of dielectric constant, then to determine the capacitance measurements.
Image Reconstruction Algorithm Based on Fixed-Point Iteration
327
The capacitance between electrode pair i-j is expressed
Cij = ∫∫ ε (x, y )Sij (x, y, ε (x, y ))dxdy
(1)
D
Where Ci,j is the capacitance between electrode pair, D is the cross section of pipeline, ε(x, y) is the distribution function of dielectric media on the cross section of the pipeline, Sij(x, y,ε(x, y)) is the distribution function of sensitivity for Ci,j, which means the sensitive extent forming from Ci,j to the medium on spot (x, y). In fact, it is often assumed that the dielectric distribution ε(x, y) has no effect on the sensitivity function Sij. Thus, (1) can be simplified to
Cij = ∫∫ ε (x, y )Sij ( x, y )dxdy
(2)
D
After discrete and normalized, the mathematical model of image reconstruction can be written in matrix form
λ = Sg Where λ ∈ R
m
(3)
is the normalization capacitance vector,
g ∈ R n is the normalization
m× n
distribution image vector, S ∈ R is the coefficient matrix (sensitivity matrix).The inverse problem of ECT, also called image reconstruction, is a typical ill-posed problem, and regularization often employ to get stable numerical solution.
3 Total Variation Regularization (TV Regularization) The Tikhonov regularization is given by [16]
M (α , g) = Where
1 2 Sg − λ + αΩ( g ) 2
α is regularization parameter. Ω( g ) = g
2
(4)
, and g must be continuous even
continuous and differentiable. That is to say, most of the regularization methods assume the data sets to be smooth and continuous, which leads to lost boundary information and reduce precision. In fact, distribution of dielectric constant is often blocky, so in order to restore its edge information, the TV method was introduced.
M (α , g ) =
1 2 Sg − λ + αTV ( g ) 2
TV ( g ) = ∫
D
∇g dxdy 2
(5)
(6)
328
Where
C. Li, X. Yang, and Y. Wang
∇g is gradient of g . However, TV ( g ) is not differentiable at zero. In order
β
is added. So TV
1 2 2 Sg − λ + α ∫ ∇g + β 2 dxdy D 2
(7)
to overcome this difficulty a small positive constant value functional can be expressed as
M (α , g ) =
∇g + β 2 is known as the gradient magnitude. Where g is 2
The quantity
bounded variation function. The unique minimum
gδ (α ) of (7) is also the solution
of following Euler equation
( S T S + αL ( g )) g = S T λ
(8)
Where L( u ) is the diffusion operator whose action on a function u is given by
L(g)u = -∇ ⋅ (
1 ∇g + β 2 2
∇u)
(9)
This provides us with the information about the discontinuities in the image. For any α > 0 , β > 0 (9) is well- posed. So the problem turn to select α and β which makes the solution of (8) is also the approximate solution of (3).
4 Fixed-Point Iteration The nonlinearity of (8) poses number of computation challenge, so the fixed-point iterative algorithm is introduced to overcome the difficult. Its basic idea is to successive linearization of nonlinear equation. Equation (8) can be rewritten into the following first-order nonlinear system
G
Where v =
G S T Sg − α∇ ⋅ v = S T λ
(10)
G G 2 − ∇g + ∇ g + β 2 v = 0
(11)
∇g ∇g + β 2
2
.When g of square root is fixed, i.e. set g=g(m) (m is the
G
number of iterations), (8) is linearized. When eliminate v in (10), the format of the fixed point iteration expressed as
( S T S + αL( g ( m ) )) g (m +1) = S T λ
(12)
Image Reconstruction Algorithm Based on Fixed-Point Iteration
329
Note that at each iteration, one must solve a linear diffusion equation, whose diffusivity depends on the previous iterate g(m). Thus
g (m +1) = ( S T S + αL( g ( m ) )) −1 S T λ
(13)
Equation (13) can be rewritten as
~ g ( m +1) = g ( m ) − ( H ( g ( m ) )) −1 u ( g ( m ) )
(14)
u ( g ) = ( S T S + αL( g )) g − S T λ
(15)
Where
~ H ( g ) is the approximation of Hessian matrix. ~ H ( g ) = S T S + αL ( g )
(16)
Fixed-point iterative algorithm is convergent and with increase in iteration the method converges linearly. But the numerical results show that the convergence is fast, only need one or two steps to get a good approximation of exact solutions. And fixed-point iteration is globally convergent, so it has nothing to do with the choice of initial value.
5 Simulation and Analysis of Results To verify the efficiency of the new algorithm, numerical experiments have been carried out by simulating the typical gas/oil two-phase patterns. In the patterns, dielectric constant of oil is ε oil = 3 , dielectric constant of gas is ε gas = 1 .The number of measurement electrodes is 12, the inner and outer radius of the pipe is 62mm and 75mm respectively, the radius of the grounded shielding is 80mm, and the measurement angle is 26°. The image area (the cross-section area of the pipeline of two-phase flow) is divided into 804 elements. While in experiment iteration error usually satisfied
Sg − λ ≤ δ
(17)
Where δ is observation error of original data and δ = 0.001 , β = 0.1 in this paper. While analysis reconstructing image quality, selecting spatial image error as evaluation index of image quality, its definition as follows:
e= Where
gδ − g g
(18)
g is the grey value of the simulation model, and gδ is the grey value of the
reconstruction image. The experiment results are shown as Table.1.
330
C. Li, X. Yang, and Y. Wang
Table 1. Comparison of reconstructed images.
Phantom(a)
Phantom (b)
Phantom(c)
LBP Algorithm
Landweber Iteration Algorithm
Tikhonov Regularization Algorithm
TV Regularization Algorithm
Phantom(d)
Image Reconstruction Algorithm Based on Fixed-Point Iteration
331
Table 1 shows the comparison of the reconstructed image. From Table 1, it can be seen that LBP has poor precision, and can not clearly distinguish the target area for the complex flow pattern; its position has obvious deviation. It can only be used for qualitative analysis; Landweber iteration method generally closes to the original flow for simple flow pattern, but can not distinguish multiple target areas clearly. Tikhonov regularization can distinguish multiple targets basically, but artifacts are more and precision is low. TV regularization can clearly distinguish between single or multiple target area, and the contrast and sharpness of reconstructed images increased significantly. Table 2 is the comparison of the reconstructed image of the error. It can be seen from the table, LBP least accurate, TV regularization algorithm has the highest accuracy. Table 2. Image error (%). Phantom
(a)
LBP
87.63 46.37
33.72
61.46
50.70
Landweber
31.49
56.38
13.77
Tikhonov
44.16
23.54
26.64
13.11
TV
41.05
17.10
22.49
12.19
(b)
(c)
(d)
6 Conclusion In this paper TV regularization based on bounded variation function is introduced to overcome the ill-posed of ECT, and the range of approximate solution can be extended to bounded variation function space. In order to overcome the difficult of solving the nonlinear Euler equations, a fixed-point iteration algorithm is proposed to get TV regularization solution. Numerical experiments show that: the contrast and sharpness of reconstructed images increased significantly, and the proposed algorithm has the advantages both in imaging speed and quality. Selection of regular parameters of regularization method directly affect the accuracy and speed of the reconstructed image, at present parameters selected mainly from experience, which has a certain randomness and uncertainty, so the selection of regular parameter, in particular the more reasonable selection principle and more efficient numerical implementation method is still to be further important issue to be addressed.
Acknowledgment This work was supported by the Hebei Province Natural Science Foundation of China under Grant No. E2007000048.
332
C. Li, X. Yang, and Y. Wang
References 1. Loser, T., Wajman, R., Mewes, D.: Electrical capacitance tomography: image reconstruction along electrical field lines. J. Measurement Science and Technology 12(8), 1083–1091 (2001) 2. Jaworskia, J., Dyakow Ski, T.: Application of electrical capacitance tomography for measurement of gas-solid flow characteristics in a pneumatic conveying system. J. Measurement Science and Technology 12(8), 89–98 (2001) 3. Zhu, K., Rao, M., Wang, C. H.: Electrical capacitance tomography measurements on vertical and inclined pneumatic conveying of granular solids. J. Chemical Engineering Science 58(18), 4225–4245 (2003) 4. Liu, S., Li, T.J., Chen, Q.: Visualization of flow pattern in the rmosyphon by ECT. J. Flow Measurement and Instrumentation 18, 216–222 (2007) 5. Wang, Z.Y., Jin, N.D., Wang, C., et al.: Temporal and spatial evolution characteristics of two-phase flow pattern based on image texture analysis. J. Journal of Chemical Industry and Engineering (China) 59(5), 1122–1130 (2008) 6. Yang, W.Q., Peng, L.H.: Image reconstruction algorithms for electrical capacitance tomography. J. Meas. Sci. Technol. 14, R1–R13 (2003) 7. Wang, H., Zhu, X., Zhang, L.: Conjugate Gradient Algorithm for Electrical Capacitance Tomography. Journal of Tianjin University 38(1), 1–4 (2005) 8. Chen, D.Y., Chen, Y., Wang, L.: A Novel Gauss-Newton Image Reconstruction Algorithm for Electrical Capacitance Tomography System. J. Acta Electronica Sinica. 37(4), 739–743 (2009) 9. Chen, Y., Chen, D.Y., Wang, L., et al.: Image reconstruction algorithm accelerated by polynomial for electrical capacitance tomography system. J. Chinese Journal of Scientific Instrument. 29(12), 2538–2542 (2008) 10. Zhao, J.C., Fu, W.L., Li, S.T., et al.: Image reconstruction new algorithm for electrical capacitance tomography. J. Computer Engineering 30(8), 54–82 (2004) 11. Wang, L., Chen, Y., Chen, D.Y., et al.: Improved trust region based image reconstruction algorithm for electrical capacitance tomography system. J. Chinese Journal of Scientific Instrument 31(5), 1077–1081 (2010) 12. Sun, N., Peng, L.H., Zhang, B.F.: Tikhonov Regularization Based on Near-Optimal Regularization Parameter with Application to Capacitance Tomography Image Reconstruction. J. Journal of Data Acquisition & Processing 19(4), 429–432 (2004) 13. Wang, H.X., He, Y.B., Zhu, X.M.: Regularization Parameter Optimum of electrical capacitance tomography Based on L-curve Method. Journal of Tianjin University 39(3), 306–309 (2006) 14. Jing, L., Shi, L., Zhihong, L.: mage reconstruction iteration algorithm based on 1-norm for electrical capacitance tomography. Chinese Journal of Scientific Instrument 29(7), 1355–1358 (2008) 15. Wang, H., Tang, L., Yan, Y.: Total variation regularization for electrical capacitance tomography. Chinese Journal of Scientific Instrument 28(11), 2015–2018 (2007) 16. Xiao, T.Y., Yu Sh, G., Wang, Y.: Numerical solution of inverse problems. Science Press, Beijing (2003)
Research on Data Preprocessing in Exam Analysis System Ming-hua Zhu College of Computer and Information Engineering, Jiangxi Normal University, Nanchang330022, china [email protected]
Abstract. Data preprocessing is the key to provide high quality data for Exam Analysis System. In order to get the better useful information from the complex and uncertain exam data, it’s necessary to preprocess the source data. In this paper, the source data of Exam Analysis System was analyzed in detail, and found that the source data is inconsistent, redundancy and so on. Therefore, a general method of data preprocessing is introduced in this paper. Keywords: data preprocessing, data mining, exam analysis system.
1 Introduction Data Mining is a kind of database technology developing with database and artificial intelligence. Currently researches on data mining are mainly concentrated on the discussion of algorithms, as a result that data preprocessing has been neglected. However, data of an actual system can seldom meet the requirement of data mining, which has seriously affected the efficiency of data mining algorithms, even lead to a results deviation. According to statistics, the time and cost on data preprocessing has accounted for 60% to 80% of a whole data mining process. As a result, an effective way of analysis and preprocessing on data source has become a key issue to the achievement of a data mining system. Exam Analysis System has accumulated large amounts of data during years of examinations. Exam data can provide a lot of important information after being processed, which makes contribution to guiding teaching, accurate assessment and making the education standardized, modernized and specific. Decisions of high quality must depend on data of that, so it is necessary to preprocess these data before sent into database. The structure of the Exam Analysis System which depends on data mining is shown as Fig. 1.
2 Analysis of Data Source in Exam Analysis System Data preprocessing is an important section in data mining, which provides clean, accurate and concise data for data mining. But actually the original accumulated data are so-called ‘dirty’ with characters of messy, repetitive and incomplete. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 333–338. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
334
M.-h. Zhu
Top: front-end tool
DSO decision support object
OLAP service
Middle layer: Analysis Services
data warehouse Botton layer: SQL-SERVER Servers Data preprocessing
Old warehouse
Registration information
Return data Data Source
Fig. 1. Architecture of the Exam Analysis System
Data of the Exam Analysis System are widely accumulated, mainly for three sections: the first are data form paper system, including information of questions and exams, which are saved in SQL-Servers; the second is information gathered from each exam center, which are saved as Excel files or SQL files; the third are data of exams gathered from each exam center, which are saved as text files. After analyzing these original data, those characters can be concluded below: (1) The original database is designed depending on rules of relational database, so that those data are entire and consistent with small redundancy except for null numeric in some of fields. As a result, some transform and integrated work should be done in order to fulfill those blank fields. (2) Those data of students’ information from each exam center are basically the same in structure, but totally different in the entity and consistency, for example some major codes are presented in registration form while not in majors’ information form. (3) The same kind of data from different exam centers is different in date representation. For example, some use ‘M’ or ‘F’ in the sex field in information table, while some use ‘Male’ or ‘Female’. (4) The same kind of data from different exam centers is different in date type. For example, some use type of date while some use type of integer to represent date field. (5) The same kind of data from different exam centers is presented in some of exam centers, while others don’t have or uncompleted, such as student’s ID. (6) Examinee registration data from each exam center may more or less have noise data so they should be cleaned before sent into database. (7) Some new information will be added in data delivered from each exam center after examination so these kinds of information should be refreshed automatically.
Research on Data Preprocessing in Exam Analysis System
335
The following form 1 and form 2 are listed the data uploaded from two different exam centers. Differences in data, blank numeric fields and data redundancy have appeared. Table 1. The examinee registration data of examination site A Registeration number 260605100325
Name
Identity card
Sex
Exam course
Major
Li mei
3601011980
F
260605100029
Fu Min
3601031984
M
260610100287
3601021978
F
professional diploma of CS Undergraduates of CS Network
260605100212
Zhang ping Xu Li
260610100116
Hu Wen
3601011979
MC applications comprehensive subject one comprehensive subject one comprehensive subject two comprehensive subject two …
…
…
F
…
M …
Network Undergraduates of CS …
Table 2. The examinee registration data of examination site B Registeration number 260610100102 260605100208 260610100478 260610100038 260605100291 260610100074 …
Name
Identity card
Sex
Age
Huang an Chen feng Cui En-zan Liu Kai Wan Yan Yang Tan …
3601011983 3601021976 3601011980 3601031985 3601011982 3601021979 …
Male Male Male Male Female Male …
27 34 25 28 31 …
Exam course MC applications subject one subject one subject two subject one subject two …
Major U of CS PD of CS Network U of CS Network Network …
3 Data Preprocessing in Exam Analysis System It is convinced after analyzing the data source from exams that it is necessary to do data preprocessing. Data preprocessing in the Exam Analysis System is implemented by the following four ways that is data extraction, data cleaning, data transformation and data integration: (1)Data extraction is the entrance of database for all data. Because a database is an individual data environment, it extracts data from inner database and external database by the way of extracting procedure. Data extraction is technically involved with interconnection, copying and increment. It is unnecessary for data in database to keep the same with the former database real-timely, so data can be extracted regularly. However, when data extractions are executed at the same time, the intervals, sequences and success or not play an important role to the effectiveness of data in the database. (2)Data cleaning is the standardization before data come into data warehouse which is the identification of data’s integrity and consistency. Data cleaning is technically involved with filling in missing values, smoothing noisy data and resolving inconsistencies. There are many way on filling in missing values, such as
336
M.-h. Zhu
ignoring the tuple, filling in missing values manually, using a global constant or attribute mean to fill in the missing value and so on. All these methods above should be selected depending on the detail analysis on the source data. The mainly way to deal with noisy data is by smoothing processing. While dealing with data differences, there are data processing in the check on the effectiveness and uniform representation of data. The check on the data effectiveness depends on checking the length of numeric values, while the check on the data’s uniform is usually in the use of value replacing. (3)Data transformation is a way including the transformation of data type, data aggregation and the generalization and normalization of data in order to make the data more appropriate for data mining. The transformation of data type to numeric values is an easy way, for example to transform type of character to type of numeric for the speed of searching numeric is one order of magnitude faster than searching characters. Data aggregation is to summarize and aggregate data in order to reduce the quantity of issues and accelerate the speed of query and analysis in the future. At the same time, aggregating data out of data in the database will help reduce the size of historical data without loss. The conceptualization of data is to stratify data by concepts that the original in the concept of low-level will be replaced with that in the concept of high-level such as replacing the title session property with chapter property. The normalization is to scaling its values so that they fall within a small specified range, such as 0.0 to 1.0. The commonly used methods for normalization are min-max normalization, Z-Score normalization (or zero-average normalization), normalization by decimal scaling, attribute construction and so on. (4)Data integration is a way to combine data from multiple sources into a coherent data store, as in data warehousing. These sources may include multiple databases, data cubes, or flat files. There are a number of issues to consider during data integration:First is data selection problem. How can the data analyst or the computer be sure that studentid in one database and stuid in another refer to the same attribute? Commonly, it can be solved by convince the source data from database or data warehouse or communicating with those business people directly.Second is the detection and resolution of data value conflicts. When there is attribute values from different sources may differ, which one should be chosen as a standard? For example, in data sources of this system, data gathered from different exam centers, it may happen that some student information is added in one exam center while the student id is the same as another student in another exam center. This can result in a data confliction.Third is data loss. In the data source, there are some missing values which make no effect on the original system. However, in the data warehouse, it is much better that it is filled with values than be blank for misconception may come into the result.Fourth is derived data definition. It is involved with functions for calculating sum and average values and analysis of complex business. The derived data are usually redundant for data using for calculating are stored in data warehouse. However, derived data can much simplify the query, so when data coming into data warehouse, those derived data should be checked for consistency and correctness. It can be known from table 1 and table 2 that in the fields of sex, major and exam course, there is a same content presenting inconsistent data and non-standard. Such as ‘M’and ‘Male’, ‘U of CS’ and ‘Undergraduates of CS’ etc. The field of sex should be represented uniformly by using ‘M’ or ‘F’ and coded referring to major and
Research on Data Preprocessing in Exam Analysis System
337
examination subjects in order to normalize the data in fields of major and exam course. The contents of ID code uploaded from different exam centers are different so that it can be transformed into numeric to accelerate the speed of query. When the field of age values is missing, it can be filled with the values dropped from the ID code. The field of age is regarded redundantly, but it can simplified query and statistics. According to the data preprocessing by data extraction, data cleaning, data transformation and data integration on examinee registration data, the information is shown as Table 3 that achieving the purpose of the same data format and data types, clear data, in order to content to the requirement for data mining and provide supportive to efficient data mining. Table 3. The examinee registration data after data preprocessing Registeration number 260605100029 260605100208 260605100212 260605100291 260605100325 260610100038 260610100074 260610100102 260610100116 260610100287 260610100478 …
Name Fu Min Chen feng Xu Li Wan Yan Li mei Liu Kai Yang Tan Huang an Hu Wen Zhang ping Cui En-zan …
Identity card
Sex
Age
3601031984 3601021976 3601041981 3601011982 3601011980 3601031985 3601021979 3601011983 3601011979 3601021978 3601011980 …
M M F F F M M M M F M …
26 34 29 28 30 26 31 27 31 32 30 …
Exam course 80702 80701 80709 80709 80701 80902 80709 80702 80702 80709 80709
Major
…
…
2331 2210 2332 2331 2210 2332 2332 2331 2332 2331 2331
Microsoft SQL Server 2005 Data Transformation Services (DTS) is a set of graphical tools and powerful programming objects, that can be taken from completely different sources data extraction, transformation, merging into a single or multiple purposes. Data preprocessing tools of this system is programming with DTS package, in the process, we can design a number of steps to complete the data extraction and conversion, which can be a parallel between steps can also be a serial, you can also According to the results of the previous step to determine the next step of the process. To ensure the data extraction and conversion of integrity and consistency, the design of the system will be a few steps in a transaction through the various steps of the returned results to determine whether to roll back the transaction. In the data preprocessing tools use DTS powerful data extraction and transformation capabilities of the system three different data sources to extract data. DTS data collected will be stored in a temporary table first, then through data cleaning and data conversion functions to the data in the temporary table to clean up and converted into the data warehouse, data preprocessing time work to complete.
338
M.-h. Zhu
4 Conclusion During the construction of the Exam Analysis System, data preprocessing is an important and necessary work after design the data warehouse, which is the effective guarantee for data mining. This paper has made a detail analysis on the data source and concluded a detail report on the ways of data preprocessing according to the complexity and inconsistency of data. Among these methods, there are still manual parts. During the further work, it can be explored effective detection and automatic resolving methods for data preprocessing to deal with dirty data in order to provide complete entire solutions.
References 1. 2. 3. 4. 5. 6. 7. 8.
Han, J., Kamber, M.: Data Mining: Concepts and Techniques. Higher China Machine Press, Beijing (2007) Liu, M.-j., Wang, X.-f., Huang, Y.-l.: Data Preprocessing in Data Mining. Computer Science 4, 54–57 (2000) Inmon, W.H., Rudin, K.: Building the Data Warehouse. In: Wang, Z.-h. (ed.), 4th edn., Higher China Machine Press, Beijing (2006) Jian, Z.-g., Jin, X.: Research on Data Preprocess in Data Mining and Its Application. Application Research of Computers (7), 117–118 (2004) Yang, F.x., Liu, Y.c., Duan, Z.h.: An Overview of Data Cleaning. Application Research of Computers 3, 3–5 (2002) You, X., Lou, N.-l., Wang, Y.-x.: Research of data preprocessing in education decision support system. Computer Engineering and Design 28(16), 3985–3988 (2007) Yin, J., Chen, Y., Zhang, G.: An OLAM System Based on Data Warehouse. Computer Engineering (19), 49–51 (2004) SQL Server 2005 Online Help
The Development and Application of Environmental Art Project Which Based on Semiotics in Information Age Ke Zuo School of software, Nanchang University, China [email protected]
Abstract. Environment art engineering development faster and faster in the information age, the paper analyzes the semiotic characteristics of the information age, to promoting the rational use of environment art design engineering,. and to promote the cause of China's environment art engineering for further development. Keywords. Information age; environmental art engineering; software; semiotics.
1 Introduction This thesis mainly from the thinking of the digital age way, From semiotics to study the environmental art design. Due to the environmental functions to modeling forms of transformation is used symbols process, in this process modeling form to become transfer information carrier, i.e., the form of the design symbol, it conveys architectural environment to people with various meanings. While in symbols in the process of innovation and composition, because its diversity, repeatability and the reconstruction in digital era under the influence of the produced a new way of thinking. Thus, based on the analysis of semiotics, analyzes the digital age of design thinking mode, the further deepening digital era under the environmental art design method.
2 Concept and Characteristics of EAE Thinking Digital art design and the traditional close relationship between art and design. Creativity is considered in the design of scientific work of art after the session, is to make the visual design goals can be achieved visualization of ideas can be heard. 2.1 The General Concept of Design Engineering The human brain is thinking, the nature of objective things, and regular reflection of the neurons in the physical, chemical, physical exercises in the form of synthesis, and design thinking is the practice of each designers to achieve design goals Provide important subjective design performance conditions. In the design process to achieve the desired results and the effectiveness of play is directly related to thinking, therefore, demands and designers from the creative aspects of practice, designers have to learn to M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 339–344. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
340
K. Zuo
create a psychology based on the results, summarized some with Regular phenomenon, subject to grasp the essence of good design, and better develop their own creative thinking, the ability to improve the innovative design. 2.2 The Features of Design Project 1) Abnormalities: The abnormal form of thinking and often reflect the nature of the mutation for the development of thinking, across or interrupt logic, this is because creative thinking is not primarily on existing concepts, knowledge of the result of a gradual and logical reasoning process, but on inspiration, Such as intuition or insight implemented as non-logical thinking. 2) Differentiation: Composition between the two are opposites, not only different from each other, negative, antagonistic, and complementary, interdependent, united, the resulting contradictions of creative thinking, and promote the development of creative thinking. This dialectic of thought process and often reflected in the form of integrated creative thinking, creative thinking that is actually a synthesis of various forms of thinking. 3) Open: Mainly refers to the need for creative thinking from many angles and sides, in all directions to examine the issue, but no longer confined to logic, single, linear thinking, thus forming a divergent thinking, reverse thinking, lateral thinking, seeking Different thinking, non-linear thinking and open-minded and other forms of creative thinking. 4) Originality: Is a direct manifestation of creative thinking or signs, and often the outcome of specific performance for the creation of novelty and uniqueness. 5) Initiative: Shows that the subject of creative thinking is to create a purposeful activity, rather than the objective world in the human brain is simple, passive direct reflection, it shows the dynamic nature of human activity and initiative. 6) Comprehensive: Knowledge is the foundation of creative thinking, thinking of the main wealth of knowledge to stand above, easy to create new associations and insights. Often create their own "intellectual cross "results, it is both kinds of knowledge of the mutual penetration, combined with, but also a variety of forms and methods of synthesis of thinking. Art and Design in the digital environment, the richer and more intuitive performance fast. As the information age may be, we can reach more of the design works of art, have a more wonderful fantasies and desire for the creation of a stronger, more creative glow of inspiration and insight, and thus a better image of the rich and quick thinking of our intuition , artistic creation in the environment more like a duck.
3 Information Age Environment Art Engineering Characteristics New social form, the design content of the art form has undergone great changes. Design from the static, rational, single, material to create the dynamic, emotional, complex, non-material to create change. Embodies the essence of art created for the free, non-material design features of the past makes the development of a strong artistic nature of the design elements in art, more and more content becoming more and more artistic designs. The development of non-material design, is both an expression of the
The Development and Application of Environmental Art Project
341
art digital technology on the traditional way of impact, is the perfect combination of technology and art of expression. Material from the traditional design of the transition to non-material design, not only reflects the technology development, but also reflect and meet the people desire for the diversification of lifestyles.Design-led the design direction, different times have different design. When humans gradually from the post-industrial era into the digital age, the interior design concept has changed naturally, mainly in the following two aspects: First, the contradiction from the environment aptitude coordination environment changes,As earth non-renewable resources, environment of increasingly poor escalation, the environmental protection consciousness of people got greatly enhances, hence worldwide open a wave green consumption tide, more and more people in adornment environment, will look to whether it used materials for the whole human environment harmful, and as far as possible need not nonrenewable resources of the earth. To sum up, in the digital environment, environmental art design concept to harmony with environment direction (that is, ecological design concept) change will become a necessity. Second, from the "form follows function" to "form follows emotion " change, environmental design is to meet human "functional requirements" as the core of the movement, and "Spirituality" is only interior design accessories. Therefore, in the design of modernism that "form follows function" design philosophy, and popular. But in the digital environment, network and virtual community does not make the relationship between the people become more closely, but strengthened the solitary and personal survival way, so indoor design also carry the consolation of human spirit and heart of responsibility! Therefore, the famous frog design is put forward "form following emotion" design idea!This equipment will not only be able to design real-time drawing sketches presented in the computer, it can be very realistic to simulate the traditional brush strokes, strength and color. Interior design sketches into a computer brings many benefits, mainly in the following points: (1) computer sketch easily modified so that the designer of the program easier deformation and expansion, thus indirectly inspired the designer's creative inspiration; (2) digital sketch, sketch on the network to get timely and efficient delivery, so that the remote interior design becomes more perfect; (3) sketches the image can be inserted into AutoCAD, as a base map with a fuzzy reference to engineering drawings for the AutoCAD drawing convenience. Design performance is to express the final design, design thinking for designers to visualize the process and specific, and through color renderings, graphic layout, flat layout, flat pattern in elevation, section , The node graph and other means to reflect, its purpose is to allow owners to further understand the designer's design intent, as well as construction workers, construction basis. In the digital environment, environmental art design produced a huge change in performance: 1) The development of computer technology in the past painted flat layout, flat layout, flat pattern in elevation, section, node graph, completely used AutoCAD to draw.Therefore, the design of environmental art show presents a simple, fast, easy to modify, intuitive, and complete benefits. 2) With the three-dimensional network of technology (Network Virtual Reality) of the mature, designers can use Cult3D, Pulse3D, Ser, 3DML other network three-dimensional software, environmental art and design three-dimensional modeling,
342
K. Zuo
so that the owners and stakeholders through the network Environmental art program designed multi-angle, full of observation and evaluation. In this way, to the environmental art design provides remote technical protection. 3)The target of four-dimensional design,As the digital era, computer art design on the environment has shifted from the secondary to, semiotics and other disciplines to support art and design environment to gradually move toward the front, and to awareness of environmental art and design ways of thinking and theory led to innovative Wave.
4 The Using of Environment Art Engineering Building Semiotics In the semiotic sense, the appearance of buildings, materials, uses, etc., are the use of functions from their abstracts, access to the cultural significance of non-architecture, creating a similar system means the system of linguistic signs. 4.1 Architectural Symbols and Cultural Meaning Determinants of the art of architecture culture.Different cultures have a different architecture, thus forming a different architectural symbol of that culture is a symbol of the determinants that affect the building. Such as traditional Chinese architecture in general are neighbor to create the image of the scale, space and environment, rather than the Gothic architecture as the West to exaggerate the extraordinary scale to symbolize God's space and atmosphere, giving the impression that their own Small and bowed to the feet of God, reflecting on the minds of religious shock. Building a symbol of the human spirit is not only the culture, it is also representative of human emotions. Alone building, it is the provision of human and social activities in the residential function of the carrier, all cultural phenomena have occurred in them. Meanwhile, in order to adapt to a wide range of social needs, building also must reflect the times, geographical, national, public and social life of cultural identity and social order to keep pace.Building a more entrusted with people's thoughts and feelings. 4.2 Environmental Art Project under the Information Age in the Use of Architectural Semiotics The digital age, the form and content of environmental art design, great changes have occurred. Design is no longer the focus of the art of some kind of tangible material products, but from the material level gradually move closer to the spiritual level.Embodies the essence of art created for the free, non-material design features of the past makes the development of a strong artistic nature of the design elements in art, more and more content becomes increasingly designed around art. New technology means not only to bring a new way of thinking space and visual space, it also brings a new sensory needs and psychological needs.People-oriented, demand for services will undoubtedly keep the Art of Design and create one personalized to meet the diversified needs, which will lead to the design would be to diversify the face of art, personal. Gehry design works in small doping social and ideological things. He usually polygonal surface, tilt the structure, form and inverted form of a variety of substances
The Development and Application of Environmental Art Project
343
applied to the design and visual effects to go. Gehry uses fault geometry to break tradition, to him, breaking a means to explore the social order is not clear. Gehry out in the form of features, created not a whole structure, but a successful abstract ideas and the city agencies. In many ways, he treated the same as building work as sculpture, this structure through three focus on a variety of forms. Art is often inspired by Gehry's birthplace, his interest in the arts can be learned of his architectural works. At the same time, art made him the first time the use of open architecture structure, and people think it is an invisible change, rather than deliberately. Gehry's building is often surreal, abstract and occasionally people are deeply confused by the message so it is often misleading. Even so, Gehry's building is showing its unique, elegant and mysterious atmosphere. Gehry materials using a variety of substances, using a variety of architectural forms, and humor, mystery, and his dreams of building systems integration. He said: "I like to see this in the beauty of the building process, which the U.S. has often lost in the manufacturing process technology. " Gehry in the early work on the bold use of open space, a variety of raw materials And not to carry out the construction of formality. Gehry's architecture also includes a common process, a continuation of life, the evolution of life and the lives of such growth. Presentation of information in this chapter by examples of semiotics in the construction era of environmental art project in the new development. As Roland Barthes in the "semantic object" wrote: "The meaning has always been a cultural phenomenon, is the product of culture; However, in our society, this cultural phenomenon are constantly being Naturalization. words that we believe in a pure object in the transitive situation, and again into the natural meaning of the phenomenon. We believe we find ourselves at a purpose, function of objects, the complete control of the formation of the practice of the world, in fact, through the objects, we find ourselves in a sense, reasons, excuses posed by the world: features derived from Symbols, and this symbol has been transformed into functional re-display. I believe it is this will be a natural process of cultural transformation was established ideology of our society.” Therefore, we conduct multi-disciplinary environment, art and design process, the need to support multi-discipline, but also the so-called Open design, and semiotics, as construction on the environment, the use of art and design, art semiotics also played Environmental Art Design A great role, and has unlimited potential.
5 Conclusion and Outlook As awareness of human expression, the means and methods of conveying information is one of the environmental design is similarly dependent on the support of various disciplines. As designers we have to learn to use other disciplines to design more effective function. Environmental Art and Design, for its part, to include architecture, art and other symbols, by symbols of these elements at different levels, the success of the designer selection, combination, conversion, regeneration of these elements, together become the referent of his thoughts Symbols, as their common recognition of the symbols and the audience, this is the real form of communication, information accurate and complete communication, design of the thinking process is perfect. The purpose of environmental art design is the exchange of people, including the
344
K. Zuo
application of semiotics in various subject areas, including the principles and methodology in environmental art and design in research and practice is quite common and in-depth, but also undoubtedly become inevitable in our design Tools, and environmental art design to truly become a no limit design.
References 1. 2.
3.
Xige : Art multimedia technology applications in the environment (January 2004) Feng, Y.: Architectural design concept of the software supporting the three key technologies, based on Creator & Vega, 3ds max and AotoCAD, Sichuan Construction (October 2006) Feng, G., Zhang, J.: Architectural decoration based on virtual reality system design and managent. Hebei Architectural Science and technology (June 2006)
Rotor Time Constant Estimation for the Vector Controlled Induction Motor Drive Based on MARS Scheme Hua Li and Shunyuan Zhou Institute of Electric Power System and Motor Drives, College of Information Science and Engineering Northeastern University Shenyang, Liaoning Province, China [email protected], [email protected]
Abstract. In this paper, Model Reference Adaptive System (MRAS) is presented for the rotor time constant estimation for induction motor based on the regulation of instantaneous reactive power. The estimated rotor time constant is used as feedback for calculating the slip speed in an indirect vector control system. This method avoids using pure integration and stator resistance in the reference model. Moreover, the steady state of the reactive power eliminates the derivative terms in the adjustable model. The structure of estimator is very simple and the technique is robust to variations of motor parameters. Simulation results are presented the robustness and accuracy of the proposed schemes and show that good tracking capability and fast responses have been achieved. Keywords: Rotor Time Constant, MRAS, Induction Motor, Vector Control, Reactive Power.
1 Introduction In recent years, the induction motor (IM) has been widely used in industrial application due to its simple structure, great reliability and low costs. Control techniques of these drives are well treated in the literatures. The vector control is a sophisticated control method. It is based on rotor field oriented control according to rotating frame transformation, and has a decoupling control between torque and flux of the IM drive and consequently dynamic performances similar to those of a DC machine. However, rotor time constant (τr) is a very important parameter, which is required in indirect field-oriented control (IFOC) system of IM drive. The rotor time constant may have variation with working condition change, especially temperature change, which may lead to improper flux orientation, improper stator current decoupling, and hence deterioration of dynamic performance of the IM drive. In order to achieve good performance of vector controlled IM drive, many different rotor time constant estimation schemes have been proposed, for example, signal injection-based method [1], Model Reference Adaptive System (MRAS), Extended M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 345–352. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
346
H. Li and S. Zhou
Kalman filter [2]. In these methods, MRAS is popular due to its simplicity, less computation time and good stability [3-7]. In this paper, the instantaneous reactive power has been used in the proposed technique for estimating the rotor time constant of IM drive. Most of the MRAS schemes for estimation of rotor speed or rotor time constant require flux estimation. However, this method is not like that. So, it overcomes the reflections from pure integration and stator resistance [5]. The reference model has no influence from the parameter variations. The steady state of the reactive power eliminates the derivative terms in the adjustable model. The structure of the model is simplified. Therefore, the accuracy of parameter estimation is verified and is not suffered from integratorrelated problems at low speed. The validity and robustness are proved by simulation.
2 Inverse Rotor Time Constant Estimation 2.1 Mathematical Model of Induction Motor The electromagnetic behavior of IM in the d-q synchronously rotating reference frame can be expressed by equation (1). ⎛ ⎜ Rr + ( p + jω ) σ Ls ⎛ vs ⎞ ⎜ ⎜ ⎟=⎜ RL ⎝0⎠ ⎜ − r m ⎜ Lm ⎝
( p + jω ) Lm
⎞ ⎟ Lr ⎟ ⎛ is ⎞ ⎟ ⎜ψ r ⎟ Rr + ⎡⎣ p + j ( ω − ωr ) ⎤⎦ ⎟⎟ ⎝ ⎠ ⎠
(1)
where ω = ωr + ωsl , σ = 1 − L2m / ( Ls Lr ) and p is the differential operator. The voltage, current and flux space vectors are given as x = xd + jxq . The instantaneous reactive power can be expressed as Q1 = vqs ids − vds iqs
(2)
According to the equation (1), the (2) can be rewrote, a new expression of Q1 is
(
)
(
)
Q2 = σ Ls piqs ids − pids iqs + σ Lsω ids2 + iqs2 −
(
)
(
Lm L pψ dr iqs − pψ qr ids + ω m ψ qr iqs + ψ dr ids Lr Lr
)
(3)
In the IFOC system, ψqr=0 and ψdr=ψr. In the running process of motor, ids=ψr/Lm. When the IM drive is working in the steady state, the derivative terms are zero. The equation (3) can be simplified, the expression of reactive power resolves to
(
)
Q3 = σ Lsω ids2 + iqs2 + ω
L2m 2 ids Lr
(4)
In the equation (1) and (4), it is found that the stator resistance does not affect the reactive power. Also, pure integration terms are eliminated, and the question of integral drift can be resolved.
Rotor Time Constant Estimation for the Vector Controlled Induction Motor Drive
347
2.2 Model Reference Estimation Structure The structure of MRAS consists of a reference model, an adjustable model and an adaptation mechanism which is found out to minimize the error between two models, as illustrated in Fig 1. In this paper, Q1 is considered as the reference model, which represents the components of the reactive power in terms of accessible stator variables, that is, stator currents and voltages. Q3 is chosen as the adjustable model which is free from rotor flux and derivative terms, and it is dependent on slip speed (ωsl). The error signal is fed to the adaptation mechanism. According to the conditions of rotor fieldorientation, the following expression can be gained.
ωsl = Lm iqs / (τ rψ r )
(5)
According to equation (5), the rotor time constant can be calculated. The structure of MRAS using the reactive power is illustrated in Fig 1.
Fig. 1. Structure of the new MRAS using reactive power
2.3 Model Reference Estimation Structure
The proposed MRAS based on rotor time constant have been shown in the above part. The reactive power variation is defined by
ε = Q1 − Q3
(6)
Substituting Equation (2) and (4),
ε = vqs ids − vds iqs − σ Lsω ( ids2 + iqs2 ) − ω
L2m 2 ids Lr
(7)
This variation is used by the adaptation mechanism to generate the estimated slip speed and make it converge towards its actual value. The adaptation mechanism must be designed in order to obtain a fast and stable time response. The adaptation mechanism is based on the Popve’s hyperstability concept, which mainly concerns the stability properties of a class of feedback systems as illustrated in
348
H. Li and S. Zhou
Fig.2. Usually, r=0 , gain u=-w. Two conditions are required when the system is said asymptotic hyperstable. (a) The transfer function of the feed forward linear time invariant block must be strictly positive real. (b) The nonlinear time varying block must satisfy the Popov’s integral inequality η ( t0 , t1 ) = ∫ yT ( t ) w ( t )dt ≥ −γ 02 t1
t0
∀t1 ≥ t0 , γ 02 > 0
(8)
where w is the feedback block. The term of w is input and ε is the output of the linear forward block.
Fig. 2. Standard block diagram of nonlinear feedback system
According to the hyperstability concept, a state model is represented as pε = Aε − w
(9)
Assume y=Cε, where C=1/[σLs(idr2+iqr2)+(Lm2/Lr)idr2], and constitute the linear part of the standard nonlinear feedback systems, whereas rotor time constant estimation constitutes nonlinear part. The equivalent MRAS is shown in the Fig. 3.
Fig. 3. Equivalent MRAS for the proposed scheme
Substituting y and w into equation (8), the following expression can be gained ⎡
η ( 0, t1 ) = ∫ yT (ωsl − ωsl ) ⎢( ids2 + iqs2 ) + ω t1
0
∧
⎣
L2m 2 ⎤ ids ⎥dτ ≥ −γ 02 Lr ⎦
(10)
Rotor Time Constant Estimation for the Vector Controlled Induction Motor Drive
349
The adaptation mechanism can be chosen by the expression ∧
∧
ωsl = ∫ F1 ( y ,τ , t )dt + F∧2 ( y, t ) − ωsl (0) 0 ωsl (0) t1
According to the actual situation, choose the
, and substitute (11) into (10), then
∧
η ( 0, t1 ) = ∫ ε T ( ∫ F1 ( y ,τ , t )dt − ωsl (0) − ωsl )dτ + ∫ ε T F2 ( y , t )dτ ≥ −γ 02 t1
t1
t0
0
(11)
t1
(12)
0
To make Equation (12) be satisfied, the following inequality can be used
∫
t1
0
pf ( t )kf ( t ) dt =
k 2 k ⎡ f ( t1 ) − f 2 ( 0 ) ⎤⎦ ≥ − f 2 ( 0 ) 2⎣ 2
(13)
So, have pf ( t ) = ε T ∧
kf ( t ) = ∫ F1 ( y ,τ , t )dt − ωsl (0) − ωsl t1
(14)
0
According to the equation (14), the following result can be obtained F1 ( y,τ , t ) = kτ I ε T
kτ I > 0
(15)
F2 ( y, t ) = kτ P ε T
kτ P > 0
(16)
and
The adaptation mechanism can be gained ∧
t1
∧
ω sl = ∫ kτ I ε T dt + kτ P ε T + ω sl (0)
(17)
0
where kτ I , kτ P are the PI controller gains of the adaptation mechanism. Therefore, a PI controller is sufficient to satisfy Popov’ s integral inequality. These satisfy both the Popov’s criterion and confirm the stability of the system.
3 Simulation Results The above presented procedure has been simulated using MATLAB/Simulink to verify the effectiveness of MRAS for estimating the rotator time constant. Fig.4 shows the block diagram of IFOC based on MRAS using the reactive power. The proposed estimation scheme has been simulated on a 1.1-kW four-pole squirrel cage induction motor, and the parameters are summarized in the Table 1. The motor model is represented by equation (1) as well as the following mechanical equation pωr = −
np B ωr + (Te − Tl ) J J
(18)
The performance of the estimator has been studied in terms of its ability to converge to the actual rotor time constant and the response of the estimator towards parameters change. Fig.5 shows the simulation result of rotor time constant for the vector controller IM. The rotor time constant estimator was simulated for a load of 2 Nm and a
350
H. Li and S. Zhou
Table 1. Induction motor parameters Parameters Nominal power (kW) Stator line voltage (V) Frequency (Hz) Stator resistance (Ω) Rotor resistance (Ω) Mutual inductance (H) Stator leakage inductance(H) Rotor leakage inductance(H) Pole pairs
Value 1.1 380 50 6.6 5.5 0.454 0.021 0.021 2
Fig. 4. Block diagram of IFOC based on MRAS
reference speed of 800 rpm. At time t=2s, the rotor resistance (Rr) of the induction motor has a step response which is increased by 50% of Rr , and at time t=4s, the rotor time constant is reduced to the normal value, Rr However, the rotor time constant change slowly with time change in the real drive. In this simulation, the step variation is to verify the robustness of the proposed estimator. From the Fig.5., it is found that the value estimated of reactive power ( Qest) can track the reference reactive power (Qref) better compared by the method using flux calculator in [10]. Therefore, the method has good tracking capability and fast response. Fig.6 shows the rotor time constant estimation at low speed. At time t=2s, the rotor resistance is increased by 50%. Compared the method using the rotor flux information, the proposed technique can estimate the rotor resistance at low speed accurately.
Rotor Time Constant Estimation for the Vector Controlled Induction Motor Drive
351
0.4 Qref 0.3
0.2
0.1
0 Qest -0.1 0
1
2
3
4
5
6
5
6
time (sec)
(a) 1.2 1 0.8
d-axis stator current
0.6 0.4 0.2 0
q-axis stator current
-0.2 0
1
2
3
4
time (sec)
(b) 20
15
10
5
0 1
1.5
2
2.5
3
3.5
4
4.5
5
time (sec)
(c) Fig. 5. Simulation results of the proposed system: (a) the reactive powers, (b) d and q-axis stator current, (c) inverse rotor time constant Tr-1
50 40 30 20 10 0 -10 0
0.5
1
1.5
2
2.5
3
3.5
time (sec)
Fig. 6. Inverse rotor time constant estimation at a low speed
4
352
H. Li and S. Zhou
4 Conclusion In this paper, the rotor time constant estimator based on MRAS is proposed using the function obtained from instantaneous reactive power. The technique has no integrators in the implementation and it is robust to the variation of stator resistance. The rotor time constant can be estimated correctly at steady state of the reactive power. From the simulation results, the rotor resistance estimation has proved the effectiveness of MRAS. The adaptation mechanism has good tracking capability to parameter variations.
References 1. Wade, S., Dunnigan, M.W., Willianms, B.W.: A new method of rotor resistance estimation for vector controlled induction machines. IEEE Trans. Ind. Electron. 44(2), 247–257 (1997) 2. Garcia Soto, G., Mendes, E., Razek, A.: Reduced-order observers for rotor flux, rotor resistance and speed estimation for vector controlled induction motor drives using the extended kalman filter technique. IEE Proc. Electr. Power Appl. 146(3), 282–288 (1999) 3. Peng, F.Z., Fukao, T.: Robust speed identification for speed-sensorless vector control of induction motor. IEEE Trans. Ind. Applicat. 30(5), 1234–1240 (1994) 4. Zorgain, Y.A., Koubaa, Y., Boussak, M.: Rotor resistance estimation for indirect stator flux oriented induction motor drive based on MRAS Scheme.In: STA 2009, REM-627, pp. 1347–1362 (2009) 5. Bin, H., Wenlong, Q., Haifeng, L.: A novel on-line rotor resistance estimation method for vector controlled induction motor drive. In: Proc. Conf. Rec. IEEE IPEMC Conf., vol. 2, pp. 655–660 (2004) 6. Marcetic, D.P., Vukosavic, S.N.: Speed-sensorless AC drive with the rotor time constant parameter update. IEEE Trans. Ind. Applicat. 54(5) (2007) 7. Haron, A.R., Idris, N.: Simulation of MRAS-based speed sensorless estimation of induction motor drive using MATLAB/SIMULINK. In: PECON 2006, pp. 411–415 (2006) 8. Maiti, S., Chakraborty, C., Hori, Y.: Model reference adaptive controller-based rotor resistance and speed estimation techniques for vector controlled induction motor drive utilizing reactive power. IEEE Trans. Ind. Electronics 55(2), 594–601 (2008) 9. Peng, F.Z., Fukao, T., Lai, J.S.: Low-speed performance of robust speed identification using instantaneous reactive power for tacholess vector control of induction motors. In: Conference Record of the 1994 IEEE-IAS Annal Meeting, vol. 1, pp. 509–514 (1994) 10. Ta, C.-M., Uchida, T., Hori, Y.: MRAS-based speed sensorless control for induction motor drive using instantaneous reactive power. In: Conf. Rec. of the IEEE-IECON, pp. 1417– 1422 (2001)
Small-World Request Routing System in CDNs Lan Li* 235 Nanjing Road East, Qingshanhu Distric School of software,Nanchang University 330029 Nanchang, PR. China [email protected]
Abstract. In this paper, we present a novel small-world method for request routing in CDNs. CDNs have multiple servers carry the same content. Request routing system is used to choose a proper replica server that has the requested content and route the incoming request to that sever. To present the proper strategies on choosing the replica server, we use small-world distributed hash tables to create the new replica server and relax the hot spots in replica servers. According to the experiment results, the trade-off between the scalability and robustness gained from small-world distributed hash tables reduce the average query delay. Keywords: We would like to encourage you to list your keywords in this section.
1 Introduction Content delivery(or distribution)networks(CDNs)[1, 2] is an effective approach to improve Internet service quality. It has recently been proposed to improve the performance of the response time, bandwith and the accessibility by using index, cache, stream splitting, multicast and other technologies[2-4]. Request routing system is used to choose a proper replica server that have the requested content and route the incoming request to that sever. There are many techniques have been proposed to guide users to use a suitable server among a set of replica servers, such as client multiplexing, HTTP redirection, DNS indirection, anycasting and peer-to-peer routing, in which peer-to-peer systems build the information retrieval network one the members of replica servers themselves instead of relying on a dedicated infrastructure like the traditional CDNs do. Recent work also has shown that the request interests is a kind of social network and exhibits small-world behavior. Characterizing such behavior is important for the proper evaluation of large-scale content delivery techniques. Inspired by this, this paper present a novel request routing scheme based on small-world theory.
2 Related Work If one object is popular, then the probability of finding more than one replica server to store it becomes higher. Content Distribution Networks (CDN) have multiple servers *
This work is supported by Youth Science Foundation(GJJ11038), Department of Education, Jiangxi Province.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 353–359. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
354
L. Li
carry the same content whether it is web content or any other application. Such a problem of multiple serving nodes is similar to peer-to-peer network, however, in contrast to peer-to-peer network, CDNs servers are well maintained by some professional personnel and lost self-organizing features and dynamics. In order to present a suitable content distribution mechanism for the individuals content producers, peer-to-peer network can be introduced into CDNs. When providing servers from individuals, CDNs’ servers are often very dynamic, and might leave a network even if they were in the middle of serving an object to a client node. Thus, it is necessary to provide certain number of replica servers for a client node. In the event that one or more of the serving nodes disappear, a client does not have to restart the download of the entire object from another serving node. According to this, Distributed hash tables(DHT) can be introduced to store index information in CDNs[5]. Distributed hash tables(DHT) associate with an address based on the numerical distance between their hash keys. DHT is widely used to either store index information about the location of data or to store the data itself. However, because a message traverses a typical DHT on links that are completely location unaware, a message originating in two very near nodes may take lots of hops. This problem can be solved by integrating the location information into the DHT. However, the integration of location information often brings the problem of trade-off between the cost of robustness and scalability by reducing the randomness that was intentionally integrated into the design of DHT. In order to achieve the balance of structure and randomness, small-world graphs may give out the solution. Following Watts and Strogatz’ findings[6], the structural properties of small-world graphs typically exhibit a short path length between any two vertices and strong clustering behavior. Small-world graphs exhibit connectivity properties that are between random and regular graphs. Like regular graphs, they are highly clustered; yet like random graphs, they have typically short distances between arbitrary pairs of vertices. It has been shown that many networks have similar small-world property. After Watts and Strogatz’ finding, Kleinberg[7] proposed two engaging questions: “why should there exist short chains of acquaintances linking together arbitrary pairs of strangers?” and “why should arbitrary pairs of strangers be able to find short chains of acquaintances that link them together?” Kleinberg’s studies on the networks with small world characteristics show that searches can be efficiently conducted when the network exhibits the following properties: 1) each node in the network knows its local neighbors; 2) each node knows a small number of randomly chosen distant nodes, with probability proportional to 1/d where d is the distance. A search can be performed in O(log2N) steps on such networks, where N is the number of nodes in a network. Inspired by Kleinberg's work, DHT Symphony is designed by Manku et al.'s. In a Symphony network with n nodes, each node randomly chooses a node identifier from the unit interval [0,1) and positions itself on a ring. The key idea of symphony[8] is to arrange all participants along a ring and equip them with long distance contacts drawn from a family of harmonic distributions. In symphony, each node establishes links with its two immediate neighbors on the ring as well as q long distance links chosen with the help of a probability density function pn(x)=1/xln(x), in which x [1/n,1]. In order to establish a long link, a node draws a distance d from pn(x) and then searches for the manager of the point at distance d away from itself on the ring. Symphony's pn(x)
∈
Small-World Request Routing System in CDNs
355
implies that the probability density of a long distance link being established at a distance d is inversely proportional to d. According to the recent work, the proposed content distribution mechanism contains two parts: firstly, construct a content mechanism network based on the collections of popular routes queries. Secondly, give the solutions of request routing system in CDNs.
3 Small-World Content Distribution Mechanism 3.1 Construction and Initialization According to the discussion above, obviously, it is important to make data stored close to the requestors in content distribution networks. The proposed small-world DHT determines the distance between nodes by underlining DHT proximity routing, which is different from the measurement of distance between two ip addresses. In order to record the incoming queries, each node maintains a routing table to record the next-hop nodes these queries traveling through before they arrive in the key node. This routing table is a Hash table, in which stores the key and the location of the data. In order to generate a content delivery network based on DHT, each node is given a node identifier based on the content weights and nodes in CDNs is linked to the direct nearest neighbors nodes they know. The identifier of a node is generated by a hash function based on the contents it provides. If there are other links to that node in CDNs, these links connected to the other neighbors. The content weight is decided by the number of queries in CDNs. Algorithm1 describe the initial process of constructing a content distribution network. Algorithm 1: construction of content distribution network
program Construction( int max_query) begin If a key’s query count equals to max_query Choose a new node act as server; New server send joining message; give the node a identifier Ni according to its content weights; end if search the identifier Ni in the routing table with maximum query rate; If no such identifier Ni Add Ni to the routing table with maximum query rate; Inform all nodes in system by sending messages to them; End if end. 3.2 Reinforce the Structure with Small-World Feature According to Algorithm 1 described above, a initial content delivery structure is built. In order to utilize the small-world phenomenon of the interests from users, some additional links are added based on a probability density function over the weights of contents between nodes in the content distribution network. Inspired by symphony, the
356
L. Li
proposed method makes use of the weights of queries’ interests and contents. The smaller the differences between two nodes’ content weights, the higher probability that they are joined by a link. According to this, a node add a new link by computing the difference from the probability density function pn(x)=1/xln(x) and search a node with the difference in the whole network. Then the node sends messages to a number of selected neighbors with its coordinate and the content weight difference. These selected neighbors check their routing tables for any content nodes with the computed content weight difference by probability density function. If find nothing, then a new value is drawn by probability density function and begin the process again. If there are some hits return, then an addition link between the node and the found node is established.
4 Query and Routing Mechanism This section details the query and routing operation in CDNs. Because of the proposed content distribution network construction mechanism adds the content weight according to the query interests, queries can search the replicas in the relevant interests servers. Therefore, when routing a query, a client node looks for the key-k forwards the lookup to its neighbor nodes with identifier-n and these neighbor nodes look up the minimized difference between k and n in the identifier space. If a matched node is found, it returns the query results to the handler, otherwise forwards the query to its next neighbor. Because of using the small-world feature to make the CDN structure revised, the content node make the decision based on the normal links and the added links when selecting the next hop. Algorithm2 present the details of query and routing mechanism. Algorithm 2: query and routing in content distribution network
program Nexthop (key k) begin if Islowest(k-n)//look for the neighbor node n with the lowest difference return nexthop as n ; increase the query weights of node n; end if end. Theorem 1. Given a CDN of N nodes, with the number of maximum query size M, the average search path length for search across both normal links and added lins is O(log(2N/M)). Proof: Note that the basic structure is formed by the normal links and the added links, query is built on all links in the network. During the search process, the algorithm maintains a search-hit list in each server. For every queries, a server node replaces the lowest hit rate in the search-hit list with the highest hit rate with probability of N/(N + M).
Small-World Request Routing System in CDNs
357
5 Experiments Results and Analysis The proposed strategy inspired by the small-world DHT protocol in peer-to-peer network present solutions for routing a query to the nearest server node in CDNs. In this section, the experiments will show that the proposed algorithm is very efficient at minimizing the query delay. We measure the content distribution system by using a simulator built on the top of Chord. The nodes are generated by the function based on uniform distribution. The parameters of the experiment are given in Table 1. Table 1. The parameters used in the experiment. Descriptions The rate of key production The rate of query arrival The latency of next hop The average throughput of replica data The content weight per node
Value
α=4 qa 5ms 100/s 90% of each capacity
In figure1, we compare the average query delay among normal network without CDN, basic CDN and CDN with small-world links. It shows that the average query delay in CDN with small-world feature has the advantage in he average query delay.
350
) s m 300 ( y a l 250 e d g 200 n i y r 150 e u q 100 e g a r 50 e v A
0
Normal CDN CDN with small-world link
2
4
6
8
10
12
14
Times(s)
16
18
20
22
Fig. 1. Average query delay (qa = 100/s)
Figure2 shows the average query hops comparison among normal network without CDN, basic CDN and CDN with small-world links.
358
L. Li
4 3.5 3
s p o h 2.5 y r e u 2 q e g a 1.5 r e v A
Normal
1
CDN
0.5
CDN with small-world link
0 2
4
6
8
10
12
14
16
18
20
22
Times(s)
Fig. 2. Average query hops (qa = 100/s)
It shows that the CDN with small-world links performs better than the normal network without using content distribution method.
6 Conclusions In this paper, we present a content distribution mechanism by using the overlay DHT with small-world features. The initial construction of content distribution network is based on a structured overlay model, afterwards, reinforce the structure by adding additional links according to the query interests. The mechanism present in the paper shows an efficient way of request routing. The experiments show that the delay and hops in CDN with small-world features have advantages compared to the normal network without using CDN and normal CDN without small-world features.
References 1. 2. 3. 4. 5.
Peng, G.: CDN: Content distribution network. Arxiv preprint cs/0411069 (2004) Pathan, M., Buyya, R., Vakali, A.: Content Delivery Networks: State of the Art, Insights, and Imperatives. Content Delivery Networks, 3–32 (2008) Pathan, M., Buyya, R.: A Taxonomy of CDNs. Content Delivery Networks, 33–77 (2008) Chen, Y.: Dynamic, Scalable, and Efficient Content Replication Techniques. Content Delivery Networks, 79–104 (2008) El Dick, M., Pacitti, E., Kemme, B.: Flower-CDN: a hybrid P2P overlay for efficient query processing in CDN, pp. 427–438. ACM, New York (2009)
Small-World Request Routing System in CDNs 6. 7. 8.
359
Watts, D.J., Strogatz, S.H.: Collective dynamics of small-world networks. Nature 393, 440–442 (1998) Kleinberg, J.: Small-world phenomena and the dynamics of information, p. 431. MIT Press, Cambridge (2002) Manku, G.S., Bawa, M., Raghavan, P.: Symphony: Distributed hashing in a small world, pp. 10–10. USENIX Association (2003)
Experimental Study on Simulated Cerebral Edema Detection with PSSMI Gui Jin1, Mingxin Qin1,*, Chao Wang2, Wanyou Guo2, Lin Xu1, Xu Ning1, Jia Xu1, and Dandan Gao1 1 College of Biomedical Engineering and Medical Imaging, Third Military Medical University, Gaotanyanzheng street 30, Shapingba district, 400030 ChongQing, China 2 College of Electronic Engineering, Xidian University, Taibai South Road 2, 710126 Xi’an, China [email protected], [email protected], [email protected]
Abstract. Based on PSSMI method, one new detection system and the physical model of cerebral edema, the experimental study of simulated detection of cerebral edema was carried out. We applied three kinds of excitation signals with different frequencies. Three kinds of NaCl solutions were used to simulate the brain tissue, cerebral edema and calibration solution, whose conductivities were 0.133s/m, 0.194s/m and 3.6s/m respectively. To simulate the volume change of cerebral edema, the solutions were increased from 5 to 100 ml with an infusion pump. The phase resolution was up to 0.005° and the range of the gain was -10 35dB in the detection system. The experimental results show that the phase shift is directly proportional to volume, conductivity and frequency. The experimental study suggests that the PSSMI method has the potential of being a simple method for cerebral edema detection.
~
Keywords: magnetic induction; phase shift; cerebral edema.
1 Introduction Phase shift spectroscopy of magnetic induction (PSSMI) method applies a certain frequency range of magnetic fields to induce eddy current in biological tissues and the phase shift spectroscopy between the excitation magnetic field and the inductive magnetic field is then detected. The phase shift spectroscopy will be used to measure the occurrence and progress of cerebral edema and have an important significance for the detection of cerebral edema [1-3]. PSSMI needs the high precision of phase shift. In the previous work, we have established a detection system based on phase locking amplifier(SR844), whose precision was only 0.02° and structure was complicated. So we redesigned a new detection system of cerebral edema. In order to test the new system performance a physical model was used to simulate cerebral edema and detection experiments were made. *
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 361–367. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
362
G. Jin et al.
2 Configuration of Our Detection System The detection system includes an excitation source, excitation and detection coils, a physical model of cerebral edema and a phase detector. The excitation current from the excitation source flows into the excitation coils to generate the magnetic field, the magnetic field generates the inductive magnetic field in the physical model. The excitation field and the inductive field are measured by the detection coil. The phase shift between the signal from the detection coil and the reference signal from the excitation source is measured by the phase detector and displayed on a screen.
Fig. 1. Detection System includes (1) phase detector, (2) excitation source, (3) brain edema physical model, (4) excitation coil, (5) detection coil, (6) skin dilator, (7) infusion pump and (8) beaker.
Fig. 2. Schematic Diagram of Detection System.
2.1 Excitation Source The excitation source can output two sinusoidal signals. One signal is used as the excitation signal and the other is the reference signal. The excitation source provides three frequencies and the range of output power from the excitation source is
Experimental Study on Simulated Cerebral Edema Detection with PSSMI
~
363
1.5dB 33db [2-3]. The frequency stability is the order of magnitude of 10-4, the distortion reaches 10-2 10-4 and the SNR is 30 60dB in the excitation source.
~
~
2.2 Physical Model The physical model includes an organic glass ball and a skin dilator[6], which can simulate the irregular geometry, different volumes and different conductivities of cerebral edema. The excitation coil and detection coil are fixed to organic glass ball’s neck and middle separately. The diameter of excitation coils and detection coils are 68mm and 220mm, the number of turns of both coils are 10 and the distance of two coils is 100mm [4-5]. The solution in the beaker is evenly input into the skin dilator by the infusion pump (ZNB-XY1). 2.3 The Phase Detector The phase detector for measuring the phase shift includes the band-pass filter, amplifier, AD, FDGA, DSP, flash memory and LCD. The phase detector can be calibrated and the temperature drift and the noise can be eliminated by a calibration software. You can adjust frequency, set gain, view waveform, measure phase shift and transmite data to computer on the phase detector. The parameters of our phase detector are as follows: the range of phase measurement: 0 180°, the phase precision: 0.005°, the range of gain: -10 35dB, once measurement time: 3 7s. The 12h data measured can be saved in the phase detector.
~
~
~
3 Experiments on Simulated Cerebral Edema Detection 3.1 Design of Experiments The excitation source was connected to phase detector as Fig 2. The solution of 2800ml NaCl was injected into the physical model to simulate the brain tissue and the conductivity of the solution was 0.133s/m. Two beakers of NaCl solution was prepared to simulate the cerebral edema and physiological saline and the volume of each beaker was 100ml. The conductivities of two solutions were 0.194 s/m, 3.6 s/m respectively. The skin dilator made of plastic film was connected to the infusion pump. The infusion pump evenly transported the solution from the beaker to the skin dilator, the speed of pump was set to 2000ml/h and each time volume was set to 5ml. The phase shifts were measured by the phase detector under the conditions of two different solution volumes and three different frequencies. Process: First, one simulated solution and operating frequency were selected. Whenever each 5ml solution was injected, the phase detector measured the phase shift in time. The solution in the skin dilator was increased from 0 to 100ml, the phase detector got 21 datas in each measurement. After this measurement was over, the infusion pump drew out 100ml. Again, 20 measurements were repeated in the above method. Second, The operating frequency was changed and the above step was repeated. Third, The solution was changed. Step one and two were repeated.
364
G. Jin et al.
The data was processed as follows: 20
∑ ( θ ji − θ j 0 ) X obi =
j =1
(1)
.
20
Here, j is the measurment number from 1 to 20, i is the data number in one measurement. θji stands for the phase shift and θj0 represents the phase shift when the skin dilator is empty. Xobi represents the average phase shift over 20 measurments[3]. 3.2 Experimental Results Fig 3 shows the phase shift curves generated by the simulated cerebral edema solution in three kinds of frequencies. From the curves, the phase shift increases as solution volume increases and the change ratios are different. The change of phase shifts are 0.007°, 0.479° and 0.533° using three operating frequencies respectively when the volume increases from 0 to 100ml. 0.6 f1
phase shift ( °)
0.5
f2
f3
0.4 0.3 0.2 0.1 0 0
20
( )
40 60 volume of the solution mL
80
100
phase shift ( °)
Fig. 3. The phase shift of cerebral edema.
0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0
f1
0
f2
20
f3
( )
40 60 volume of the solution mL
Fig. 4. The phase shift of physiological saline.
80
100
Experimental Study on Simulated Cerebral Edema Detection with PSSMI
365
Fig 4 shows the curves generated by the physiological saline. From the curves the phase shift increases also as the volume increases, and the change ratios are also different. The change of phase shifts are 0.011°, 0.584° and 0.853° using three operating frequencies respectively when the volume increases from 0ml to 100ml. Fig 5, 6 ,7 are the curves of two solutions using three operating frequencies, in which the experiment datas are the same as Fig 3, 4. The changes of phase shift generated by two solutions are very little, the maximum is only 0.011° when the frequency is f1. The change is larger and the maximum is 0.584° as to frequency f2. The change is the largest and the maximum is up to 0.853° as to frequency f3. From the curves, we know the phase shift of the physiological saline is larger than the cerebral edema’s in the same volume and frequency. 0.012
phase shift(°)
0.01 0.008 0.006 0.004 0.002 0 0
10
20
30
40 50 60 the volume of the solution(ml)
cerebral edema
70
80
90
100
80
90
100
physiological saline
Fig. 5. The phase shift caused by frequency f1.
0.7 0.6
phase shift(°)
0.5 0.4 0.3 0.2 0.1 0 0
10
20
30
40
50
60
70
the volume of the solution(ml) cerebral edema physiological saline
Fig. 6. The phase shift caused by frequency f2.
366
G. Jin et al. 0.9 0.8
phase shift ( °)
0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0
10
20
30
40
50
the volume of the solution cerebral edema
60
(mL)
70
80
90
100
physiological saline
Fig. 7. The phase shift caused by frequency f3.
4 Discussion According to our experimental results, it can be seen: (1) From the curves in Fig3, 4 our new detection system can detect the phase shift less than 0.01° for frequency f1. The phase precision of our system is higher than the phase locking amplifier(SR844). (2) From Fig 3, 4 the greater the volume, the greater the phase shift generated is, under the condition of the same conductivity solution and the same frequency. The higher the signal frequency, the greater the phase shift generated is, under the condition of the same conductivity solution and the same volume. For frequency f1 the phase shift generated is less than 0.1° and for frequency f3 the phase shift generated is more than 0.5°. (3) From Fig 5, 6, 7 the phase shift generated by physiological saline is larger than cerebral edema with regard to the each frequecncy. (4) According to the formula (2) the phase shift is directly proportional to the conductivity, the volume and the frequency [6] and our experimental results are consistent with the formula (2).
θ ∝ kωσ
.
(2)
θ is the phase shift, k is the geometry coefficient, σ is the conductivity, ω is the angular frequency. From above discussions our new experimental results are consistent with the results of our previous tests, so the new system is proved to be feasible. There are two problems in our experimental study. One is that the excitation and detection coils are exposed to the surrounding environment and suffered from various EMI, such as human body influence and power interference and so on. The other is that the self-calibration needs too long time in our phase detector. In order to solve the above problems the physical model should be shield to eliminate EMI and the selfcalibration time of the phase detector should be reduced by optimizing our selfcalibration software.
Experimental Study on Simulated Cerebral Edema Detection with PSSMI
367
Acknowledgments. This work was supported by National Natural Science Foundation of China (61072254).
References 1. Hu, X., Qin, M., Liang, W., et al.: Study on techniques of phase detection in brain magnetic induction tomography. In: Proceedings of ICBBE 2007, pp. 782–785 (2007) 2. Zhou, W., Qin, M., Li, K., et al.: Study on detection phase deviation in brain MIT system. In: IFMBE Proceedings, vol. 25, pp. 328–330 (2009) 3. Liang, W., Qin, M., Jiao, M., et al.: Phase Detection Based on the Lock-in Amplifier SR844 and Experiments of Brain Neuron Cells in MIT System. In: Proceedings of ICBMEI 2008, pp. 638–642 (2008) 4. Li, K., Qin, M., et al.: The calculation and Measurement on phase shift in Single-channel BMIT system. Chinese Journal of Medical Physics 26(3), 1097–1101 (2009) 5. Jiao, M., Qin, M., Liang, W., et al.: Design and implementation of a new type excitation source and the optimal excitation coil for MIT. In: Proceedings of ICBBE, pp. 538–541 (2008) 6. Gfiffiths, H., Stewart, W.R., Cough, W.: Magnetic induction tomography: A measuring system for biological tissues. Ann. N Y Acad. Sci. 873, 335–345 (1999)
Medium Choice of Chinese Consumers in Obtaining Advertising Information about Minitype Automobile* Dao-ping Chen** School of Economics and Management, Chongqing Normal University, Chongqing 400047, P.R. China [email protected]
Abstract. This paper explores the media choice of Chinese consumers in obtaining advertising information about minitype automobile. A worldwide survey which involves a majority of Chinese areas is conducted. The survey focuses on consumers’ demographic characteristics, media choice and consumption things (first or repeated consumption). The result of the survey shows that consumers for obtaining information about minitype automobile chiefly choose friend or relative, newspaper, TV or automobile dealer as the media. The study finds that there isn’t a significant difference between first and repeated consumers in the media choice and that the demographic characteristics significantly affect the media choice of consumers. Consumers’ living city, occupation and education are the most important characteristics which affect the media choice of consumers. Keywords: medium choice, advertising information, minitype automobile, consumer.
1 Introduction A steady and rapid growth of China economy in longer time provides basic condition for development of Chinese automobile industry. China takes near 40 years, from 1953 to 1992, to make its automobile production volume reach 1 million units; However, China’s automobile production volume reaching 2 million units only spent 8 years, from 1992 to 2000, and then it only takes 2 years that China's automobile production volume reaches 3 million units in the end of 2002 (Zhang and Sun 2004). Weng (2004), vice-minister of Chinese Ministry of Communications, predicts that the total amount of civil automobile will reach 140 million or so in 2020. Facing such huge chance, multinational automotive companies, such as GM, Ford and Kreisler, invest one after another in China. In order to lure consumers to their brands, automakers place lots of advertisements in media. Statistics shows that advertising expenditure by automotive firms reach RMB 4.6 billion in 2003, doubling in size since 2002, with RMB 2 billion on TV and RMB 2.6 billion spent on print (Savage 2004). In this situation, automakers are confronted with an important *
Funded by Doctor Foundation of Chongqing Normal University (No. 11XWB004). ** Dao-ping Chen: PhD; Asso. Prof.; Research interests applied statistics. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 369–377. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
370
D.-p. Chen
decision: media decisions, namely, what medium should be chosen to advertise about automobile? If a manufacturer advertises in a certain medium, but consumers don’t like to choose the medium to obtain the advertising information. The advertising information in the media can’t reach or can’t effectively reach these target consumers even though the manufacturer has taken a lot of expenditure for it. Accordingly, it is important to study the medium choice of consumers’ obtaining advertising information. This paper studies medium choice of Chinese minitype automobile consumers. In the remainder, the previous relevant literatures are briefly reviewed. Next, a questionnaire is designed and accounted for responses. Then, the results are present and interpreted. Finally, conclusion and implication are given.
2 Literature Review Advertisers and media planners generally think that media differentially impact the effectiveness of advertising and media context has an important influence on the value of advertising (Ducoffe 1995). Among conventional media, Magazine advertising is especially efficient because it targets consumers by demographics and lifestyle (LaReau 2005). Therefore, automobile companies are increasingly working with food and travel magazines to sponsor consumer promotions and special events (Bernstein 2004). A research (Marketing (UK) 1999) indicates that potential automobile buyers find television and newspaper the most valuable media when it comes to making a new purchase, while radio and posters are least helpful. Since Internet appeared, there have been a lot of researches about the web medium. It is reported that more automobile buyers turn to Web for information, especially in the initial stage of purchasing automobile (Milsom 2003). Yoon and Kim (2001) think that one of the most significant differences may be the interactivity of Internet advertisements. In fact, Internet, as one of all kinds of media, is only a tool that closes relationships with automotive customers even if it possesses powerful function (Washington1998). Thus, mass media advertising is still very important in strengthening the bond between automakers and consumers (Serafin 1994). Therefore, the consumers’ needs and preferences on the advertising medium are vital for automakers to be faced with medium decisions. A study (Pollay, Tse, and Wang 1990) suggests that Chinese consumers are more positive about advertising than consumers in the West. Another study (Zhou, Zhang, and Vertinsky 2002) has also gotten similar results that urban Chinese has similar or more positive attitudes toward advertising than their America counterparts. Chinese households now possess more TV, newspapers and computers than before, which offers a condition for advertisement reaching consumers. Moreover, television viewing is considered the most popular leisure time activity in China (Wei and Pan 1999). Chinese local firms, therefore, tend to place a special emphasis on television advertising (Li 2004). Meanwhile, newspapers in China have also grown in ways similar to television stations, although they tend to take on a stronger regional than national feature (Yao 2004). Like television and newspapers, magazines are changing rapidly in China (Zenith Media 2000/2001). After compared with television, newspapers, and magazines’ effectiveness to reach particular consumer segments in
Medium Choice of Chinese Consumers in Obtaining Advertising Information
371
China, Hung, Gu and Tse (2005) find that magazines have the highest targetability among the three most popular mass media. Another survey (Zenith Media 2000/2001) on the proportion of reaching target audience reported that there are the different reaching rates for different media in China: television reaches 89%, newspapers reaches 72%, and magazines reaches 13% of the population. It is not doubt that these research results are very helpful for automakers to make media decision on advertisements. But authors don’t more consider consumers’ preference to advertising media.
3 Questionnaire and Response Nine media are selected in this questionnaire. They are newspaper, magazine, TV, street poster or billboard, Internet, automobile dealer, automobile manufacturer, automobile exhibition and friend or relative. That friend or relative is included in the questionnaire is because compared with the West, China is considered a high context culture (Hall Hall 1990). A research (Prendergast et al. 2001) shows that personal relationships with friends and family are more important, and these personal relationships can be extended to affect business relationships in a high context culture. In questionnaire, gender, living city, occupation, education, age and monthly household income are used to describe consumer characteristics. Gender has two levels (1=male, 2=female), living city four levels (1=big city, 2=city of middling size, 3=county seat, 4=villages and towns), occupation seven levels (1=government servant, 2=employee of national enterprise, 3=employee of private enterprise, 4=employer of individual enterprise or partnership enterprise, 5=farmer, 6=professional (lawyer, accountant, teacher, doctor, athlete, reporter etc.), 7=other), education six levels (1=junior high school or below, 2=senior high school, 3=technical secondary school, 4=junior college, 5=college or university, 6=graduate student), age seven levels (1=18-21 years, 2=22-25, 3=26-29, 4=30-34, 5=35-39, 6=40-59, 7=60 or above 60 years), monthly household income four levels (1=less than RMB 2000, 2=RMB 2000 to less than RMB 5000, 3=RMB 5000 to less than RMB 8000, 4=more than RMB 8000). This survey is a large what is supported by an automotive group company. The area involved in the survey amounts to 29 provinces, municipalities directly under the central government or autonomous regions. The survey is conducted between December 2003 and March 2004 by means of 263 automobile dealers that sell minitype automobile. Each dealer is with responsibility for providing and regaining 10 questionnaires, thus the questionnaires add up to 2630. The object of the survey is the consumer selected randomly from consumers entering the shop of dealer and having intention to purchase minitype automobile. A total of 2623 questionnaires are returned. Out of 2623, 280 are discarded due to their incompleteness and the remaining 2343 questionnaires are used for the final analysis. The data are analyzed using SPSS 15.0.
&
372
D.-p. Chen
4 Results 4.1 Media Choice of Chinese Minitype Automobile Consumers The result of the media choice of consumers is shown in able 1. Of total 2343 cases, 1305 are from consumers of first purchasing automobile and 1038 are from consumers of repeatedly purchasing automobile. According to Table 1, the percentage of the media choice to consumers of first purchasing automobile is as follows: friend or relative (64.7%), newspaper (45.1%), automobile dealer (43.2%), TV (39.8%), automobile manufacturer (27.0%), automobile exhibition (26.6%), Internet (23.1%), magazine (13.6%), and street poster or billboard (5.2%). For the repeated consumers, the percentage of media choice breakdown is as follows: friend or relative (69.2%), automobile dealer (47.2%), newspaper (43.4%), TV (37.4%), automobile manufacturer (26.3%), automobile exhibition (23.2%), Internet (18.5%), magazine (11.3%), and street poster or billboard (6.6%). The percentage of media choice between first consumers and repeated consumers only has a small difference. Is the difference significant A MANOVA is conducted with two levels (1=repeatedly and 2=first) as the factor on the full set of 9 dependent variables, friend or relative, newspaper, magazine, TV, street poster or billboard, Internet, automobile dealer, automobile manufacturer and automobile exhibition (Wilks' Lambda=0.988 (Exact F=2.950, Sig.=.002<.01)). The result indicates that there isn’t a significant difference between them. Therefore, consumers can be considered as a whole in analyzing media choice. Friend or relative variable has the highest percentage, which reveals that there is the most possibility that friend or relative is selected as an information channel of Chinese consumers. The percentage of newspaper is higher than that of TV, which shows that it is more possible for consumers to obtain advertising information from newspaper than from TV though Chinese families almost have TV. Why? A likely cause is that the advertising in newspaper provides more detail for consumers to intend to purchase automobile while the advertising in TV does not. Though Internet has had a rapid development in China in recent years, it is early for Internet to be regard as a main medium of automobile information. It is surprised that the percentage of magazine, as an important traditional medium, is only 13.6% (first) or 11.3% (repeated), which may be because minitype automobile consumers aren’t known as chief target of magazine. According to the percentage of media choice, the 9 media can be classified into 4 groups as follows: friend or relative is first group, newspaper, TV and automobile dealer are second group, automobile manufacturer, automobile exhibition and Internet are third group, and magazine and street poster or billboard are fourth group. When Chinese consumers intend to purchase minitype automobile, it is most likely for them to choose friend or relative to learn information, and it is more likely for them to choose newspaper, TV and dealer to obtain information. Evidently, it isn’t very high that Chinese consumers select manufacturer, automobile exhibition and Internet to obtain automobile information. In addition, consumers seem not to like to choose magazine and street poster or billboard to obtain the information about automobile.
?
Medium Choice of Chinese Consumers in Obtaining Advertising Information
373
Table 1. Proportion of Media Choice of Consumers
Media Friend or Relative Newspaper Magazine TV Street poster or Billboard Internet Automobile Dealer Automobile Manufacturer Automobile Exhibition Other
First Consumption Count Pct of Cases 844 64.7 589 45.1 177 13.6 519 39.8 68 5.2 302 23.1 564 43.2 352 27.0 347 26.6 107 8.2
Repeatedly Consumption Count Pct of Cases 718 69.2 450 43.4 117 11.3 388 37.4 69 6.6 192 18.5 490 47.2 273 26.3 241 23.2 87 8.4
4.2 Influence of the Demographics on the Media Choice In order to study the affection of demographics on media choice, Optimal Scaling Regression with gender, living city, occupation, education, age and monthly household income as independent while one of 9 variables, friend or relative, automobile dealer, newspaper, TV, automobile manufacturer, Internet, automobile exhibition, magazine and street poster or billboard as dependent is conducted using statistic software SPSS. The result is shown in table 2. Friend or Relative. The result of ANOVA shows that the regression model with friend or relative as dependent variable is statistically significant at the 0.01 level (F=5.678, Sig.=.000<0.01). From table 2, it can be known that living city (F=5.078, Sig.=.006), occupation (F=17.156, Sig.=.000), education (F=14.848, Sig.=.000) and MHI (F=4.066, Sig.=.017) produce significant influence. The four demographics are put in descending order of importance as follows: occupation (43.8%), education (39.5%), living city (13.9%), MHI (0.2%). Occupation, education and living city are three main characteristics. Gender and age have not significant affection on friend or relative. Table 2. Proportion of Media Choice of Consumers Media Friend or Relative
Newspaper
Characteristics Gender Living City Occupation Education Age MHI Gender Living City Occupation Education Age MHI
ANOVA
F= 5.678 Sig.=.000
F=3.796 Sig.=.000
Beta -.029 -.051 -.105 .100 -.028 -.044 .030 .112 -.056 -.036 .037 -.060
F 1.78 5.08 17.16 14.85 1.77 4.07 1.89 26.59 5.15 2.06 3.00 7.49
Sig. .182 .006** .000** .000** .171 .017* .169 .000** .000** .128 .050 .006**
Importance -.004 .139 .438 .395 .031 .002 .030 .596 .041 .073 .055 .206
374
D.-p. Chen Table 2. (continued)
Magazine
Gender .029 1.82 .178 Living City -.024 1.08 .340 F=2.324 Occupation .068 8.86 .000** Sig.=.002 Education -.090 14.49 .000** Age .044 4.06 .007** MHI -.008 .12 .725 TV Gender -.019 .76 .384 Living City -.086 15.56 .000** Occupation .048 4.81 .000** F=1.943 Sig.=.016 Education -.059 6.86 .000** Age .025 1.36 .254 MHI .027 1.58 .209 Street Poster Gender .029 1.78 .183 or Billboard Living City -.035 2.39 .122 F=1.901 Occupation -.022 1.05 .389 Education Sig.=.019 .072 9.68 .000** Age .043 3.95 .047* MHI -.056 6.73 .000** Internet Gender -.007 .11 .742 Living City .043 4.22 .015* F=16.852 Occupation .173 54.09 .000** Sig.=.000 Education -.215 79.35 .000** Age .080 15.57 .000** MHI -.055 7.34 .000** Automobile Gender .033 2.38 .123 Dealer Living City -.087 16.16 .000** F=2.886 Occupation -.077 12.53 .000** Sig.=.001 Education -.046 4.17 .041* Age .017 .63 .535 MHI -.002 .01 .921 Automobile Gender .009 .16 .692 Manufacturer Living City .037 2.72 .100 Occupation -.074 10.87 .000 F=1.470 Education .038 2.81 .060 Sig.=.108 Age .013 .34 .794 MHI .061 7.27 .000 Automobile Gender -.049 5.13 .024* Exhibition Living City .042 3.44 .032* F=2.463 Occupation -.062 8.20 .000** Sig.=.001 Education -.064 7.80 .000** Age .011 .24 .627 MHI .048 4.78 .009** Note: MHI = Monthly Household Income. * Sig.<0.05. ** Sig.<0.01.
.008 -.026 .351 .534 .121 .013 .040 .522 .162 .152 .059 .063 .076 .154 .068 .424 .105 .172 -.003 .045 .365 .502 .057 .034 .050 .413 .382 .131 .023 .001 .011 .126 .457 .125 .014 .267 .192 .163 .268 .292 .021 .064
Newspaper. As shown in table 2, when newspaper is used as a dependent variable while six demographic characteristics as independent variable, the regression model is statistically significant at the 0.01 level (F=3.796,Sig.= .000<0.01). Three characteristics, living city (F=26.59, Sig.=.000), occupation (F=5.15, Sig.=.000) and MHI (F=7.49, Sig.=.006), have the significant influence on newspaper. Living city
Medium Choice of Chinese Consumers in Obtaining Advertising Information
375
(59.6%) is the most important characteristics, followed by MHI (20.6%) and occupation (4.1%). The other characteristics, gender, age and education, have not significant affection on newspaper. Magazine. The result of ANOVA shows that the regression model with magazine as dependent variable has statistical significance at the 0.01 level (F= 2.324, Sig.=.002<0.01). Occupation (F=8.86, Sig.=.000), education (F=14.48, Sig.=.000) and age (F=4.06, Sig.=.007) produce significant influence on magazine. The three characteristics breakdown in descending order of importance are as follows: education (53.4%), occupation (35.1%), age (12.1%). From table 2, it can be known that gender, living city and MHI have not significant affection on choice to magazine. TV. The result of ANOVA on TV shows that the model is statistically significant at the 0.05 level (F= 1.943, Sig.=.016<0.05). Three of six characteristics, living city (F=15.57, Sig.=.000), occupation (F=4.81, Sig.=.000) and education (F=6.86, Sig.=.000), produce significant influence on TV. The three characteristics are put in descending order of importance as follows: living city (52.2%), occupation (16.2%), and education (15.2%). Moreover, gender, age and MHI have not significant affection on dependent variable TV. Street Poster or Billboard. The result of ANOVA shows that the model on street poster or billboard is statistically significant at the 0.05 level (F=1.901, Sig.=.019<0.05). And, education (F=9.67, Sig.=.000), age(F=3.95,S ig.=.047) and MHI (F=6.72,Sig.=.000) produce significant influence on street poster or billboard. The most important characteristic is education (42.4%), followed by MHI (17.2%) and age(10.5%). Other three characteristics of consumers, city, gender and employment, have not significant affection on street poster or billboard. Internet. The result of ANOVA on Internet shows that the regression model is statistically significant at the 0.01 level (F=16.852, Sig.=.000<0.01). Living city (F=4.22, Sig.=.015), occupation (F=54.09, Sig.=.000), education (F=79.35, Sig.=.000), age (F=15.57, Sig.=.000) and MHI (F=7.34, Sig.=.000) produce significant influence on Internet. Owing to table 2, education (50.2%) is the most important, followed by occupation (36.5%), age (5.7%), living city (4.5%) and MHI (3.4%). Gender is only characteristic which is not statistically significant in this case of Internet. Automobile Dealer. The result of ANOVA shows that the model on dealer is statistically significant at the 0.01 level (F= 16.852, Sig.=.000<0.01). And, living city (F=16.16, Sig.=.000), occupation (F=12.53, Sig.=.000) and education (F=4.17, Sig.=.041) produce significant influence on dealer. The three characteristics are ranked in descending order of importance as follows: living city (41.3%), occupation (38.2%), and education (13.1%). Gender, age and MHI have not significant affection on dealer. Automobile Manufacturer. The result of ANOVA on manufacturer shows that the regression model isn’t statistically significant at the 0.05 level (F= 1.47, Sig.=.108>0.05). Automobile Exhibition. The result of ANOVA shows that the regression model on automobile exhibition is statistically significant at the 0.01 level (F= 2.463,
376
D.-p. Chen
Sig.=.001<0.01). Five characteristics, gender (F=5.13, Sig.=.024), living city (F=3.44, Sig.=.032), occupation (F=8.20, Sig.=.000), education (F=7.80, Sig.=.000) and MHI (F=4.78, Sig.=.009), produce significant influence on automobile exhibition. The characteristics are ranked in importance as follows: education (29.2%), occupation (26.8%), gender (19.2%), living city (16.3%), and MHI (6.4%). Age has not significant impact on automobile exhibition.
5 Conclusion and Implication In this paper, the study which focuses on the media choice of Chinese minitype automobile consumers in obtaining advertising information about automobile and the influence of demographic characteristics on the media choice is conducted. Friend or relative among nine media is the most-used channel by which consumers obtain information about automobile. Moreover, newspaper, TV and automobile dealer are also often selected as the media by which Chinese consumers obtain advertising information about automobile. The investigation shows that automobile manufacturer, automobile exhibition and Internet are not the main media of minitype consumers which obtain advertising information about automobile. Again, Chinese consumers appear not to like to select magazine and street poster or billboard in obtaining information about automobile. The study finds that the demographics of Chinese consumers have a significant impact on their selection to media in obtaining automobile information. Living city, occupation and education are the most important in six characteristics variables which affect the choice of consumers on media. Gender of consumers has not significant influence on almost all choice of consumers toward media but automobile exhibition. Considering the importance of friend or relative in Chinese consumers’ obtaining automobile information, manufacturers should hold a persistent praise toward brand from consumers which have purchased minitype automobile because these consumers may become a friend or relative of potential consumers which intend to purchase minitype automobile. The results also provide substantial implications for minitype automobile manufacturers which face media decision on advertisement. If an automaker intends to select a medium to advertise from some media, newspaper or TV should first be considered, and the next should be Internet or automobile exhibition. Specially, automobile dealer or automaker self may also be regarded as an important medium which can provide automobile information. Another implication derivable from this study is that manufacturers should do a classification on consumers according to their living city, occupation or education characteristics, and then integrate several media to publish advertising information suitable for consumer categories, which may help manufacturers well to consider the different media choice of different consumer categories. This study is somewhat limited in the sense that the sample is confined to consumers entering the shop of dealer and having intention to purchase minitype automobile, therefore, our results are only a first step toward understanding Chinese minitype automobile consumers. A more comprehensive survey that focuses on all consumers of automobile in China should be conducted in the future. If so, a more representative sample can be obtained. By means of the new sample, a contrast on the media choice between consumers of minitype automobile and that of other automobile categories can be done.
Medium Choice of Chinese Consumers in Obtaining Advertising Information
377
References 1. Zhang, H.S., Sun, J.: Zuiju touzi qianli de qiche shichang–Zhongguo qiaoran cong qiche daguo xiang chanye daguo maijin(The most potential automobile market–China strides forward industry country from automobile country). International Financing 1, 17–24 (2004) 2. Weng, M.Y.: nian quanguo mingyong qiche baoyouliang jiang biaosheng zhi 1.4 yi liang (The possessing amount of Chinese civil automobile will reach 140 million in 2020 (2020) http://www.pcauto.com.cn/news/yjpl/medium/0409/130866.html (accessed August 8, 2005) 3. Savage, M.: Nielsen Study Casts Doubts on Impact of China Car Ads. Media Asia 8, 1/8, 1c (September 2004) 4. Ducoffe, R.H.: How Consumers Assess the Value of Advertising? J. of Current Issues and Research in Advertising 17, 1–18 (1995) 5. LaReau, J.: Magazines Are Pricey–But a Bargain. Automotive News 79(6139), 46, 1/4, 1c (2005) 6. Bernstein, M.: SI Stays No. 1 in Magazine Auto Ads. Automotive News 79(6116), 26D, 1/3 (2004) 7. Marketing (UK): Radio and Poster Ads Fare Badly in Mirror’s Research. 07/22/99, 4, 1/9 (1999) 8. Milsom, P.: More Car Buyers Turn to Web for Research. New Media Age,13, 1/2, 1c (August 21, 2003) 9. Yoon, S.J., Kim, J.H.: Is the Internet More Effective Than Traditional Media? Factors Affecting the Choice of Media. J. of Advertising Research 41, 53–60 (2001) 10. Washington, F.S.: Consumers in Command with Internet. Automotive News 71(5749), 28, 1/2 (1998) 11. Serafin, R.H.: Cleveland Still no Substitute for Traditional Ads. Automotive News, Cars & Customers 68(5544), S-24, 2/3, 6c (1994) 12. Pollay, R.W., Tse, D.K., Wang, Z.: Advertising, Propaganda, and Value Change in Economic Development: The New Culture Revolution in China and Attitudes toward Advertising. J. of Business Research 20, 83–95 (1990) 13. Zhou, D.S., Zhang, W.J., Vertinsky, I.: Advertising Trends in Urban China. J. of Advertising Research 42, 73–81 (2002) 14. Wei, R., Pan, Z.D.: Mass Media and Consumerist Values in the People’s Republic of China. International J. of Public Opinion Research 11, 75–97 (1999) 15. Li, Y.: Huwai guanggao weixie dianshi guanggao de bazhu diwei (Outdoor ads threaten TV as the top advertising media). Zhongguo jingying bao, 23 (2004) 16. Yao, L.: nian baokan guanggao shichang xinshi fenxi (Analysis of, print ad market) (2003) http://www.mediasinobnet.com/wzjx/0402121.htm (accessed June 11, 2004) 17. Zenith Media: China: Market and Media Fact. London: Zenith Media (2000/2001) 18. Hung, K., Gu, F.F., Tse, D.K.: Improving Media Decisions in China. J. of Advertising 34, 49–63 (2005) 19. Hall, E.T., Hall, M.R.: Understanding Cultural Differences. Intercultural Press Inc., Yarmouth (1990) 20. Prendergast, G., Shi, Y.Z., West, D.: Organizational Buying and Advertising Agency– Client Relationships in China. J. of Advertising 30, 61–71 (2001)
The Finite Element Modeling for Mechanical Feature Analysis of Human Lumbar L4-L5 Segment Juying Huang1, Haiyun Li1,∗, and Hao Wu2 1
School of biomedical engineering, Capital Medical University, Beijing, China 2 Xuan Wu Hospital affiliated to Capital Medical University, Beijing, China [email protected], [email protected], [email protected]
Abstract. In this paper, we propose an approach to calculation and visualization of mechanical features for human lumbar L4-L5 segment. A finite-element analysis model of an intact lumbar L4-L5 segment is formed from a series of CT-scanning images. Axial compressive loads, which simulate the pressure from above, are applied to the FEA, and 10Nm moment are applied in flexion, extension, lateral bending and axial rotation to simulate bending. The simulation calculation shows the stress-strain distribution and deformation of the spine. The finite element method model can help surgeons analyze biomechanical characteristics of lumbar effectively and optimize individual therapy for orthopedic clinical. Keywords: motion segment; intervertebral disc herniation; FEM; stress-strain.
1 Introduction The lumbar intervertebral disc is located between vertebrae, which are very flexible and can transfer loads, balance the body, stabilize the spine and absorb vibration[1]. The lumbar intervertebral disc consists of endplate, nucleus pulposus, and annulus fiber. Annulus fiber surrounds nucleus and prevents nucleus extruding out. Nucleus pulposus will produce strong reverse force and absorb the vibration. If the reverse force is too strong, nucleus will make annulus fiber broken and extrude out. Lumber disc herniation is an important cause of low back pain. The number of patients with interbertebral disc herniation is increasing. Changes from normal mechanical behaviour in the spinal motion segment may cause disc herniation. Thus, it is quite important to understand of mechanical behaviour in spinal motion segments in clinical diagnose and therapy for the lumbar disc herniation. The mechanical relationships of the lumbar have been examined using finite-element analysis(FEA). In this paper, we propose an approach to calculation and visualization of mechanical features for human lumbar L4-L5 segment, thus obtain the stress-strain distribution and deformation of the spine. This paper is organized as follows. We first illustrate the significance of this study in Section1. The methodology ∗
Corresponding author.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 379–385. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
380
J. Huang, H. Li, and H. Wu
is introduced in Section2. The results of calculation are given in Section 3. This paper is summarized in Section 4.
2 Methodology 2.1 Geometric Model A healthy young man with no disc disease was selected as normal subject. L4-L5 motion segment data were taken in axial direction. The CT slice images has a slice thinness of 0.8 and 512*512 resolution. In order to reconstruct the geometry model of the lumbar L4-L5 model segment, DICOM data were read in the Mimics10.01. Then after modifying the model and smoothing the surface, and removing some of the meaningless miscellaneous point, the whole process of reconstruction of the spine model could minimize the artificial interference, perfectly reflect the geometric patterns and local morphological details. Then we transmit the geometrical models into the SOLIDWORKS10.0 and get 3D geometry solid model which the ANASYS can read. 2.2 The Finite Element Model The 3D geometry model is imported into ANSYS12.0, after setting up real constant, defining material properties, setting boundary conditions, applying loads, we can obtain the different biomechanics behaviors of three-dimensional finite element models under different loading conditions. Details of the finite element model developed have been given and is briefly summarized here: the shape of the lumbar segment is reconstructed from data obtained from CT scans of an intact human L4-L5 motion segment, as shown in Fig.1.
Fig. 1. The finite model of L4-L5 segment
Each vertebral bone, consisting of cancellous bone and cortical bone, is modeled as a 8-node isoparametric material element using homogeneous and isotropic material properties [2]. L4-L5 vertebral consist of 64211 elements and 75025 nodes. Nucleus pulposus is modeled using solid elements to simulate an incompressible behavior with a low Young modulus [2]. Annulus fiber is modeled a flexible material element also using homogeneous and isotropic material properties. In order to appropriately model
The Finite Element Modeling for Mechanical Feature Analysis
381
the changes of contacting areas of facet articulating surface, facet articulations are modeled using contact elements. Here, we hypothesize that the strain of spine is a small strain. The material properties used in the study are listed in Table 1. The complete model consists of 94794 elements and 134518 nodes. Table 1. Material properties of vertebrae, nucleus pulposus, annulus substance and ligaments material Cortical bone Cancellous bone Nucleus puposus Annulus fiber
Young’s modulus/MPa 12000 100 1 4.2
Poisson ratio 0.3 0.2 0.4999 0.45
2.2 Boundary Conditions With regard to the validation and accurateness of model analysis, we applie the boundary conditions on the finite element model. The boundary conditions on the model use pressure and restrains assigned to surface areas of the model. The inferior surface of L5 vertebral body and its spinous process are fixed in all directions. The restraints are used to limit the model movement with six possible values at the node on the surface, three translations and three rotations. The value of freedom is zero. Then couple the inferior surface of vertebral L4 body and the upper surface of intervertebral disc body, as well as the bottom intervertebral disc body and upper surface of L5 vertebral body in all directions of translation. The facet articulation is modeled as a 3D contact unit using interface elements [3]. 2.3 Load Cases Different axial compressive force distribute across superior surface of L4. L4 superior surface can bear 500N loads when a healthy person weighted 66 kg stands straight in a relaxation state. But the data goes up to 2000N when he lifted 100N with two arms stretch straight. The heavier he lifts, the more L4 superior surface bears. In order to simulating bending, we apply 10 Nm moment to beams attached to the upper surface of L4. These moments are applied in flexion, extension, lateral bending, and axial rotation. All moments are applied independently and are not combined. At the caudal end, L5 is constrained in all 3 translations and in all 3 rotations.
3 Results 3.1 Stress Distribution of Model Fig.2 shows the stress distribution of spine when applied 1000N axial compression load. It shows that the high stress concentrations are around spinal canal, pedicle region, and the upper body of vertebral.
382
J. Huang, H. Li, and H. Wu
Fig. 2. Vos Mises distribution of L4–L5 segment at 1000N axial compressed load
3.2 Disc Stress Distribution Fig.3 shows the stress distribution of disc when applied 500N axial compression load. The disc consists of annulus fiber and nucleus pulposus. In the normal healthy disc, the hydrated nucleus pulposus exerts a hydrostatic pressure (intradiscal pressure (IDP)) on the annulus fibrosus (annulus) fibers [4]. The fiber bears a higher IDP [5],[6]. From the figure, we can see that from the annulus fiber to the nucleus pulposus, intensity of stress grows weaker and weaker (Fig. 3). It indicates that nucleus pulposus can absorb some compressive loads. That’s why the fiber shows higher stress than nucleus pulposus. And we can also see that the stress and strain distribution of lumbar is mainly concentrated on the posterior and bilateral posterior of annulus fibers in the normal disc. That is why the herniation often occurs in the posterior and bilateral posterior of annulus fibers. We can also observe that the stress becomes higher correspondingly as the loads applied to the disc increases. The relationship between IDP and external load is approximately linear as is shown in Table 2. It also illustrates that intervertebral disc has flexible properties in a certain extent.
Fig. 3. Vos Mises distribution of disc at 500N axial compressed loading
Fig.4 shows Vos Mises distribution of disc under different moment conditions. In flexion, the maximum stress is found in the posterior part. For lateral bending, the maximum stress is found in the posterolateral part of disc. These results are supported by clinical studies[7] that the greatest proportion of herniation (about 90%) are located
The Finite Element Modeling for Mechanical Feature Analysis
383
in the posterior and posterolateral part of the disc. In rotation (to the left), the stress concentrates within the left and postero-left annulus because the torque is resisted primarily by the annulus of the disc[8]. When lumbar L4-L5 motion segment is loaded to simulate an extension movement of the lumbar spine, then approximately two third of bending is resisted by the neural arch, and one third by the disc[9]. The stress mainly concentrates in the posterior-lateral annulus. Table 2. The maximum stress of disc in different axial loads stress of disc
Vos Mises
200 150 100 50 0 500N 1000N 1500N 2000N 2500N
As shown in table 3, the stress level in the nucleus is quite low and is higher in the annulus than in the nucleus for all cases. Stress levels generated for the rotation case are the lowest and for flexion and extension are the highest in all loading cases.
(A)
(C)
(B)
(D)
Fig. 4. Vos Mises distribution of disc under different moment conditions:(A) flexion; (B) lateral bending; (C) rotation; (D) extension.
384
J. Huang, H. Li, and H. Wu Table 3. The maximum stress of disc under different moment conditions 300 250 200 150 100 50 0
flexion
lateral bending
rotation extension
the stress of disc
4 Discussion and Conclusion In the above, we have shown that mechanical behavior of the lumbar L4-L5 motion segment for various loading conditions can be clarified through current study by a 3D FEM. The study indicates the biomechanical characteristic as follows: (1) The strain of L4-L5 motion segment under axial compressive load increased with the performed load. (2) The stress level in the intervertebral disc is quite low but higher in the annulus than in the nucleus in different loading conditions. (3) Stress levels generated for rotation case are the lowest and for flexion and extension are the highest in all loading cases. The model is just one segment of the whole spine. The results may have differences if done with the whole spine. However, it still simulates the biomechanical characteristics of the lumbar preferably. Since the model set up here can give correct information of mechanical behavior in L4-L5 motion segment and provide medical areas valuable guidance in solving herniation. The finite element model of L4–L5 segments based on medical images can be considered as a useful tool to predict the stresses undergone by the discs under different loading conditions, and may be considered as a first step for patient-specific models to predict the appearance and evolution of different pathologies. This study can help surgeons analyze mechanical characteristics of lumbar effectively and help optimize individual therapy for orthopedic clinical. Our next step is to extend current work to simulate the relationship between disc bulge and overall disc mechanics.
Acknowledgement The authors would like to acknowledge funding from the National Natural Science Foundation of China (Grant No. 30670576) , Scientific Research Key Program of Beijing Municipal Commission of Education and Medicine ( Grant No.kz200810025011) and Clinical Cooperative Research Program of Capital Medical University (Grant No.10JL24).
The Finite Element Modeling for Mechanical Feature Analysis
385
References 1. 2. 3.
4. 5. 6. 7.
8. 9.
Lee, K.K., Teo, E.C.: Effects of laminectomy and facetectomy on the stability of the lumbar motion. Med. Eng. Phys 26, 183–192 (2004) Qin, Y.-X.: In: Proceeding of the First Joint BMES/EMBS Conference Serving Humanity, pp. 13–6 (1999) Tanaka, E., del Pozo, R., Tanaka, M., Asai, D., Hirose, M., Iwabe, T., et al.: Three-dimensional finite element analysis of human temporomandibular joint with and without disc displacement during jaw opening. Med. Eng. Phys 26(6), 503–511 (2004) Wagner, D.R., Lotz, J.C.: Theoretical model and experimental results for the nonlinear elastic behavior of human annulus fibrosis. J. Orthop. Res. 22(4), 901–909 (2004) Dolan, P., Adams Michael, A.: Recent advances in lumbar spinal mechanics and their significance for modeling. Clin. Biomech. 16, 8–16 (2001) Joshi, A., Fussell, G., Thomas, J., et al.: Functional compressive mechanics of a PVA/PVP nucleus pulposus replacement. Biomaterial 27(2), 176–184 (2006) Latorraca, A., Forni Niccolai Gamba, C.: Analysis on 149 consecutive cases of intervertebral disc prolapse operated with microendoscopic (MetrX) technique. Reumatismo. 56, 31–35 (2004) Krismer, M., Haid, C., Rabl, W.: The contribution of annulus fibers to torque resistance. Spine 21, 2551–2557 (1996) Adams, M.A., Dolan, P., Hutton, W.C.: The lumbar spine in backward bending. Spine 13(9), 1019–1026 (1988)
Hybrid Control Using Sampling PI and Fuzzy Control Methods for Large Inertia and Time Delay System Jia Xie1, Shengdun Zhao1, Zhenghui Sha2, and Jintao Liang1 1
Department of Mechatronics Engineering, Xi’an Jiaotong University, Shaanxi, Xi’an 710049, China 2 Department of Materials and Mechanical Engineering, Washington State University, Pullman, WA, 99163, USA [email protected], [email protected], [email protected], [email protected]
Abstract. In this paper, a hybrid control strategy for large inertia and time delay system was proposed. The proposed hybrid control strategy combines the sampling PI control and the linear control methods together. Respectively, the sampling PI control method is used to overcome the disadvantages of the control problems which are caused by the large inertia and time delay; while the linear control method is applied to achieve stable control of the steady-state control process and improve the system robustness. Since the parameters of the linear control are varied in the control process, the fuzzy control method is utilized to get the optimal parameters so that can realize the effective control. The hybrid control strategy is implemented and practically applied to a large inertia and time delay system ─ cement mill in a cement plant. The practical control results illustrate that feasibility the proposed strategy both effective and implemental. Keywords: Hybrid control strategy, Sampling PI control, Linear control, Fuzzy control, Large inertia and time delay system.
1 Introduction In the industrial process, large inertia and time delay systems are widely utilized. In practice, the system also has other features such as nonlinear, time-varying and uncertainties generally. The features of the system complicate the control problems and increase the control difficulties. In order to obtain a good control performance of the system, lots of researches have been done. At present, the main methods for the control of large inertia and time delay system are Smith Predictor [1], Forecast PID [2], Delay Compensator [3], Neural Network PID [4], Grey Forecast [5], and Hybrid Control [6], etc. Although each control method has its own advantages, they all have some shortcomings to embarrass the applications of the control methods. Specifically, Smith Predictor depends on accurate mathematical model and it is very sensitive to the external disturbances. Forecast PID can suppress noise, but the output response is slow. Delay Compensator has poor robustness. Neural Network PID relies on the training samples. So the control performance deteriorates when the control process is M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 387–393. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
388
J. Xie et al.
changed. Grey Forecast causes forecast error when the system stays in the status of long-time delay, and will become worse in the multi-step prediction. Hybrid control seeks to achieve multiple performance objectives in a locally adaptive sense by switching between numbers of control methods. It is apparently different from the classical control that seeks to achieve balance trade off between multiple performance objectives using a single control method. Fluctuation, overshoot, and furthermore oscillation, which are difficult to avoid using classical control for the large inertia and time delay system, can be effective eliminated or reduced by hybrid control. Furthermore, compared with classical control, hybrid control has more advantages such as high speed of response, steady-state accuracy, disturbance attenuation, robustness, adaptation, and satisfaction of constraints. Therefore, hybrid control is an ideal alternative to the large inertia and time delay system. Sampling PI control offers enhanced performance if one considers the slow sampling rate system. Compared to the input, the response is time lag in the large inertia and time delay system. The sampling PI control can ignore the wrong response to the input received at this time and can effectively avoid the overshoot of the control process. In order to obtain stable control of the steady-state process and improve the robustness of the control process, a linear function is applied to the system when the control process enters into a range of a small error. But it is difficult to determine the parameters of the linear function because the large inertia and time delay system often features time varying. Fuzzy control is one of the most successful intelligent technologies for adaptive control which is especially useful for determining the values of parameters of the linear function in the control process of the large inertia and time delay system. This paper is organized as follows. Section 2 presents the sampling PI control method and describes the control algorithm in detail. In section 3, the linear control algorithm in the range of the small error is presented and the fuzzy control method for parameters modification is discussed. Section 4 proposes the hybrid control strategy and applies it to a large inertia and time delay system ─ cement mill in a cement plant. The control results are then shown to validate the control method. Section 5 concludes to sum up the work.
2 Sampling PI Control PID control is widely applied to the industrial process control. However, differential control is not required in the large inertia and time delay system. On the other hand, compared with the positional PI control, the incremental PI control has some advantages for using in this paper. Firstly, at each sampling time, the incremental value which is output by the incremental PI is filtered by a logic system to avoid the malfunction of the control system. The input value of the controlled object of the last sampling time can be kept when the improperly incremental value at this sampling time is ignored, which is able to maintain the stability of the system control process. The above control process is difficult to performance by positional PI. Then, in the control process of the hybrid control system, the control method applied to the controlled object is switched between several control methods according to the status
Hybrid Control Using Sampling PI and Fuzzy Control Methods for Large Inertia
389
of the system operation. In such case, the smooth switching is easy to realize by the incremental PI control because the incremental value is only concerned with this and last errors of the control system. Therefore, the incremental PI is selected to control the large inertia and time delay system in this paper. The incremental sampling PI control algorithm is expressed as
k = 0,1,..., n ⎧r (i ) − c (i ) kT ≤ t ≤ kT + Tc , e(i ) = ⎨ kT + Tc < t < (k + 1)T , k = 0,1,..., n ⎩0
(1)
Δm(i ) = K p [(1 + T / Ti )e(i ) − e(i − 1)]
(2)
where e(i) and e(i-1) are the i-times and (i-1)-times samples of the error of the control system respectively, and r(i) and c(i) are the i-times samples of the given and the output respectively, and T and Tc are the sampling period and control time respectively, and Δm(i) is i-times sample of the incremental value of the incremental sampling PI control, and Kp and Ti are the proportional gain and integral time constant of the incremental sampling PI control respectively. Then the i-times sample of the input of the controlled object m(i) is obtained as
m(i ) = m(i − 1) + Δm(i) .
(3)
Assuming that the incremental value is linear increase, the schematic diagram of the input of the controlled object generated by the incremental sampling PI control is obtained, and is shown in Fig. 1. In the period of control, the system is controlled by the incremental PI. Then waiting a period of time (T-Tc), the incremental PI control is performed again.
Fig. 1. Schematic diagram of the input of the controlled object generated by the incremental sampling PI control
3 Fuzzy Control for Parameters Modification PID control is particularly useful when the process dynamics are benign and the performance requirements are modest [7]. The incremental sampling PI control described in section 2 can effectively control the large inertia and time delay system
390
J. Xie et al.
when the error of the system is larger. However, when the error is smaller, the oscillation is difficult to avoid if the incremental sampling PI is still involved in the control system. At this time, the incremental sampling PI control should be replaced by other control method. The local linearization is an ideal alternative in the range of the small error. The control algorithm is a linear function which is expressed as
m(i ) = a (i )r (i ) + b(i )
(4)
where a(i) and b(i) are the slope and the initial value for linearization in the range of the small error at the time of i-times sampling respectively. The parameters a(i) and b(i) are varied in practice because the steady-state point is impossible to remain unchanged during the control process. Then fuzzy control is used to modify the parameters in the control process. The parameters a(i) and b(i) are varied according to the history of the system operation. The average value of the error of the system and the time spent during the output of the system beyond the range of the small error properly reflect the historical situation of the system running. Then the average error and the spent time at a cycle of the parameters adjustment are the inputs of the fuzzy control. The outputs of the fuzzy control are the adjustment steps of the parameters a(i) and b(i). Fig. 2 shows the block diagram of the fuzzy control for parameters modification.
Error
Average calculation
Input 1 Input 2 Input 1
Time record
Input 2
Adjustment step of a(i) Fuzzy control I Output
Fuzzy control II Output
Adjustment step of b(i)
Fig. 2. Block diagram of the fuzzy control for parameters modification
4 Hybrid Control System Realization and Application 4.1 Hybrid Control System According to the analysis in previous sections, the input of the controlled object is expressed as
⎪⎧m(i − 1) + Δm(i ) m(i ) = ⎨ ⎪⎩a(i )r (i ) + b(i )
e(i ) ≥ B e(i ) < B
(5)
where B is the range of the small error as mentioned above. Then the block diagram of the hybrid control system realization is established and shown in Fig. 3.
Hybrid Control Using Sampling PI and Fuzzy Control Methods for Large Inertia
391
Fig. 3. Block diagram of the hybrid control system realization
4.2 Application to a Large Inertia and Time Delay System In this paper, we apply the hybrid control system to a large inertia and time delay system ─ cement mill in a cement plant. The cement clinker and some supplementary materials are fed in the cement mill to produce the cement. When the mill is running, the steel balls, the steel segments and the materials, whose total weight is near 100t, are loaded in the mill. That means the mill is a large inertia system. In addition, it needs about 3 - 5 minutes to convey the materials to the mill by conveyor belt. The system has a considerable time delay. The system parameters are often changed because of the variation of the cement clinker and the surroundings disturbance. As shown in Fig. 3, control selector is used to select the input of the controlled object the cement mill between the sampling PI control and the linear control in small range. The parameter of the control selector is the range of the small error B. The parameters setting of the sampling PI control complies with the purpose of making the transition process fast and smooth. The linear control in small range is used to ensure that the control process is stable in the small range and that the control process enters into steady state quickly. The parameters modification of the linear control is performed by the fuzzy control method. Here, we only introduce the design of fuzzy control I. The design of fuzzy control II is similar to that of fuzzy control I. In this paper, the linguistic qualifications of the fuzzy control are positive large, positive medium, positive small, zero, negative small, negative medium, and negative large. Both input variables and one output variable of the fuzzy control have seven membership functions. Triangular membership functions are used for the middle membership functions, while trapezoidal ones are used at the two ends [8]. The range of the input variables the average error and the spent time are 2 % - 8 % and 2 min - 6 min respectively. The range of the output variable the adjustment step of a(i) is 1.3 % - 4.7 %. Each parameter in the system is normalized to the range of 0 to 100 for comparison and calculation. After the fuzzification, the min-max operator is used for the fuzzy reasoning and the centre of gravity method is used for defuzzification. The lookup table of the fuzzy control I output (adjustment step of a(i)) for control is shown in Table 1. The unit of the adjustment steps is also %. The other control data, which are not included in Table 1, can be calculated by interpolation.
392
J. Xie et al.
2 3 4 5 6 7 8
2 1.3336 1.4026 1.5557 1.7500 2.4438 2.8695 3.0000
2.5 1.3751 2.2663 2.3150 2.5537 2.6844 2.9470 3.0739
3 1.4722 2.4438 2.7024 2.7534 2.8525 3.1475 3.2976
Spent time [min] 3.5 4 4.5 1.6012 1.7500 2.2663 2.5428 2.5826 2.8525 2.8695 2.9221 2.9470 2.9261 3.0000 3.0739 3.0528 3.1305 3.2976 3.4171 3.4460 3.5562 3.7337 4.2500 4.3986
5 2.7024 2.8779 3.1475 3.2976 3.6849 3.7337 4.5278
5.5 2.9261 3.0528 3.4660 3.7337 3.8453 3.9849 4.6249
6 3.0000 3.1305 3.5562 4.2500 4.4443 4.5973 4.6666
Given/Output [%]
Average error [%]
Table 1. Lookup table of the fuzzy control I output (adjustment step of a(i)) for control
Fig. 4. Actual control results of the hybrid control system in a fifteen-minute period
The actual control results of the hybrid control system in a fifteen-minute period for the cement mill are shown in Fig. 4. The control process is stable and smooth. After the hybrid control system is applied to the cement mill in a cement plant, the yield of the mill has an increase of 9.15%, and the eligible ratio of the pulverous grade of the cement is improved from 84.21% to 95.15%. The data indicate that the hybrid control system is a valid strategy to control the large inertia and time delay system. The hybrid control system is effective in practical applications.
5 Conclusion To sum up, a hybrid control strategy using sampling PI and fuzzy control methods is proposed in this paper. The control strategy aims to achieve effective response, high robustness, and stable control of the steady-state process in the large inertia and time
Hybrid Control Using Sampling PI and Fuzzy Control Methods for Large Inertia
393
delay system. The sampling PI control method is applied when the error of the system is larger, and the linear control method is applied when the error is smaller. In order to track the system parameters variation in the control process, the fuzzy control method is used to adjust the parameters of the linear control instantaneously. Whereafter, the hybrid control strategy is successfully applied to a large inertia and time delay system ─ cement mill in a cement plant. The application results indicate that the proposed hybrid control system is effective and feasible to realize the control of the large inertia and time delay system.
Acknowledgments The authors gratefully acknowledge the contribution of National Natural Science Foundation of China under Grant 50575175, and the Significant Scientific Innovation Foundation of Shaanxi Province, China, under Grant 2007ZKC(2)03-04.
References 1. 2.
3.
4.
5. 6. 7. 8.
Vrečko, D., Vrančić, D., Juričić, D.H., Strmčnik, S.: A New Modified Smith Predictor: the Concept, Design and Tuning. ISA Transactions 40, 111–121 (2001) Han, Z.X., Li, D., Pan, G., Huang, H.P.: Applying GIC to Improve Response of System with Time-varying Parameters and Big-inertia. In: 2nd International Symposium on Systems and Control in Aerospace and Astronautics, pp. 1–5. IEEE Press, New York (2008) Dikyar, S., Leblebici, T., Ozcelik, D., Unel, M., Sabanovic, A., Bogosyan, S.: Delay Compensation for Nonlinear Teleoperators Using Predictor Observers. In: 36th Annual Conference on IEEE Industrial Electronics Society, pp. 1483–1488. IEEE Press, New York (2010) Fang, M.C., Zhuo, Y.Z., Lee, Z.Y.: The Application of the Self-tuning Neural Network PID Controller on the Ship Roll Reduction in Random Waves. Ocean Engineering 37, 529–538 (2010) Huang, S.J., Huang, C.L.: Control of an Inverted Pendulum Using Grey Prediction Model. IEEE Transactions on Industry Application 36, 452–458 (2000) Li, H.X., Tong, S.C.: A Hybrid Adaptive Fuzzy Control for A Class of Nonlinear MIMO Systems. IEEE Transactions on Fuzzy Systems 11, 24–34 (2003) Åström, K.J., Hägglund, T.: Advanced PID Control. ISA, Research Triangle Park, NC, USA (2006) Neto, P., Mendes, N., Pires, J.N., Moreira, A.P.: CAD-Based Robot Programming: the Role of Fuzzy-PI Force Control in Unstructured Environments. In: 6th Annual IEEE Conference on Automation Science and Engineering, pp. 362–367. IEEE Press, New York (2010)
An Operator Controllable Authentication and Charging Solution for Application Store Jianbing Xing1,2, Zhaoxia Li3, Xiongwei Jia3, and Zizhi Qiao1,2 1
China United Network Communications Group Company Limited, 100033 Beijing, China 2 Beijing University of Post and Telecommunication, 100876 Beijing, China 3 China Unicom Research Institute, 100032 Beijing, China {xingjb3,lizx101,jiaxw9,qiaozz3}@chinaunicom.cn
Abstract. Application store is a very important supply channel for mobile internet applications. A suitable authentication and charging system is necessary for application store’s success service. Current application stores only authenticate and charge in the download process. This paper introduces a new method combining operator’s Business Operation Support System (BOSS) with application store’s authentication and charging process in both download and running stage, which better fits the requirements of the application store. Keywords: Network Application; Application Store; Charging; Authentication.
1 Introduction Huge amount of personalized and user centric mobile internet application is evolving in the mobile internet age. Traditional terminal pre-installation method for application distribution is not catching up with the mobile internet age. Application store as a new distribution and sales channel can provide a better connection between appdevelopers and end customers. This feature is very important to the operators [1]. Telecom operators and service/product providers are aggressively deploying application store service, trying to remain on the central position in the ecosystem. Currently the most successful store is Apple’s App Store which hits 10 billion downloads in 2011.01 [2]. Following Apple’s lead, different application stores are lunched by terminal vendors, operation system vendors and telecom operators. Examples including OVI store, Android Market, Chrome Web Store, App World, App Catalog, Mobile Market and China Unicom’s WO Store. Application store provides an open display and sales platform for developers, which encourages them to invent different applications. On the same time, telecom operators can provide more value-added services through different applications in the store, which can meet different user needs. Authentication and charging (A&C) is a basic function of the application store platform. Current application stores only authenticate and charge user on purchase. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 395–400. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
396
J. Xing et al.
However, many applications in the store will need to call network or remote resources while running. So it is necessary to consider application running period A&C. This paper introduces application store’s A&C requirements in Chapter 2. Current A&C techniques are then presented in Chapter 3. Finally, a new A&C solution fulfilling the business requirements is presented in Chapter 4.
2 Authentication and Charging Requirements for Stores 2.1 Technical Architecture of Application Stores Currently, architectures of the application stores are similar. They include 3 parts: client, store platform and the development tools including the developer community. Clients are installed in the user terminal/PC or embedded in browsers. End user can use the client to browse, purchase and download applications. Different applications can be displayed in the store platform. User can browse, search and download application in the application stores through the link provided by the client. The store platform also takes care of the listing, delisting, price change and other management features. Development tools can provide support for the developers. App-developers can download latest API from the developer support part and upload the finished application here for approval and publication. 2.2 The Needs for In-Application Authentication and Charging Applications can be cataloged into native application or network application. Native applications utilize only the native resources, while network application can utilize remote network resources when running. In the life circle of an application, there are two stages requiring A&C: the downloading stage and the running stage. Table 1. Different applications needs for authentication and charging in different stages. Application Type Download/install Running stage
Native Application A&C needed No A&C needed
Network Application A&C needed A&C needed
Current application stores have developed A&C process during the downloading process. For those native applications, a one-off fee is enough. On the other hand, network applications will need to call network functions and remote application resources to run. Those network functions e.g. SMS, Internet data usage normally can not be freely provided. Therefore, it is necessary for the store operators to develop a new mechanism or system to authenticate the user and charge for the usage of the network resource when network application utilizes it.
An Operator Controllable Authentication and Charging Solution for Application Store
397
3 Current Store Authentication and Charging Techniques 3.1 Three Application Store Charging Methods Currently there are three methods for stores to charge users for their purchase. The first method is to charge the user on their bank cards (credit card or debit card). This method needs the store operator to interface with banks and utilize the bank’s charging facility to bill the user. But this method requires the store operator to interface with different banks, which is normally difficult to negotiate and program. Further more, potential risks associated with bank information will discourage users to make the purchase. The second method is the so called “third party payment” method. The application store operator is interfaced with a trusted third party e.g. Paypal or Alipay instead of different banks. By involving such a third party, the store operator can avoid the difficult negotiation and interface with different banks. However, the potential risk of financial information leak is still preventing the user from buying applications. The third method is to charge the user through their account with the telecom operators. When a user downloads an application from the store, he can be identified with an ID linked to their phone number and charged by the operator. 3.2 In-Application Purchase In-Application Purchase is a common charging method used in application stores for download A&C. A good example of the In-Application Purchase is the Apple’s IAP method [3]. IAP allows the developers to build-in store functions in their applications. Apple uses the Store Kit Framework running on an iOS device to communicate with the App Store, represent the applications to process the purchase safely and perform the IAP function. When the user make the purchase through a store embedded application, the application calls the Store Kit to collect purchase related information, and relies on the Store Kit to prompt the user for A&C. After successful purchase, the application can indicate the user about the result of the purchase. IAP function can also help the developers to charge advantage part/functions of the application. Those payable item or product could be electrical contents e.g. e-books, e-magazines, game levels or even advance features of applications. Before the developers list their applications, they need to register in App Store through iTunes Connect and provide name, description, price and other necessary meta data about their application products. A unique product ID is generated to identify the purchase status of the application in Store Kit and App Store. Once a user purchased an application product through an application, the application can identify the product as “purchased”. There are two ways to deliver the item, one is to unlock functions in the application (Built-in Product Model) and the other is to allow an external server to provide the item (Server Product Model).
398
J. Xing et al.
3.3 Standardization Efforts in Application Store A&C Techniques Many international standardization organizations e.g. OMA and 3GPP have formalized standards for A&C process in the telecom system. However, the application store has only become a powerful business model in the last few years. The related technical standards are not well developed. China Communications Standards Association (CCSA) is developing a technical report about mobile application store [4]. OMA has established the TAS (Teleco’s App Store) working group to study the application store’s requirements and system architecture standards. A&C as a very important function of an application store is yet to be standardized. 3.4 A&C Connected with Telecom Operator’s BOSS System It is possible for the application store platform to connect to the telecom operator’s BOSS system and fulfill the A&C requirements of both download and running period charging. Following are the advantages of such connection. (1) Different and flexible charging methods in the matured telecom OSS system can be leveraged to provide flexible tariffs in application stores. For example telecom operators billing system can support both pre-paid and post-paid method. (2) Matured Service Provider (SP) revenue sharing scheme can be utilized to support the business connection between the telecom operator and the application store operator. Previous cooperation model already created many successful value-added services including video on demand, mobile music and multimedia ring tones. (3) Users have already established billing and payment relationship with the telecom operators. Therefore with the integration user can continue to use their existing payment method for the consumption of new application store items without worrying about potential bank details leakage through the application purchase process. This will raise user’s experience level and boost the application sales. (4) Running period A&C requirement can be met by this connection. As discussed in previous chapters, network applications may need to call different chargeable network or communication resources while running. Current application store operators, especially those are not in the telecom industry, can not authenticate and charge users for those utilization of telecom resources. This connection can fill the gap and provide a solution to such running period charging requirements.
4 A New Common Charging Solution for Application Stores 4.1 Architecture of the Charging Solution This paper introduces a method to integrate the telecom operator’s A&C system with the app store platform and meets the download and running period charging need. The framework of new system is shown in the following figure (Fig.1). The system has these function blocks: Client, App Store Front, Developer Support, Capability Resources Management, Developer Portal, Application Portal, Operator’s authentication centre and BOSS, Operator and Internet capability resources.
An Operator Controllable Authentication and Charging Solution for Application Store
399
Fig. 1. The architecture of the new authentication and charging method is shown.
Application Store Front module is in charge of providing applications to the user. Terminal Client or Browser can browse, search and download application from the Application Store Front. They also exchange information about installation or registration status of application items. Developer Support module is in charge of collecting and auditing developer uploaded new applications. After information checked and audited, new applications can be listed in the Application Store Front for user to download. Developer Portal providers the environment for developers to program, test and upload new applications. Capability Resources Management module is in charge of the capability resources information. These capabilities can be called after registration with this module. Operator’s Capability Resources includes SMS, MMS and other telecom features. Internet Capability Resources include different IP services e.g. news, map and so on. They can be provided by standard API e.g. REST (REpresentational State Transfer). Application Portal provides interface and functions to installed applications so they can access different capability resources. It can also trigger A&C process during the running period of the installed application. The A&C message can be send to the operator’s A&C system, e.g. the value-added services management platform. The result can be send back to the Application Portal to control the usage. The A&C is based on telecom operator’s well established BOSS system so the reliability and safety is guaranteed by the operator. This reliable feeling will encourage the user to purchase and use the application items. If there is no A&C requirement for an installed application, there is no need to trigger the A&C process from the Application Portal. 4.2 Flow Chart of the Authentication and Charging Process When a user makes the purchase, a purchase relationship is established between the user and the purchased application item (Fig.2). Then the Application Store Front can send this relationship to the operator’s BOSS system, for the A&C of the purchased item. When user start to install or use the purchased item, the Application Portal will receive authentication request from the Terminal Client or Browser, for checking the user’s status, purchase relationship and the service status. If the check is passed i.e. the user is entitled to use the application item, the Application Portal will request the operator’s charging system e.g. Online Charging System (OCS) to charge for the
400
J. Xing et al.
usage. When the charging success message arrives, the Application Portal will send an approval for the user to use the application item. Based on the usage, Application Portal will generate CDR records and inform the charging system to bill the user.
Fig. 2. Flow chart of the new authentication and charging method is shown.
5 Summary The A&C methods, especially the A&C methods during the application running period, are very important for the application store ecosystem. This paper introduces a new application store A&C system integrated with the matured telecom operator’s BOSS system including the A&C function. This makes the A&C process more reliable, trustable and easy to use for the end users. The system architecture of the new method is introduced here and more technical details need to be formalized before such system can get to commercial lunch.
References 1. Min, D., Liu, D.M.: Study on Mobile Application Store. Telecommunications Network Technology 2, 13–18 (2010) 2. CNTV, Apple App Store Hits 10 Billion Downloads (2011), http://english.cntv.cn/20110126/107837.shtml 3. Wooldridge, D., Schneider, M.: The Business of iPhone App Development: Making and Marketing Apps that Succeed. Apress (2010) 4. China Communications Standards Association: Mobile Application Store Research V0.8_0320. Technical Report pre-published by CCSA as TC11-WG2&WG3-2011-003 (in Chinese), http://www.ccsa.org.cn 5. Open Mobile Alliance: Telco’s Application Store. OMA-ER-TAS-V1_0-20110309-D Draft Version 1.0 March 9 (2011), http://www.openmobilealliance.org
A Modified Kalman Filter for Non-gaussian Measurement Noise Muhmmad J. Mirza Faculty of Engineering and Applied Sciences Riphah International University, I-14, Islamabad, Pakistan [email protected]
Abstract. A novel modification is proposed to the Kalman filter for the case of non-Gaussian measurement noise. We model the non-Gaussian data as outliers. Measurement data is robustly discriminated between Gaussian (valid data) and outliers by Robust Sequential Estimator (RSE). The measurement update is carried out for the valid data only. The modified algorithm proceeds as follows. Initially, the robust parameter and scale estimates of the measurement data are obtained for a sample of data using maximum likelihood estimates for a t-distribution error model through Iteratively Reweighted Least Squares (IRLS). The sample is dynamically updated with each new observation. Sequential classification of each new measurement is decided through a weighting scheme determined by RSE. State updates are carried out for the valid data only. Simulations provide satisfactory results and a significant improvement in mean square error with the proposed scheme.
1
Introduction
In many dynamic modeling and control problems estimates of the parameters in the equations and/or state of the systems at some time are required. The values of these quantities are dependent upon the assumed model structure, measurements and statistics associated with the measurements, the model, and the inputs of the system. Kalman filtering provides an integrated technique to estimate, predict and smooth state variables of a system. Kalman filter is an optimal linear filter, but the optimality does not hold in general for non-Gaussian observations and/or process noises. In real world applications the error distributions are more likely to be leptokurtic and/or contaminated by anomalous values, or outliers. By an outlier, we mean an observation that deviates so much from the others as to arouse suspicion that it was generated by an entirely different mechanism [1]. This type of noise can be represented by non-Gaussian heavy tailed distributions [2]. There are many real world noise processes that are not Gaussian [3,4], which justifies the need for the work to optimize the Kalman filter for such processes. In an earlier attempt Sorenson and Stubberud [5] focused on approximating density functions. However, due to finite number of terms the approximated densities tend to be negative in certain cases and increasing the number of M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 401–409. c Springer-Verlag Berlin Heidelberg 2011 springerlink.com
402
M.J. Mirza
terms makes the method computationally unappealing. To alleviate this difficulty Sorenson and Alspach [6] developed Gaussian Sums method but this method too becomes computationally intractable as the filter propagates. A new direction was proposed by Masreliez [7] using score functions. This method involved convolution operators and had implementation difficulties. An efficient computational scheme was proposed by Wen and Amlan [8] to alleviate this problem. Maryak et. al. [9] developed probabilistic criterion for the characterization of quality of state estimates when the true distribution is non-Gaussian. In this paper a novel modification is proposed to the Kalman filter that checks the input measurements at each time step before passing it on for the a posteriori state update. The bifurcation step of measurement data into valid data points and outliers is carried out by Robust Sequential Estimator (RSE) [10] through its weighting scheme. Weights are generated by maximum likelihood (ML) estimates for a t distribution error model with a degree of freedom f. The ML estimates based on a t distribution model is a form of M estimation, yielding robust location estimates with a redescending influence function. The proposed modification works in the following ways: at each time step RSE computes robust location and scale estimates for a small sample of the observation data using IRLS. The sample is dynamically changed with each new observation. The new measurements are assigned weights based on the location and scale estimates computed by RSE. The observations whose weights fall below a threshold are sequentially rejected as outliers and only the valid data points are used to update the state estimates. This effectively keeps the elegance and optimality of Kalman Filter by restricting the effects of outliers on state estimates. Simulations provide satisfactory results and a significant improvement in mean square error with the proposed scheme.
2
Mathematical Preliminaries
The paper fuses the results obtained from RSE with Kalman filter. It will be instructive to give the key results from both these methods to make this paper easily readable. 2.1
Kalman Filter
Consider a linear discrete-time dynamic system described by linear stochastic difference equation xk+1 = φk xk + wk (1) where φk is an n × n state transition matrix, wk is n-dimensional process disturbance vector and k is the time index. The problem is to estimate the n × 1 dimensional state vector xk from m × 1 dimensional noisy measurements yk given by the observation equation yk = Hk xk + vk
(2)
Hk is an m × n observation matrix and vk is an m × 1 observation noise vector. Kalman filter is a recursive unbiased minimum variance state estimator under
A Modified Kalman Filter for Non-gaussian Measurement Noise
403
the assumptions that wk and vk are mutually independent, white, Gaussian noises with known covariance matrices Q and R, respectively. The initial state vector x0 is also assumed to be independent of wk and vk . The Kalman filter estimates the system states with two set of equations: time update equations (a priori estimates) and measurement update equations (a posteriori estimates). In the proposed modification the correction step is interrupted by the RSE and only those measurements are allowed to update the a posteriori estimates that are qualified by RSE as valid data points. The qualification procedure is detailed in the derivation of RSE while the key results are repeated to make this document self contained. 2.2
Robust Sequential Estimator
The Robust Sequential Estimator (RSE) is a robust extension of sequential least squares (SLS) estimator which differentiates between the data and the outliers through a weighting mechanism. Weights are obtained iteratively by maximum likelihood error analysis for a wide class of non-normal distributions. The salient features of this technique are given below. A general linear regression model can be expressed in a matrix form z = Xθ +
(3)
where z is an m-vector of observations on the dependent variable, X is an m × p matrix of observations on the explanatory variables having rank p, θ is a p-vector of regression coefficients to be estimated, and is an m-vector of disturbances with diagonal covariance matrix. Let p(i ) be an error density function which can be written in the form p(i ) ∝ σ −1 g{(
i 2 ) } σ
(4)
where σ is a scale parameter, g{•} denotes a functional form, and i is the actual ith error. Given a sample z of m observations, the log likelihood for θ and σ 2 is given by [10] l (θ, σ2 |z) = K −
1 i n ln σ 2 + ln g{( )2 } 2 σ i
(5)
where K is some constant. Differentiating the log likelihood function l with respect to θ and equating these to zero,we get the maximum likelihood estimates of θˆ and σ ˆ 2 as the solution of nonlinear equations [10] wi (zi − θˆj xji )xki = 0 k = 1, 2, . . . , p (6) i
j
2
2
s =σ ˆ =
i
wi (zi −
ˆ 2 j θj xji )
n
(7)
404
M.J. Mirza
where ∂ ln g{(i /σ)2 } wi = wi (θ, σ ) = −2 ∂(i /σ)2 2
(8)
Heavy tailed error distributions are more realistically represented by a t distribution having degree of freedom f and scaled by a parameter σ, for which i i 2 g{( )2 } = {1 + } σ f σ2
(−1/2)(1+f )
(9)
Substituting this value of g in (8) gives the individual weights wi =
1+f f + (ri /s)2
(10)
where the residual ri = zi − zrobust and zrobust is the location parameter obtained for a sample of data using IRLS. The degree of freedom parameter f acts as a robustness tuning parameter. When f < ∞, the maximum likelihood estimates under the t model are robust in the sense that outlying cases with large Mahalanobis distances (ri /s)2 are downweighted as wi clearly decreases with increasing distance. The scale parameter is sequentially updated by the relationship [10] (k − 1)s2k−1 + wk rk2 s2k = (11) k where k is the time index.
3
Proposed Modification
Given the state transition matrix φk , the observation matrix Hk , the process noise covariance matrix Q and the initial state and error covariance estimates, the modified algorithm proceeds as follows. 3.1
Time Update
The time update projects the previous a posteriori state and error covariance estimates to predict the new a priori state and covariance estimates similar to the standard Kalman Filter recursion. x ˆ− ˆ− k = φk x k−1
(12)
Pk− = φk Pk−1 φTk + Q
(13)
where P is the error covariance matrix E(˜ xx ˜T ) and x ˜=x−x ˆ.
A Modified Kalman Filter for Non-gaussian Measurement Noise
3.2
405
Measurement Update
The measurement update is comprised of series of steps and our proposed modification is incorporated in this stage. – Obtain the robust measurement estimate yrob at time instant k for a sample l of the observations yk , yk−1 , ..., yk−l+1 using IRLS. – Compute the weight wk of the new observation yk using (10) by subsituting ri = rk = yk − yrob . – Update the scale estimate using (11) and assign this value to the measurement covariance matrix R. The measurement covariance matrix is not assumed to be known a priori rather computed dynamically. – Compute the Kalman gain and update the error covariance matrices as below. Kk = Pk− H T (HPk− H T + R)−1
(14)
Pk = (I − Kk H)Pk−
(15)
The last step in the recursive cycle is to update the state vector. This is the second major contribution of the proposed modification and a departure from the standard Kalman Filter. The weighted residual is added to the a priori state estimates only if the current observation is not an outlier. In order to declare an observation as an outlier we compare its weight with a threshold. From (10) it is obvious that the weight wi is a random variable that takes on values between 0 and (1 + f )/f . Using a uniform target distribution model with extreme values as its parameters and based on our empirical findings we have set one third of the mean value as our threshold. – Compute the mean value of the observations’ weights in the sliding window. – Assign the threshold and classify the new observation as valid data or outlier. – Obtain the conditional a posteriori state estimate as below. x ˆk =
4
xˆ− k , xˆ− ˆ− k + Kk (yk − H x k ),
if yk an outlier otherwise
Simulations
In order to demonstrate the validity of our novel findings we apply it to a practical application for maneuvering radar target tracking where the observation glint noise is highly non-Gaussian. The three state dynamic model of the target is given below. The state vector is composed of the target position, velocity and acceleration. The target is moving
406
M.J. Mirza
with a constant acceleration and its maneuvers are modeled by zero mean white Gaussian noise. ⎡ ⎤ ⎡ ⎤ ⎡ T3 ⎤ 2 ⎤⎡ dk dk−1 1 T T2 6 ⎣ d˙k ⎦ = ⎣ 0 1 T ⎦ ⎣ d˙k−1 ⎦ + ⎣ T 2 ⎦ wk−1 (16) 2 00 1 d¨k d¨k−1 T wk ∼ (0, σa2 ) where T is the sampling time. The received range data of the target position is yk = dk + vk
(17)
where vk is the observation glint noise. The glint spikes can be modeled as a Gaussian noise with large variance (covariance) [3] or equivalently a Laplacian noise. In the current study the probability density function (pdf) of measurement noise v is given by f (vk ) = mN (0, 2) + (1 − m)L(a, b)
(18)
the mixture variable m (percentage of contamination) is a number between 0 and 1. L(a,b) denotes a Laplacian distribution with mean a and variance 2b2 . In our simulation we have used m=0.5, a = 0 and b=5. The variance of the mixture model is computed and sequentially updated using (11) and that value is used for measurement variance R in the modified Kalman filter. The position estimates obtained using the standard Kalman filter along with the exact position and the noisy measurements are displayed in Figure 1(a). It is obvious from this plot that the Kalman filter state error increases as the measurement data deviates from the Gaussian assumption: a direct consequence of giving equal weights to each observation. The proposed modification requires a robust estimate of measurement data at each time step. We have used a sliding window concept to cater for the time evolution of the state trajectory. At each step a robust measurement value for the data points in the sliding window is computed using IRLS as delineated earlier. The results of this step are shown in Figure 1(b) along with the noisy measurement. The major step in the proposed modification is the decision whether the current observation is an outlier or not. This decision is based on the weight of the current measurement against a rejection threshold. Figure 1(c) gives the resulting weights that justifies our selection of a uniform target distribution for outlier rejection. The problem of large state errors for non-Gaussian data points stems from the fact that Kalman filter assumes an underlying Gaussian measurement noise and assigns equal weights to each measurement. Our novel modification takes care of these data points by restricting the influence of outliers in the measurements update. Figure 1(d) displays the results of the position estimates using the proposed modification for the same measurement data and model parameters.
A Modified Kalman Filter for Non-gaussian Measurement Noise
100
noisy measurement robust estimates
50
0
0
−50
−50
−100
−100
value
value
100
exact state estimated measurement
50
−150
−150
−200
−200
−250
−250
−300
−300
−350
0
50
100
150 Iteration
200
250
300
407
−350
0
50
100
150 Iteration
200
250
300
(a) State Estimates using Kalman Filter (b) Robust Measurement Estimate using IRLS Method 35
100
exact state estimated measurement
50
30
0 25
20 value
frequency
−50
15
−100 −150 −200
10 −250 5
0
−300
0
0.2
0.4
0.6
0.8 1 weights
1.2
1.4
1.6
1.8
(c) Histogram of weights
−350
0
50
100
150 Iteration
200
250
300
(d) State Estimates using Modified Kalman Filter
50
25 exact state MKF Estimate KF Estimate
0
KF error MKF error 20
−50
Absolute Error
Value
−100 −150 −200
15
10
−250 5 −300 −350
0
50
100
150 Iteration
200
250
300
0
0
50
100
150 Iteration
200
250
300
(e) Comparison of State estimates using (f) Mean Square Error for the State EstiKF and MKF mates Fig. 1. Outputs of RSE fusion with Klaman Filter
408
M.J. Mirza
Figure 1(e) gives the plot of the two estimates for comparison purposes. It can be seen that the state estimates obtained by the modified Kalman Filter remain very close to the exact state while the standard Kalman filter wanders with very large peaks. To give a more vivid picture of the results the mean square error for each iteration for the two estimates is plotted in Figure 1(f). There are very high peaks in case of standard Kalman filter which are pretty damped in the modified case. The qualitative comparison of the two cases is self explanatory from these figures. Mean Squared Error (MSE) was used as a quantitative comparison measure for the two estimates. We made forty runs of the simulations and the average MSE for Kalman Filter was 80 while for modified Kalman Filter it was around 30.
5
Conclusion
In this paper we have developed a novel modification to the standard Kalman filter for symmetric non-Gaussian measurement noise. At the heart of this amendment lies the Robust Sequential Estimator, a statistically robust and computationally efficient algorithm that robustly discriminates between the valid data points and the outliers. We have shown that non-Gaussian measurement values can be effectively modeled as outliers and their effect can be minimized by rejecting them in the measurement update stage of the standard Kalman filter. The algorithm is applied to a real world problem of target tracking in glint noise and the simulations confirm our findings which are reflected in more than 60 % reduction in the mean squared error in the state estimates.
References 1. Hawkins, D.: Identification of outliers. Chapman and Hall, Boca Raton (1980) 2. Lange, K.L., Little, R.J.A., Taylor, J.M.G.: Robust Statistical Modeling Using the t Distribution. Journal of the American Statistical Association 84(408), 881–896 (1989) 3. Hewer, G.A., Martin, R.D., Zeh, J.: Robust Preprocessing of Kalman Filtering of Glint Noise. IEEE Trans. Aerosp. Electron. Syst., AES 23, 120–128 (1987) 4. Bilik, I., Tabrikian, J.: Target Tracking in Glint Noise Environment Using Nonlinear Non-Gaussian Kalman Filter. In: 2006 IEEE National Radar Conference Proceedings, art. no. 1631813, pp. 282–287 (2006) 5. Sorrenson, H.W., Stubberud, A.R.: Nonlinear filtering by approximation of the a posteriori density. Int. J. Control 18, 33–51 (1968) 6. Sorrenson, H.W., Alspach, D.I.: Recursive Bayesian Estimation using Gaussian Sums. Automatica 18, 456–476 (1971) 7. Masreliez, C.J.: Approximate non-Gaussian filtering with linear state and observation relations. IEEE Tran. Automat. Contr. 18 (AC-20), 107–110 (1975) 8. Wen-Rong, W., Amlan, K.: Kalman filtering in non-Gaussian environment using efficient score function approximation. In: Proc. of IEEE International Conference on Circuits and Systems, pp. 403-410 (1989)
A Modified Kalman Filter for Non-gaussian Measurement Noise
409
9. Maryak, J.L., Spall, J.C., Heydon, B.D.: Use of the Kalman Filter for Inference in State-Space Models With Unknown Noise Distributions. IEEE Trans. Automat. Contr. 49(1), 87–90 (2004) 10. Boyer, K.L., Mirza, M.J., Ganguly, G.: Robust Sequential Estimator: A General Approach and its Application to Surface Organization in Range Data. IEEE Trans. Pattern Anal. Machine Intel. 16(10), 987–1001 (1994)
A Novel Framework for Active Detection of HTTP Based Attacks Liang Jie, Sun Jianwei, and Hu Changzhen Department of Software Engineering, Beijing Institute of Technology, Beijing, 100083, China {liangj228,ejwsun}@gmail.com
Abstract. Web application vulnerabilities represent a substantial portion of the security exposures of computer networks. Considering HTTP protocol is stateless, we explore the effectiveness of HTTP-session model to effectively describe http behavior. Based on the HTTP-session model and the analysis of http attack behavior, we present a novel framework to actively detect http attacks. Our method takes http requests as input and calculates anomalous probability for each session attribute and for the session as a whole as output. All the probabilities are weighted and summed up to produce final probability, and this probability is used to decide whether http session is attack or not. We demonstrate the effectiveness of the proposed methods via simulation studies using real-world web access logs. Experiments prove that our detection framework achieves high detection rates under very few false positives. Keywords: HTTP-session, anomaly detection, http attacks.
1 Introduction With the rapid expansion of the HTTP-based applications, Web-based attacks and abuse become more serious. For this reason, web applications are subject to greater and greater levels and types of attacks as hackers exploit vulnerabilities within the software like DoS, DDoS, and XSS. In this type of attacks, attackers abuse HTTP request protocol and send malicious HTTP requests to victim web server. To combat these attacks, many studies were done on traffic measure and identification. These studies can be categorized as two kinds: network layer approach and application layer approach. The former methods use network layer protocol features, like TCP headers, and IP headers, to characterize traffic feature and to detect the attacks. The latter methods generally use application layer protocol features to model the traffic, unlike the network layer features, these methods extract high level user access information to semantically model the user access behavior. In this paper, we propose a web-based, active anomaly detection system to protect a target web server. Our approach analyzes webpage traversal history of users using the HTTP-session model to actually describe user’s access behavior. HTTP-session is defined as one user access process on the web , either for seeking information, or buy some things with online business application. Web based attacks, such as DDoS, DoS, may be different from the normal access process. For example, DoS attackers may M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 411–418. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
412
L. Jie, S. Jianwei, and H. Changzhen
access the main page for many times in a short period to exhaust the web server resources, which make web server unable to answer no more user request. Based on this assumption, our approach is to detect web based attack based on the analysis of HTTP-session behavior.
2 Related Works HTTP-session is defined as a sequence of HTTP requests sent out by a user in a time period. Session concept is adopted in web usage mining area to analysis user access behavior. Many research in web usage mining uses HTTP session (i.e. web session) to model user access behavior to find frequent path traversal patterns of web users[1], classifying user navigation patterns[2] and optimizing the website organization[3]. Indentifying HTTP-session is important for our model. Traditional research identified HTTP-session by defining some thresholds[4], like visiting time intervals, requests under the time threshold are defined as one session. In our framework, we use time interval between requests to define a session, which is 600s in our framework. As for the detection of web based attacks, Kruegel proposed a number of different anomaly detection techniques [4][5] to detect web application attacks. In these studies, it proposes several models using different features extracted from the HTTP information to identify web application attacks as anomaly detection approach. Also, different types of learning-based anomaly detection techniques have been proposed to analyze different data streams. Valeur et al. proposed an anomaly-based system [6] that learns the profiles of the normal database access performed by webbased applications using a number of different models. Estevez. et al. proposed an approach [7] which used Markov model to detect the web application attacks. Their approach is based on the monitoring of incoming HTTP requests to detect attacks. Naiman uses the statistic methods [8] to analyze the data which are collected from web servers. These approaches detect anomaly behaviors on http requests one by one, and ignore some semantic meanings between different requests. Since http protocol is stateless, http requests alone are unable to obtain the relationships between the http requests and user access behavior. Our proposed method considers the relationship between requests sequence and user access behavior into the model to describe the user access session, and we divide http requests into HTTP-sessions to find interesting patterns between requests. Based on the analysis of web based attack behavior, we explore our model to detect web based attack effectively.
3 Analysis of User Access Behavior and HTTP-Session Model In this section, we present analysis of web user access process, and the web attack process. Based on the analysis of web access behavior, we propose HTTP-session model in details.
A Novel Framework for Active Detection of HTTP Based Attacks
413
3.1 Analysis of User Accessing Behavior and Web Based Attacks Web accessing is the major behavior of users on the web. Clients connect web server through http protocol. In this process, Clients send out requests to web application, and web server answers requests separately. Generally, user access process contains various requests either through input URLs or to click the links on the web to access web page. User access process is described in Fig. 1.
Fig. 1. Illustration of the user access process
As shown in Fig.1, there are two types of requests: user sends out requests to obtain web pages, and there are some inline requests in the web pages to obtain inline objects, like advertisements and script. There are many requests in http protocol (POST, HEAD), however, we only consider GET requests. The reason is that GET request is the main part of user access process demonstrating the behavior of user. HTTP GET request example is shown in Fig.2. GET /scripts/access.jsp?user=johndoe&cred=admin 200 GET /scripts/access.jsp?user=christie&cred=user 400 Fig. 2. Example of HTTP GET request
Unlike normal access patterns, web based attacks have different access patterns: (1) DoS attack tool may send out many requests to query URL at a short period to exhaust web server. Their target may be the main web page, or to imitate normal users to request a random URL. The key point is in the time of requests and interval between requests. (2) DDoS attacks are usually initiated from many attackers to send out requests to web server at a short period to exhaust web server resource[9]. Although some attacks can imitate normal user behavior to send HTTP requests, they are unable to imitate the session of users. So HTTP-session model can effectively describe user access behavior.
414
L. Jie, S. Jianwei, and H. Changzhen
The fact that normal access requests patterns are different from attacks can be used in detecting attackers. In this paper, we extract some statistical features from HTTPsession to identify web based attacks. The features includes numbers of addressed, numbers of sessions in a given time period, requests length in one session, URL length of the requests and so on. 3.2 Using HTTP-Session Model to Describe Access Behavior Our proposed HTTP-session model for web based attack detection and filtering is based on two results obtained by web mining [8]: (1) about 10% of the web pages of a website may draw 90% of the access; (2) web user browsing behavior can be abstracted and profiled by users’ request sequences. This section illustrates HTTP-session model for web based attack detection. Different from session model in web usage mining area, we define HTTP-session as a requests sequence launched by a user. The input to the HTTP-session mainly consists of an ordered set U = (u1 , u2 ,..., um ) of URLs extracted from GET requests. HTTPsession starts at the time user sends out requests. We adopt the interval threshold to define the HTTP-session. If user’s request is empty for a given time period, HTTPsession is ended at that time.
4 Anomaly Detection Approach Based on HTTP-Session Model The HTTP-session based detection model aiming at web based attacks, as shown in Fig.3, contains four modules which are respectively HTTP requests preprocessing, HTTP-session model building, web based attack detection, and anomaly behavior processing.
Fig. 3. HTTP-session based anomaly detection process
A Novel Framework for Active Detection of HTTP Based Attacks
415
4.1 HTTP Requests Preprocessing and HTTP-Session Model Building As mentioned above, our HTTP-session mainly consists of an ordered set U = (u1 , u2 ,..., um ) of URLs extracted from HTTP GET requests. Also, other requests, like HEAD and POST, which is also possible to launch web based attacks, will be considered in further studies. First, we extract HTTP information from given resources. In this paper, we extract HTTP information on the web log file to extract HTTP requests. Also, we can extract HTTP requests from packet sniffed packets. Let U = (u1 , u2 ,..., um ) denote the stochastic variable expressing the observed
S = ( s1 , s2 ,..., sl ) denote the sessions in a given time period, where M i be the total number of queries in session si , and L be the number of IP addresses in a
URLs,
given time period, i.e. session number in a given time period. Let si = (u1 , u2 ,..., ul ) denote useri HTTP-session, which is subset of
U = (u1 , u2 ,..., um ) , where ul denote l th URL user queries in the session si ,and Ti be the session time period(in this paper we define Ti < 600 s ). Thus, HTTPsession can be extracted. 4.2 Anomaly Detection Approach Based on the analysis of HTTP-session, web based attacks detection is to distinguish normal HTTP-sessions from dubitable attack HTTP requests by the different time of HTTP-session according to the original information offered by the resources. From the analysis of section III, we concluded that web based attack send out http requests in different ways, and attack and normal behavior differs in URLs, requests order, and the time of requests, which is modeled by our proposed session model. In order to detect various web based attacks, the anomaly detection process uses a number of different statistics to identify web based attacks within a set of sessions associated with user access behavior. These statistical features of session includes the number of requests in one session, the number of sessions in a given time periods, length of queries in sessions, and the duration of a session, etc. Each feature is associated with characteristics of a session by means of learning normal access behavior. Consider, for example, the length of the requested queries statistics for the detection of XSS attack. The task of the detection model is to assign a probability value to either a session or one of the session's features. This probability value reflects the probability of the occurrence of the given feature value with regards to an established normal session. The assumption is that a session with a sufficiently low probability (i.e., abnormal values) indicates a potential attack. Based on the model outputs (i.e., the probability values of the session and its individual attributes), a decision is made (that is, the session is either reported as a potential attack or as normal). This decision is reached by calculating an anomaly score individually for each session attribute and for the session as a whole. When one or more anomaly scores (either for the session or for one of its attributes) exceed the
416
L. Jie, S. Jianwei, and H. Changzhen
detection threshold determined during the training phase, the whole session is marked as anomalous. This is necessary to prevent attackers from hiding a single malicious attribute in a session with many ‘normal’ attributes. The anomaly scores for a session and its attributes are derived from the probability values returned by the corresponding HTTP-session models that are associated with the sessions or one of the attributes. The anomaly score value Pm is calculated using a weighted sum as shown in Equation 1. In this equation, we represent the weight associated with every factors, while pm is its returned probability value. The probability
pm is subtracted from 1 because a value close to zero indicates an anomalous
event that should yield a high anomaly score.
AnomalyScore = ∑ wm *(1 − pm )
(1)
The detection approach includes two phases: training normal HTTP-session and detection of web based attacks. The training phase is required to determine the characteristics of normal events, and to establish anomaly score threshold to distinguish normal sessions and attack sessions.
5 Experiments 5.1 Datasets for Experiment and Summary of System Parameter In this section, we implement our model for HTTP-session processes based on the real traces of web log files. Table 1 shows the compositions of the access log for evaluation. And, the access log of DDoS and DoS attack is collected by launching DDoS and DoS flood attacks to the web server by tools. Table 1. Compositions of access log for evaluation
Source IP address Get requests
Normal clients 100 3291
Attackers 10 43121
Total numbers 110 46412
The data consists of three weeks of training data and two weeks of test data. In the training data there are two weeks of attack-free data and one week of data with labeled attacks. We trained the model on the HTTP dataset of the dataset using week 1 (5 days, attack free) and week 3 (7 days, attack free), then evaluate the detector on weeks 4 and 5. Retaining the ordering in the requests, we separate the GET requests from the web log to different users, and learn the session models as proposed in this paper. After building HTTP-session model, statistics are summarized in Table 2. From these figures, we can find that the weights for different features are 0.421, 0.389, and 0.2352 respectively. Thus, we can show equation(2) as:
A Novel Framework for Active Detection of HTTP Based Attacks
#.of .sessions ) num.of .session #.of .queries. per.session +0.389*(1 − ) num.of .queries. per.session int erval.of .int er.request. per.session +0.2352*(1 − ) duration.of .int er.request. per.session
417
Pm = 0.421*(1 −
(2)
Table 2. Statistics of normal data sets used Name Duration of the traces Total number of sessions Avg. number of sessions Avg. number of queries per session Avg. user Inter-request duration
Features 5 weeks 1343 568 2.6 115 sec
We simulate normal users and attackers to send out access requests to test the performance of our proposed method. And we use the detection ratio (DR) and false positive ratio (FPR) to measure the performance of anomaly detection approach. In our experiment, we implement payload based web attack detection method, and arrival based detection approach to compare the performance of anomaly detection. The results shows our method is better than the remaining for the attack type which our paper is focused.
Fig. 4. ROC curves of various anomaly detection approaches
From the above experiments, we can see that our method has a high detection rate and low false positive rate.
418
L. Jie, S. Jianwei, and H. Changzhen
6 Conclusions In this paper, we present a new method of detecting application layer attacks. We use the HTTP-session model to describe the users’ access behaviors. In the detection phase, we calculate every observation sequence’s average probability against the normal model, and detect the potential attacker based on their average anomaly likelihoods. The experiment results show that our method works well.
References 1. Chen, M., Park, J., Yu, P.: Data mining for path traversal patterns in a web environment. In: ICDCS (1996) 2. Liu, H., Kešelj, V.: Combined mining of Web server logs and web contents for classifying user navigation patterns and predicting users’ future requests. Data & Knowledge Engineering (2007) 3. Srikant, R., Yang, Y.: Mining web logs to improve website organization. In: International Conference on World Wide Web (2001) 4. Nuzman, C., Saniee, I., Sweldens, W., Weiss, A.: A compound model for TCP connection arrivals for LAN and WAN applications. Computer Networks 40(3), 319–337 (2002) 5. Kruegel, C., Vigna, G.: Anomaly detection of web based attacks. In: Proceedings of the 10th ACM conference on Computer and communications security, pp. 251–261 (2003) 6. Kruegel, C., Vigna, G., Robertson, W.: A Multi-model Approach to the Detection of Webbased Attacks. Journal of Computer Networks 48(5) (2005) 7. Valeur, F., Mutz, D., Vigna, G.: A learning-based approach to the detection of SQL attacks. In: Julisch, K., Krügel, C. (eds.) DIMVA 2005. LNCS, vol. 3548, pp. 123–140. Springer, Heidelberg (2005) 8. Kantardzic, M.: Data Mining Concepts, Models, Methods and Algorithm. IEEE Press, New York (2002) 9. Yatagai, T., Isohara, T., Sasase, I.: Detection of HTTP-GET flood Attack Based on Analysis of Page Access Behavior. In: Proceedings of the 2007 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing, Victoria, Canada, pp. 232–235 (2007)
Model Predictive Control for Single Phase Inverters Yecheng Lv, Ningxiang Xie, and Kai Wang School of Electric Engineering, Wuhan University, Wuhan, China [email protected], [email protected], [email protected]
Abstract. Tracking control for inverters are commonly used in load flow control, adjustable speed motor and smart grid. In this paper the model predict control (MPC) technique is introduced and then used in the current control of single phase full-bridge inverters. To conquer the inherent time delay of MPC, an improvement is made. Finally, with several simulation results, the method proves to enjoy the characteristics of quick response, small overshoot and high accuracy. Keywords: Model Predict Control, current tracking, inverters.
1 Introduction Inverters are playing an increasingly important role in areas such as Direct Current Transmission, Uninterruptible Power Supply and distributed generation [1]. The evolution of switching devices has greatly promoted the research of the inverter control technology. On the other hand, the rapid development of computer technology has enabled the implementation of more complex control strategies. Some of these strategies are Immune Genetic Algorithm [2], BP neural network algorithm and predictive control [3]. The latter is gradually becoming popular for it’s simplicity in implementation. Paper [4] introduced the principles, classification, development and applications of Predictive Control and Paper [5] introduced an application of Predictive Control in power system. A main branch of predictive control is Model Predictive Control (MPC) [6]. In MPC, a model of the system is established. Based on the model, the future value of the variables can be predicted. According to the comparison of the predicted value and the desired reference value, the control action at the present time is determined. MPC can be conveniently applied to the control of single phase inverters for the structure of which is very simple for modeling. The switching patterns of the inverter are finite so the prediction can be made based only on the possible switching patterns [7]. And this makes the calculation of predicting can be completed during a very brief time. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 419–425. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
420
Y. Lv, N. Xie, and K. Wang
2 Model Predictive Control The control process is illustrated in Fig. 1, in which the predictive model is constructed according to the physical characteristics and situation of the controlled object. The generic form of the predictive model is x(k+1)=Ax(k)+Bu(k)
(1)
y(k)=Cx(k)
(2)
The optimality criterion and cost function are also decided in terms of the controlled object. UN
FRVW IXQFWLRQ
RSWLPDOLW\ FULWHULRQ
FRQWUROOHG FN REMHFW
\N SUHGLFWLYH PRGHO Fig. 1. MPC system chart
3 The Application of MPC in Current Tracking Control Fig. 2 shows the circuit topology of single phase full-bridge inverter, the load is represented as a series connection of a resistance and an inductance. From Fig. 2, the equation of the inverter can be derived as follows:
input1
g
VD2
Scope + v -
E
m
E
m
VD1
C
g
C
input2
+
E
i -
i RL
g
C E
E
VD4 m
VD3
m
g
C
RL
Fig. 2. The topology of single phase full-bridge inverter
Model Predictive Control for Single Phase Inverters
421
di −iR = +U dt L
(3)
or t +Δt
i (t + Δt ) = ∫t
(
−iR + U )dt + i (t ) L
(4)
where iLD is the load current and vout is the out put voltage of the inverter. In this paper, it is assumed that the switching devices are ideal switches so the process of switching-on and switching-off is not taken into consideration. All switches work synchronously with the sampling clock signal and the upper and lower switches on the same leg are always working complementarily, i.e., when an upper switch receives a control signal, the lower one on the same leg receive the reverse signal at the same sampling time. The dc voltage source is assumed as a constant dc voltage source with no ripple so there is no change of the output voltage level within a sampling period. Table 1 shows the possible switching patterns and the corresponding cases of output voltage levels. Table 1. Possible switching patterns and the corresponding cases of output voltage levels
switching patterns S1,S4 ON; S2,S3 OFF S2,S3 ON; S1,S4 OFF
output voltage level E -E
If the sampling period is sufficiently brief, iLD R within one sampling period can be regarded as a constant. It is assumed that the load current at sampling time k is iLD (k ) , so from the discretization of (4), the load current at the next sampling time will be
T ⎛ R ⎞ iLD (k + 1) = iLD (k ) + ΔiLD ( k ) = ⎜ 1 − Ts ⎟ iLD (k ) + s vout (k ) L ⎝ L ⎠
(5)
T ⎛ R ⎞ In reference to (1), we have A= ⎜1 − Ts ⎟ , B= s ,and C=1. vout ( k ) is the inverter L L ⎝ ⎠ output voltage level determined by the switching patterns of the inverter which has been shown in Table 1. (5) is the predictive model of the inverter circuit. From Table 1 we know that iLD (k + 1) varies with different choices of vout ( k ) . The process of MPC is as follows: A. Obtain the load current at sampling time k ( iLD (k ) ) with sampling instrument. B. Predict the load current at the sampling time k+1( iLD (k + 1) ) with (5) in consid-
eration of different choices of vout (k ) . Different cases of prediction are thus obtained. C. In different cases of iLD (k + 1) , calculate respectively the absolute error of the prediction and reference value of load current at sampling time k+1, namely
422
Y. Lv, N. Xie, and K. Wang
| e(k + 1) |= iLD (k )+
vout − iLD (k ) R Ts − iref (k + 1) L
(6)
D. Select the case of vout (k ) which results in the minimum of | e(k + 1) | .
In this way, MPC ensures the minimum of every e ( k + 1) thus make the load current accurately track the reference wave.
4 Improvement of MPC To conquer the delay caused by sampling process. In the discussion above, the process of predicting has been regarded as ideal which would take up no time. However, this process does result in a delay, i.e., the vout (k ) is actually emitted briefly later than the sampling time k which is expected. If the delay is sufficiently long, the MPC will not work properly. In order to conquer the delay which is an inherent drawback of MPC, an improvement is made (in the paper it is expressed as improved MPC). However, improved MPC predicts the inverter output voltage at next sampling time, which is different from MPC. At sampling time k( k ≥ 1 ), from (5), it can be derived as follows: T ⎛ R ⎞ iLD ( k + 1) = ⎜1 − Ts ⎟ iLD ( k ) + s vout ( k ) L ⎝ L ⎠
(7)
T ⎛ R ⎞ iLD (k + 2) = ⎜ 1 − Ts ⎟ iLD (k + 1) + s vout (k + 1) L ⎝ L ⎠
(8)
where iLD (k ) is the actual load current at sampling time k, vout ( k ) is determined at sampling time k-1, iLD (k + 1) and iLD (k + 2) are predicted value at sampling time respectively k+1 and k+2, and vout (k + 1) is the inverter output voltage level at sampling time k+1, while which is to be decided at sampling time k. Special attention should be given to iLD (k + 1) , which has been predicted at previous sampling time k-1 according to the decision of vout (k ) . Although here in improved MPC iLD (k + 1) is a predicted value (in (5) in the discussion of MPC, iLD (k ) is an actual value obtained from sampling process), the error between the predicted iLD (k + 1) and actual iLD (k + 1) to occur at sampling time k+1 will be small enough so to be neglected. So the predicted value iLD (k + 1) can be used to predict iLD ( k + 2) according to different cases of vout (k + 1) . After the prediction of iLD (k + 2) , the absolute error | e(k + 2) | will be calculated as is done in (8) in the discussion of MPC. Then the optimum vout (k + 1) is decided.. Next we will consider the determine of vout (1) . In difference from vout (k ) ( k > 1 ), vout (1) is a constant and vout (1) = E in order to make the actual load current track the reference (which is a sinusoidal wave).
Model Predictive Control for Single Phase Inverters
423
Because the unnecessity of deciding vout (1) , the delay at sampling time 1 is eliminated. And because every vout (k ) ( k > 1 ) is calculated a sampling period in advance, the delay at every sampling time k( k ≥ 1 ) is eliminated.
5 Simulation Analysis
g
VD2
y Cost e
e Min
E
x Model y m
E
m
VD1
C
g
C
To analyze some aspects of the performance of MPC (together with improved MPC), simulation environment has been constructed with Matlab/Simulink which has been shown in Fig. 3. For the simulation, the initial value of load current is 0A, the sinusoidal reference current wave is expressed as 6.35sin(2πft), the frequency is f=50Hz, the inductance is L=5mH , the resistance is R=0.1Ω and the sampling frequency is 10kHz. Several indicators are used in the simulation: The maximum of the error (between the actual value and reference value) at every sampling time, which is denoted by |emax|, to measure the accuracy of the current tracking; the ratio of the effective value of fundamental component of load current to that of reference current (denoted by I1/Iref) to demonstrate the steady-state behavior, and total harmonic distortion (THD) to evaluate the quality of the load current. Because of the simulation environment, the effect of the delay resulting from MPC is so little that MPC and the improved MPC actually have the same performance (while in actual experiment the performance would be different). So in this part, both methods are considered as one. The simulation has been done in comparison with hysteresis control method, the band of which is 2%.
B1 B2
E
+
i -
i RL
+ v -
E
g m
E
VD4 m
VD3
C
g
C
RL
Fig. 3. Simulation environment in Matlab/Simulink
The values of the indicators are listed as follows: Table 2. Values of the indicators
|emax| I1/Ir THD
MPC 3.28% 100.20% 2.06%
Hysteresis 6.58% 99.76% 3.40%
Scope
424
Y. Lv, N. Xie, and K. Wang
The inverter output voltage and load current controlled by MPC has been plotted in Fig. 4 and Fig. 5.
Fig. 4. Waveform of inverter output voltage
Fig. 5. Waveform of load current
Model Predictive Control for Single Phase Inverters
425
Simulation results indicate that MPC has very perfect performances. A. MPC reduces |emax| to a very small value (especially when compared with hysteresis control), with which the reference current is better tracked. B. The effective value of fundamental component is only 0.2% larger than that of reference current. This result shows that the steady-state behavior of MPC is nice. C. The THD of load current controlled by MPC is very low (which can bee seen in comparison of hysteresis control). This result indicates the quality of load current is satisfactory.
6 Conclusion In the paper, Model Predictive Control is introduced and then applied to the control of single-phase full-bridge inverters. The method is based on the prediction of the load current at next sampling time according to different cases of inverter output voltage. Then the case which results in the least error is chosen. In this way, reference wave is perfectly tracked. To conquer the delay caused by MPC, an improvement has been made. Simulation results indicate MPC enjoys accurate tracking capability which makes the quality of load current greatly optimized. Thus it is proved that MPC is an ideal control strategy of inverters.
References 1. Blaabjerg, F., Chen, Z.: Power electronics for modern wind turbines (synthesis lectures on power electronics). Morgan Claypool Publishers, San Rafael (2006) 2. Yuan, J.X., Chen, B.C., Tian, C.H., Jia, J.B.: The Research of Inverter’s Control Based on Immune Genetic Algorithm. J. Proceedings of the CSEE 5, 110–118 (2006) 3. Yang, M.X., Dai, Y.X., Wang, W.G.: Application of BP Algorithm in Deadbeat Control of Single Phase Inverter. J. Low Voltage Apparatus 24, 11–13 (2009) 4. Xu, C., Chen, Z.G., Shao, H.H.: A Survey on Predictive Control Technique and Its Application. J. Control and Instruments In Chemical Industry 3, 1–10 (2002) 5. Li, G.Q.: Study on Prediction Control for Transient Stability of Power Systems. J. Automation of Electric Power Systems 3, 25–31 (1994) 6. Linder, A., Kennel, R.: Model Predictive Control for Electrical Drives. In: 36th Power Electronics Specialists Conference, pp. 1793–1799. IEEE Press, New York (2001) 7. Rodriguez, J., Cortes, P., Kennel, R., Kazrnierkowski, M.P.: Model predictive control – a simple and powerful method to control power converters. In: 6th International Power Electronics and Motion Control Conference, pp. 41–49. IEEE Press, New York (2009)
Evaluation Method and Standard on Maintainability of Cockpit Junwei Zhao1,*, Lin Zhou1, Haitao Zhao1, Xuming Mao1, and Youchao Sun2 1 Shanghai Aircraft Design and Research Institute, General Configuration and Aerodynamic Design Division, Caoxi Road 222,200232 Shanghai, China 2 Nanjing University of Aeronautics and Astronautics, Civil Aircraft Institute, Yudao Road 29, 210016 Nanjing, China
Abstract. Maintainability is an important factor to determine the maintenance quality for aircraft. Favorable maintainability design can make the maintenance more simple, speedy and economical. Maintainability design and validation need evaluation method and standard. This article takes control column and side stick with related standards as an example. Then establish evaluation method. At last, contrast and analyze the related cockpit parameters of A320 and B737. Keywords: Maintainability evaluation evaluation method and standard.
, control
column and side stick
,
1 Introduction Maintainability is an important factor to determine the maintenance quality for aircraft, and it reflects the ease of maintenance. At first it is important to bring maintainability to the full life circle of a civil aircraft. Secondly if the maintainability request can be carried out by demonstrate, design, produce and validation, it will reduce the cost for life circle of civil aircraft and improve self attribute. Meanwhile maintainability has the consanguineous relationship with maintenance, and it refers to the production factor such as structure, connection, installation and collocation. It is an important character of making maintenance more simple, speedy and economical. Thirdly maintainability is a design attribute, and its request must be carried out by maintenance design. Favorable maintainability design can make the maintenance more simple, speedy and economical. Maintainability design and validation need evaluation method and standard [1]. At last evaluation method is established as a necessary condition for validating maintainability. Evaluation method and standard is provided as a guide to maintenance design of the cockpit.
*
Junwei Zhao(1981-), engineer, doctor's degree. Now working in General Configuration and Aerodynamic Design Division of Shanghai Aircraft Design and Research Institute.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 427–432. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
428
J. Zhao et al.
Now a new generation glass cockpit is widely used on civil aircraft. Its main features includes that as follow: Firstly, the display divice is changed from scattered electromech indicator to integrated electronic indicator, and combined scale and digital, combined raster scan and stroke vector display mode are adopted. Secondly, combined information mode is adopted, and parameters and alert information of aircraft systems is integrated. Thirdly, autocontrol system is upgrated, and fly-bywire, drive control and full authority digital engine control technology are introduced. Fourthly, automatic integrated management systems such as integrated avionics system, multifunction flight management system are adopted. Finally, as information using efficiency , integrated management and automation degree are increased, the service persons on plane such as telegraphist, maintenance person are cancelled. And two attendants system is put into practice. [2] Research for maintainability of a new generation glass cockpit in civil aircraft is rare. Now there is no mature evaluation method and standard on maintainability of cockpit in civil aircraft. This article takes control column and side stick with related standards as an example. Then establish evaluation method. At last, contrast and analyze the related cockpit parameters of A320 and B737.
2 Establishment for Evaluation Indicator of System and Equipment in Cockpit By studying the international and national standards, referring the correlated aircraft data, considering the characteristic of civil aircraft, consulting a variety of maintenance programs and carrying through reliability prediction and allocation, evaluation standard on maintainability of cockpit is established. The use indicator of maintainability is divided into target value and threshold value. And the compact indicator is divided into provide value and minimum acceptable value. Relevant factors and constraints should be defined , while indicator of maintainability is ensured. These factors are indispensable to make a description of indicator including preconcerted maintenance program, the validation method of indicators. The indicator of maintainability is ensured by the following factors: First, ensuring indicator is mainly based on use requirement. Maintainability is not only needed by maintain department, but also by use. Second, ensuring indicator should refer to the maintainability level of similar national and international equipment. It is important to learn more about the actual maintainability level which similar equipment has reached. And it is starting point of ensuring indicator of maintainability for new research equipment. The indicator of maintainability for new research equipment should be better. Third, ensuring indicator is based on the level of maintenance which the anticipate technology could make the products reach. Fourth, the existing security system of maintenance, maintenance responsibilities, time constraints at all levels of maintenance are important factors of ensuring indicator. Fifth, ensuring indicator must be balanced with reliability, life cycle cost, development schedule and other factors.
Evaluation Method and Standard on Maintainability of Cockpit
429
3 Illustration This section takes control column and side strick of aircraft for example. evaluation method and standard on maintainability of cockpit is put forward, and it is referred to correlative standards. First, each cockpit control must be located to provide convenient operation and to prevent confusion and inadvertent operation. The controls must be located and arranged, with respect to the pilots’seat, so that there is full and unrestricted movement of each control without interference from the cockpit structure or the clothing of the minimum flight crew when any member of this flight crew, from 5&foot; 2&inch; to 6&foot; 3&inch; in height, is seated with the seat belt and shoulder harness(if provided) fastened. [3,4,5] Second, identical powerplant controls for each engine must be located to prevent confusion as to the engines they control. Third, FBW and AP control are usually located on side stick. AP emergency quick release control must be located the two side sticks, and the location must make pilot use quickly and easily.[6] Fourth, electric connection of side stick must be designed for providing security when the two pilots amend and input override control. The announcement of control state can not cause confusion. Fifth, it must be shown that the use of side stick can not bring inapposite control characteristics of man-machine loop, when do precise pitch control tasks and consider the turbulence through the flight test.
4 Characteristics of the Maintenance of Related Equipment on A320 and B737 The characteristics of the maintenance of related equipment are analyzed through the collection for information. Fly-by-wire system and side stick are first adopted for A320, which can provide the same aircraft maneuverability for different scale and layout aircraft. Fly-by-wire system and big screen display are applied to achieve glass cockpit for new generation B737. And it enhances the maintainability of the cockpit. Column control and side stick are taken for example to analyze maintainability.[7] There are prodigious differences between control column and side stick. Control column is for B737-800, while side stick is for A320. It is shown in Fig. 1. Stabilizer trim switch and autopilot cut-off switch are located at side of control column, while aileron trim indicator is located on the top of control wheel for B737800. Autopilot cut-off switch and PPT switch are located on side stick for A320. Control column is adopted by B737-800. It is located in front of the pilot, so it influences the pilot's field of vision. Otherwise, it also influences the maintainability of the parts in front of itself(such as rudder pedal). And it reduces the visibility and accessibility when rudder pedal is maintained.
430
J. Zhao et al.
Fig. 1. control column for B737-800 and side stick for A320
Side stick is adopted by A320. Compared with the traditional control column, side stick has the advantage of light and simple structure, but the lack of visual feedback. Side stick is a console which located at side of captain. And another one is a console which located at side of copilot. Its position does not make itself influence the pilot's field of vision. And it do not produce interference to other components when it is maintained. So its maintainability is better. There are PPT interphone systems on control column and side stick for B737-800 and A320. PPT switches are on control column and side stick for B737-800 and A320. There are the same function, easy maintenance,.and the maintainability is relatively well.
Evaluation Method and Standard on Maintainability of Cockpit
431
Fig. 2. PPT switches on control column and side stick for B737-800 and A320
References 1. Wang, Y.X.: The method of ergonomic analysis based on emulation of virtual maintenance. Nanjing University of Aeronautics and Astronautics, Nanjing (2007) (in Chinese) 2. Wang, W., Sun, Y.C., Kong, F.F.: Analysis and Study of Ergonomics on Virtual Maintenance of Civil Airplane Based on DELMIA. In: Advanced Materials Research, 2008 International Conference on Advances in Product Development and Reliability, pp. 821–828. Trans Tech Publications Ltd, Laublsrutistr (2008) 3. CCAR25: Airworthiness Standards for Transport Category Airplanes(2001) (in Chinese)
432
J. Zhao et al.
4. FAR25: Airworthiness Standards: Transport Category Airplanes (1968) 5. CS25: Certification Specifications for Large Aeroplanes (2008) 6. Cheng, B.S.: Aircraft design handbook, vol. 5. Aviation Industry Press, Beijing (2002) (in Chinese) 7. GJB/Z91-97: Maintainability design technique handbook (1997) (in Chinese)
Smart Mobile User Adaptive System with Autonomous Sensor Networks Ondrej Krejcar1,2 and Robert Frischer1 1 VSB Technical University of Ostrava, Center for Applied Cybernetics, Department of measurement and control, 17. Listopadu 15, 70833 Ostrava Poruba, Czech Republic [email protected], [email protected] 2 University of Hradec Kralove, FIM, Department of Information Technologies, Rokitanskeho 62,Hradec Kralove, 500 03, Czech Republic [email protected]
Abstract. In this article we present a smart mobile user adaptive system with autonomous sensor networks as a modern way of use an energy harvesting for powering of intelligent sensors. Gaining the energy to supply sensors is possible even from immediate sensor’s environment. They are supplying the energy from vibration less environment and without need of high intensity incident light. For running they are need only small thermal gradient of order of degrees. Thanks to evolution of new MOS-FET transistors with very low value of RDSON (order of mOhm) is possible to use even very low voltage produced by thermal sources called Thermo Electric Generators. Keywords: User Adaptive System; Mobile Device; Autonomous Sensor Network..
1 Introduction Advances in low power technology are making it easier to create wireless sensor networks in a wide range of applications, from remote sensing to HVAC (Heating, Ventilating, and Air Conditioning) monitoring, asset tracking and industrial automation. The problem is that even wireless sensors require batteries that must be regularly replaced. It is a costly and cumbersome maintenance project. A better wireless power solution would be to harvest ambient mechanical, thermal or electromagnetic energy from the sensor’s local environment. This technique is called energy harvesting. It is process, by which free ambient energy is derived, captured and stored. Typically, harvestable ambient power is on the order of tens of microwatts to tens milliwatts, so energy harvesting requires careful power management and sophisticated circuits with latest technology design in order to successfully capture a few microwatts of ambient power and store it in a useable energy reservoir. As a reservoir usually serve a capacitor with huge capacity (order of farads). One common form of ambient energy is mechanical vibration energy, which can be caused by motors running in a factory, airflow across a fan blade or even by a moving vehicle. A piezoelectric transducer can be used to convert these forms of vibration energy into electrical energy, which in turn can be used to power wireless sensors. To manage the energy M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 433–438. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
434
O. Krejcar and R. Frischer
harvesting and the energy release to the system, the LTC3588 piezoelectric energy harvesting power supply. It uses an efficient energy harvesting algorithm to collect and store energy from high impedance piezoelectric elements, which can have shortcircuit currents on the order of tens of microamps (1). (1) Advantage of mechanical-vibration energy is relatively high output voltage, which is suitable for another processing. On the other hand, thermal environmental energy has a great disadvantage just in value of output voltage (order of tens millivolts). This very low voltage is very difficult to transform up to the useable level (order of volts). Losses, which originates by conversion are relatively high and deteriorate whole circuit efficiency. Nevertheless, thanks to the new technology new types of MOSFET transistors and control circuits with extremely low quiescent power appear. This MOSFET transistors with very low RDS(on) and control circuits are key blocks in power sources design which are utilizing ambient environmental energy. Further described power source is intended to supply intelligent sensors with using surrounding thermal energy from immediate sensor’s surroundings. Thermal energy is very suitable because there is no need of vibrations or intensive electromagnetic radiation. TEG (thermo electric generator) device acts as source of electricity. Output voltage level is in order of tens millivolts (hundreds millivolts at max). Low voltage disadvantage is compensated by relatively high supply current in order of hundreds of milliamps (1). Using thermal ambient energy is very gainful when supplying sensors which are monitoring oxygen content in the water, because during the day is the air temperature usually higher than the water temperature and at night vice versa. In addition in winter time is thermal gradient between frozen air and liquid water constant and relatively high. Another indisputable advantage against mechanic-vibration energy is lack of any moving parts. Regarding to its character, thermal power sources are stable during a long time period. Basic common feature of the power sources which using free environmental energy is discontinuous operation. Many wireless sensor systems require only low average power, which make from them front candidates for powering by energy harvesting technique. Many sensors in addition are monitoring variables with very slow process system type (for example oxygen content in water, slow temperature process etc.). That’s why the measurement can proceed discontinuously, resulting on a low duty cycle of operation correspondingly low average power requirement. For example, if a sensor system requires 3.3V at 50mA (165mW) while awake, but is only active for 100ms out of every second, then the average power required is only 16.5mW, assuming the sensor system current is reduced to microamps during the inactive time (sleep time) between transmit bursts. If the same wireless sensor only samples and transmits once per a minute instead of once a second, the average power plummets under 30μW. This difference is significant, because most forms of energy harvesting offer very little steady-state power. In case of utilizing TEG, we have got about tens of milliwatts but only in case of thermal gradient in order of few degrees.
Smart Mobile User Adaptive System with Autonomous Sensor Networks
435
The less average power required by an actual application, the more likely it can be powered by harvested energy. A typical wireless sensor system powered by harvested energy can be broken down into five fundamental blocks. With the exception of the power management block, all of these blocks have been commonly available. For example, microprocessors that run on microwatts of power (MICROCHIP nanoWAT technology), and small RF transmitters and transceivers (MICROCHIP’s MRJ24J40) that also consume very little power are widely available. Low power analog and digital sensors are also ubiquitous. The missing link in completing this energy harvesting system chain has been the power converter/power management block that can operate from one or more of the common sources of free energy. This block wasn’t able to realized until the new special MOSFET transistors with very low RDS(on) appears. This transistors has merit in rocket boost of new technologies, which are engaged in using surroundings residual energy. MOSFET transistors have no undesirable voltage decay called UCE. That’s why is possible to use power sources with voltage level about tens millivolts and accumulate little energy bursts.
Fig. 1. Supplied TEG's power dependence on temperature gradient
2 TEG (Thermo Electric Generator) Thermoelectric generators (TEGs) are simply thermoelectric modules that convert a temperature differential across the device, and resulting heat flow through it, into a
436
O. Krejcar and R. Friischer
voltage via the Seebeck efffect. The polarity of the output voltage is dependent on the polarity of the temperature differential across the TEG. Reverse the hot and cold siides of the TEG resulting to chaanges output voltage polarity. TEGs are basically Peltieer’s cells, only utilized in reverssed mode. These Peltier’s cells are made from many sm mall semiconductor blocks connected together with copper tape. We have made several tests t of selected TEGs, which have to tell us relation between the thermal gradient to TEG output power. TEG worked into constant lload (power resistor with value 0R27). 0 Results can be compared on (Fig. 1.). There were compared two t Peltier’s cells. Both of them were tested in reveerse mode. The first one has nom minal supply voltage 8.6V, the second one double the vvoltage, 15.4V. Purpose of thiss test was to tell, how wide difference in output power w will we notice. From (Fig. 1). We W can assume that cell with higher nominal voltage repport better results..
3 HW Part As a power management co omponent were chosen an integrated circuit from LINE EAR TEHCNOLOGY, LTC310 08. The LTC3108s self-resonant topology steps up frrom input voltages as low as 20 0mV. This energy harvester power source is designed for applications which are usin ng very low average power, but requiring periodic pulses of higher load current. This is i typical for intelligent sensors, which are continuouusly measure oxygen content in n water and transmit data into superior system. Oxyygen content in water is very slo ow varying variable. Therefore one measure per minutee or even hour is sufficient. Ox xygen content in water is very important parameter w with regard to life under the icee in winter season. Continuous thick ice cover may reesult into decreasing oxygen disssolved in water and mean risk for life under the water ssurface. Thermal gradient whicch is among the air and water is sufficient to power sim mple sensor and successive comp ponents. Blocks schematic of used power source is shoown on (Fig. 2).
Fig. 2. Circuit diiagram of TEG power source with two level outputs
Smart Mobile User Adaptive System with Autonomous Sensor Networks
437
The main advantage rest on self-oscillating design. Feedback loop consist of secondary transformer windings, capacitor Cosc and resistor Rosc. Without these the circuit would scarcely do its job. If the TEG generate a proper voltage spike, or the leading edge is sufficiently slope (2), the secondary winding generate much more higher voltage spike (3)(4), which opens the gate of switching MOSFET. So through the primary winding flow maximum obtainable current defined by TEG type and environment conditions. Steady state on primary side lead to no energy is flow to the secondary side, so there is no energy to power up the MOSFET’s gate (the Cosc is acting as differentiator). Transistor will switch off and the residual energy stored in primary winding creates another spike which will make the loop infinite. It is very simple and clever idea.
4 Smart Mobile User Adaptive System A smart mobile user adaptive system can be developed based on previously discussed solution. The usage of such created system can be founded in areas like large ocean remote monitoring of water quality or water currents. For example a use of remote sensor networks for monitoring of expansion of oil after sea damage (in Mexican gulf in 2010). For continental areas a similar usage can be found in monitoring of content of oxygen in fish ponds or lakes to be informed about a need to increase oxygen content in water to fish survive in winter periods. For both mentioned usage areas a 24 hours monitoring cycle is needed. Use of battery for power in such remote sensors HW solution is uneconomical because there is a need of hundreds or thousands of sensors with a final price of several dollars.
5 Conclusion Problems examined above reflect the possibilities which we have, when designing energy harvester. Water environment is suitable for heat based energy harvesters. Relatively constant thermal gradient and high heat capacity of water guarantee good conditions to running sensors array. Described power source can supply one intelligent sensor with measure frequency about one per minute. By using more powerful TEGs or their cascade connection we can achieve much more power. Power management basis will stay the same, with few minimum modifications.
Acknowledgement This work was supported in part by (1) „Centre for Applied Cybernetics“, Ministry of Education of the Czech Republic under project 1M0567, (2) „SMEW – Smart Environments at Workplaces“, Grant Agency of the Czech Republic, GACR P403/10/1310, (3) „SCADA system for control and monitoring of processes in Real Time“, Technology Agency of the Czech Republic, TACR, TA01010632 and (4) "User Adaptive Systems", VSB - Technical University of Ostrava under project SP/2011/22.
438
O. Krejcar and R. Frischer
References 1. Technology, Linear. Wireless Remote Sensor Application Powered From A Peltier Cell. LT Journal of Analog Innovation (April 2010) 2. Ultralow Voltage Energy Harvester Uses Thermoelectric Generator. LT Journal of Analog Innovation, 1–11 (October 2010) 3. Krejcar, O., Frischer, R.: Non Destructive Defects Detection by Performance Spectral Density Analysis. Journal Sensors, MDPI Basel 11(3), 2334–2346 (2011) 4. Krejcar, O.: Problem Solving of Low Data Throughput on Mobile Devices by Artefacts Prebuffering. EURASIP Journal on Wireless Communications and Networking, Article ID 802523, 8 pages (2009), doi:DOI 10.1155/2009/802523 5. Brida, P., Machaj, J., Duha, J.: A Novel Optimizing Algorithm for DV based Positioning Methods in ad hoc Networks. Elektronika Ir Elektrotechnika (Electronics and Electrical Engineering) 1(97), 33–38 (2010) ISSN 1392-1215 6. Cerny, M., Penhaker, M.: Biotelemetry. In: IFMBE Proceedings 14th Nordic-Baltic Conference an Biomedical Engineering and Medical Physics,, Riga, Latvia, June 16-20, vol. 20, pp. 405–408 (2008) 7. Tucnik, P.: Optimization of Automated Trading System’s Interaction with Market Environment. In: 9th International Conference on Business Informatics Research, Univ. Rostock, Rostock, Germany. LNBIP, vol. 64, pp. 55–61 (2010) 8. Mikulecky, P.: Remarks on Ubiquitous Intelligent Supportive Spaces. In: 15th American Conference on Applied Mathematics/International Conference on Computational and Information Science, pp. 523–528. Univ. Houston, Houston (2009) 9. Krejcar, O., Janckulik, D., Motalova, L.: Complex Biomedical System with Biotelemetric Monitoring of Life Functions. In: Proceedings of the IEEE Eurocon 2009, St. Petersburg, Russia, May 18-23, pp. 138–141 (2009), doi:10.1109/EURCON.2009.5167618 10. Cerny, M., Penhaker, M.: The Circadian Cycle Monitoring. In: Conference Proceedings Conference Information: 5th International Summer School and Symposium on Medical Devices and Biosensors, Hong Kong, PEOPLES R CHINA, June 01-03, pp. 41–43 (2008) 11. Augustynek, M., Penhaker, M., Korpas, D.: Controlling Peacemakers by Accelerometers. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 161–163. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-7695-3982-9, DOI: 10.1109/ICCEA.2010.288 12. Pindor, J., Penhaker, M., Augustynek, M., Korpas, D.: Detection of ECG Significant Waves for Biventricular Pacing Treatment. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 164–167. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9, DOI: 10.1109/ICCEA.2010.186 13. Labza, Z., Penhaker, M., Augustynek, M., Korpas, D.: Verification of Set Up DualChamber Pacemaker Electrical Parameters. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 168–172. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9., DOI: 10.1109/ICCEA.2010.187 14. Krawiec, J., Penhaker, M., Krejcar, O., Novak, V., Bridzik, R.: Web System for Electrophysiological Data Management. In: Proceedings of 2010 Second International Conference on Computer Engineering and Application,s ICCEA 2010, Bali Island, Indonesia, March 19 -21, vol. 1, pp. 404–407. IEEE Conference Publishing Services, NJ (2010) ISBN 978-07695-3982-9, DOI: 10.1109/ICCEA.2010.85
Reduction of Player’s Weight by Active Playing Using Motion Sensors Ondrej Krejcar1,2 and Dalibor Janckulik2 1
University of Hradec Kralove, FIM, Department of Information Technologies, Rokitanskeho 62,Hradec Kralove, 500 03, Czech Republic [email protected] 2 VSB Technical University of Ostrava, Center for Applied Cybernetics, Department of Measurement and Control, Faculty of Electrical Engineering and Computer Science, 17. Listopadu 15, 70833 Ostrava Poruba, Czech Republic [email protected]
Abstract. This project was inspired by the idea of the connection of amusement and useful thing respectively the movement by the playing games, because as is known global problem of the Word is increasing obesity caused by the addiction on the PC games at the young people. This project connects pleasurable with useful, respectively playing of the game with physical effort. By the help of the accelerometer is possible to handle by simple games to whose operating is needed physical impulsion of the player. After it would be possible to take up on this project by the beat measurement of the player in order to check on effectivity of the suggested system. Software was programmed in background C#. Keywords: accelerometer; weight reducing; mobile device, C#.
1 Introduction This project is engaged in the interconnection of physical effort and playing of the games of mobile equipments in order to reduce the weight of the player. Is necessary to scan the movement of the whole body or its parts that in this project simulates hardware controlling elements. About that will care electronic component called accelerometer. Accelerometer is an appliance that measures vibrations or acceleration by the movement of the structures (constructions, parts of the machine etc.) The power causing vibrations or the change of the movement (acceleration), effects on the mass of the sensor, that than overpress piezoelectric element generating electric charge comparable to compression. Becouse the electric charge is comparable to energy and the mass of the sensor is constant, so also electric charge is comparable to acceleration [1]. By the accelerometer is possible to measure dynamic acceleration of the gravitation resulting from the movement of the player [2]. We can imagine accelerometer as a box that is in cosmic area – far- far from all of the cosmic orbs, or if is difficult to find such place, so at least as space ships orbiting over the planet, where everything is in weightlessness. Imagine every wall is sensible on the pressure. If we will at once move by the field on the left (we will speed up M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 439–446. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
440
O. Krejcar and D. Janckulik
acceleration 1g = 9,8 m/s 2), the ball will get at on the wall – X. We measure compressive energy and the output value on the axe X, that evolves the ball/ globule touching the wall [3]. For the practical realization was chosen linear 3-axes ( x ,y ,z) accelerometer LIS3LV02DQ with digital exit and communication up to bus I2C/SPI. The information obtained by the accelerometer can be transferred to the PC after the three communication interfaces. The first one parallel port, but that is rather outdated, and newer PCs are free. Another option is the serial port, after which it is not so difficult to communicate as after USB version for the third time. By using of the communication USB interface would be necessary to develop hardware that would be required to obtain information about location of the users hand from accelerometer, convert it to a data packed, and that send over USB. The development of that hardware is quite a complicated and too much time-consuming, when nowadays is ordinary converter between serial port and USB. From that follows that it is preferable to use serial communication interface. Standard RS-232, respectively the latest version of the RS-232C, from 1969, (also the serial port or serial line) is used as the communication interface of personal computers and other electronics. RS-232 allows connection and mutual serial communication between two devices, it means that the individual bits of transmitted data are transmitted in successively on after another (in series) over a single wire, similarly as by the network technology. Ethernet or USB interface [4]. In this paragraph have been described resources that would be used to build electronic equipment in order to reduce the weight of playing games on mobile devices. For laboratory testing will be used mobile transmission equipment HTC Touch HD with just built-in accelerometer. By these devices motion sensor isn´t used just to recording the screen of display, but also to facilitate the control of various applications, without the use of buttons, both hardware and software. Method GetGvector returns the vector that describes the direction of gravitation and acceleration in relation to the device screen. When the unit face up on a flat surface methods are returned to quality 0, 0, -9.8. The value of -9.8 implies that the acceleration is in the opposite direction of the screen orientation. If the device is standing method returns to 0, -9.8, 0. The quality Y -9.8 means that the appliance accelerates in the direction of the bottom of the screen. Conversely, if the device is held upside down method returns 0, 9.8, 0 [5]. The values measured by an accelerometer, are than visualized by the application in this case the game that was written in Visual Studio 2008 C # for Windows Mobile platform. The application simulates acts as a jump, and the frequency of jumps over certain time. This game can play two or more players who compete with each other. The problem with the conversion of measured values from the accelerometer can occur with improper handling with mobile devices.
2 Problem Definition The movement effects on development-development effects on the move, thanks to the modern era full of technological innovations that lead to a reduction of movement and to decrease of physical exertion, is an irreplaceable factor for many companies to develop physical activity in gaming, which is directly linked to that to give physical
Reduction of Player’s Weight by Active Playing Using Motion Sensors
441
proficiency. This combination of nice with useful leads to targeted result, respectively to weight loss of players during playing the games. There are many games that needs physical exertion such as dancing simulators, virtual broad jump or mobile applications that by the help of accelerometer response on the tilt of mobile device as at the game „Cube Runner“ , a simple game developed for iPhone mobile, iPhone 3G, iPod Touch. Controlled is the ship (arrow), which travels through a maze of cubes. To passing game is needed a ship without hitting the dice to the finish line. In this game control is very sensible, just very little to tilt the ship. Control is provided by a built-in accelerometer. This game does not always bring such a great effect as the movement of player, it is de facto all about tilting of a mobile device [6]. Another way to move by playing games is using detection by help of 3D camera. The company Mgestyk presented the technology that allows you to control your computer just through simple gestures. It recognizes gestures by using 3D camera and can work with the most of programs under the Windows. It is about controlling your computer by using only hand gestures. You don´t need any peripherals like a mouse or keyboard. Just to connect special camera and buy special software by Mgestyk. There is no need to use sweeping gestures. It´s enough with saving moves by just one hand, in some cases you will use both. It is not known if some applications are so complicated that you would use also the legs, but if it happens, it will be especially the excesses. But the technology by itself in any case isn´t the excess. It should manage any application running under the Windows, and so in the full range of its possibilities. If you will learn to gesture and control computer by that, you will have no limits in its control [7]. iPhone 4 offers the games that are controlled by a gyroscope. You might ask why you should be interested in data from the gyroscope, while accelerometer provides directive angles in all of three axes. The answer is simple – we can´t always rely on the accelerometer. The results, even if the accelerometer is in a relatively stable position, are very sensitive to vibrations and to mechanical noise at all. This is the main reason why the most of the system for the measurement of inertial force uses a gyroscope to annihilation of errors of the accelerometer [8]. All of these methods how to achieve the movement of players by playing games have something good in itself and also some imperfections. In this project, when will be developed simple but effective game where the player will develop a physical activity and so that the mobile device THC Touch HD has just built-in accelerometer, which will be mounted on the body will do “sit-lye“. The device will record the change in the tilt angles according to the number of changes within a given range. The result will be displayed on the display of the device. This game will play one or more players.
3 Developed Software Parts of Platform In this chapter we introduce with a specific solution. Developed applications for mobile device HTC Touch HD have the task of using G sensor, which is part of the device, scan the body position when performing the exercise (or movement in the simulation, simply by tilting the mobile device) called sit-lying. There are several
442
O. Krejcar and D. Janckulik
types of sit-lying. One of them is that at the exercise, we lie on the ground. When sitting-lying, we lie on your back, bend the legs at the knees and feet push against the ground and hands can be in the rear. The movement begins slowly lift the upper torso from the ground through a rounded back. The scapulae should be lifted from the ground, while the lower back remains on the ground. In the second phase, the body return to its original position, but is not running the floor. During the exercise, it is necessary to maintain a neutral position of the cervical spine and regular breathing (stroke-touch return - exhale). Another type is to do sit-supine on an inclined bench. Lie on the bench upside down. The greater the slope, the greater burden. Slowly we lift the hull and hands crossed on his chest. The exercises on a inclined bench with his own body weight (you can add ballast in the form of wheel weights - it keeps on the chest) is graded load - the heaviest at the beginning of the exercise, when we were the lowest - surpass the greatest weight. This can be used during exercises tops - at the end of the exercise will remain in the down position and only a very short and slow movements up and down the muscles maximally heating up - here but watch out for injuries - strained or torn abdominal muscle and make it impossible for a few weeks of any workout! For better practice oblique muscle while moving up the appropriate body turns slightly left and right dial. The structure features is shown in (Fig.1). Body of a program is a form on which the controls are initialized in the method FrmToCondition() and Initialization(). In the form is included TabControl, in which are two TabPages. In one are the elements of control and in the second are instructions. The main form (TabPage_1), are the following controls: The first is the ComboBox, which is used for the selection of activity (not implemented versions of choice for more activities). The second is the NumericUpDown-nudInterval-determined interval measurementactivity. One of the other Labek, one of the major is one that displays the number of repetition scores. Button-btnStart-used to start the exercise. Label-lblTime-The label displays the time practice starts and the time during which the exercise is conducted. PictureBox, PictureBox PictureBox3-in are two pictures that demonstrate the movement. Label - label6 this label displays the angle of rotation. After initialization, the application will serve the main form load event FrmToConditional_Load. Here we set the head of file that is used for storing the measured values from the G sensor. Event btnStart_Click used to initialize the element values before you start exercising. The method included features DataTime system time to recover. Next run timer, which is primetime for the calculation. The event includes timer1_Tick as mentioned above calculation principle. If the time of exercise not equal to the system time + TimeInterval program continues the calculation otherwise, the info about the end of exercise. If the angle is greater than 50 and less than 150 in the BUP is changed from FALSE to TRUE. This applies to the situation when the angle increases. If the angle is greater than150 or less than 50 in bDown changes false to true. If both achieve both truei32Counetrer + +. Then BUP and bDown back to false. If-it will be when the angle of growth of less than50 and will fall again BUP'll always be in the condition is false, because the condition is not complete, which is such that for changing the status true, we need a angle greater than
Reduction of Player’s Weight by Active Playing Using Motion Sensors
443
50 and less than 150. This problem may occur for example when it is wrong to tutor training. In the eventbtnStart_click is contained in a file and saving. In the latest incident is resolved CloseMenu_Click quit. DialogResult, remembers what it was last pressed, then ask if dr == DialogResult if so, that application shall be terminated if not return.
Fig. 1. Application Structure
The project is ready for further enlargement exercises. You need only get the code for the next exercise, therefore, is to write the formula for calculating algorithm danny issues such as handles and add the application graphically.
4 Implementation This chapter will talk about how to implement new solutions. The application was developed using C # language compatible. NET in Visual Studio2010 from Microsoft. The application was created in the GUI, a graphical user interface library, in this case for mobile devices (mobile service). Were used as traditional components as Button, Label, PictureBox and components that run in the background like Timer and main
444
O. Krejcar and D. Janckulik
menu. HCT_X7500 Mobile devices connected over USB to the PC and the connection and synchronize via ActiveSync program to play into the mobile device. You can then disconnect the mobile device from your PC and run the actual applicationHTC_X7500. Pressing the ToCondition application starts and loads the graphics window (Fig.2).
Fig. 2. Application GUI
After setting an interval workout that is every one minute, for example as shown in (Fig.2) user need to press Start. When pressed on the upper right shows the time when the end of the exercise.
Fig. 3. Time Machine view (top)
After opening exercises the next time when the exercise will end the current time (Fig.3), a time that flows in real time and stops on a time basis, which is set to start after the Start button. After opening exercises the next time when the exercise will end the current time (Fig.3), a time that flows in real time and stops on a time basis, which is set to start after the Start button.
Reduction of Player’s Weight by Active Playing Using Motion Sensors
445
5 Testing of Developed Application This chapter deals with the testing and applications created by comparing the results from other authors. Given that a similar application for mobile devices has been found will be tested only in testing applications developed. Task was to create an application for mobile devices, which already includes a built-in accelerometer (G sensor). In this project, namely HTC_X7500. As a first test were tested, which took place after the first measurement interval setting exercise 1 minute and then another, without that application has been turned off. This means that after 1 min when it was done 34 Sit-Lying as the chart shows (Fig,4). Valid Sit-Lie is one that is in the range of 50 – 150. The second measurement was performed five Sit-Lies, as shown in the chart at the end (Fig, 4).
Fig. 4. Repeated exercises
Red dots represent unsuccessful attempts. The conclusion was one counted, because it met the set range.
6 Conclusion On this project we tried to work with the accelerometer control in the mobile deviceHTC_X7500. So everything related to getting from the accelerometer data from the device to communicate. We also tried working with graphics for mobile devices in mobile servicing and discovered some new features and commands. Utilization of this project is such that at practice, we can concentrate fully on the exercises and you do not guard interval exercise or count the number of repetitions. The application was designed more as a game and therefore serves to entertain, such as two or more people who do much for the lying-sit any unit of time. The application is ready, maybe in the future to extend to more activities such as push-ups and the like. It would be enough only to write up the algorithm and compute and modify graphics window.
446
O. Krejcar and D. Janckulik
Acknowledgment. This work was supported in part by (1) „Centre for Applied Cybernetics“, Ministry of Education of the Czech Republic under project 1M0567, (2) „SMEW – Smart Environments at Workplaces“, Grant Agency of the Czech Republic, GACR P403/10/1310 and (3) "User Adaptive Systems", VSB - Technical University of Ostrava under project SP/2011/22. We also acknowledge support from student Marek Smolon.
References 1. Augustynek, M., Penhaker, M., Korpas, D.: Controlling Peacemakers by Accelerometers. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 161–163. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-7695-3982-9, DOI: 10.1109/ICCEA.2010.288 2. Krejcar, O., Frischer, R.: Non Destructive Defects Detection by Performance Spectral Density Analysis. Journal Sensors, MDPI Basel 11(3), 2334–2346 (2011) 3. Krejcar, O.: Problem Solving of Low Data Throughput on Mobile Devices by Artefacts Prebuffering. EURASIP Journal on Wireless Communications and Networking, Article ID 802523, 8 pages (2009) DOI 10.1155/2009/802523 4. Brida, P., Machaj, J., Duha, J.: A Novel Optimizing Algorithm for DV based Positioning Methods in ad hoc Networks. Elektronika Ir Elektrotechnika (Electronics and Electrical Engineering) 1(97), 33–38 (2010) ISSN 1392-1215 5. Tucnik, P.: Optimization of Automated Trading System’s Interaction with Market Environment. In: 9th International Conference on Business Informatics Research. LNBIP, vol. 64, pp. 55–61. Univ. Rostock, Rostock (2010) 6. Mikulecky, P.: Remarks on Ubiquitous Intelligent Supportive Spaces. In: 15th American Conference on Applied Mathematics/International Conference on Computational and Information Science, pp. 523–528. Univ. Houston, Houston (2009) 7. Krejcar, O., Janckulik, D., Motalova, L.: Complex Biomedical System with Biotelemetric Monitoring of Life Functions. In: Proceedings of the IEEE Eurocon 2009, St. Petersburg, Russia, May 18-23, pp. 138–141 (2009) DOI 10.1109/EURCON.2009.5167618 8. Pindor, J., Penhaker, M., Augustynek, M., Korpas, D.: Detection of ECG Significant Waves for Biventricular Pacing Treatment. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 164–167. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9, DOI: 10.1109/ICCEA.2010.186 9. Labza, Z., Penhaker, M., Augustynek, M., Korpas, D.: Verification of Set Up DualChamber Pacemaker Electrical Parameters. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 168–172. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9., DOI: 10.1109/ICCEA.2010.187 10. Brad, R.: Satellite Image Enhancement by Controlled Statistical Differentiation. In: Innovations and Advances Techniques in systems, Computing Sciences and Software Engineering, International Conference on Systems, Computing Science and Software Engineering, ELECTR NETWORK, December 03-12, pp. 32–36 (2007)
Use of Neural Networks Library for Material Defect Detection Diagnosis Ondrej Krejcar 1
University of Hradec Kralove, FIM, Department of Information Technologies, Rokitanskeho 62,Hradec Kralove, 500 03, Czech Republic [email protected] 2 VSB Technical University of Ostrava, Department of measurement and control, 17. Listopadu 15, 70833 Ostrava Poruba, Czech Republic [email protected] Abstract. Aim of this project is to prepare support for design and realization of application, which is developed in object orientated programming language C#. This application classifies data that are obtained within industrial processes. Data used in this project was received during measurement of material diagnostics and its structural defects. Core of developed application is based on neural networks design, which is capable to classify whether the material has defect or not. Before classification itself it is necessary to set structural parameters of the neural network to obtain a good quality results. Afterwards application outputs are compared with outputs from Statistica programme, which is also used for classification purposes. Keywords: artificial neural networks, supervised learning, AForge.Neuro, material diagnostics, Statistica programme.
1 Introduction Neural networks as part of artificial intelligence issue, is quickly evolving branch of computer engineering, which allows solving tasks that would have (when used conventional computing algorithms) high performance requirements on computing power because of the complex mathematical description. Generally many real tasks can be solved by linear models described by complicated mathematics, usually systems of inhomogeneous differential equations. Realization of this kind of solutions is often time consuming, sometimes even impossible because of too complex mathematical description [3]. To design solution even for this complicated tasks, neural networks were developed during 20th century. Neural networks are a non-linear models that allows to solve specific tasks from almost all areas of engineering. Many artificial neural networks architectures were developed since the first moments of their introduction. Practical usage of these various architectures is very broad and many tasks may be solved by them. 1.1 Basic Elements of the Neural Networks In principle each of these neural networks architectures has basically one element in common. This element is called neuron. Neuron in computer environment is very M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 447–454. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
448
O. Krejcar
similar to its biological pattern. It can be imagined as object with many inputs and only one output. Every input has its own weight value which is important for defining of the priority during neural processing. Another basic element of the neuron is its threshold which determines input values needed to activate neuron processing so that it can work as designated [3]. Last basic element of the neuron is its transfer function which determines the way of neuron processing. Output value of the neuron is computed by this transfer function which transfers input values combined by threshold. There are many kinds of transfer functions used in application based on neural networks. The most common transfer function is threshold function or sigmoid. Details of this transfer function will be provided in other chapters of this project. Architecture of the artificial neural network which uses only one neuron is called perceptron. This architecture can classify only to two classes, that’s why it is used rarely in practical applications [1]. For the real purposes the architecture composed of more neurons is used. These neurons are set in layers. In principle there are three layers: input layer, hidden layer and output layer. Input layer’s task is to adjust raw input data so that it can be computed by the rest of the neural network afterwards. Hidden and output layers are computing power of the application [4]. Details of this kind of neural network architecture will be provided hereinafter. 1.2 C# Neural Networks Library Support for the solution of this project in .NET framework is C# neural network library which was introduced by the British programmer Andrew Kirillov in 2006. Kirillov won the prize of the Codeproject.com server [5]. This library contains a huge amount of classes and objects that can be used for design of the various architectures of the artificial neural networks. Programmer also attached some demonstrative application developed in library which shows the principles of neural networks design.
2 Problem Definition Many methods and algorithms are applied in material diagnostics issue nowadays. Some of them are very precise and are able to diagnose materials correctly, some are less efficient when determining required material properties. An important subset of diagnostics is material defects diagnostics. Researchers from VSB Technical University of Ostrava came up with a defect diagnostics method which uses the emission of pulses which are fetching to the diagnosed body. Accelerometers then measure the body’s response to these pulses. Obtained data is transformed by Fast Fourier Transformation and modified by filters in MATLAB afterwards [2]. Adjusted data is needed to be computed by an instrument, which allow researchers to classify the material as convenient or inconvenient. Statistica programme developed by Statsoft company has been this classification instrument so far. This commercial software contains neural network’s design and can be used for classification purposes. Aim of this project is to substitute this commercial software by application that works in .NET framework as less expensive possibility of classification of the measured, adjusted and modified data.
Use of Neural Networks Library for Material Defect Detection Diagnosis
449
Fig. 1. Measurement network scheme [2].
Essence of the whole problem is classification of the material diagnostics. It is required that from the programme outputs is possible to assess whether the material has defects and if so, what kind of defect that would be. When designing the architecture of the neural network it is necessary to take into consideration, that there has to be as many neurons in input layer as the count of the classes of input samples. The neurons count in the hidden layer is needed to find out empirically. The neurons count in the output layer is equal to count of classes in which the input data is classified. Architectures with so called supervised learning algorithms are implemented for the classification purposes. In these architectures it is necessary to learn designed neural network for the first time with some reference data (samples of measurement materials with no defects), so that the neural network can recognize whether the other samples are obtained from materials with defects of without defects.
Fig. 2. Three-layer neural network.
450
O. Krejcar
2.1 Supervised Learning Process In principle the supervised learning process of the multi-layer neural networks runs method of setting the neurons input’s weights to random values, usually in the range from 0.1 to 0.3. As transfer functions the threshold functions are usually applied for the first time learning. Number of iterations is set. This count determines the length learning process. The reference data is then submitted to the neural network’s inputs. In these data the correct output values are known. After that the learning process begins. During this process the input’s weights, thresholds and transfer functions of neurons in all layers are set. The first settings usually take place in input layer. The aim of this part of the learning process is to set the neural network’s parameters so that the errors in comparison to required values in output values are minimalised. A certain count of iterations runs through. After that it is necessary to check whether the error’s values are in range of tolerance which depends on the chosen type of the neural network or on type of the application. If there are still too high errors, the learning process runs through again until the required range of tolerance is achieved. It is possible that after running through the all preset iterations the neural network is not learned in a good quality [4]. In such cases it is necessary to take into consideration of reset the values of weights and transfer functions before the learning process begins. As soon as the neural network is learned in sufficient quality, the process of validation and testing takes place. The learning set of samples serves for searching the neural network model, the validation set for model validating and testing set for testing usability of model [8]. For the purposes of diagnostics the three-layer neural network architecture is implemented in Statistica programme. This architecture is based on perceptron learning process, however there are more neuron in this architecture (in comparison to typical perceptron architecture), neurons are spread into three layers. 2.2 Perceptron Learning Algorithm • • • •
Values of the weights are randomized If the output is correct, the weights don’t change If the output value is supposed to be equal to 1, but it’s 0, weights of the active inputs are incremented. If the output value is supposed to be equal to 0, but it’s 2, weights of the active inputs are decremented.
Inputs are active when its value on inputs above threshold has non-zero value. Quantity of weight’s values change (when incrementing or decrementing) depends on the chosen option: • • •
Solid additions are applied when incrementing or decrementing Addition’s values change depends on error values. It is convenient the increase them when the error is higher and conversely. This speed-up convergence can lead to learning inability. Variables and non-variables are combined depending on error [1].
Use of Neural Networks Library for Material Defect Detection Diagnosis
451
Although the network is based on perceptron learning system, it acts like a multi-layer network. 2.3 Elementary Properties of Multilayer Neural Networks Let φ: RM (input) => RN (output) be a continuous mapping, then hidden layers and weights (thresholds) values can be found in such way that φ is realised by this network with arbitrary precision [3]. If some network (its weights) exists to such arbitrary continuous mapping φ, it is possible to find x to approximate value y ≅ φ(x) by this algorithm: •
• • •
to the inputs of neurons in input layer values of all all elements of vector x are submitted. Outputs of neurons in input layer obtain values yi = xi, i = 1,…, m, and are transferred along the lines with weights, which are marked wji to the inputs of all k-neurons of hidden layer (j = 1, …, k) these values are computed by neurons from the hidden layer to its response and proceed them to inputs of the neurons in higher layer this activity is continuously spread until from the output layer neuron the response vector x of the entire network y is created.
3 New Solution This chapter is devoted to detailed description of the C# neural network library, which, as aforesaid, is possible to use for design of application that classifies outputs of spectral analysis of material diagnostics. Library AForge.Neuro.dll is based on Microsoft Visual Studio Solution called AForge, which contains elementary classes, methods, components and other elements that can be used not only for design of neural networks, but even for design genetic algorithms, fuzzy systems, image processing, robotics and many other practical applications. AForge.Neuro.dll namespace contains interface and classes for computing purposes of neural networks. Following description of all classes that are contained in the library helps for better insight of neural network architectures design. 3.1 Classes in AForge.Neuro Library Neuron class is elementary class of the whole library. Method Neuron has only one input parameter in its argument which is count of neuron’s inputs. This class also contains vector of all neuron inputs weights and one output variable. After neuron is created, all its input weight values are set by Randomize method. The range of these randomized values is from 0 to 1. Weight value are during following learning process changed, so that the results and its errors are minimalised. Layer class is basically similar to Neuron Class and summarizes common functions of all neural layers. In this class particular parameters of the whole layer are determined, that means count of neurons in layer, overall count of layer inputs. Resulting vector of layer outputs is generated by using method Compute.
452
O. Krejcar
In standard practice is Network class the most popular class. If some specific kind of neural network architecture ought to be implemented, it is necessary to include this class and extend it with required parameters of given architecture, e.g. Kohonen selforganizing maps that are capable to recognize colors. Network class contains declaration of overall number of inputs to neural network, number of layer in network and number of neurons in each layer. From this generally designed class inherits classes ActivationNetwork and DistanceNetwork, which can be used for particular design of applications.
Fig. 3. Sigmoid progression [7].
3.2 SigmoidFunction Class SigmoidFunction class which implements non-linear sigmoid with 0 to 1 range is much more common. Presicion of neural network learning depends on its steepness that is defined as λ = tg α. In this class default setting of λ value is 2. It is possible to change this value if the neural network is not trained in a good quality.
4 Conclusions In this project we provided support for the design and realisation of application developed in object orientated programming language C#, which will classify data obtained on basis of the material defects diagnostics. The application implements three layer perceptron architecture that was so far used pro classification purposes in commercial programme Statistica. After realization of this application it will be possible to substitute Statistica programme. Support for programming of the application is C# neural network library called AForge.Neuro.dll, which was introduced on codeproject.com server by programmer Andrew Kirillov in 2006. Author of this library reserves rights to its usage and it is forbidden to use it for the commercial purposes without his agreement. When compiling the theoretical part of this work, we used particularly expert materials focused on neural networks and we understood the basic principles of their
Use of Neural Networks Library for Material Defect Detection Diagnosis
453
design. As far as my opinion is concerned, we think that the future of neural network is very perspective, because very complicated and complex tasks can be solving by these algorithms. Acknowledgement. This work was supported in part by (1) „Centre for Applied Cybernetics“, Ministry of Education of the Czech Republic under project 1M0567, (2) „SMEW – Smart Environments at Workplaces“, Grant Agency of the Czech Republic, GACR P403/10/1310, (3) „SCADA system for control and monitoring of processes in Real Time“, Technology Agency of the Czech Republic, TACR, TA01010632 and (4) "User Adaptive Systems", VSB - Technical University of Ostrava under project SP/2011/22. We also acknowledge support from student Jakub Hlavica.
References 1. Jirsik, V., Horacek, P.: Neural networks, expert systems and speech recognition. Study support FEKT VUT, 7–46 2. Krejcar, O., Frischer, R.: Detection of the Internal Defects of Material on the Basis of the Performance Spectral Density Analysis. Journal of Vibro Engineering 12(4), 541–551 (2010) 3. Krejcar, O.: Problem Solving of Low Data Throughput on Mobile Devices by Artefacts Prebuffering. EURASIP Journal on Wireless Communications and Networking, Article ID 802523, 8 pages (2009) DOI 10.1155/2009/802523 4. Neural Networks in Statistica program (2010), http://www.statsoft.com/textbook/neural-networks/ (quoted 3/11/2010) 5. Neural Networks on C# - The Code Project 1(November 9,2006), http://www.codeproject.com/KB/recipes/aforge_neuro.aspx (quoted 25/10/2010) 6. Krejcar, O., Janckulik, D., Motalova, L.: Complex Biomedical System with Biotelemetric Monitoring of Life Functions. In: Proceedings of the IEEE Eurocon 2009, St. Petersburg, Russia, May 18-23, pp. 138–141 (2009) DOI 10.1109/EURCON.2009.5167618 7. Mikulecky, P.: Remarks on Ubiquitous Intelligent Supportive Spaces. In: 15th American Conference on Applied Mathematics/International Conference on Computational and Information Science, pp. 523–528. Univ. Houston, Houston (2009) 8. Krejcar, O., Frischer, R.: Non Destructive Defects Detection by Performance Spectral Density Analysis. Journal Sensors, MDPI Basel 11(3), 2334–2346 (2011) 9. Brida, P., Machaj, J., Duha, J.: A Novel Optimizing Algorithm for DV based Positioning Methods in ad hoc Networks. Elektronika Ir Elektrotechnika (Electronics and Electrical Engineering) 1(97), 33–38 (2010) 10. Augustynek, M., Penhaker, M., Korpas, D.: Controlling Peacemakers by Accelerometers. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 161–163. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-7695-3982-9, DOI: 10.1109/ICCEA.2010.288
454
O. Krejcar
11. Pindor, J., Penhaker, M., Augustynek, M., Korpas, D.: Detection of ECG Significant Waves for Biventricular Pacing Treatment. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 164–167. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9, DOI: 10.1109/ICCEA.2010.186 12. Tucnik, P.: Optimization of Automated Trading System’s Interaction with Market Environment. In: 9th International Conference on Business Informatics Research. LNBIP, vol. 64, pp. 55–61. Univ. Rostock, Rostock (2010) 13. Labza, Z., Penhaker, M., Augustynek, M., Korpas, D.: Verification of Set Up DualChamber Pacemaker Electrical Parameters. In: 2010 The 2nd International Conference on Telecom Technology and Applications, ICTTA 2010, Bali Island, Indonesia, March 19-21, vol. 2, pp. 168–172. IEEE Conference Publishing Services, NJ (2010) ISBN 978-0-76953982-9., DOI: 10.1109/ICCEA.2010.187
Multi-sensor Measurement Fusion via Adaptive State Estimator Li-Wei Fong No. 168, Shiuefu Rd., Tanwen Village, Chaochiao Township,36143 Miaoli, Taiwan [email protected]
Abstract. An adaptive state estimator is developed to fuse the measurements extracted from multiple sensors for tracking the same maneuvering target. The proposed approach consists of Multi-Band Standard Kalman Filter (MBSKF) and a learning processor. Based on Bayesian estimation scheme, the likelihood function of learning processor can be approximated by the Gaussian basis function whose smoothing factor is related to the estimated bandwidth by taking an average of innovation error covariance matrices of MBSKF. Based upon learning processor and MBSKF, adaptive state estimation is extended to handle the switching plant in the multi-sensor environment. The simulation results are presented which demonstrate the effectiveness of the proposed approach. Keywords: Measurement fusion, adaptive state estimator, learning processor.
1 Introduction In the modern surveillance systems, multi-sensor data fusion algorithms have been applied to many fields such as air traffic control, tactical weapon defense, and C3I (Command, Control, Communication and Intelligence) systems where measurements extracted from multiple sensors are used to estimate the states (position, velocity, and acceleration etc.) of the moving objects [1]. Tracking targets by fusing measurements from Standard Kalman Filter (SKF) in a central level fusion process (a global estimation process) is acknowledged to be one of the most powerful tracking techniques [2]. It is known that the target dynamics may vary rapidly. Using only one single-level of process noise, the SKF can be resulted in performance degradation. In order to accommodate the possibly varying accuracy requirement, different levels of system process noise are required for the adaptation of state estimator. In the literature, a few adaptive approaches [3], [4], [5] introduced to overcome the filtering dilemma were to use a group of two parallel filters set up for two different models, namely, the system process noises of narrow bandwidth and wide bandwidth. In this paper, we extend the works of [6] and [4] by using Multi-Band SKF (MBSKF) and the learning processor to develop an Adaptive State Estimator (ASE) for central measurement fusion, as shown in Fig. 1.
M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 455–462. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
456
L.-W. Fong
Fig. 1. The adaptive state estimator in the measurement fusion center.
In particular, a semi-Markov process is incorporated into the learning processor this ensuing adaptive bandwidth capability, that is, the abilities to switch between low-level-band SKF in the absence of maneuvers and middle- or high-level-band SKF in the presence of maneuvers or very highly skilled maneuvers. Hence, the learning processor becomes an unsupervised Bayesian learning algorithm [7]. The resulting estimator makes natural for target tracking that provides significantly better tracking performance than each individual SKF.
2 Adaptive State Estimation In this section, the target model, measurement model, and the computational structure of the measurement fusion center are described. In the fusion center, the estimation architecture of ASE is divided into two parts, MBSKF and learning processor. The candidate central fused estimates are produced by the MBSKF. The learning processor is used to generate the model probabilities to classify which one of the candidate estimates for output. Meanwhile, Bayesian estimation scheme of ASE is developed and briefly outlined. 2.1 Target and Measurement Models Consider a dynamical target which is tracked by a multi-sensor system. Assume that the target dynamics can be modeled by one of M hypothesis models. The model set is
Multi-sensor Measurement Fusion via Adaptive State Estimator
457
denoted as ΨM := {1,2, …, M } . The event that model j is in effect during the sampling
period (k,k+1] is denoted by α kj+1 . For the j-th hypothesized model α kj+1 , the target dynamics and the N sensor measurements are modeled by the following discrete-time state-space model: xk +1 = Φ kj xk + Γkj wkj ,
j = 1,2, … , M
(1)
z ki +1 = H ki +1 xk +1 + vki +1 ,
i = 1,2,… , N
(2)
where xk is nx -dimensional state vector, Φ kj is the state transition matrix, Γkj is input matrix, z ki is the n z -dimensional measurement vector of the i-th sensor, and H ki is the observation mapping matrix. The wkj and vki vectors are assumed to be zeromean, white sequences with known covariance matrices. The covariance matrices for the wkj and vki vectors are given by cov[wkj , wlj ] = Qkjδ kl and cov[vki , vli ] = Rki δ kl
(3)
where the Kronecker delta δ kl = 0 for k ≠ l and δ kl = 1 for k = l . The two noises are also assumed to be uncorrelated as cov[wkj , vli ] = 0,
∀k , l .
(4)
By measurement fusion, the N sensor models can be integrated into following single model: z k +1 = H k +1 xk +1 + v k +1
(5)
where z k +1 = [( z1k +1 ) T , ( z k2+1 ) T , H k +1 = [( H k1+1 ) T , ( H k2+1 )T , v k +1 = [(vk1 +1 ) T , (vk2+1 ) T ,
, ( z kN+1 ) T ]T ,
(6)
, ( H kN+1 ) T ]T , , (vk3+1 ) T ]T ,
R k +1 = cov[ v k +1 , v k +1 ] = diag[ Rk1+1 , Rk2+1 ,
, RkN+1 ].
(7)
(8)
(9)
458
L.-W. Fong
2.2 Multi-Band Standard Kalman Filter
Given the system model described by (1) and (5), the MBSKF is based on a bank of M parallel standard Kalman filters set up for M different models. The equations of the j-th standard Kalman filter are given by [8] Pk +j 1|k = Φ kj Pk |jk (Φ kj ) T + Γkj Qkj (Γkj ) T
(10)
S kj+1 = H k +1 Pk +j 1|k (H k +1 ) T + R k +1
(11)
K kj+1 = Pk j+1|k (H k +1 ) T ( S kj+1 ) -1
(12)
Pk j+1|k +1 = Pk j+1|k − K kj+1 S kj+1 ( K kj+1 ) T
(13)
xˆkj+1|k = Φ kj xˆ kj|k
(14)
d kj+1 = z k +1 − H k +1 xˆ kj+1|k
(15)
xˆkj+1|k +1 = xˆ kj+1|k + K kj+1d kj+1
(16)
where xˆ kj+1|k and xˆkj+1|k +1 are predicted and filtered state vectors of the α kj+1 , Pk +j 1|k ( Pk +j 1|k +1 ) is the covariance matrix of the estimation errors before (after) processing the measurement, d kj+1 is the innovation , S kj+1 is the covariance of the innovation, K kj+1 is the filter gain matrix, Rkj+1 is the variance of the measurement noise, and Qkj+1 is the variance of the process noise. 2.3 Learning Processor Assume that the unknown target maneuver model randomly switches at random times between a finite set of M possible models. The rate of switching is assumed to be considerably slower than that of the observation sampling rate, and the random switching process among the models will be determined by a semi-Markov process. The model probabilities are calculated by the learning processor. The likelihood function of learning processor can be approximated by the Gaussian basis function whose smoothing factor is related to the estimated bandwidth by taking an average of innovation error covariance matrices of MBSKF. Based on the Bay's estimation procedure, a weighted state estimate can be written as follows: xˆk +1|k +1 =
M
∑μ j =1
j k +1
xˆ kj+1|k +1 .
(17)
Multi-sensor Measurement Fusion via Adaptive State Estimator
459
The probability μ kj+1 of the α kj+1 is given by Bayes’ rule as below M
μ kj+1 =
f (α kj+1 | d kj+1 , S k +1 )∑ θ jm μ km m =1 M
M
∑ f (α
j k +1
j =1
(18)
| d , S k +1 )∑ θ jm μ km j k +1
m =1
where θ jm is the transition probability. The likelihood function of the α kj+1 is given by the innovation d kj+1 and the averaged covariance of the innovation S k +1 as f (α kj+1 | d kj+1 , S k +1 ) =
1 (2π )
nz / 2
S k +1
1/ 2
⎞ ⎛ −1 exp⎜ ( d kj+1 ) T ( S k +1 ) −1 d kj+1 ⎟ 2 ⎠ ⎝
(19)
where S k +1 =
1 M
M
∑S
j k +1
.
(20)
j =1
3 Simulation Results The results of computer simulation are presented for the performance comparison of ASE, low-level-band SKF (denoted as SKF1; maneuver variance given by 133m2/s4), middle-level-band SKF (denoted as SKF2; maneuver variance given by 833m2/s4) and high-level-band SKF (denoted as SKF3; maneuver variance given by 2133m2/s4). The results of 100 runs of Monte Carlo simulation are processed and presented in the Figures of following case study. The descriptions of scenario and system parameters are similar to but a little different in [3], [4], [5]; the interesting readers may consult these papers for realizing the method of simulation processing. The performance is evaluated by using the Root Mean Square Error (RMSE). Averaged Root Mean Square Error (ARMSE) is defined as the performance index. There are two maneuvering turns of the target trajectory called circular-turn and U-turn shown in Fig. 2. The errors of the position estimate are plotted in Fig. 3. Similar RMS-type quantities are plotted in the other figures. Figs. 3-5 show the estimation errors of ASE, SKF1, SKF2 and SKF3, respectively. For a quantitative performance comparison, the timeaverages of estimation errors in Figs. 3-5 are listed in Table 1. As shown, ASE demonstrates adaptive capability in the tracking process. ASE performs better tracking performance than SKF1, SKF2 and SKF3. Table 1. Time-Averages of Estimation Errors. Method SKF1 SKF2 SKF3 ASE
Position (m) 21.4431 19.4546 19.9763 18.5923
Velocity (m/s) 31.0124 29.2598 32.4038 25.5496
Acceleration (m/s2) 22.0567 22.7735 26.8376 19.1526
L.-W. Fong
12000 Target 10000
z-axis (m )
8000
6000
4000
2000
0
2000
4000
6000
8000 10000 x-axis(m)
12000
14000
16000
Fig. 2. The target trajectory with both circular- and U-maneuvering turns.
POSITION 40 SKF1 SKF2 SKF3 ASE
35
RMS ERROR (m)
460
30
25
20
15
10
0
10
20
30
40
50 60 Time(sec.)
70
80
Fig. 3. RMS errors in position estimate.
90
100
Multi-sensor Measurement Fusion via Adaptive State Estimator
VELOCITY 90 SKF1 SKF2 SKF3 ASE
80
RMS ERROR (m/s)
70 60 50 40 30 20 10
0
10
20
30
40
50 60 Time(sec.)
70
80
90
100
Fig. 4. RMS errors in velocity estimate.
ACCELERATION 110 SKF1 SKF2 SKF3 ASE
100 90
RMS ERROR (m/s 2)
80 70 60 50 40 30 20 10 0
0
10
20
30
40
50 60 Time(sec.)
70
80
Fig. 5. RMS errors in acceleration estimate.
90
100
461
462
L.-W. Fong
4 Conclusion In this paper, an adaptive state estimator for use of the centralized measurement fusion is introduced to improve tracking accuracy of the multi-senor surveillance systems. With a semi-Markov process, learning processor is developed as an on-line learning algorithm to choose an appropriate target model for the standard Kalman filter performing sub-optimal state estimation. Simulation results are provided for comparison of tracking accuracy between proposed estimator and each individual standard Kalman filter. For target trajectory with both circular- and U-maneuvering turns, the proposed estimator demonstrates better tracking accuracy than the averaged estimates of multi-band standard Kalman filter with about 8.37%, 17.29%, and 19.83% improved in position, velocity, and acceleration, respectively. The results indicate that proposed estimator provides significant performance improvements.
References 1. Hall, D.L., Llinas, J.: An Introduction to Multisensor Data Fusion. Proc. of the IEEE 85(1), 6–23 (1997) 2. Gan, Q., Harris, C.J.: Comparison of Two Measurement Fusion Methods for Kalman-filterbased Multisensor Data Fusion. IEEE Trans. Aerosp. Electron. Syst. 37(1), 273–280 (2001) 3. Fong, L.W.: An Adaptive Filter for Multi-sensor Track Fusion. In: Proceedings of International Conference on Signal Processing, pp. 231–235 (2008) 4. Fong, L.W.: Multi-sensor Track Fusion via Multiple-model Adaptive Filter. In: Proceeding of the 48th IEEE Conference on Decision and Control and 28th Chinese Control Conference, pp. 2327–2332 (2009) 5. Fong, L.W.: Adaptive Information Matrix Filtering Fusion with Nonlinear Classifier. In: Proceedings of SICE Annual Conference, pp. 2214–2219 (2010) 6. Moose, R.L., Wang, P.P.: An Adaptive Estimator with Learning for a Plant Containing Semi-Markov Switching Parameters. IEEE Trans. Syst. Man Cybern. 3(3), 277–281 (1973) 7. Duda, R.O., Hart, P.E., Stork, D.G.: Patter Classification, 2nd edn. Wiley, New York (2001) 8. Bar-Shalom, Y., Li, X.R.: Estimation and Tracking, Principles, Techniques, and Software. Artech House, Norwood (1993)
A Simple Automatic Outlier Regions Detection Kitti Koonsanit Department of Computer Science, Faculty of Science, Kasetsart University, Bangkok, Thailand [email protected]
Abstract. Automatic determination of the outlier regions is often needed to eliminate that outlier region. In this paper, a method has been developed to determine the outlier regions in satellite image using a data mining algorithm based on the co-occurrence matrix technique in order to determinate that outlier. Our method consists of four stages, the first stage estimate a number of region by co-occurrence matrix, the second stage cluster dataset by automatic clustering algorithm, the third stage detect outlier regions by automatic threshold value and the final stage defines outlier regions, which are lower than threshold value, to be outlier regions. The proposed method was tested using data from unknown number of regions with multispectral satellite image in Thailand. The results from the tests confirm the effectiveness of the proposed method in finding the outlier regions. Keywords: Outlier regions, Anomaly Detection, determination outlier regions, co-occurrence statistics, Outlier regions detection.
1 Introduction Clustering is a popular tool for data mining and exploratory data analysis. One of the major problems in cluster analysis is the determination of the outlier clusters for unlabeled data, which should be eliminated. Outlier is the data which has obviously difference with clustering. In 1980, Hawkins made the definition of it: an outlier is an observation that deviates so much from other observations as to arouse suspicion that it was generated by a different mechanism [1]. Usually, this kind of data has special behavior or model. In effective data set, outlier is a small part and recognized as the byproduct of clustering [2]. So, outlier is always canceled or neglected simply. However, certain outlier probably is the real reflection of normal data. These data are worthy to be study more. In this paper, we propose a new easy method for automatically estimating the outlier regions in unlabeled data set. Pixel clustering technique in a color image is a process of unsupervised classification of hundreds thousands or millions pixels on the basis of their colors. In this paper, a method has been developed to determine the outlier regions in satellite image clustering application using a data mining algorithm based on the co-occurrence matrix technique. Therefore, automatic determination of the outlier regions can greatly help with the unsupervised classification of satellite Image. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 463–470. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
464
K. Koonsanit
2 Related Work 2.1 Background Mutispectral imaging is characterized by its ability to record detailed information about the spectral distribution of the received light. Mutispectral imaging sensors typically measure the energy of the received light in tens or hundreds of narrow spectral bands in each spatial position in the image, so that each pixel in a mutispectral image can be represented as a high-dimensional vector containing the sampled spectrum. Since different substances exhibit different spectral signatures, mutispectral imaging is a wellsuited technology for numerous remote sensing applications including target detection. When no information about the spectral signature of the desired targets is available, a popular approach for target detection is to look for objects that deviate from the typical spectral characteristics in the image. This approach is commonly referred to as anomaly detection [3], and is related to what is often called outlier detection in statistics. If targets are small compared to the image size, the spectral characteristics in the image are dominated by the background. An important step in outlier detection is often to compute a metric for correspondence with the background, which then can be thresholded to detect objects that are unlikely to be background objects. Two approaches are of particular interest. One was developed by Reed and Yu [4][5][6] and is referred to as the RX detector (RXD), which has shown success in outlier detection for multispectral and hyperspectral images [7][8]. Another was proposed in [9][10] and is referred to as low probability detection (LPD), which was designed to detect targets with low probabilities in an image. The benchmark of anomaly detection is RX algorithm which is derived from the Generalized Likelihood Ratio Test (GLRT) with the assumption of Gaussian background [11]. However, background may be consisted of different ground cover types in real remote sensing images, such as water body, grass land, trees. This will lead to miss detection in complex background. Many researches attempt to use the Gaussian mixture model [12][13]. In reference [12], Ashton employs K-means cluster clustering the image into a number of statistical clusters and models each cluster with the Gaussian distribution. Subsequently, Carlotto proposes a similar approach using vector quantization to reduce the computational time [13]. However, the K-means based algorithm only considers the spectrum information of background. This will lead to miss clustering background pixels during the cluster process. Besides, all the methods, these methods are unsuitable for our application that needs to implement software fast and to ease the difficulty of implement software for beginners. In this paper, propose an outlier region detection algorithm. The new method is compatible with the k-means algorithm and it overcomes the limitation of having to indicate the outlier regions by co-occurrence matrix and automatic threshold define which is a apply technique in this proposed paper.
3 The Proposed Algorithm 3.1 Our Algorithm In this paper, we propose a new method for determination of the outlier regions, which is based on co-occurrence matrix scheme. While a traditional co-occurrence
A Simple Automatic Outlier Regions Detection
465
matrix specifies only the transition within an image on horizontal and vertical directions. The proposed method can be used to automatically select a k range in multispectral satellite image as shown in Table. 1. Table 1. Algorithm finding outlier region Algorithm Simple Outlier region detection Input: A spectral image Output: Outlier regions Processing 1. Estimation: Estimate a number of region by co-occurrence matrix [14][15][16][17] 2. Clustering: Cluster image by a clustering algorithm and input a number of region from step 1. 3. Threshold: Detect outlier regions by automatic threshold or input from user 4. Detection : Define regions which are lower than thresholding value as outlier regions
The proposed technique consists of four main steps: estimation, clustering, threshold and detection. 3.2 Estimate Number of Region The proposed technique first, the co-occurrence matrix scheme is employed to automatically segment out the object region in an image. Then, the local maximum technique is used to count a number of regions, which a number of region. Our definition of a co-occurrence matrix [15][16][17][14] is based on the idea that the neighboring pixels should affect region of clusters. Hence, we define a definition for a co-occurrence matrix by including the transition of the gray-scale value between the current pixel and adjacent pixel into our co-occurrence matrix illustrated in figure 1 and figure 2.
Fig. 1. right and bottom of pixel in a cooccurrence matrix
Fig. 2. Creating a Co-Occurrence Matrix
Let F be the set of images. Each image has dimension of P×Q. Let tij be an element in a co-occurrence matrix depending upon the ways in which the gray level i follows gray level j
466
K. Koonsanit
P
tij = ∑ x =1
Q
∑δ y =1
( Fk ( x, y ) = i ) and ( Fk ( x, y + 1) = j )
or
( Fk ( x, y ) = i ) and ( Fk ( x + 1, y ) = j )
Where δ = 1 ,δ = 0
otherwise .
(1) th
where Fk denotes the k band in the image set, F If s,0 ≤ s ≤ L − 1 is a threshold. Then s can partition the co-occurrence matrix into 4 quadrants, namely A, B, C, and D shown in Figure.3. Clusters
Fig. 3. An example of blocking of co-occurrence matrix
Since two of the quadrants shown in Figure.3, B and D, contain information about edges and noise alone, they are ignored in the calculation. Because the quadrants, which contain the object and the background, A and C, are considered to be independent distributions. The idea of proposed method is to select the results of co-occurrence matrix into a diagonal matrix. After threshold processing, the result of diagonal matrix was shown in figure 5. Diagonal matrix is used to show some clustered pixels. The gray level corresponding to local maximum which give the optimal number for object- classification in image as shown in figure 6. 3.3 Clustering After K estimate processing, we got a number of region, we cluster data by clustering algorithm such as k-means which is the most popular clustering techniques. 3.4 Automatic Thresholding After cluster processing, thresholding techniques was assigned an outlier score to each instance in the test data depending on the degree to which that instance is considered an outlier. In this paper, we apply a method for automatic thresholding, which is based on standard deviation. Standard deviation is a statistical evaluate of spread or variability. First, we have to find the mean for standard deviation. Mean is represented by the division of sum of all values and the total number of values. The standard deviation is the root mean squares deviation of the values from their arithmetic mean. It is calculated by take the square root of the variances and is symbolized by s.d, or s. as shown in (2).
A Simple Automatic Outlier Regions Detection
∑ (x − Mean )
467
2
σ= where
(2)
n −1
Ʃ = sum of Mean = Mean of all point
x = individual point n = sample size (Number of point)
The proposed method can be used to select Mean − σ is an appropriate automatically threshold values in order to estimate a cut-off threshold value to select the outlier region as shown in Figure.6. Thus the output of our techniques use a cut-off threshold to select the outlier regions which less than Mean − σ value. 3.5 Automatic Outlier Region Detection Finally, after threshold processing, we get outlier region which is an outlier region as shown in fig 4- fig 7.
Fig. 4. an example of original image
Fig. 5. an example of co-occurrence matrix of image from Figure 4.
Figure 5. illustrates outlier in a simple 2-dimensional data set. The data has 4 normal regions, A, B, C and D, since most observations lie in this one region. Points that are different from the regions, e.g., “A” points in red region, are outlier region.
Fig. 6. Example histogram from diagonal of cooccurrence matrix (with threshold value = 30)
Fig.7. X Region = a result of outlier detection
468
K. Koonsanit
4 Experiment and Results 4.1 Dataset We used the eight sets of raw data from different CCD Multi-spectrum images [18]. The dataset are obtained from small multi mission satellite project (SMMS), a department of Electrical Engineering, Kasetsart University. We would like to analyze data, which was registered in Thailand and thus try to determinate of the outlier region in interesting areas of Thailand. 4.2 Unsupervised Classification Method The experiments performed in this paper use the simple K-mean from the Weka software package. The simple K-Mean is the common unsupervised classification method used with remote sensing data. 4.3 Experimental Result Our experiment was tested with CCD Multi-spectrum images and shown in Table.2. The experiments demonstrate the robustness and effectiveness of the proposed algorithm. Table 2. Algorithm finding outlier region Original image
Outlier Region Detection
Outlier
Outlier
From the experimental result, it was found that outlier region solved by cooccurrence statistics techniques gives the nearest outlier regions with ground truth. It can be noticed that the oulier region in clustering between original images and solving by co-occurrence statistics techniques are very closed.
A Simple Automatic Outlier Regions Detection
469
5 Conclusions In this paper, a method has been developed to determine the outlier regions in satellite image using a data mining algorithm based on the co-occurrence matrix technique in order to determinate that outlier. Our method consists of four stages, the first stage estimate a number of region by co-occurrence matrix, the second stage cluster dataset by automatic clustering algorithm, the third stage detect outlier regions by automatic thresholding and the final stage defines regions, which are lower than threshold value, to be outlier regions. The proposed method was tested using data from unknown number of regions with multispectral satellite image in Thailand. The results from the tests confirm the effectiveness of the proposed method in finding the outlier regions.
Acknowledgment This work was supported by budget for overseas academic conference from the graduate school, Kasetsart University. The authors would like to thank TGIST.
References 1. Hawkins, D.: Identification of Outliers. Chapman and Hall, London (1980) 2. Liu, J.: Study and implementation of clustering and outlier detection algorithm : (Master thesis).LIAO NING: Shenyang Institute of Computing Technology Chinese Academy of Sciences (2006) 3. Stein, D.W., Beaven, S.G., Hoff, L.E., Winter, E.M., Schaum, A.P., Stocker, A.D.: Anomaly detection from hyperspectral imagery. IEEE Signal Process. Mag. 19, 58–69 (2002) 4. Reed, I.S., Yu, X.: Adaptive multiple-band CFAR detection of an optical pattern with unknown spectral distribution. IEEE Trans. Acoust., Speech, Signal Processing 38, 1760–1770 (1990) 5. Yu, X., Reed, I.S., Stocker, A.D.: Comparative performance analysis of adaptive multispectral detectors. IEEE Trans. Signal Processing 41, 2639–2656 (1993) 6. Yu, X., Hoff, L.E., Reed, I.S., Chen, A.M., Stotts, L.B.: Automatic target detection and recognition in multispectral imagery: A unified ML detection and estimation approach. IEEE Trans. Image Processing 6, 143–156 (1997) 7. Ashton, E.A., Schaum, A.: Algorithms for the detection of sub-pixel targets in multispectral imagery. Photogram. Eng. Remote Sens., 723–731 (July 1998) 8. Stellman, C.M., Hazel, G.G., Bucholtz, F., Michalowicz, J.V., Stocker, A., Scaaf, W.: Real-time hyperspectral detection and cuing. Opt. Eng. 39, 1928–1935 (2000) 9. Harsanyi, J.C.: Detection and classification of subpixel spectral signatures in hyperspectral image sequences. Ph.D. dissertation, Dept. Elect. Eng., Univ. Maryland-Baltimore County, Baltimore, MD (1993) 10. Harsanyi, J.C., Farrand, W., Chang, C.-I.: Detection of subpixel spectral signatures in hyperspectral image sequences. Proc. Amer. Soc. Photogram. Remote Sens., 236–247 (1994) 11. Reed, R., Yu, X.: Adaptive multi-band CFAR detection of an optical pattern with unknown spectral distribution. IEEE Trans. Acoust., Speech, Signal Process. 38, 293–305 (1990) 12. Ashton, E.A.: Detection of Subpixel Anomalies in Multispectral Infrared Imagery Using an Adaptive Bayesian Classifier. IEEE Trans. Geosci. Remote Sensing 36, 506–517 (1998)
470
K. Koonsanit
13. Carlotto, M.: A cluster-based approach for detecting man-made objects and changes in imagery. IEEE Trans. Geosci. Remote Sensing 43, 374–387 (2005) 14. Koonsanit, K., Jaruskulchai, C.: Automatic Determination of the Initialization Number of Clusters in K-means Clustering Application by Using Co-occurrence Statistics Techniques for Multispectral Satellite Image. In: The 2010 International Conference on Information Security and Artificial Intelligence (ISAI 2010), Chengdu, China, December 17-20 (2010) 15. Pal, N.R., Pal, S.K.: Entropic thresholding. Signal processing 16, 97–108 (1989) 16. Chanwimaluang, T., Fan, G.: An efficient algorithm for extraction of anatomical structures in retinal images. In: ICIP 2003 Proceedings, September 4-17 (2003) 17. Koonsanit, K., et al.: Metal Artifact Removal on dental CT Scanned Image by Using Multi-layer Entropic Thresholding and Label Filtering Technique for 3-D Visualization of CT images. In: Proc. of International Conference on Biomedical Engineering: ICBME 2008.IFMBE Proceedings, 13th International Conference on Biomedical Engineering, Singapore (December 2008) 18. Small Multi-Mission Satellite (SMMS) from the World Wide Web: http://smms.ee.ku.ac.th/index.php (data Retrieved: May 26, 2010)
The Feature Parameters Algorithm of Digital Signal in Circuit Based on Simulation Xiaodong Ma, Guangyan Zhao, and Yufeng Sun School of Reliability and System Engineering, Beihang University, 100191 Beijing, China [email protected], [email protected], [email protected]
Abstract. Aiming at fault judgment issue of digital signal in circuit fault simulation, a fault judgment method of time domain feature parameters based on Cadence simulation was made deep research in this paper. Firstly, the commonly used feature parameters of digital signal were analyzed. Secondly, as per data structure feature of Cadence software, the digital signal was divided into two kinds, one was expressed by analog form, and the other was expressed by numeric form. Then the specific algorithm of relative parameters of these two kinds of digital signal in Cadence was provided respectively. By the end, a representative case was made simulation analysis to validate the correctness of the algorithm. The result also indicates that the method is practical in reliability design of circuit. Keywords: feature parameter, digital signal, algorithm, fault simulation.
1 Introduction Circuit fault simulation technology based on EDA is an effective way to achieve integrated circuit design and analysis. By using of this technology, we can realize batch injection and simulation for component failure, then got large numbers of fault response. On basis of judgment made on such response signal, we can achieve circuit reliability analysis then provide foundation for improving the circuit design. It is very simple to make manual judgment on output signals of fault simulation; however, automatic judgment is necessary facing hundreds of thousand of simulation results. Signal analyzing and processing, as well as fault criterion technology are mainly applied in fault judge of circuit signal. At present, there are 3 main methods for signal analysis and processing, they are times domain method, frequency domain and time-frequency analysis method [1]. Frequency domain analysis takes frequency of input signal for variables, and studies the relationship between system structural parameters and performance in frequency domain. It reveals the inherent frequency features of signal and the relationship between time features of signal and its frequency ones. Frequency domain analysis is widely used in communications, automatic control and other fields [2,3]. However, for the purposes of judging the fault of circuit signal, just knowing its frequency feature is not enough. Thus, frequency domain method is not the focus of this paper. Time-frequency analysis triggerred from 1940’s is a new method which can clearly M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 471–478. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
472
X. Ma, G. Zhao, and Y. Sun
indicate the evolution relations of spectrum over time, and is mainly used in nonsteady signals or time-varying signal analysis and processing, it is used extensively in speech signal analysis and processing[4,5]. Although it is already applied in system fault judge and diagnosis[6,7], it is not easy to achieve due to complicated principle and large amount of calculation. In contrast, time domain analysis is a direct and more accurate analysis method. Time-domain feature parameters can reveal system’s instantaneous state and steady state performance, this method is widely used in automatic control, system fault diagnosis and other fields [8,9]. In view of the contents of this paper is fault judge of circuit signal in Cadence-based environment, time domain signal feature parameters can effectively reflect variation of amplitude over time. We can extract a series of feature parameters from the given signal and analyze whether these parameters meet requirements then realize signal fault judgment. Thus, this paper mainly studies the algorithm of time-domain feature parameters based on Cadence.
2 Feature Parameters of Circuit Signal Circuit signal typically contains analog signal and digital signal. Different types of signals have different feature parameters. Analog signal’s feature parameters and its algorithms have been given in literature [10] and this paper does not mention it again. Digital signal can be furtherly divided into single-pulse signal and multi-pulse signal, and its commonly used feature parameters are, rise/fall time, slew rate, period, duty cycle, pulse width, delay time, over/under overshoot, time interval of two positive /negative pulses, time interval between two positive/negative jump, and so on. Some feature parameters’ definition and algorithm are given as follows. (1) Delay Time It refers to time deflection of the measured signal against the reference one under the selected high and low level. Here it does not require that the measured signal keep same shape as the reference one, but they must be in the same graph region. Specifically: under selected high and low level, it’s the difference of jump points between measured signal and reference one in the time coordinates. (2) Slew Rate Also known as conversion rate, it refers to variable range of output voltage within unit time, expressed as:
SR=
V(H)-V(L) t (R)
(1)
Where, SR refers to slew rate, V (H) means high level potential, V (L) means low level potential, and t (R) is the rise time of signal. In Fig.1, V (H) = 3.7566v, V (L) =0.011494v, the got t (R) = 540.17us (see Fig.1) as per rise time calculation method, slew rate can be obtained by formula (1), SR = 5571.8 (v / s). (3) Period Period is the time interval between two adjacent rising edge (or falling edge). We take the median point of rising (or falling) edge in calculation. The determination of the rising / falling edge should be noted. As shown in Fig.2. The period is the time interval between the left point and the right one.
The Feature Parameters Algorithm of Digital Signal in Circuit Based on Simulation
Fig. 1. Definition of Slew Rate
473
Fig. 2. Definition of Period
(4) Duty Cycle It is the ratio of duration of high level to total period.
DC=
t (1) T
(2)
Where, DC refers to duty cycle, t (1) is the duration of high level, T is the period of the signal. (5) Over / Under Overshoot Over overshoot refers to the difference between the maximum of a signal and the high level within a signal cycle. Under overshoot refers to the difference between the minimum of a signal and the low level within a signal cycle.
V(Over)=V(max)-V(H)
(3)
Where, V (Over) refers to the over overshoot, V (max) refers to the maximum voltage of a signal, V (H) is the voltage of high level.
V(Under)=V(L)-V(min)
(4)
Where, V (Under) refers to the under overshoot, V (min) refers to the minimum voltage of a signal, V (L) is the voltage of low level.
3 Data Structure of Circuit Signal in Cadence Cadence is a kind of common used EDA simulation software, which can simulate digital/analog mixed circuit. Its output signal types include analog signal and digital signal. All signal information during the whole simulation period is recorded in simulation output file .dat. Data structure of the output file of time domain in Cadence is shown in Table 1. As shown in Table 1, analog signal is described as the amplitude of the signal at different time, more data points are recorded in region with higher variation rate of amplitude, and vice versa, that is, analog signal is recorded in the way of non-equal time spacing in Cadence. Digital signal is described as 0,1, R, F, X and Z, where 0 represents the low level, 1 represents the high level, R on behalf of the rising edge, F on behalf of the falling edge, X on behalf of uncertain state, Z represents highimpedance state, and record signal state after jump when digital signal is jumping.
474
X. Ma, G. Zhao, and Y. Sun Table 1. Data structure of circuit signal in Cadence
Signal Type
Analog signal
Digital signal
Data Structure #H <settings*> #N [‘] or #C [‘] or #C … [circle descriptions for analysis once again] #H <settings*> #N ‘ #C ‘ #C … [circle descriptions for analysis once again]
Notice
“**”—more than one, “<>”—Required, “[]”— Options, “[…] or […] or […]”— — at least one.
“**”—— more than one, “<>”—— Required, “[]”—— Options.
4 Cadence-Based Algorithm for Digital Signal Parameters In view of the feature of digital/analog mixed simulation in Cadence, an invisible DtoA interface exists between digital device and analog one where they are connected, it switches original digital signal to analog one then connect it with the analog device. Therefore, when these signals are displayed or judged, user sees the analog signals while they concern about its digital properties. For such signals, we treat it differently from digital signal or analog signal, and call it as digital signal expressed by analog form. For the digital signal expressed by 0, 1 etc discrete variables, we call it as digital signal expressed by digital form. Algorithm for feature parameters of these two types of digital signals is introduced as follows. 4.1 Algorithm of Digital Signal Expressed by Digital Form For convenience, the meanings of symbols are agreed as follows:
—— - —— + —— —— —— - ——
S(i) The i-th state of a specified state sequence. S i (y ) The state before the i-th state “y” in a specified state sequence. S i (y ) The state behind the i-th state “y” in a specified state sequence. n(y) The number of state "y" in a specified state sequence. ti(y) The time of the i-th state “y” in a specified state sequence. ti(y ) The time of the state before the i-th state “y” in a state sequence.
The Feature Parameters Algorithm of Digital Signal in Circuit Based on Simulation
475
+)—— The time of the state behind the i-th state “y” in a state sequence. —— The total number of state in a specified state sequence.
ti(y N
From Part 3 of this paper, we know that state of digital signal after jump is recorded with 0, 1 and other discrete variables, it is lack of description of the features of signal amplitude, and therefore we can only get part of the feature parameters. The specific algorithms are given in Table 2. Table 2. Algorithm of feature parameters of digital signal expressed by digital form Feature parameters
Algorithm
Note
n
Pulse Width
Delay Time
∑ [t (1+) − t (1)] i
PW =
i
1
n
DT = M ax[ t b ( y ) − ti ( y )] n [ S (1)]− 1
Period
∑ {[t
T =
n −1
Duty Cycle
∑
DC =
[ S (1)] − ti [ S (1)]}
1
n[ S (1)] − 1 [ t i (1+ ) − t i (1)] ti + 1 [ S (1)] − t i [ S (1)] n −1
n −1
Time Interval between t= Two Positive Jumps
i +1
1
∑ [t
Pulse numbers after n= one pulse is triggered
i +1
(0 + ) − ti (0 + )]
1
{
tb(y) is the jump time of reference signal at each state; ti(y) is the jump time of measured signal at each state. For periodic signal, it is the average of periods. It has no sense for non-periodic signal. where , n
n(0), the first edge after t is rise edge n(1), the first edge after t is fall edge
= n[ S (1)]
where , n
n −1
{
n (1)−1, S ( N ) =1 others
where , n = n (1),
−1, S ( N ) =0 = { nn(0) (0), others
t is action end time of excitation signal——t2[S(1)]. n(0)/ n(1) is the number of state 0/state 1.
4.2 Algorithm of Digital Signal Expressed by Analog Form Part of feature parameters of digital signal expressed by analog form can be converted to digital signal expressed by digital form via certain algorithm, and then use the algorithm listed in Table 2 to calculate feature parameters. However, some parameters cannot be converted; it should be calculated directly by means of the output data of simulation. Digital signal expressed by digital form is used to record the state of signal after jump, thus we just need consider the two data points near high / low level threshold. Because of data points with amplitude equal to high or low level threshold may not exist, this paper takes time points as state transition ones, time points are got by means of linear interpolation algorithm. Low level threshold is set as UL, high threshold is set as UH. Two adjacent state points of digital signals expressed by analog quantity are S1 (t1, u1) and S2 (t2, u2). Transformation rules are given in Table 3.
476
X. Ma, G. Zhao, and Y. Sun Table 3. Transformation Rules
conditions
< ≦ u <U ≦ <U ≦u < <U ≦ u
u 1 UL u 1 UL UL u1
2
H
H
2
H
2
State
Time
conditions
R R, 1 1
t(R) t(R), t(1) t(1)
UL u2 u 2 UL u 2 UL
< ≦ U <u ≦ <U ≦ u ≦ <u <U H
1
H
1
1
H
State
Time
F F, 0 0
t(F) t(F), t(0) t(0)
Where, t(R) and t (0) can be obtained from:
、 t (0) = ut -−tu 1
t (R )
2
1
× (U L -u1 )+ t1
(5)
× (U H -u1 )+ t1
(6)
2
t (F) and t(1) can be obtained from:
、 t (1) = ut -−tu
t (F)
1
1
2
2
Over / under overshoot of digital signal expressed by analog form can be calculated by formula (7) and formula (8). V (O ver)=M ax ( u i )-V (H )
(7)
V (U nder)= V (L)-M in ( u i )
(8)
Where, UL refers to low level threshold, UH refers to high level threshold, ui is the amplitude of digital signal expressed by analog form.
5 Case Study Figure 3 is a typical digital/analog mixed circuit. We apply the arithmetic of feature parameters described in this paper to determine circuit fault. In which, OUT is digital signal expressed by digital form, and U3B:Y is digital signal expressed by analog form. Normal simulation and fault one is made for circuit above by Cadence respectively, we observe the waveform of OUT and U3B:Y. The results of normal simulation and fault simulation are shown in Fig.4 and Fig.5 respectively.
Fig. 3. Circuit Schematic Diagram
The Feature Parameters Algorithm of Digital Signal in Circuit Based on Simulation
477
Fig. 4. Waveform of normal simulation
(a) C1- Parameter drifts
(b) C1-Short-circuited
Fig. 5. Waveform of fault simulation
U3B:Y is a clock signal, and period and duty cycle are two important feature parameters for clock signal. Therefore, we choose period and duty cycle as judgment parameters. OUT is a square signal, we also choose period and duty cycle as judgment parameters. Feature parameters for two observation points in fault simulation output calculated as per algorithm of digital signal time domain feature parameters mentioned in this paper, together with fault judgment result is shown in Table 4. Table 4. Value of feature parameters and the results Signal Name
OUT
U3B˖Y
Feature parameters
period
DC
period
DC
Minimum permitted
2.3us
0.4
1.2 us
0.4
5us
0.6
2.5 us
0.6
Maximum permitted C1- Parameter drifts
C1-Short-circuited
Value Parameter Signal Value Parameter Signal
1.2588us 0.5122 Fault Normal Fault -1 -1 Fault Fault Fault
0.6293 us 0.5232 Fault Normal Fault -1 -1 Fault Fault Fault
478
X. Ma, G. Zhao, and Y. Sun
The values in the table are calculated by arithmetic given by this paper. By comparison, the results keep same as simulation graph, which indicates that the algorithm is correct. Since there is no amplitude variation after waveform achieves stable with C1 shortcut, it cannot calculate relevant feature parameter, which is expressed as -1, which also proves circuit fault judgment could be achieved by use of this algorithm.
6 Conclusion Aiming at the data structure of Cadence, this paper divides digital signal into signal expressed by analog quantity and signal expressed by digital quantity, and gives specific algorithms respectively for relevant feature parameters of these two types of digital signals in Cadence-based environment, By using a typical case, it validates that the arithmetic is correct and then provide necessary technical support for the circuit fault simulation based on Cadence. On the base of realization of fault simulation to obtain large numbers of fault simulation judgment, it then can make further reliability analysis, including fault mode effect analysis (FMEA), reliability parameter prediction, test-purpose parameter prediction and etc.
References 1. Zhao, G.: Signal Analysis and Processing. China Machine Press, Beijing (2010) 2. Lu, K., Zhuo, Y.: Extraction of Multipath Timedelay in Frequency Domain to UWB Chirp Signal. J. Communications Technology. 43(12), 15–17 (2010) 3. Li, L.M.: Analysis of Nonlinear Oscillators Using Volterra Series in the Frequency Domain. Journal of Sound and Vibration 330(2), 335–337 (2011) 4. Xu, Y., Wang, G., Guo, Y.: Wavelet Package Based Speech Enhancement Algorithm Using Time-Frequency Threshold. Journal of Electronics & Information Technology 30(6), 1363–1366 (2008) 5. Ayat, S., Manzuri, M.T.: Wavelet based speech enhancement using a new thresholding algorithm. In: International Symposium On intelligent Multimedia, Video and Speech Processing, pp. 238–241. IEEE Press, Hong Kong (2004) 6. Yang, C.: Study on Feature Extraction of Fault Circuits Based on Wavelet. Jilin University, Jilin (2004) 7. Yu, G.: A cluster-based wavelet feature extraction method for machine fault diagnosis. J. Applied Mechanics and Materials 10, 522–548 (2008) 8. Sreejith, B., Verma, A.K., Srividya, A.: Fault diagnosis of rolling element bearing using time-domain features and neural networks. IEEE Press, New York (2008) 9. Lee, H., Nguyen, N., Kwon, J.: Bearing diagnosis using time-domain features and decision tree. In: Region 10 Colloquium and 3rd International Conference on Industrial and Information Systems, pp. 952–960. IEEE Press, New York (2008) 10. Zhang, M., Zhao, G., Sun, Y.: Research on Arithmetic of Fault Judge in typical circuit. Journal of Naval Aeronautical and Astronautical University 24(1), 115–117 (2009)
Research of Stereo Matching Based on Improved Median Filter Huiyan Jiang, Rui Gao, and Xiaojie Liu Software College, Northeastern University, 110819 Shenyang, China [email protected]
Abstract. In the refinement process of traditional median filter for the disparity map, the estimation of disparity for some pixels is not always precise. In order to solve this problem, the thesis presents an improved median filter for disparity refinement method. The proposed method first uses the left/right consistency test and color segmentation to detect the mismatch regions and discontinuities sections, and then filter out these regions in the filter window so as to achieve a better estimate of disparity for current pixel. Experimental results clearly indicate that this method can obtain a more precise disparity map compared with conventional method. Keywords: Stereo matching; Binocular vision; Filter; Median filtering.
1 Introduction Stereo vision is the research focus of computer vision [1]. With the development of computer technology, stereoscopic vision in robot vision, industrial measurement, object recognition and military field have been widely used. Stereo matching plays an important role on the three-dimensional visual field, but as a result of noise and other factors during the imaging process, we have not found a universally applicable method for stereo matching currently [2]. Thus, the research for the stereo matching method has important theoretical significance. At present, the research for the stereo matching algorithm mainly concentrates in two directions. One is a local optimal algorithm based guidelines for local support neighborhood, and the other is an algorithm based global strategy to implement global optimization. Both of algorithms have advantages and disadvantages. For the local optimal algorithm, the main advantage is easy to implement and the algorithm is fast, while the disadvantage is that the accuracy of obtained disparity map is low. The disparity map accuracy of the algorithm based global strategy to implement global optimization is high, but it is difficult to obtain a global optimal solution [3]. Therefore, accurate and fast stereo matching algorithm has been an important research direction. After the analysis of the problem that traditional median filter applied to the disparity map refinement process, this thesis presents an improved median filter for M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 479–486. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
480
H. Jiang, R. Gao, and X. Liu
disparity refinement method, and then make a comparison between traditional filter and improved median filter. Moreover, introduce the evaluation standard of the stereo matching. Experimental results show that this method can obtain a more precise disparity map compared to conventional method, and it is more effective than the traditional median filter based on stereo matching.
2 Filters on Image Processing Gauss filter is a linear smoothing filter based on the shape of Gaussian function to select the right value [4]. It’s very effective on wiping out normally distributed noises. Filter is a mathematical model, and it can convert the image data to the energy. When the energy is low, exclude low energy which stands for the noise. Generally, by choosing proper weights and template, the value of a specific pixel is the result of weighted mean on its own and nearby pixels [5]. Mean filter algorithm is one of the classic linear filtering algorithms by replacing the value of the central pixel with the average value of its most closely surrounded eight other neighbor pixels and itself. The normal processing course is choosing a kind of template consisted with a certain amount of neighbor pixels for current pixel ( x, y ) , then calculating the mean value of this template as the final gray scale value g ( x, y ) of ( x, y ) which is
g ( x , y ) = 1 ∑ f ( x, y ) m
(1)
m here is the amount of pixels in the template [6]. Median filter algorithm based on statistical theory of sorting, is one of the nonlinear signals processing technology to inhibit noises effectively. Weak textures in some areas, due to relatively low signal to noise ratio images will cause the failure of matching, so there will be some mismatch point, so the median filter can be filled on the point of these errors The basis course of Median filter algorithm is replacing a specific value of a numeric sequence or digital image with the middle value of its neighborhood, so the pixels values of surrounding area will be close to the actual one so that eliminate isolated noise points [7]. Median filter in image processing commonly is a classic method of smoothing the noise, and it is used to protect the edges. Firstly, sort the value of pixels in a specific shaped 2-D floating template monotonously in ascending order or reverse order, then replace the current pixel value, as in
g ( x, y ) = med { f ( x − k , y − 1), (k , l ∈ W )}
(2)
Where f ( x, y ) is the original image while g ( x, y ) is the processed one. W stands for 2-D floating template which generally is an area with size of 2*2 or 3*3[8], but it also can be shapes like bars, circles, crosses and rings, etc.
Research of Stereo Matching Based on Improved Median Filter
481
3 Stereo Matching Based on Improved Median Filter By analyzing and comparing different filter algorithms, it is not hard to find Gauss filtering is suitable for the image containing gauss noise. Mean filter may produce some influence for the image edges, and the disparity contains some isolated point, while the median filter is more suitable for the process of disparity map refinement [9]. There may be two problems in the process of disparity map refinement. The one problem is that filter window may contain some errors matching area, and the other second problem is that filter window may contain some disparity discontinuity region. Therefore, estimating the parallax of current pixel, if taking the parallax of the mismatching and discontinuity pixel into account, it may lead to a further error of the current pixel evaluation. For the purpose of solving the above problem, the paper proposes an improved median filter method. Although there are many kinds of stereo matching algorithms, their solving steps are basically the same. Scharstein divides it into four steps: matching cost calculation, cost value accumulation, disparity calculation and disparity refinement [1, 10]. The paper uses two images each time during the experiments. One is the reference image as left view and the other is the target image as right view. Firstly process the two images, and cost the value accumulation. Then achieve the disparity calculation based on Winner-Take-All (WTA). The most important step is to detect the mismatch regions and discontinuities sections through using the left/right consistency test and color segmentation, and then filter out these regions in the filter window so as to achieve a better estimate of disparity for current pixel. The specific steps are described as follows. Matching cost calculation. For each pixel ( x, y ) of the reference image L* ( x, y ) ,
calculating the cost ( x + d , y ) of maxim to the corresponding pixel in the target image R* ( x, y ) , d is (0, d max ) , d max is a different value for different stereo images, we can get the matching cost for each pixel in the reference image, the calculation formula is as follow [11]
C0 (x, y, d) =
∑
c∈{r, g,b}
Lc (x + d, y) − Rc (x, y)
(3)
Cost value accumulation. The disparity of one pixel has certain correlation with the pixels around it. Local algorithm usually sets the matched pixel as the center of the window whose size is (2 L + 1) ∗ (2 L + 1) , then choose the mean value of the pixels in the window as the value of the center pixel.
C ( x, y , d ) =
1 x+ L y+ L ∑ ∑ C0 ( x , y , d ) 9 i= x− L j= y− L
(4)
482
H. Jiang, R. Gao, and X. Liu
Disparity calculation and refinement. From the last step, we can get C ( x, y, d ) . For * each pixel (u , v) in the disparity, choose the minimum value of C ( x, y, d ) among
(0, d max ) , and then d * is the value of DL (u, v) . Before the process of median filter, we can use the left/right consistency test and color segmentation to detect the mismatch regions and discontinuities regions. After eliminating these regions which are detected in the filter window, use the remaining pixels as the elements of the median filter to estimate the parallax of current pixels. There are three steps as follows. The first step is left/right consistency test. Exchange the reference image and target image, making the right image as the reference image and making the left image as the target image, and then get the disparity image DR of the right image R according to step C and step D. For each pixel of disparity image DL of the left image, if
DL (x, y) ≠ DR (x + dL (x, y), y) , then DL ( x, y ) = 0 ,and if DL (x, y) = DR ( x + d L ( x, y ), y ) , else DL (x, y) = DL (x, y) . The second step is detection of discontinuous region based on Mean Shift algorithm. Use Mean Shift to segment the reference image L* ( x, y ) in order to get the tagged image Label . Those regions in Label whose colors are similar will be assigned the same label. The third step is improved median filter. According to the disparity image DL which is obtained under the first and second step and the tagged image Label , use the median filter to process DL . Detailed steps are as follows. For each pixel ( x, y ) in the disparity image DL , choose a window which size is (2 L + 1) ∗ (2 L + 1) and identify ( x, y ) which belong to the U = {( u, v) | u ∈ ( x − L, x + L), v ∈ ( y − L, y + L)} as the
centre. Then select (u , v) within the set of coordinate point and make that DL (u , v) is not zero and Label (u, v) = Label(x, y) .That means the set is U* = {( u, v) | u ∈ (x − L, x + L), v ∈ ( y − L, y + L), DL (u, v) ≠ 0, Label (u, v) = Lable( x, y )}
Finally, choose the middle value of coordinate set DL (U* ) as the final disparity of the DL (x, y) , and DL is the final disparity image.
4 Experiment Results This paper uses the four pairs of stereo image pairs: map, tsukuba, sawtooth, venus, they are chosen from the Middlebury stereo image library. The results shown in Fig. 1, where (a), (e), (j), (o) for the corresponding threedimensional images on the left view , (b), (f), (k), (p) for the corresponding threedimensional view of the right image, (c), (g), (l), (q) for the three-dimensional view of the true image of the left disparity map, (d), (h), (m), (r) for the traditional algorithm the experimental results obtained, (e), (i), (n), (s) for the experimental results obtained by the paper .
Research of Stereo Matching Based on Improved Median Filter
(a)
(b)
(c)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
Fig. 1. Compared experiment results.
483
484
H. Jiang, R. Gao, and X. Liu
(n)
(o)
(p)
(q)
(r)
(s)
Fig. 1. (continued)
Compared with the traditional median filter in Fig.1 and the paper eliminates most of the obvious mistakes region and relatively gets smooth disparity in the absence of texture regions. The effect is quite satisfactory, as it is smooth on the background at the top right corner of the image tsukuba, venus the left of the image, etc. Table1 is the table of false match rate .The data appears from the results that this method resulting in false match rate of non-matching block area, no texture regions and disparity discontinuities is superior to the traditional methods. In particular, the average error matching rate increases 9.36% in non- block area and achieves satisfactory results. But in the right half of the lamp in Figure tsukuba can see that the color segmentation result is not accurate because of the shadow, and then disparity estimation error occurs. On the other hand, the paper uses color segmentation and detection of about consistency during the process of disparity map refinement, so there is an increase in running time of the algorithm. From the running time of view in Table2, despite the increase in the running time, the time complexity is still within the acceptable range. In the last line the Mean Shift color segmentation algorithm is used in each process of image segmentation, and it takes almost half the whole time. Looking for faster and more accurate color segmentation approach is still to this next step to conduct research.
Research of Stereo Matching Based on Improved Median Filter
485
Table 1. Comparison of algorithm mistakes rate.
Parameter
Tsukuba (%)
Map (%)
Sawtooth (%)
Venus (%)
Traditional Method
Paper Method
BO
8.31
4.37
BT
11.2
4.92
BD
15.7
10.7
BO
3.40
2.21
BT
0.71
0.57
BD
13.9
6.77
BO
3.91
5.96
BT
1.84
8.50
BD
3.91
5.96
BO
1.84
8.50
BT
3.91
5.96
BD
1.84
8.50
Table 2. The runtime(s) comparison of different methods
Parameter
Mean Shift
Traditional Method
Paper Method
Tsukuba
2.44
1.43
5.27
Map
1.56
1.20
3.92
Sawtooth
4.03
2.42
8.31
Venus
3.92
2.40
8.41
In Table1 and Table2, this method is superior to the traditional methods in false match rate of non-matching block area, no texture regions and disparity discontinuities. There is an increase in the running time, but the time complexity is still within the acceptable range.
5 Conclusion Based on the Improved Median Filter this paper is compared with the traditional median filter and implements the Stereo Matching, and introduce evaluation of stereo matching algorithm proposed by Scharstein. The experiment results can eliminate most obvious mistake area and relatively get smooth parallax in the absence of texture areas. Moreover, it can obtain a more accurate matching result. In the process of
486
H. Jiang, R. Gao, and X. Liu
disparity refinement, mean-shift algorithm is time consuming, so researching a faster and more accurate color segmentation method is the future work.
Acknowledgement This research is supported by the National Nature Science Foundation of China (No: 60973071, No: 50834009) and the Liaoning province Natural Science Foundation (No: 20092004).
References 1. Scharstein, D., Szeliski, R.: A taxonomy and evaluation of dense two-frame stereo correspondence algorithms. International Journal of Computer Vision, 7–42 (2002) 2. Van Meerbergen, G., Vergauwen, M., Pollefeys, M., Van Gool, L.: A hierarchical stereo algorithm using dynamic programming. In: Proceedings of IEEE Workshop on Stereo and Multi-Baseline Vision, pp. 166–174. IEEE Computer Society Press, Washington, USA (2001) 3. Birchfield, S., Tomasi, C.: A pixel dissimilarity measure that is insensitive to image sampling. In: IEEE Transactions on Pattern Analysis and Machine Intelligence, pp. 401–406. Springer, Heidelberg (1998) 4. Hartley, R.I.: Theory and practice of projective rectification. In: International Journal of Computer Vision, pp. 115–127. IEEE Computer Society Press, Los Alamitos (1998) 5. Chan, R.H., Ho, C.W., Nikolova, M.: Salt and pepper noiseremoval by median type noise detectors and detail preserving regularization. IEEE Trans.Image Process, 1479–1485 (2005) 6. Bobick, A.F., Intille, S.S.: Large occlusion stereo. International Journal of Computer Vision, 181–200 (1999) 7. Intille, S.S., Bobick, A.F.: Disparity-space images and large occlusion stereo. In: Eklundh, J.-O. (ed.) ECCV 1994. LNCS, vol. 801, Springer, Heidelberg (1994) 8. Dornaika, F., Chung, R.: Cooperative Stereo Motion: Matching and Reconstruction. In: Computer Vision and Image Understanding, pp. 408–427. Springer, Heidelberg (1998) 9. Fukunaga, K., Hostetler, L.D.: The estimation of the gradient of a density function with application in Pattern recognition. IEEE Trans. Information Theory, 32–40 10. Gong, M.L., Yang, Y.H.: Fast stereo matching using reliability-based dynamic programming and consistency constraints. In: Proceedings of the Ninth IEEE International Conference on Computer Vision, pp. 610–617. IEEE Computer Society Press (2003) 11. Felzenszwalb, P.F., Huttenlocher, D.P.: Efficient belief propagation for early vision. International Journal of Computer Vision, 261–268 (2006)
Generating Method of Three-Phase Voltage Sag in EV Charging System Performance Testing Xiaoming Yue, Hui Fan, Jin Pan, Xiaoguang Hao, and Zhimeng Zhang Hebei Electric Power Research Institute, Shijiazhuang, Hebei 050021, China [email protected]
Abstract. In order to analyze the impact between Electric Vehicle (EV) charging system and grid influence. In this paper, a method of three-phase voltage sag generating based on DQ transformation is proposed. With the ‘Back to Back’ linked two PWM voltage-source converters, normal and fault state of infinite grid is simulated. Aiming at seven typical voltage sag faults (including all the voltage sag types in symmetric, asymmetric excluding zero-sequence and asymmetric contain zero-sequence circumstances), compound operation is completed in synchronous rotational axes (dq0) under symmetrical component method applied. Especially, abc-dq0 transform is amended for asymmetric contain zero-sequence voltage sag situation. So the space vector pulse width modulation (SVPWM) control signal is generated. Three-phase voltage sag generated with this method could satisfy the phase relationship and amplitude relationship of the inter-phase automatically. As a result, common connection point (PCC) fault voltage could be accurately generated. And the full scope of the depth of voltage sag adjustable and fault duration of any settings are realized. Simulation and experiment results show that this method is the rationality and feasibility. Keywords: Electric Vehicle, Voltage Sag, Voltage-source Converter, DQ Transformation.
1 Introduction Along with the progress of the society and the development of economy, the energy issue gradually becomes the focus. Electric power is essential in modern society. Meanwhile, with the increasing of cars, pollution from cars becomes more and more serious. So Electric Vehicle becomes a good solution for that. But wide-scale EV charging will bring a lot of trouble to grid, and the charging performance of the electric vehicle charger will be influenced by grid, too. Thus, the mutual influence between the wide-scale EV charging and the grid has important significance. In the analysis of the electric car battery and grid interaction, the grid voltage sag is one of the common problems. But the grid voltage sag fault has its randomness and uncertainty, so how to correctly generated grid fault situations becomes a problem must be solved. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 487–496. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
488
X. Yue et al.
Generally, a lot of different grid fault types can occur, such as single-phase-toneutral, phase-to-phase, 2-phase-to-neutral, and 3-phase faults. The form of grid voltage sag can be divided into seven types (A, B, C, D, E, F and G) [1-5]. There are some methods of generating voltage sag, but they all have their own shortcomings and couldn’t accurately reflect the actual situation of power grid faults. This paper proposes a voltage sag generating method based on DQ transformation. The main topology of this method is two three-phase PWM voltage-source converter (VSC) connected by the back-to-back structure, generating a symmetrical, asymmetric excluding zero sequence and asymmetric contain zero sequence three circumstances of all types of voltage sag, realized the full scope of the voltage sag depth and fault duration adjustable of any settings.
2 Main Topology and Principle The principle diagram of the generating method in this paper is shown in Fig. 1. Main circuit adopts two three-phase PWM voltage-source converters (VSC), which is connected in "back-to-back" form. This could simulate the power supply characteristics of infinite power grid in normal and various fault conditions. The energy between grid and converter can flow bilaterally. Thereby fault generating side PWM voltage-source converter can connect passive load, also can connect active load. The grid side PWM voltage-source converter, used SVPWM double closed loop control method [6], produces a constant DC voltage in the DC side, realizes the AC unit power factor controlled, and reduces grid harmonics pollution.
Fig. 1. The principle diagram
The vector control principle diagram of the fault generating side converter is shown in Fig. 2. The grid fault voltage is decomposed into positive sequence voltage, negative sequence voltage and zero sequence voltage by the symmetric component method [7-8]. Seven kinds of typical of voltage sag signals (A, B, C, D, E, F and G) come through the stator side 3-phase stationary reference frame to synchronous revolution frame by abc-dq0 transformation. With the compound operation in dq0 frame and the dq0-abc transformation, space vector pulse width modulation (SVPWM) control signals are generated. Accordingly various-type three-phase voltage sag waveform of arbitrary voltage sag depth and arbitrary duration are gained.
Generating Method of Three-Phase Voltage Sag in EV Charging System
489
L
Grid Side Converter
Charger C
abc
SVPWM
Fault Type
dq0
Symmetrical Phasor Synthesis
Eigenvalues Phasor
Fault Time Sag Depth
Phasor Decompositio n
Fig. 2. SVPWM control schematic diagram of fault side converter
3 Generating Method of Three-Phase Voltage Sag Grid short-circuit fault can be divided into two kinds such as symmetrical fault and asymmetric fault. The most common asymmetric short-circuit fault are single-phaseto-neutral, phase-to-phase, 2-phase-to-neutral. And asymmetric short-circuit faults are divided into two kinds. One kind contains zero sequence components; another kind is excluding zero sequence components. All kinds of voltage sag fault has his different features. Voltage sag fault is divided into seven typical types, such as Type A, Type B, Type C, Type D, Type E, Type F and Type G. Type A is the three-phase symmetric voltage sag caused by three-phase short-circuit fault; Type B is the asymmetric voltage sag caused by single-phase-to-neutral fault; Type C, D are the asymmetric voltage sag caused by phase-to-phase fault; Type G, E, F are the asymmetric voltage sag caused by 2-phase-to-neutral fault. Each phase voltage of the entire voltage sag fault at the PCC
. . .
、、
point [9-12] is shown in Table 1. U a U b U c are the phase voltage phases at the point of common connection (PCC). U is the characteristic value of the voltage sags. Based on the symmetrical component method, voltage sag in PCC can be resolved into positive-sequence component, negative-sequence component and zero-sequence component. The transform equation as follows:
⎡ . ⎤ ⎢U1 ⎥ ⎡1 a ⎢ . ⎥ 1⎢ ⎢U 2 ⎥ = ⎢1 a 2 ⎢ . ⎥ 3⎢ 1 1 ⎢U ⎥ ⎣⎢ ⎢⎣ 0 ⎥⎦ D
Where a is defined as a = e j120 .
a
2⎤
⎥ a⎥ ⎥ 1⎥ ⎦
⎡ . ⎤ ⎢U a ⎥ ⎢ . ⎥ ⎢U b ⎥ ⎢ . ⎥ ⎢U ⎥ ⎢⎣ c ⎥⎦
(1)
490
X. Yue et al. Table 1. Voltage-sag types and the corresponding phase voltages of PCC Type
U a
U b
U c
A
U
1 3 − U + j U 2 2
1 3 − U + j U 2 2
B
U
1 3 − −j 2 2
C
1
−
D
U
1 3 − U − j 2 2
1 3 − U + j 2 2
E
1
1 3 − U − j U 2 2
1 3 − U + j U 2 2
F
U
G
2 1 + U 3 3
1 3 − j U 2 2
−
−
1 3 + j 2 2
1 3 + j U 2 2
1 3 3 1 3 3 − U − j ( + U ) − U + j ( + U) 2 3 6 2 3 6
1 1 3 − − U − j U 3 6 2
1 1 3 − − U + j U 3 6 2
Vector Chart
Generating Method of Three-Phase Voltage Sag in EV Charging System
491
The positive sequence components, negative sequence components and zero sequence components of all the typical voltage sag fault corresponding PCC point can be seen in Table 2. Obviously voltage sag in Type B and E contain zero sequence components, Type A, Voltage sag in Type C, Type D, Type F and Type G exclude zero sequence components. Only voltage sag in Type A is symmetrical, the other types are asymmetric situation. Table 2. Positive, negative and zero sequence voltage for each sag type
Type
.
.
.
Np
Nn
N0
A
U
0
0
B
(2 + U ) / 3
(U − 1) / 3
(U − 1) / 3
C
(1 + U ) / 3
(1 − U ) / 2
0
D
(1 + U ) / 2
(U − 1) / 2
0
E
(1 + 2U ) / 3
(1 − U ) / 3
(1 − U ) / 3
F
(1 + 2U ) / 3
(U − 1) / 3
0
G
(1 + 2U ) / 3
(1 − U ) / 3
0
.
As. shows in Table 2, N P is the characteristic value of positive-sequence voltage, . the N n is characteristic value of negative-sequence voltage, the N 0 is characteristic value of zero- sequence voltage. Therefore, the phase voltage of PCC voltage sag in three-phase static axes (a, b, c) can be expressed as: .
.
.
.
U PCC = N p e jωet + N n e− jωet + N 0 e jωet
(2)
With the abc-dq0 transformation, the phase voltage of PCC voltage sag in the synchronous rotational axes (d, q, 0) shown in (3): .
.
.
.
U PCC = N p + N n e− j 2ωet + N 0
(3)
Thus, phase voltage sag at PCC is composed of the symmetrical components from seven typical voltage sag decomposition. Then d-axis, q-axis, o-axis components can be received by abc-dq0 transformation. After the compound operation, three-phase fault voltage modulation signal is got by the dq0-abc transformation. For excluding the zero sequence components of voltage sag, the traditional dq0-abc transformation matrix [13] as follows:
492
X. Yue et al.
⎡ ⎤ ⎢ cos ω t − sin ω t 1⎥ ⎡ ua ⎤ ⎢ ⎥ ⎡ud ⎤ ⎢u ⎥ = ⎢ cos(ω t − 2π ) − sin(ω t − 2π ) 1⎥ ⎢ u ⎥ ⎢ b⎥ ⎢ ⎥⎢ q⎥ 3 3 ⎢⎣uc ⎥⎦ ⎢ ⎥ ⎢⎣ u0 ⎥⎦ ⎢cos(ωt + 2π ) − sin(ωt + 2π ) 1⎥ ⎥⎦ 3 3 ⎣⎢
(4)
And for the voltage sag containing zero sequence components, dq0-abc transformation matrix (4) should be revised to ⎡ ⎤ ⎢ cos ω t − sin ωt cos ωt ⎥ ⎡ ua ⎤ ⎢ ⎥ ⎡ud ⎤ ⎢ u ⎥ = ⎢ cos(ω t − 2π ) − sin(ω t − 2π ) cos ω t ⎥ ⎢ u ⎥ ⎢ b⎥ ⎢ ⎥⎢ q⎥ 3 3 ⎢⎣ uc ⎥⎦ ⎢ ⎥ ⎢⎣ u0 ⎥⎦ ⎢cos(ω t + 2π ) − sin(ω t + 2π ) cos ω t ⎥ ⎢⎣ ⎥⎦ 3 3
(5)
In the generating method of three-phase voltage sag in this paper, the dq0-abc transformation uses transform matrix (5). So any type of voltage sag is generated, including symmetric, asymmetric excluding zero sequence and asymmetric containing zero sequence.
4 Simulation and Experimental Results Grid side converter side: Power frequency f Z is 50Hz; Source voltage Us is 220V; The dc given voltage Vdc is 400V; The carrier frequency f C is 3kHz. Fault generating converter side: Filtering inductances L is 0.4mH; Filter capacitance C is 140μF ; Symmetric three-phase resistor load R is 50Ω . The duration of voltage sag is 100ms. The simulation results is shown in Fig. 3-Fig. 9. And part of experimental results is shown in Fig. 10-Fig. 11.
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 3. Waveforms of three-phase voltage sag in type A
Generating Method of Three-Phase Voltage Sag in EV Charging System
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 4. Waveforms of three-phase voltage sag in type B
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 5. Waveforms of three-phase voltage sag in type C
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 6. Waveforms of three-phase voltage sag in type D
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 7. Waveforms of three-phase voltage sag in type E
493
494
X. Yue et al.
(a)Voltage sag 70% UN
(b)Voltage sag 30% UN
Fig. 8. Waveforms of three-phase voltage sag in type F
(a) Voltage sag 70% UN
(b) Voltage sag 30% UN
Fig. 9. Waveforms of three-phase voltage sag in type G
Part of the experimental results is depicted in Fig. 10 and Fig. 11. Fig. 10 shows the waveforms of three-phase voltage sag in type A with voltage sag 70%UN. Fig. 11 shows the waveforms of three-phase voltage sag in type G with voltage sag 80%UN.
Fig. 10. Waveforms of three-phase voltage sag sag with voltage sag 70% UN in type A
Fig. 11. Waveforms of three-phase voltage with voltage sag 80%UN in type G
The simulation and experimental results show the three-phase voltage sag waveforms of seven typical voltage sag with different voltage sag depth. The simulation and experimental results show that the generating method of the three-phase voltage
Generating Method of Three-Phase Voltage Sag in EV Charging System
495
sag in this paper can generate all the kinds of voltage sag fault, with voltage sag depth and fault duration set arbitrary. Meanwhile each phase voltage automatic meet phase relationship and amplitude relationship between any two phases. So the power system fault condition is reflected factually.
5 Conclusion This paper adopts "back-to-back" PWM converter as the main circuit of three-phase voltage sag generator with which energy can flow two-way. The method of threephase voltage sag proposed in this paper is based on DQ transformation. The voltage sag signal is decomposed into the positive and negative, zero sequence voltage using symmetric component method. The compound operation is completed with abc-dq0 transformation. And the traditional dq0-abc transform type is revised, and then the voltage sag of SVPWM modulation signal is generated. The three-phase voltage sag generated by this method automatic meet the phase relationship and the amplitude relationship between any two phases. The PCC voltage is reproduced more accurately, which includes symmetric, asymmetric excluding zero sequence and asymmetric containing zero sequence. And the full scope of the depth of voltage sag adjustable and fault duration of any settings are realized. The simulation and experimental results verify the correctness of the generating method described in this paper.
References 1. Liu Wanshun, C.: Electric Power System Fault Analysis. China Electric Power Press, Beijing (1998) 2. Xiao, X.: C: Power Quality Analysis and Control. China Electric Power Press, Beijing (2004) 3. Bollen, M.H.J.: C.: Understanding Power Quality Problems: Voltage Sags and Interruptions. IEEE Press, Piscataway (2000) 4. Xiao, X., Tao Shun, M.S.: Voltage sags types under different grounding modes of neutral and their propagation Part I. J. Transactions of China Electrotechnical Society 22(9), 143–147 (2007) 5. Xiao, X., Tao, S., M.S.: Voltage sags types under different grounding modes of neutral and their propagation Part I. J. Transactions of China Electrotechnical Society 22(10), 156–159 (2007) 6. Zhang, C., Zhang, X.: C: PWM Rectifier and Control. China Mechanic industry Press, Beiing (2003) 7. Yan, X., Zhang, B., Gu, X., et al.: M.S.: Closed-loop control of three-phase five-level PWM current source inverter. J. Transactions of China Electrotechnical Society 22(sup1), 60–64 (2007) 8. Collins, E.R., Morgan, R.L.: M.S.: A three-phase sag generator for testing industrial equipment. J. IEEE Trans- actions on Power Delivery 11(1), 526–532 (2003) 9. Yan, X., Venkataramanan, G., Yang, W.: M.S.: Fault Tolerance of DFIG Wind Turbine with a Series Grid Side Passive Impedance. Industry Applications Society Annual Meeting, 1–8 (2009)
496
X. Yue et al.
10. Boonmee, C., Kumsuwa, Y., Premrudeepchacharm, S.: M.S.: Implementation of real time three phase balanced voltage sag generator 1 kVA: using microcontroller and PC control. In: ICROS- SICE International Joint Conference, pp. 903–907 (2009) 11. Oranpiroj, K., Premrudeepreechacham, S., et al.: M.S.: The 3-phase 4-wire voltage sag generator based on three dimensions space vector modulation in abc coordinates. In: IEEE International Symposium on Industrial Electronics (ISIE 2009), pp. 275–280 (2009) 12. Collins, E.R., Morgan, R.L.: M.S.: A three-phase sag generator fortesting industrial equipment. IEEE Trans. Power Delverry II, 526–532 (1996) 13. Nanjing Institute. C.: Power System. China Electric Power Press, Bei Jing (1982)
Improved Predictive Control of Grid-Connected PV Inverter with LCL Filter Huijie Xue, Wei Feng, Zilong Yang, Chunsheng Wu, and Honghua Xu Department of Renewable Energy Power Generation Institute of Electrical Engineering, CAS No.6 Beiertiao, Zhongguanchun Haidian District, Beijing, China {xuehuijie,fengwei,zlyang,wcsxg hxu}@mail.iee.ac.cn
Abstract. LCL filter has high insertion loss and is expected to replace LC filter in the grid-connected PV inverter. However, the inverter with LCL filter is hard to be control and instability is liable to be incurred. So it is necessary to research reliable control strategy for the inverter with LCL filter. This paper researched the problem in detail. Discrete state space model of the inverter with LCL filter was firstly obtained with Clarke transformation and ZOH method. Then, improved predictive control strategy was proposed and explained in detail. Simulation was carried on and the results verified control effect of the proposed control strategy. Compared with prior control strategies, the proposed control strategy has the merits of simplicity, fast response and robustness. Keywords: PV Inverter LCL Filter Predictive Control.
1 Introduction As a kind of clean renewable energy resource, solar PV is undergoing rapid growth in the past several years [1, 2]. Grid-connected operation is the main utilization method of the PV system. The inverter is an important equipment of the grid-connected PV system. As a switching mode power electronics converter, the inverter will produce plenty of high frequency ripple current during normal operation. If not filtered out adequately, the ripple current will be injected into the grid and decreases the power quality even produces EMI to other electric and electronic equipment. So the filter with high insertion loss is desirable in the PV inverter. At present, most PV inverters adopt the LC inverter. In the view of the filter performance, the LCL filter is prior to the LC filter because of higher insertion loss, lower profile and lower cost. However, the LCL filter is hard to be controlled and liable to oscillate if not controlled appropriately [3]. The scholars have proposed many different control strategies for the inverter with the LCL filter [4, 5]. However, the strategies have respective shortcoming such as extra signal sensing [4] or limitation on the filter parameter [5]. This paper proposed an improved predictive control strategy of the PV inverter with the LCL filter. The proposed control strategy has explicit physical sense and the merit of simplicity, fast response and robustness. M. Ma (Ed.): Communication Systems and Information Technology, LNEE 100, pp. 497–502. springerlink.com © Springer-Verlag Berlin Heidelberg 2011
498
H. Xue et al.
The rest of the paper is organized as follows: Section 2 models the PV inverter with the LCL filter. Section 3 proposes the improved predictive control of the PV inverter with the LCL filter in detail. Simulation results are given in Section 4.
2 Modeling the Inverter with LCL Filter The 3-phase PV inverter with the LCL filter is shown in Fig. 1. The line frequency transformer may be included into the model if necessary. The leakage inductance of the transformer can be included in L2 in that case.
Fig. 1. Schematic of the Inverter with LCL Filter
Assume that the parameters of the LCL filter of every phase of the inverter are identical. Take the voltage across the filter capacitor C , the current through the filter inductor L1 and the L2 as the state variables, the output voltage of the inverter bridge U inv as the input variable and the grid voltage U grid as the external disturbance, the state equation of Fig.1 can be expressed as: i
X o = Ao X o + BoU o + N oWo , Yo = C o X o where
X o = ⎡⎣uCa
iL1a
iL 2a
uCb
iL1b
iL 2b
uCc
iL 2c ⎤⎦
iL1c
(1) T
U o = ⎡⎣uinva
T
uinvb
uinvc ⎤⎦
T
Ao = diag{ Ao a, Aob, Ao c} Yo = ⎡⎣iL 2a iL 2b iL 2c ⎤⎦ Wo = ⎡⎣u grida ugridb u gridc ⎤⎦ Bo = diag{Bo a, Bo b, Bo c} No = diag{No a, Nob, Noc} Co = diag{Co a, Cob, Co c} T
⎡ ⎢ 0 ⎢ ⎢ 1 Ao a = Ao b = Ao c = ⎢ − ⎢ L1 ⎢ 1 ⎢ ⎣ L2
⎡ Bo a = Bo b = Bo c = ⎢ 0 ⎣ C o a = C o b = C o c = [0
1 ⎤ ⎥ C ⎥ ⎥ 0 ⎥ ⎥ R ⎥ − 2⎥ L2 ⎦
1 C R − 1 L1
−
0
1 L1 0 1] .
⎤ 0⎥ ⎦
T
T
⎡ 1⎤ , N o a = N ob = N o c = ⎢0 0 − ⎥ L2 ⎦ ⎣
Improved Predictive Control of Grid-Connected PV Inverter with LCL Filter
499
Principally, the current through L2 should be controlled to inject sinuous current into the grid. However, the current through L1 is almost the same with that through the inductor L2 because of the low capacitance of C. Moreover, the current through it is easy to be compensated if necessary. So, satisfactory results can be achieved by controlling the current through L1 in the grid-connected inverter. With the control objective of the current through L1 , the model of (1) can be simplified as (2) by looking the current through L2 as external disturbance and eliminating the redundancy with Clarke transformation. i
X t = At X t + BtU t + N tWt , Yt = Ct X t
(2)
where X t = ⎡uCα ⎣
iL1α
uC β
iL1β ⎤ ⎦
T
U
t
= ⎡ u in v α ⎣
u in v β ⎤ ⎦
T
T
Yt = ⎡iL1α iL1β ⎤ W t = ⎡ iL 2α iL 2 β ⎤ ⎣ ⎦ ⎣ ⎦ At = diag{ Atα , At β } Bt = diag{Btα , Bt β } N t = diag{N tα , N t β } Ct = diag{Ctα , Ct β } T
⎡ ⎢ 0 Atα = At β = ⎢ ⎢− 1 ⎢⎣ L1
1 ⎤ C ⎥ ⎥ R − 1⎥ L1 ⎥⎦
⎡ B tα = B t β = ⎢ 0 ⎣
1 ⎤ ⎥ L1 ⎦
T
⎡ 1 N tα = Nt β = ⎢ − ⎣ C
⎤ 0⎥ ⎦
T
C tα = C t β = [ 0 1] .
In order to design digital controller directly, discrete model should be obtained. Assuming the sampling period is Ts , the discrete model can be obtained by applying zero order holder method [6] and can be expressed as:
X d ( n + 1) = Ad X d ( n) + BdU d ( n) + N dWd ( n) Yd ( n) = Cd X d ( n)
,
(3)
where Ad = e At ⋅Ts , Bd = e AtTs BtTs , N d = e A T N tTs and Cd = Ct . t s
3 Proposed Control Strategy of Inverter with LCL Filter The proposed predictive control of the inverter with the LCL filter is easy to understand according to the physical sense of the controlling behavior and is explained as follows. In order to control the current through L1 at the instant (n + 1)Ts reach I ref ( n ) , the reference at the instant of nTs , the control input, i.e. the output voltage of the inverter U d (n) , can be obtained according to (4).
500
H. Xue et al.
U d (k ) = (Cd Bd )−1 ( I ref (k ) − Cd Ad X d (k ) − Cd N dWd (k )) ,
(4)
Generally, the sampling instant of the control system occurs at the middle of the control period to avoid alias effect. However, the updating of the modulation signal is finished at the end of the control period due to the computation delay. Besides, updating at the end of the control period is desirable to avoid asymmetric pulse width modulation of the inverter. So the delay of half switching period is produced by the computation and updating behavior. Moreover, one switching period is necessary for the inverter to finish the current control. So total one and half switching periods delay is unavoidable in the predictive control. In the high power PV inverter, the time delay can’t be omitted because the switching frequency is limited to only several kilohertz to avoid high switching loss. So it is necessary to overcome the delay. The delay can be compensated with the following measure. Denote the components of control input of the α axle and β axle with U dα and U d β respectively, the improved strategy can be expressed with U dαβ (k ) = e jθ (U dα (k ) + jU d β (k )) ,
(5)
where the real part and imaginary part is the control input of the α axle and β axle respectively and θ = 2π f ref t delay .The delay compensation is achieved by introducing a pure imaginary number e jθ , which is a phase shift factor corresponding to the time delay in αβ coordinate. It can be implemented easily with simple complex number operation and has no much operation time consuming.
4 Simulation Results In order to verify the proposed control strategy, simulation was carried on PSIM. The schematic is shown in Fig. 2. The parameters of the inverter used in the simulation are as follows: L1 = 1.5mH R1 = 0.1Ω L2 = 900 μ H R2 = 0.1Ω C = 66 μ F f sw = 5.4kHz .
Fig. 2. Schematic of the Simulation
Improved Predictive Control of Grid-Connected PV Inverter with LCL Filter
501
Fig. 3. Simulation Result with Nominal Parameters
Simulation result of the nominal parameter and ideal U grid is shown in Fig.3. The upper waveform is U grid and the lower one is the iL1 respectively. It can be seen that the current is in phase with the voltage and has no distor