The Application Research of Neural Network in Embedded Intelligent Detection

Similar documents
Prediction of traffic flow based on the EMD and wavelet neural network Teng Feng 1,a,Xiaohong Wang 1,b,Yunlai He 1,c

4.12 Generalization. In back-propagation learning, as many training examples as possible are typically used.

The Establishment of Large Data Mining Platform Based on Cloud Computing. Wei CAI

Aero-engine PID parameters Optimization based on Adaptive Genetic Algorithm. Yinling Wang, Huacong Li

Open Access Research on the Prediction Model of Material Cost Based on Data Mining

A Data Classification Algorithm of Internet of Things Based on Neural Network

Exploration of Fault Diagnosis Technology for Air Compressor Based on Internet of Things

Multilayer Feed-forward networks

A Network-Based Management Information System for Animal Husbandry in Farms

Remote Control System Based on Compressed Image

ANN-Based Modeling for Load and Main Steam Pressure Characteristics of a 600MW Supercritical Power Generating Unit

Simultaneous Perturbation Stochastic Approximation Algorithm Combined with Neural Network and Fuzzy Simulation

A PSO-based Generic Classifier Design and Weka Implementation Study

BP Neural Network Based On Genetic Algorithm Applied In Text Classification

Face recognition based on improved BP neural network

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

A Hybrid Location Algorithm Based on BP Neural Networks for Mobile Position Estimation

Neural Network Weight Selection Using Genetic Algorithms

Design and Implementation of Aquarium Remote Automation Monitoring and Control System

An Intelligent Retrieval Platform for Distributional Agriculture Science and Technology Data

The Solutions to Some Key Problems of Solar Energy Output in the Belt and Road Yong-ping GAO 1,*, Li-li LIAO 2 and Yue-shun HE 3

Neural Network Learning. Today s Lecture. Continuation of Neural Networks. Artificial Neural Networks. Lecture 24: Learning 3. Victor R.

Research on Applications of Data Mining in Electronic Commerce. Xiuping YANG 1, a

Supervised Learning in Neural Networks (Part 2)

A liquid level control system based on LabVIEW and MATLAB hybrid programming

A Kind of Wireless Sensor Network Coverage Optimization Algorithm Based on Genetic PSO

An Improved DFSA Anti-collision Algorithm Based on the RFID-based Internet of Vehicles

Review on Methods of Selecting Number of Hidden Nodes in Artificial Neural Network

2. Neural network basics

The Discussion of 500kV Centralized Monitoring System for Large Operation and Large Maintenance Mode

Research on Approach of Equipment Status and Operation Information Acquisition Based on Equipment Control Bus

Network Traffic Classification Based on Deep Learning

EFFICIENT ATTRIBUTE REDUCTION ALGORITHM

Research on 3G Terminal-Based Agricultural Information Service

Dynamic Analysis of Structures Using Neural Networks

A Novel Image Super-resolution Reconstruction Algorithm based on Modified Sparse Representation

Some fast and compact neural network solutions for artificial intelligence applications

Keywords: ANN; network topology; bathymetric model; representability.

A Boosting-Based Framework for Self-Similar and Non-linear Internet Traffic Prediction

A Network Intrusion Detection System Architecture Based on Snort and. Computational Intelligence

Research on Evaluation Method of Product Style Semantics Based on Neural Network

Time Series prediction with Feed-Forward Neural Networks -A Beginners Guide and Tutorial for Neuroph. Laura E. Carter-Greaves

The Comparative Study of Machine Learning Algorithms in Text Data Classification*

AN NOVEL NEURAL NETWORK TRAINING BASED ON HYBRID DE AND BP

Week 3: Perceptron and Multi-layer Perceptron

Research on the New Image De-Noising Methodology Based on Neural Network and HMM-Hidden Markov Models

Zigbee Wireless Sensor Network Nodes Deployment Strategy for Digital Agricultural Data Acquisition

Creating Time-Varying Fuzzy Control Rules Based on Data Mining

Research on Transmission Based on Collaboration Coding in WSNs

The Research and Design of the Android-Based Facilities Environment Multifunction Remote Monitoring System*

Piecewise Linear Approximation Based on Taylor Series of LDPC Codes Decoding Algorithm and Implemented in FPGA

Study on GA-based matching method of railway vehicle wheels

Design of student information system based on association algorithm and data mining technology. CaiYan, ChenHua

Knowledge Discovery and Data Mining. Neural Nets. A simple NN as a Mathematical Formula. Notes. Lecture 13 - Neural Nets. Tom Kelsey.

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees

Analysis on the technology improvement of the library network information retrieval efficiency

