Design of ARM Based Biped Walking Robot Motion Controller

Author
DongDeJi
Advisor
LiZeXiang
School
Harbin Institute of Technology
Major
Control Theory and Engineering
Classification
TP242 Robot
Degree
Master's thesis
Year
2006
Downloads
762
Citations
2

Request the full text

Abstract

This thesis designed a robot controller based on ARM core chip, S3C2440. S3C2440 is the least product of Samsung Electronics; it can run at 533MHz maximal. It is designed for hand hold application, this is main it can be seen as micro PC, thus it is powerful, and it has more general ports and peripheral equipments for more application. Robotic control is always connected with non-linear control, variation-structure control and the body system is always in unstable state. Most of the robot controllers use DSP or other special digital chips. In our robot controller, the ARM core chip S3C2440 is selected, the external memory includes 32M*2 SDRAM, 2M NOR flash and 64M Nand flash. According the characteristic of the steering-engines control signal, use one pin of S3C2440 to control one steering-engine, use interrupts to specific the time.In hardware diver, UART1 is programmed to communicate with PC, caches and buffer which are on chip resources are enabled, the PWMtimer0 which is also on chip resource is setup to generate interrupts generator to specific the real time, the buses clock are setup.In software system,μC/OS-II is selected as the real time core. This core is designed for real time multi tasks, its high efficiency and low hardware cost has been widely used in most embedded application. This core can manage 56 tasks at the same time, in most application this is enough. The portedμC/OS-II, which supports context switch, priority change in interrupt service routine, can run on S3C2440.The actuators of the biped robot use steering-engines. This component can be seen as location serve subsystem. The controller’s most basic task is to generate the control signal of the steering-engine.

Table of contents

