Based on the ARM and PID Control Free Pendulum Balance System

Similar documents
Design of intelligent vehicle control system based on machine visual

Sensors and Sensing Motors, Encoders and Motor Control

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

Sensors and Sensing Motors, Encoders and Motor Control

Study on Repetitive PID Control of Linear Motor in Wafer Stage of Lithography

Six-degree-of-freedom robot design

Cleaning Robot Working at Height Final. Fan-Qi XU*

Design of High Precision Digital AC Constant Current Source

Separately Excited DC Motor for Electric Vehicle Controller Design Yulan Qi

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

A New Simulation Technology Research for Missile Control System based on DSP. Bin Tian*, Jianqiao Yu, Yuesong Mei

Design of double loop-locked system for brush-less DC motor based on DSP

*Corresponding author. Keywords: Sub-packaging Screw, Operating Characteristic, Stepping Motor, Pulse Frequency.

Design of Automatic Control System for NDT Device

GE 320: Introduction to Control Systems

Automatic Control Systems 2017 Spring Semester

Draw the symbol and state the applications of : 1) Push button switch 2) 3) Solenoid valve 4) Limit switch ( 1m each) Ans: 1) Push Button

Development of Running Robot Based on Charge Coupled Device

D102. Damped Mechanical Oscillator

Control System Design of Magneto-rheoloical Damper under High-Impact Load

Research on Intelligent CNC Turret Punch Press Process Programming. System

Design of the Auto Electric Power Steering System Controller

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

Single-phase or three phase AC220V (-15% ~ +10%) 50 ~ 60Hz

Design of Voltage Regulating Control Device of Improved PID Algorithm for the Vehicle AC Generator Based on DSP

A High Precision Electronic Scale Based on STM32. Jiahui Chen

Interfacing dspace to the Quanser Rotary Series of Experiments (SRV02ET)

Where: (J LM ) is the load inertia referred to the motor shaft. 8.0 CONSIDERATIONS FOR THE CONTROL OF DC MICROMOTORS. 8.

PID-CONTROL FUNCTION AND APPLICATION

A Simple Design of Clean Robot

Optimal Excitation Controller Design of Synchronous Generator Based on DSP

Modeling and simulation of feed system design of CNC machine tool based on. Matlab/simulink

Feed-back loop. open-loop. closed-loop

The Research on Servo Control System for AC PMSM Based on DSP BaiLei1, a, Wengang Zheng2, b

A Detection Method of Time Slot Power Based on ARM Platform

Chapter 5. Tracking system with MEMS mirror

Study on Reactive Automatic Compensation System Design

A Universal Motor Performance Test System Based on Virtual Instrument

ServoStep technology

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

Co-simulation of Stabilization Accuracy Optimization of Overhead Weapon Station W. Deng, B.Q. Mao, B.W. Liang, P. Song

MTY (81)

Design of Experimental Platform for Intelligent Car. , Heyan Wang

Electronic Module of Hydraulic Damper Test Bench using ARM Microcontroller Interfacing in LabVIEW

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

Shenzhen Alpha Inverter Co., Ltd. AS100 AC Servo Drive

Hardware-in-loop Electronic Throttle System Based On Simulink Ning Chen 1,a,Pinchang Zhu 1,b

An Ontology Based Approach with Intelligent Decision for Off-Line Diagnosis of ECU

Step vs. Servo Selecting the Best

Training Schedule. Robotic System Design using Arduino Platform

XC-E6TCA-P Temperature control module User s manual

A PID Controller for Real-Time DC Motor Speed Control using the C505C Microcontroller

Manual. ihss57-xx. Integrate Stepper Servo Motor.

Closed-Loop Transportation Simulation. Outlines

AC : DEVELOPING A COURSE AND LABORATORY FOR EM- BEDDED CONTROL OF MECHATRONIC SYSTEMS

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

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

V&T Technologies Co., Ltd. Vectorque TM V6-H-M1 SERIES INVERTER ADDITIVE MANUAL (M1) V6-H Series ADDITIVE MANUAL V& T

Optimal Control System Design

The Research on the System of Double-Holding Water Tank Liquid Level Control with the PID Control

Servo Tuning Tutorial

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Control Systems Overview REV II

Robotic Swing Drive as Exploit of Stiffness Control Implementation

Robotic Navigation Distance Control Platform

International Journal of Advance Engineering and Research Development