Knowledge Discovery and Data Mining

Optimization of the Force Transmission Path on the High-thrust Hyper-static Strap-on Launch Vehicle

Based on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis

Information Security Coding Rule Based on Neural Network and Greedy Algorithm and Application in Network Alarm Detection

Exemplar-Supported Generative Reproduction for Class Incremental Learning Supplementary Material

An Agricultural Tri-dimensional Pollution Data Management Platform Based on DNDC Model

Power Load Forecasting Based on ABC-SA Neural Network Model

An improved PID neural network controller for long time delay systems using particle swarm optimization algorithm

Research on Design and Application of Computer Database Quality Evaluation Model

An Application of Genetic Algorithm for Auto-body Panel Die-design Case Library Based on Grid

STUDYING OF CLASSIFYING CHINESE SMS MESSAGES

Neural Network Neurons

Research of Traffic Flow Based on SVM Method. Deng-hong YIN, Jian WANG and Bo LI *

Neural Networks. CE-725: Statistical Pattern Recognition Sharif University of Technology Spring Soleymani

Central Manufacturing Technology Institute, Bangalore , India,

APPLICATION OF VARIABLE-FIDELITY MODELS TO AERODYNAMIC OPTIMIZATION

Clustering Analysis based on Data Mining Applications Xuedong Fan

DESIGN AND IMPLEMENTATION OF VARIABLE RADIUS SPHERE DECODING ALGORITHM

Fast Learning for Big Data Using Dynamic Function

A Path Planning Method for Substation Laser Inspection Robot Based on Improved Ant Colony Algorithm

Computational Intelligence Meets the NetFlix Prize

CS 4510/9010 Applied Machine Learning

Crop Production Management Information System Design and Implementation

Training Digital Circuits with Hamming Clustering

Test Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang Tang 1, Huichun Peng 2

Traffic Signs Recognition using HP and HOG Descriptors Combined to MLP and SVM Classifiers

The Design and Implementation of Disaster Recovery in Dual-active Cloud Center

Face Recognition Technology Based On Image Processing Chen Xin, Yajuan Li, Zhimin Tian

A hierarchical network model for network topology design using genetic algorithm

Research of the Optimization of a Data Mining Algorithm Based on an Embedded Data Mining System

A Novel Pruning Algorithm for Optimizing Feedforward Neural Network of Classification Problems

The discuss of the dead-lock issue in event-driven system

Recognition of Human Body Movements Trajectory Based on the Three-dimensional Depth Data

An Improved KNN Classification Algorithm based on Sampling

Identification of Multisensor Conversion Characteristic Using Neural Networks

COMP 551 Applied Machine Learning Lecture 14: Neural Networks

Ensemble methods in machine learning. Example. Neural networks. Neural networks

PERFORMANCE OF GRID COMPUTING FOR DISTRIBUTED NEURAL NETWORK. Submitted By:Mohnish Malviya & Suny Shekher Pankaj [CSE,7 TH SEM]

A Spectrum Matching Algorithm Based on Dynamic Spectral Distance. Qi Jia, ShouHong Cao

Design and Realization of WCDMA Project Simulation System

Parallel Evaluation of Hopfield Neural Networks

CS 4510/9010 Applied Machine Learning. Neural Nets. Paula Matuszek Fall copyright Paula Matuszek 2016

Research Article. ISSN (Print) *Corresponding author Chen Hao

Simulation of Zhang Suen Algorithm using Feed- Forward Neural Networks

Transcription:

The Application Research of Neural Network in Embedded Intelligent Detection Xiaodong Liu 1, Dongzhou Ning 1, Hubin Deng 2, and Jinhua Wang 1 1 Compute Center of Nanchang University, 330039, Nanchang, Jiangxi, China ncliudong@sina.com.cn 2 East China Jiaotong University, 330039, Nanchang, Jiangxi, China hubind66@yahoo.com.cn Abstract. Neural network which can adapt the sample data by training has good fault-tolerance and can be used in the field of intelligence widely. In the embedded system, restricted to the resources and the capacity of processor, the neural network application has a series of problems, such as losing timelines and the system could be collapsed easily. This article discusses how to use limited memory, processor and external equipment resources to achieve the neural network algorithm for improving the universality of detection system and adaptive ability in the embedded intelligent measuring system. Keywords:Neural Network, Embedded System, Intelligent Detection. 1 Introduction Most embedded detective devices are developed by using the fixed parameter method, that is, the mapping relationship between test data and test conclusion is fixed. However, in practical application, the input conditions of detection and the testing standards may need to be changed, which may make the existing detection system inadaptable. The neural network owns the ability of self-adaptation and self-learning, therefore, by studying on the sample data, it can determine the mapping relationship between the input and the output. And if the neural network is applied to the detection system, it may adjust the mapping relationship automatically by training samples, which can make the detection system more flexible and adaptable. Application of the algorithm is shown in the figure 1 [1]. Detection data acquisition Processor Detection conclusion Training sample data Testing sample data Neural network Fig. 1. Application of neural network D. Li, Y. Liu, and Y. Chen (Eds.): CCTA 2010, Part IV, IFIP AICT 347, pp. 376 381, 2011. IFIP International Federation for Information Processing 2011

