Virtual Digital Control Experimental System

Similar documents
The Open Automation and Control Systems Journal, 2015, 7, Application of Fuzzy PID Control in the Level Process Control

Open Access Design of Diesel Engine Adaptive Active Disturbance Rejection Speed Controller

Analysis on Privacy and Reliability of Ad Hoc Network-Based in Protecting Agricultural Data

Open Access AOA and TDOA-Based a Novel Three Dimensional Location Algorithm in Wireless Sensor Network

A Compiler Design Technique for EMS Test CS115

Open Access Parallel Resonant DC Link Inverter for Thermoacoustic Power Generation

Open Access Partial Discharge Fault Decision and Location of 24kV Composite Porcelain Insulator based on Power Spectrum Density Algorithm

Open Access Partial Discharge Fault Decision and Location of 24kV Multi-layer Porcelain Insulator based on Power Spectrum Density Algorithm

Design and verification of internal core circuit of FlexRay transceiver in the ADAS

Open Access Property Analysis and Experimental Study of the Broadband Transmission-Line Transformer in Multimode Feed Network

Open Access The Application of Digital Image Processing Method in Range Finding by Camera

The Design of Switched Reluctance Motor Torque Optimization Controller

Open Access Research of Dielectric Loss Measurement with Sparse Representation

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Design of Experimental Platform for Intelligent Car. , Heyan Wang

Resistance Furnace Temperature Control System Based on OPC and MATLAB

A Real-time Photoacoustic Imaging System with High Density Integrated Circuit

Dipl.-Ing. Wanda Benešová PhD., vgg.fiit.stuba.sk, FIIT, Bratislava, Vision & Graphics Group. Kalman Filter

Low-Frequency Vibration Measurement by a Dual-Frequency DBR Fiber Laser

FPGA-BASED DESIGN AND IMPLEMENTATION OF THREE-PRIORITY PERSISTENT CSMA PROTOCOL

Research on Bamboo Hat ATC Control Design and Adjustment

Design and simulation of AC-DC constant current source with high power factor

Research on Optical Fiber Flow Test Method With Non-Intrusion

Open Access IMC-PID Controller and the Tuning Method in Pneumatic Control Valve Positioner

RETRACTED ARTICLE. Bus-Styling Appraisement Research Using Extension Theory-Based on Artificial Neural Network. Open Access

Open Access Research on RSSI Based Localization System in the Wireless Sensor Network

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Design of stepper motor position control system based on DSP. Guan Fang Liu a, Hua Wei Li b

A Phase Shift Demodulation Technique: Verification and Application in Fluorescence Phase Based Oxygen Sensors

Design and Implementation of Automatic Microcontroller- Based Controlling of Single Phase Power Factor Using Capacitor Banks with Load Monitoring

Image Recognition for PCB Soldering Platform Controlled by Embedded Microchip Based on Hopfield Neural Network

Design of Signal Conditioning Circuit for Photoelectric Sensor. , Zhennan Zhang

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

DC-PLC Modem design for PV module monitoring

Design of Vibration Sensor Based on Fiber Bragg Grating

Research on MPPT Control Algorithm of Flexible Amorphous Silicon. Photovoltaic Power Generation System Based on BP Neural Network

Exploration on Application of Electronic Circuit Simulation Technology in Electronic Application Technology. Mingming Fang

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

Figure 1.1: Quanser Driving Simulator

Open Access Application of Partial Discharge Online Monitoring Technology in ± 660kV Converter Transformer

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

REAL-TIME LINEAR QUADRATIC CONTROL USING DIGITAL SIGNAL PROCESSOR

The Design of Experimental Teaching System for Digital Signal Processing Based on GUI

COURSE OUTLINE. School of Engineering Technology and Applied Science

Design of a Novel Front-End Readout ASIC for PET Imaging System *

Keywords: Aircraft Systems Integration, Real-Time Simulation, Hardware-In-The-Loop Testing

Available online at ScienceDirect. Procedia Technology 14 (2014 )

Design of Controller for Metal Linear Expansion Coefficient Tester Yufei FU1, a

ANFIS-based Indoor Location Awareness System for the Position Monitoring of Patients

Open Access Pulse-Width Modulated Amplifier for DC Servo System and Its Matlab Simulation

CL Digital Control Kannan M. Moudgalya