Understanding RC Servos and DC Motors

Hardware Implementation of Automatic Control Systems using FPGAs

Control System of Tension Test for Spring Fan Wheel Assembly

Smart off axis absolute position sensor solution and UTAF piezo motor enable closed loop control of a miniaturized Risley prism pair

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

I. INTRODUCTION MAIN BLOCKS OF ROBOT

IMU Platform for Workshops

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

INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING

Teaching Mechanical Students to Build and Analyze Motor Controllers

DC motor control using arduino

DEVELOPMENT OF A HUMANOID ROBOT FOR EDUCATION AND OUTREACH. K. Kelly, D. B. MacManus, C. McGinn

DeviceCraft Revision #1 11/29/2010

Latest Control Technology in Inverters and Servo Systems

CS545 Contents XIV. Components of a Robotic System. Signal Processing. Reading Assignment for Next Class

Intelligent Balanced Device and its Sensing System for Beam Pumping Units


ELECTRICAL CONTROL DESIGN FOR DRIVING SYSTEM OF SERVO MOTOR

Space Research expeditions and open space work. Education & Research Teaching and laboratory facilities. Medical Assistance for people

The Design of Intelligent Wheelchair Based on MSP430

ELG3336 Design of Mechatronics System

AC : A STUDENT-ORIENTED CONTROL LABORATORY US- ING PROGRAM CC

Available online at ScienceDirect. Procedia Computer Science 76 (2015 ) 2 8

Robotic Vehicle Design

Design and Simulation of PID Controller using FPGA

Integrated Servo Motor UCS57

MTY (81)

Microcontroller Based Closed Loop Speed and Position Control of DC Motor

9/28/2010. Chapter , The McGraw-Hill Companies, Inc.

ECE 511: MICROPROCESSORS

NEW DIGITAL ANGLE MEASUREMENT FACILITY BASED ON FPGA

COVENANT UNIVERSITY NIGERIA TUTORIAL KIT OMEGA SEMESTER PROGRAMME: MECHANICAL ENGINEERING

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

High-speed and High-precision Motion Controller

Transcription:

Available online at www.sciencedirect.com Procedia Engineering 29 (2012) 3491 3495 2012 International Workshop on Information and Electronics Engineering (IWIEE) Based on the ARM and PID Control Free Pendulum Balance System Li Yanhong a*, Li Shuliang b a Dept.of Information and Electrical Engineering, Shandong jianzhu university,jinan,china b Dept.of Training and employment,weihai mechanical engineering senior Technical school,rushan,china Abstract The free motion of a pendulum is a discontinuous change of the unstable system, when a motor is fixed to the end of free pendulum, and a flat plate is mounted on the motor shaft, so the motor drives the plate to rotate, which can realize balance control of plate in the free pendulum swing process. Based on ARM and digital PID control free pendulum balance control system applies control theory and electronic technology to achieve automatic control of free swinging end plate, the application can achieve a variety of functions according to the actual need. The system is based on ARM embedded system as the main control circuit, the angle sensor is responsible for signal acquisition, software implement PID operation, the microprocessor outputs control command to drive motor, so that the whole system run smoothly and achieve the predetermined requirements. By practical testing, the system can realize the automatic adjustment and control, control precision and speed can reach the requirement. The system s hardware circuit is simple, software facilitate transplant, the whole system is stable, in the industry control and robot field has a certain reference value. 2011 Published by Elsevier Ltd. Open access under CC BY-NC-ND license. Keywords: ARM; Balance control; Measurement and control system; Steering engine 1. Introduction The whole or part of system s balance control problem has important value in the control theory research, but also has great practical significance in practical application, its control method and thought is widely used in the aerospace, military, robotics and general industrial control process. With the * Corresponding author. E-mail address: liyanhong@sdjzu.edu.cn 1877-7058 2011 Published by Elsevier Ltd. doi:10.1016/j.proeng.2012.01.518 Open access under CC BY-NC-ND license.