The Application Research of Neural Network in Embedded Intelligent Detection 377 Because of the constraints of the resources of embedded portable device and the capacity of processor, computational complexity should be minimized in the application of neural network algorithm, thus to improve the efficiency by centralizing resources to deal with necessary tasks. 2 Neural Network Platform Design Great success has already been achieved in the research and application of neural network, however, there is no perfect theory as a guide in the aspect of network structure development and design, so network parameters are adjusted just only on the basis of former researchers designing experience and experiment analyses. The functions of neural network platform development are network parameter settings, network training, network training analysis, network testing, network prediction etc. In the network structure designing and the training algorithm, because of the resources constraints in embedded system, we should use as simple and effective methods as possible. The following is the description of issues needed to be considered in the design: 2.1 The Choice of Network Model 2-layer linear perceptron model and 3-layer BP network model are provided and the user can choose one of them in the network parameter settings in accordance with the complexity of the detection system. According to the Almighty Approaching Theorem, a 3-layer BP neural network with a hidden layer can approximate to any continuous function of bounded domain with arbitrary precision as long as there are enough hidden layer nodes[2]. Therefore in terms of the function, 3-layer BP neural network can meet most sophisticated detection systems requirements, while for some detection systems which are simple mapping, linear perceptron model with a small amount of calculation and fast speed can be chosen so as to maximize the efficiency of the systems. 2.2 The Choice of the Number of Input and Output Nodes The number of the input nodes is determined by testing item. The number of the output nodes is generally determined by the number of the testing conclusions. But if there are a lot of testing conclusions, the number of the output nodes could become great, then, the amount of calculation also increases. So when there are a lot of testing conclusions, the testing conclusions can be encoded to binary code, then output nodes take the number greater than or equal to log 2 N, where N is the number of conclusions. 2.3 The Choice of the Number of Hidden Layer Nodes If the network model is BP network, the number of the hidden layer nodes needs to be set. Generally speaking, if there are too few hidden layer nodes, the network can not study well, and much more training will be needed and, meantime the training will not be highly precise; while too many nodes will bring issues such as a large amount of calculation, long training time and reduced network fault-tolerance capacity. Because there is no corresponding theoretical guidance, most designs are determined by

378 X. Liu et al. combining the experience and trial calculation. System uses the default settings as the empirical formula (1). n 1 = n + m + 2. (1) In the formula (1), n1 is the number of the hidden layer nodes; n is the number of the input nodes; m is the number of the output nodes. If the training effect of experience value is not good, you can re-set the number of the hidden layer nodes in the parameter settings and do many experiments in order to achieve faster convergence rate. In order to know the training efficiency, you should output the training number in training process, changes of the network errors, changes of network weights and the training time and so on, so as to a make a report for the network analyses. 2.4 The Choice of Transfer Function In the application of detection, most of the outputs are the field data and test conclusions. The field data are collected by the acquisition system; detection conclusions are obtained from the neural network algorithm. The detection conclusions are indicated with two-value, so the transfer function of output layer generally uses the sigmoid function or the hard limit function. The sigmoid function formula is shown as following. f 1 ( x ) =. (2) x 1 + e 2.5 The Choice of Initial Weight Initial weight is generated randomly by the random function, and its value range is (-0.5, 0.5). 2.6 The Choice of the Learning Rules Because of the particularity of embedded systems, we should try to select the learning algorithm with simple calculation and low memory consumption. The perceptron network model structure is simple, and the overall amount of calculation is not large, so the weight correction algorithm of BP model is mainly considered. Conventional BP learning algorithm has large amount of calculation and long training time, and the slope of sigmoid function is close to 0 when the input is large, therefore the increase amplitude of gradient of learning algorithm is very small,which may make the modification process of network weights almost at a standstill and the training very inefficient. To reduce the amount of calculation and to improve the efficiency, we may adopt a flexible BP learning algorithm. We only need to consider the symbol of gradient to the error function, rather than the increase amplitude of gradient. The symbol of gradient determines the direction of weight updating, and the weight size change is determined