Applying Virtual Oscilloscope to Signal Measurements in Scintillation Detectors

Control simulation of a single phase Boost PFC circuit

DESIGN OF A MODE DECOUPLING FOR VOLTAGE CONTROL OF WIND-DRIVEN IG SYSTEM

Linearization Method Using Variable Capacitance in Inter-Stage Matching Networks for CMOS Power Amplifier

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

CHAPTER 7 HARDWARE IMPLEMENTATION

Laboratory Project 2: Electromagnetic Projectile Launcher

LAB II. INTRODUCTION TO LABVIEW

Electrical and Automation Engineering, Fall 2018 Spring 2019, modules and courses inside modules.

A Hybrid Particle Swarm Optimization Algorithm for Maximum Power Point Tracking of Solar Photovoltaic Systems

A Smart Substation Field Secondary Device Testing Technique Based on Recurrence Principle

Research on the smart measuring system for DC resistance box

Design of an insulator leakage current measurement system based on PLC

Double Time Slot RFID Anti-collision Algorithm based on Gray Code

PID Controller Design Based on Radial Basis Function Neural Networks for the Steam Generator Level Control

A Universal Motor Performance Test System Based on Virtual Instrument

Effective Teaching Learning Process for PID Controller Based on Experimental Setup with LabVIEW

Study on Reactive Automatic Compensation System Design

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

AC : LAB EXPERIENCE FOR CIRCUITS CLASSES IN A SIM- PLIFIED LAB ENVIRONMENT

Study on application in the teaching of ship maneuvering Simulator Haoran Song

Open Access Structural Parameters Optimum Design of the New Type of Optical Aiming

An Improved DV-Hop Localization Algorithm Based on Hop Distance and Hops Correction

Performance Evaluation of Negative Output Multiple Lift-Push-Pull Switched Capacitor Luo Converter

A Fault Detection Device for Energy Metering Equipment

A Multi-Robot Formation Control System Design

र ष ट र य प र द य ग क स स थ न प द च च र

Study of multi physical parameter monitoring device based on FBG sensors demodulation system

AUTOMATIC PID PARAMETER TUNING BASED ON UNFALSIFIED CONTROL

CHAPTER 3 APPLICATION OF THE CIRCUIT MODEL FOR PHOTOVOLTAIC ENERGY CONVERSION SYSTEM

REMOTE LABORATORY: HOW TO RENDER LESS VIRTUAL AS POSSIBLE THE MEET WITH THE INSTRUMENTATION

Keywords: Bracing bracket connection, local deformation, selective pallet racks, shear stiffness, spine bracings.

Effects of MATLAB and Simulink in Engineering Education: A Case Study of Transient Analysis of Direct-Current Machines

Wheeled Mobile Robot Kuzma I

An Integrated Image Steganography System. with Improved Image Quality

Energy System Protection for Grid Resilience. Xianyong Feng, PhD, PE Center for Electromechanics The University of Texas at Austin October 31, 2017

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Current Rebuilding Concept Applied to Boost CCM for PF Correction

Research Article Vegetable Greenhouses Intelligent Temperature Control System

The Principle and Simulation of Moving-coil Velocity Detector. Yong-hui ZHAO, Li-ming WANG and Xiao-ling YAN

Design and Application of Multi-screen VR Technology in the Course of Art Painting

CHAPTER 3 MAXIMUM POWER TRANSFER THEOREM BASED MPPT FOR STANDALONE PV SYSTEM

Development of front-end readout electronics for silicon strip. detectors

Design of a Hardware/Software FPGA-Based Driver System for a Large Area High Resolution CCD Image Sensor

Simulation Analysis of Control System in an Innovative Magnetically-Saturated Controllable Reactor

AN ECO-INNOVATION METHOD FOR PRODUCTS IN BOTTOM OF THE PYRAMID (BOP)

Hybrid control of high power factor AC/DC regulated power supply

FPGA Based Sigma Delta Modulator Design for Biomedical Application Using Verilog HDL

Transcription:

Send Orders for Reprints to reprints@benthamscience.ae The Open Cybernetics & Systemics Journal, 205, 9, 329-334 329 Virtual Digital Control Experimental System Open Access Yumin Chen,*, Liyong Ma, Xianmin Meng 2 and Hongfeng Yan School of Information and Electrical Engineering, Harbin Institute of Technology at Weihai, Weihai, China; 2 Carl Electric Incorporation, Weihai, China Abstract: Digital control experiments are important parts of electrical engineering course in modern electrical schools. A virtual digital control experimental system is developed for undergraduates to learn digital control principals and to practice online. Based on the digital control hardware experiment platform, the practical circuit model is developed. And some digital control algorithms are employed for virtual digital control operations, these algorithms include PID and some varies algorithms, Smith predictor algorithm, Dahlin algorithm and Kalman algorithm. The development of the Kalman filtering algorithm in the virtual experimental system is detailed. The experimental parameters of the plant and the controller can be flexible configured by the users in the terminal online, and the control results can be quickly displayed online. The virtual digital control experimental system is efficient for undergraduates to pre-practice the digital control experiments and to learn the control principals. Keywords: Digital control, kalman filtering, virtual experiment.. INTRODUCTION Digital control experiments are important parts of electrical engineering course in modern electrical schools. Undergraduates in colleges and universities need more practical experiments to improve their ability for analysis practical engineering problems to give the solutions. Meanwhile the personalized education is emphasized to improve the learning efficient. The traditional experimental system is hard to do more for this. Digital control course is a practical engineering course with very strong engineering background, and the experimental training is an important link between knowledge learning and practical applications []. With the development of computer application technology, including the web technology, software technology and mobile communication technology, the virtual experimental system can be developed for undergraduates to pre-practice experimental system and to learn principals. This is very important for breaking the breakthrough and limitation of the traditional hardware experimental resources, such as computers and experimental hardware box. A virtual experimental system for digital control is developed in Harbin Institute of Technology at Weihai. The mixed programming of advanced programming language, including MATLAB and VB, is used to develop the experiment platform and simulate the circuit hardwire. Based on the digital control hardware experiment platform, the practical circuit model is developed. And some digital control algorithms are employed for virtual digital control operations, these algorithms include PID and some varies algorithms, Smith predictor algorithm, Dahlin algorithm and Kalman algorithm. The experimental parameters of the plant and the controller can be flexible configured 874-0X/5 by the users in the terminal online, and the control results can be quickly displayed online. 2. EXPERIMENTAL SYSTEM DESIGN OF HARDWARE The digital control experiments often use the traditional hardware circuit for plant simulation and PC for controller design and results display [2]. The hardware and the experimental device often produce some errors. To improve the measurement accuracy, Kalman filtering algorithm is employed in our system. As an optimal regression data processing algorithm to solve the problem of dynamic error of the system with optimal performance, Kalman filter is known as the optimal recursive data processing algorithm [3]. In recent years, Kalman filtering algorithm is widely used in signal processing applications, and it is employed in our experimental system. Digital control experimental system constructs hardware devices with computer, PC bus driver card, data channel interface board, computer control experiment platform and the op-amp circuit board. Computer is used to measure signal and control signal input and output. Computer also provides man machine interface, especially the essential output results, such as the experimental waveforms. The plant platform is equipped with the op-amp circuit, resistance and capacity element to simulate a variety of characteristics of controlled plant. Kalman filtering algorithm is coded after circuit board embedded hardware platform. The digital signal and analog signal is conversed by an interface board that is inserted in bus expansion slot of experiment platform to provide minimization design and flexible configuration for the basic, comprehensive and innovative experiments. To reduce the hardware link errors, Kalman filtering algorithm is employed to improve measurement accuracy. The overall architecture of the digital control experimental system is illustrated in Fig. (). 205 Bentham Open