3492 Li Yanhong and Li Shuliang / Procedia Engineering 29 (2012) 3491 3495 development of modern control technology and the development of electronic technology, more and more control method and means are applied in practice, new technology and new method emerge in an endless stream. SCM in industrial control field plays a powerful function, and uses ARM as the CPU to exhibit more excellent performance. This system is based on the ARM machine on the servo control, with the digital PID algorithm, to achieve the precise balance control system. 2. System structure and hardware circuit design 2.1. system function The frame of free pendulum balance control system is composed of swing frame, swing rod, plate, servo and other components. One end of the oscillating lever is fixed on the bracket through a rotating shaft, ensure it can swing freely, while the other end is provided with a servo, flat plate fixed on the servo shaft, and servo can drive the flat rotation. This system can achieve the following functions: (1) In the swinging process of the pendulum rod, the system needs to control state of the plate, so that the plate always stays in a horizontal state. Thus the object (such as coins) placed on the plate will not slide from the flat, and will stay as far as possible in the central point of the flat. (2) A laser pen is fixed on the plate, in the swing process of the free pendulum, the laser beam should irradiate on the center point of a predetermined target as far as possible. 2.2. system structure The system consists of data acquisition part, microprocessor, executing element, the whole system is a closed loop control. The overall structure of balance control system is shown in figure 1. The angle sensor is responsible for information collection of the whole system, it can obtain the real time displacement of the end of free pendulum, signal is converted to voltage signal by the analog-to-digital conversion, the microprocessor use this as input, then the control signal is obtained by numerical calculation, the control signal can control the motor operation, meets the control requirements. Real-time data acquisition and real-time decision, real-time control ensures fast response of the system in the process of the entire system operation. Fig. 1. The system structure 2.3. Selection of the system hardware circuit Angle sensor is the information channel of detection system, and its performance will affect the precise control of the whole system. The sensor sensitivity and response speed should be paid attention to in the process of angle sensor selection. This system choose potentiometer type angle sensor. The sensor and the

Li Yanhong and Li Shuliang / Procedia Engineering 29 (2012) 3491 3495 3493 rotating shaft is a whole, so it s convenient installation. The rotation of the rotating shaft can change the potentiometer resistor value, and the rotation angle is the free pendulum angle. The processor is the core components to realize of system function. Its performance decides the performance and accuracy of the whole measurement and control system. By using ARM7 embedded system, the main controller s operation speed is fast, and its memory is enough. The system can also use other type of controller. ARM system needs some peripheral circuit to meet the requirement of the system. The ARM processor is the integration of multiple techniques. It has the advantage of low power consumption, high performance, small volume and high integration in the tiny kernel. It integrates many tightly coupled system peripherals, and the use of chip space is reasonable. The executive element of the system selects steering engine actuator, which is servo motor. As is compared to stepping motor, its movement process is continuous and smooth. It can maintain the system running smoothly, and is conducive to the realization of system performance. The steering engine has the following characteristics: (1) its size is compact, and it is easy to install; ( 2) its output torque is big, and it has good stability; ( 3) the control is simple, and it is convenient to connect with digital system. The steering engine s control signal is Pulse width modulation (PWM)signal, and its cycle is 20ms, in which the pulse width changes from 0.5ms to 2.5ms, linearly corresponding to the steering plate position from 0 to 180 degrees. The steering engine is a kind of position servo drive, for those who need the angle continuously changes and can keep driving, for example the robot's joints, and the aircraft steering plate etc. 3. Systems software design and algorithm realization 3.1. PID algorithm realization and parameter setting The algorithm of microprocessor is the key to meet the control requirements. Free pendulum is a continuous motion system, and the motion of the controlled object s pendulum motion is also a continuous process of change. In a continuous closed loop process control, PID control technology is widely applied as a control mode. The PID controller has the advantages of simple structure, good stability, reliable work and convenient adjustment. It is one of the main techniques of industry control. PID control does not need to know the mathematical model of the object. Ideal result can be obtained as long as the controller parameters can be adjusted according to needs. Control algorithms for PID is shown below: u = K 1 [ e( + T t de( e( dt + Td + u 0 dt P 0 ] i In the formula, u is the output of the controller; u 0 is the Initial value of u ; e ( is the input of the regulator function; K p is proportional gain; T i is integral time constant; T d is derivative time constant. In order to facilitate the digital operation, the upper formula can be discrete, and then we get the differential equation of the formula. k T Td u( = Kp { e( + e( j) + [ e( e( k 1)]} + u0 Ti T j= 0 In the formula, T is sampling period, K is sampling number. The system uses steering engine as executive element. In the actual application, incremental algorithm ate generally adopted, that is using the increment of the controller output between k and k-1 as a control volume. Incremental control independent on initial position, and there is no accumulated error.