Abstract 4-5 abstract 5-11 list OF TABLES 11-12 List OF Figures 12-15 1 INTRODUCTION 15-21 1.1 The back ground of this project 15 1.2 The goal and significance of the project 15-16 1.3 The development of robot 16-17 1.3.1 The development of robot overseas 16-17 1.4 The development of robot in home 17-18 < br /> 1.5 The introduction of Embedded Real Time Systems 18-19 1.6 Summary 19-21 2 ROBOT BODY SYSTEM ANALYSIS 21-27 <br / > 2.1 Brief introduction of our humanoid robot module 21-22 2.2 TThe structure and control property of the actuator 22-24 2.3 ATnalysis of walking step relative to angle variant of steer-engine 24-25 2.4 SuTmmary 25-27 3 ARM ARCHITECTURE AND S3C2440 27-33 3.1 Advantage of ARM architecture 27 3.2 About S32440 27-32 3.2.1 Introduction of ARM920T 27-29 3.2.2 Overview of S3C2440 [13] 29-32 3.3 On chip peripheral resource applied to humanoid robot controlle 32 3.4 Summary 32-33 4 HARDWARE DESIGN OF ROBOT CONTROLLER 33-39 4.1 The global view of hardware design 33 4.2 Port distribution for controlling the steering-engine 33-35 4.3 External memory design 35-37 4.3.1 Design of SDRAM interface and NOR flash interface 35-36 4.3.2 Design of NAND flash 36-37 4.4 summary 37-39 5 DESIGN OF SYSTEM'S KEY SOURCE CODE 39-47 5.1 ARM exception vectors and processor's response to exception 39-40 5.2 Design the bootloader 40-42 5.3 About data transfer 42-43 5.4 Compile the program using ADS 1.2 43-44 5.5 Using hardware emulator to download the bin file to flash 44-45 5.6 Summary 45-47 6 RTOS / ERTOS AND μC / OS-II / OS-II PORTING 47-63 6.1 Real-Time Systems Concepts 47-48 6.1.1 Foreground-Background Systems 47-48 6.2 Critical Section of Code 48-51 6.2.1 Multitasking 48-49 6.2.2 Task 49 6.2.3 Context Switch (or Task Switch) 49-50 6.2.4 Kernel 50 6.2.5 Scheduler 50 6.2.6 Non-Preemptive Kernel and Preemptive Kernel 50 - 51 6.2.7 Task Priority 51 6.2.8 Advantages and Disadvantages of Real-Time Kernels 51 6.3 μC / OS-II introducti 51-57 6.3.1 Handling access to critical sections of code 51-52 6.3.2 Tasks and Task states 52-53 6.3.3 OS_TCBs (Task Control Blocks) 53-54 6.3.4 Ready List 54-57 6.4 Porting μC / OS-II 57-59 6.5 About context 59-60 6.6 Running μC / OS-II on S3C2440 60-61 6.7 Summary 61-63 7 DTESIGN OF SYSTEM'S DIVER PROGRAMS 63-67 7.1 What is diver programs 63 7.2 S3C2440's UART and it's diver 63-66 7.3 Using MMU to improve the real time response of the interrupts 66 7.4 Summary 66-67 8 SYSTEM DESIGN AND REALIZATION 67-81 8.1 Control property of Steering -Engine 67-68 8.2 ARM system's clock and PWMtimer0 interrupt 68-69 8.3 Error analysis of steering-engine's control signal 69-70 <br / > 8.4 Improve the small variant input response of the steering-engine 70-75 8.5 Realization of modulate_output on steering-engine 75-78 8.6 The running result of the control signal 78-79 8.7 Summary 79-81 9 CONCLUSION 81-83 9.1 About references 81 9.2 About the future research 81-83 REFERENCES 83-87 APPENDICES SOURCE CODE OF THE SYSTEM 87-153 A.1 C START UP CODES 87-122 A.1.1 File: 24401NIT.S 87-109 A.1.2 File: OPTION.IN C 109-114 A.1.3 File: MEMCF.INC 114-119 A.1.4 File: 2440ADDER.INC 119-122 A.2 UART DIVER SOURCE CODES 122-132 A.3 PORTING μC / OS-II SOURCE CODE 132-153 A.3.1 File: os_cpu_a.s 132-142 A .3.2 File: OS_CPU_C.C 142-148 A.3.3 File: OS_CFG.H 148-153 HARBIN INSTITUTE OF TECHNOLOGY AUTHORIZATION USAGE CERTIFICATE MASTER DEGREE THESIS 153-156

Related dissertations

  1. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  2. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  3. Design and Implementation of Embedded Network Control System Based on Linux
    WangZhiJia ·Xiamen University ·2014 ·Master's thesis
  4. Design and Implementation of Industrial Gateway Device Based on ARM
    ZuoXiaoJing ·Harbin Engineering University ·2013 ·Master's thesis
  5. Design and Realization of Remote Video Monitoring System Based on the Embedded System
    LiLing ·Chang'an University ·2013 ·Master's thesis
  6. Research and Design of Truck-Mounted Weighing System
    WangHao ·Chang'an University ·2013 ·Master's thesis
  7. Process Monitoring and Fault Diagnosis System and Application Based on ARM
    DengYanFei ·Nanchang University ·2013 ·Master's thesis
  8. The Research and Design of Monitoring System on Interior Environment and Equipment Condition
    YangZheZuo ·Wuhan University of Technology ·2012 ·Master's thesis
  9. The Research and Design of Embedded Video Monitoring System Base on ARM
  10. The Unattended Telecommunication Room of Data Acquisition System
  11. Refueling machine control device based on IFSF protocol
    PengYan ·Heilongjiang University ·2012 ·Master's thesis
  12. The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
  13. Mobile Robot Platform Design and Implementation Based on μC/OS-Ⅱ
  14. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  15. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  16. The Research of Household Remote Monitoring Based on Embedded Web Server
  17. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  18. Engine Room Monitoring System Based on the Embedded Web Server
  19. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  20. Research and Design of Intelligent Video Surveillance System Based on ARM