330 The Open Cybernetics & Systemics Journal, 205, Volume 9 Chen et al. Fig. (3). RCL series network. component inductance L and capacitance C to determine the state variable. When we choose inductor current i L (t) and capacitor voltage u c (t) as state variables, we can obtain the equation Fig. (). The architecture of the digital control experimental system. The flow chart of Kalman filter algorithm is shown in Fig. (2). Next we will give the detail of the Kalman filtering algorithm implementation. A typical digital control plant is consisted of a RCL series network as illustrated in Fig. (3). Then we can calculate the input i L (t) and output u c (t) of its state space equation. Let i L (t 0 ) and u c (t 0 ) be the initial. Variables, voltage u(t) is given, i L (t) and u c (t) can be used to describe the network of motion state. i L (t) and u c (t) can be used as a set of state variables of the given network. We can also use the network of independent energy storage L di (t) L + Ri dt L (t) + u c (t) = u(t) C du (t) c = i dt L (t) () Let x (t) = i L (t), and (t) = u c (t), first order matrix differential equation can be obtained as follows R x(t) = L L x (t) x x2(t) 0 2 (t) L u(t) C 0 (2) For the output, we can get the system equations Start Import the state space matrix Import R Q EE Convert the continuous state space matrix A, B, C to the discrete state space matrix E, F, G P=_ EE- Kg*H_ * p; Y(:, i +)=H*x(:, i +)+ I * U(:, i +) ; x(:, i +)=x(:, i +)+kg*y _ :, i +)- H*X(:, i +)) ; Kg=H * p/(h * p * H) +R For i =: T- X(:, j +)=F * Xi (:, j )+G * U(:, i ) ; P=F * p * F`+Q; Y(:, i +)=H*x(:, i +)+ I * U(:, i )+v(:, i ) ; Output line x is state variable And y is output variable Fig. (2). Flow chart of Kalman filtering algorithm. End

Virtual Digital Control Experimental System The Open Cybernetics & Systemics Journal, 205, Volume 9 33 y(t) = u c (t) = [0 ] x (t) (t) We write (2) and (3) as the matrix equation form x(t) = Ax(t) + Bu(t) y(t) = Cx(t) (3) x(t) = x (t) R (t) A = L L B = C = 0 L (4) 0 C 0 Now we give an example. For the state space expression of RLC networks, we assume that R=, L=, C= in the RLC series network, then we can get the state space equation A = B = 0 0 C = 0 (5) The state space equation is x(t) = x (t) 0 x2(t) (t) + 0 u(t) (6) y(t) = u c (t) = [0 ] x (t) (t) When the random noise of 0~ is appeared, we have x(t) = x (t) 0 x2(t) (t) + 0 u(t) +W (8) y(t) = u c (t) = [0 (7) ] x (t) +V (9) (t) The state variable curve of a constant input 30V without Kalman filter algorithm is shown in Fig. (4). After applying Kalman filter algorithm, the curve is shown in Fig. (5). The output variable curve without Kalman filter algorithm is shown in Fig. (6). And the output variable curve with Kalman filter algorithm is shown in Fig. (7). The result of these comparisons indicates that Kalman filter can obviously reduce the experimental measurement error. 3. VIRTUAL EXPERIMENTAL SYSTEM DESIGN 3.. Implementation Scheme In our implementation, mixed programming technology is used. The advanced language Visual Basic is used for the project, and MATLAB is used for the control algorithm simulation. Experimental simulation system is developed with VB to create friendly man machine interface [4]. VB language is object-oriented structured high-level programming language, and it is efficient and powerful for graphical interface work [5]. MATLAB is very smart and flexible to develop control Fig. (4). The state variable without Kalman filter algorithm. Fig. (5). The state variable with Kalman filter algorithm. Fig. (6). The output variable without Kalman filter algorithm.

332 The Open Cybernetics & Systemics Journal, 205, Volume 9 Chen et al. Fig. (7). The output variable with Kalman filter algorithm. system and simulate control strategy [6, 7]. And the network experimental environment is developed for the undergraduates can visit the application in the lab web through the campus network. The key technology in the development of this virtual digital control experimental system is the interface problem between VB and MATLAB. We use ActiveX control to solve this problem. The ActiveX control is called Matlab procedures in the application to access matrix or work space. ActiveX object in the Windows registry is defined as the following statement. Dim a As MLApp.MLApp = New MLApp.MLApp When a connection is established with MATLAB, VB application can communicate with MATLAB. The various ways to call the application object can be used. These common methods are BSTR command and variable passing method. BSTR command can be sent and followed a single string receiving. MATLAB output information is in the string, and can be used to display for the users. Variable passing method uses two functions for data transfer, function. void GetFullMatrix( [in] BSTR Name, [in] BSTRWorkspace, [in, out] SAFEARRAY (double)* pr, [in, out] SAFEARRAY (double)* pi) and void PutFullMatrix( [in] BSTR Name, [in] BSTR Workspace, [in]safearray (double) pr, [in] SAFEARRAY (double) pi) These two functions can carry matrix variables in MAT- LAB to VB in the array or send data with inverse directions. More details can be found in the Matlab AcviveX references. For example, we can send the input of resistance and capacitance from the man machine interface of the web page and received the data in the server. Then these parameters are sent from VB to Matlab to get the corresponding simulation result curves. 3.2. The Experimental Simulation Implementation Based on the system modular design method, simulation module for virtual online digital control experimental system is developed. The user operation interface is simple and friendly. When users logged into the system, a main menu is showed according the user class and the experiments to be Fig. (8). Main menu for users according to the user class.

Virtual Digital Control Experimental System The Open Cybernetics & Systemics Journal, 205, Volume 9 333 Fig. (9). Experimental interface. Fig. (0). Controller and parameter selection interface. Fig. (). Typical diagram of the control system.

334 The Open Cybernetics & Systemics Journal, 205, Volume 9 Chen et al. Fig. (2). The system output interface. learned as shown in Fig. (8). After the user select an experiment, the experimental interface is shown as illustrated in Fig. (9). The controlled plant parameters and the controller model can also be selected or typed into as shown in Fig. (0). Meanwhile the typical model of the control system can be showed as in Fig. (). And the output information can be obtained as illustrated in Fig. (2). CONCLUSION A virtual digital control experimental system is developed and it has been successfully applied in our class and lab for one year. The system has a powerful function to extend the experimental content and control theory. The open architecture and the network environment provide more easy used ability. Based on the digital control hardware experiment platform, the practical circuit model is developed. And some digital control algorithms are employed for virtual digital control operations, these algorithms include PID and some varies algorithms, Smith predictor algorithm, Dahlin algorithm and Kalman filtering algorithm. It is easy to use for pre-practicing the experiments and simulating the control engineering theory. And many undergraduates like to verify the virtual experimental results in the practical hardware platform, and most of them are familiar with the models very much after their using the virtual experimental system. CONFLICT OF INTEREST The authors confirm that this article content has no conflict of interest. ACKNOWLEDGEMENTS This work is partially supported by Shandong Provincial Natural Science Foundation (ZR20FM005), Shandong Provincial Promotive Research Fund for Excellent Young and Middle-aged Scientists (BS200DX00), and Key Lab Open Fund of Harbin Institute of Technology (HIT.KLOF.202.078). REFERENCES [] W.L. Li, Q.Q. Luo, Z.P. Li, and Y. Li, The application of virtual instrument technology to demonstration experiment teaching of science and engineering, In: Proceedings of IEEE International Symposium on IT in Medicine & Education, vol., pp. 592-595, August 2009. [2] M. Kaluz, L. Cirka, and M. Fikar, Simplifying the implementation of remote laboratories in educational environments using industrial hardware, In: Proceedings of International Conference on Process Control, June 203, pp. 522-527. [3] M. Rehman, and V. Esichaikul, Duplicate record detection for database cleansing, In: Proceedings of International Conference on Machine Vision, December 2009, pp. 333-338. [4] H.Y. Yan, and B. Xu, Experimental teaching design and exploration of system dynamics simulation, In: Proceedings of International Conference on Education Technology and Training, December, 2009, pp. 249-252. [5] R. Barik, J.S. Zhao, and D. Grove, Communication optimizations for distributed-memory X0 programs, In: Proceedings of IEEE International Symposium on Parallel & Distributed Processing, May 20, pp. 0-3. [6] M. Occhipinti, A. Marone, P. Busca, C. Fiorini, and R. Peloso, A new optical simulator for light collection estimation in scintillation detectors, In: Proceedings of IEEE Nuclear Science Symposium and Medical Imaging Conference, October. 202, pp. 343-346. [7] K. Zhou, B. Yan, Y.L. Jiang, and J.L. Huang, Double-tank liquid level control based on genetic algorithm, In: Proceedings of International Conference on Intelligent Human-Machine Systems and Cybernetics, August 202, pp. 354-357. Received: September 6, 204 Revised: December 23, 204 Accepted: December 3, 204 Chen et al.; Licensee Bentham Open. This is an open access article licensed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/- licenses/by-nc/3.0/) which permits unrestricted, non-commercial use, distribution and reproduction in any medium, provided the work is properly cited.