The Application Research of Neural Network in Embedded Intelligent Detection 379 by an independent update value (based on the former update value )[2].The iterative process of weight correction example is shown below: E t ω( t + 1) = ω( t) + αδω( t) sgn( ). (3) ω( t) In the formula (3)[2], Δω (t) is the previous update value, and the initial value Δω (0) is set by the actual application. α is the learning parameter, using variable step-size learning, that is, if it is in two successive iterations, the symbol of the partial derivative of error function to a weight remains unchangeable, then α is 1.2; otherwise α is 0.8[2]. It is faster to converge by using this algorithm, which can also be achieved effectively in embedded system. 2.7 The Preprocessing of Input and Output Data in Training Sample In the network learning process, because the transfer function of neuron is a bounded function, while in the detection, as the dimension and unit of input test item data may be different, some values are very large, while some values are very small, which has a great influence on the network.. To prevent some neurons from reaching saturation state, and meantime make the larger input fall in the region where gradient of neuron activation function is large, input and output vectors need to be normalized before the training. Namely: xi - xi min x' i =. (4) ximax - ximin In the formula (3): xi max, xi min are the maximum value and minimum value of each input component of number i neuron; xi, x'i are respectively the former and later input component after pretreatment of number i neuron. The input data values after normalization processing range between 0 and 1. Normalization processing requires a large number of mathematical operations. But if there is no huge difference among the input data values, the normalization is not required to reduce the computational complexity. Therefore, we may use whether to normalize the input data or not as the network training option parameter and make choice before the training. If the neural network training is unsuccessful, or if the training time is too long, we need to analyze the process of training and to train after readjusting the network parameters. If the training results are satisfactory, we may use the testing sample data to test the function of the network.. Successful testing demonstrates that the construction of the network is completed, and then the network parameters and the weights of each Layer of the network are saved as files, ready for testing procedures. 3 Input and Output Platform Design In the application of neural network, we need to input a large number of training data and output the training process and the training results, which requires a higher demand of input and output. To reduce the cost of portable detect device and the burden of

380 X. Liu et al. volume, we may use two kinds of solution methods. One method is training on a host computer independently, and we download the network weights and network parameters of success training to the target computer in form of files for the detection program to recover the network; The other method is sharing the rich resources of input and output device of remote computer by using the remote training mode. In the above two methods, the training process of the former method is conducted on PC machine, which doesn t take up resources of embedded device, and its advantage is that the high-speed PC-CPU and the large capacity memory can greatly enhance the training speed, while the disadvantage is that the neural network parameter settings and the training are independent of detection system, which is inconvenient for users to modify and update the system; the second method integrates network training and testing, completed by the target machine, with remote computer only serving as sharing input and output devices. Because of limitations of embedded CPU and memory, the training becomes slow, and even collapses when the network structure is complex, or the amount of calculation is huge. But the system is flexible, and more convenient to be maintained and updated. Because in neural network design, requirements of application have already been considered, and we have adopted more effective and simpler methods in the design of network structure and training algorithm; besides, the network training is the preliminary work of establishing detection system, and it will not be run after the network is built successfully, so its speed does not affect the work efficiency of the detection system. For these reasons, we use the second method to design. To reduce the development, maintenance and use costs, we use B / S structure in the system, embedding a small WEB server in device, all of the user interface using static or dynamic web pages and being viewed through remote browser, and the data interaction and generation of dynamic web pages being realized by using high efficient CGI programming. The overall structure of the system is shown in figure 2: Fig. 2. Overall system structure diagrams 4 Conclusion In the detection system, using neural network algorithms can increase the system flexibility and self-adaptability. When testing standards or project data change, we can use new training data to train the network again and get the new network parameters for updating system rapidly. Besides, the system is based on remote detection technology, making the system updating more convenient. And that also reduces the requirements

The Application Research of Neural Network in Embedded Intelligent Detection 381 of input and output of portable detect device and the cost of hardware and software development; if the test site environment is poor, the remote detection could show more on its advantages. But the small embedded WEB server in the system may accordingly occupy more resources.moreover, due to the inherent delay of network communication, the display of testing data and testing results have a certain delay relative to field data, so it is only suitable to the situation in which on-site environmental data are stable. If the on-site environment changes fast, you can add display components in the embedded device, which can have the devices test offline, and neural networks building and the system maintaining and updating could be conducted remotely. References 1. Bernard, W., Samuel, D.S.: Adaptive Signal Processing(i~Àó ). Machinery Industry Press, Beijing (2008) 2. Tian, Y.: Hybrid Neural Network Technology( Ê Ê ). Science Press, Beijing (2009)