3494 Li Yanhong and Li Shuliang / Procedia Engineering 29 (2012) 3491 3495 Incremental PID algorithm of the controller is shown below: Δu = K [ e( e( k 1)] + k e( + K [ e( 2e( k 1) + e( k 2)] ( p i d The setting of the parameters for PID controllers using extension critical proportion degree method, steps are as follows: (1)First a sufficiently short sampling period should be choose; (2)Only proportion control is added in, until the system has the critical oscillation response to the step input, then write down the proportional amplification coefficient and the critical oscillation period; (3)In certain control degree, parameters can be determined through looking up the table. (4)The controller work in the obtained parameters, observe the control effect, if necessary, select control degree again to achieve the more satisfactory results. 3.2. System software design System software adopts the module design method, mainly includes the system main program, data acquisition module, motor control module, display module and communication module. The data acquisition module obtain the voltage data from angle sensor, then process and convert the voltage signal, so get the digital signal; processor operate by the digital signal, then transmit to the steering gear; the display module can display angle changes, motor status and other information, communication module can realize the communication between system and host. Servo motor s control is the core, it should not only guarantee the efficiency of steering gear, also should pay attention to not let servo motor beat phenomenon. In order to achieve the above requirements, it needs acceleration and deceleration controlled by a PWM signal. Servo motor s direction is controlled by one of the ARM IO ports, it is divided into left, right and stop. The flow of flat balance control program as shown in figure 2. Beam aiming control program is only needed to be changed the judge to whether offset from the center line, the other process is basically the same. Fig. 2. The flow of program

Li Yanhong and Li Shuliang / Procedia Engineering 29 (2012) 3491 3495 3495 4. Test result The system founded by homemade swing frame system, take the angle sensor as measurement, Servo as executive element, take ARM as the main control unit, with the display and communication unit, forming a complete automatic balance control system. The whole system is composed of several modules, after the completion of the assembly debugging respectively first, then the whole debugging. (1) Test of balance The free pendulum is pushed to a point of start, using the angle sensor reflected angle position, the processor calculates the required number of pulse and transmit to the servo motor, in response to the driving signal servo act and drive plate to rotate, reach the equilibrium position then stop. Servo rotate needs time, if procedure time changes too fast servo could not follow the procedure. According to the needs, select the appropriate delay, repeated testing, let the servo rotate very smoothly. In last, the panel has always been at the state level, and can guarantee to put objects from flat off. (2) Test of location The laser pen is fixed on a flat plate, with hand push rod to a starting angle, adjusting plate angle so that the spot irradiated at the target center line. In swing process the processor calculate the necessary pulse number according to the current location of the sevor, through repeated adjustment, the laser beam has always aimed at the central location point. After debugging, the system objectives can be met, and can realize the precise control. 5. Conclusion This paper describes the structure of free pendulum control system based on the digital PID and ARM processor from the two aspects of hardware and software. The system makes full use of the ARM machine s functions of acquisition and processing of analog and incremental digital PID control algorithm. It is flexible to adjust the control signal to control the operation of servo motor. The system can basically meet the control requirements. It has the characteristics of rapid action, stable running and accurate control. Free pendulum is an unstable system with continuous change. The plate on end of the pendulum is in an unstable system. The system can implement part of the stable control in an unstable system. The system uses ARM as the main controller for the development. It uses PID algorithm for the control. The whole software design is based on the modular design. It can be applied to other controller system. The algorithm and the control method of the system can be applied to intelligent vehicle, robot and other control field. On the basis of the original hardware, more control function can be achieved and only need to modify corresponding program. References [1] Zhu Xiu-mei. The design of free pendulum balance control system based on Cortex-M3 ARM.Nanjing:Electrical Engineering Southeast University,2010:40-42. (in Chinese) [2] Liu Di,Tan Chun-liang.Temperature control system based on digital PID and 89C52 single-chip microcomputer.electronic Design Engineering,2010,18(4):28-30. (in Chinese) [3] Luo Jia,Sun Yun-qiang. Comparison Between 51 Series Single Chip and ARM Microprocessor. Industrial Control Computer,2007,20(5):64-66. (in Chinese) [4] Dong Li-ning.The Design of the Servo Controller of AUV Based on ARM.Xi an: Northwestern Polytechnical University,2007:2-6. (in Chinese)