The Research of Embedded Communication Terminal Based on CAN Bus

Author
ZuoDongWang
Advisor
LiuMingShan
School
Jilin University
Major
Signal and Information Processing
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2009
Downloads
170
Citations
0

Request the full text

Abstract

As a powerful tool in the development and utilization of resources and infrastructure construction, construction machinery industry has entered a new period of development in 21st century. Although China is a big maker of construction machinery, its products are characterized by relatively backward technology and low value-added. Because of China’s construction machinery manufacturers’low input in electronics and information technology of the products, various front unit control and management systems are separate and each sub-system becomes a independent information island. Human Machine Interface of the products is often just a simple display and switch. Therefore, it is difficult to operate the construction machines with complex operation and multi-parameters. Furthermore, construction machines, which are isolated and centralized control of a single, are unable to meet the need of machinery group.Embedded system is application-centric, based on computer technology, software and hardware can be tailored to meet the application system to function, reliability and cost of the stringent requirements of a dedicated computer system. Nowadays, embedded system is one of the most popular and promising technology. With the rapid development of satellite positioning technology, wireless communication technology, embedded technology and control technology, the demands of humanization, intelligence, network and machinery group of construction machinery are continually increasing. The performance of construction machinery is closely related to the core controller. At present, the control equipment of construction machinery is mainly used SCM and PLC as controller in China. However, SCM and PLC are weak in the function of computing and communications. Moreover, the reliability of SCM and PLC are poor when too many connection requests occur and control tasks are complex. It is a trend to introduce ARM embedded microprocessor to upgrade the traditional construction machinery products, playing ARM’s characteristics of integrated feature-rich on-chip, simple external circuit, strong anti-interference ability, low power consumption, real time, multi-task processing, etc.Embedded systems are composed of two parts: hardware and software. The hardware of embedded systems usually includes embedded microprocessors and external circuits. The software of embedded systems usually includes embedded operating systems, applications and device drivers. Embedded operating systems include the bottom-driven software associated with hardware, system kernel, device driver interfaces, communication protocols, graphical interfaces, standardization browser and so on. Embedded operating system runs on the embedded processor, manages the processor and other hardware devices at the bottom of processor, schedules all running applications, shields the bottom details and provides users with a unified programming interface. Developers only need to split applications into several independent modules to develop. This greatly simplifies the application design process, shortens the development cycle, reduces duplication of effort, improves the efficiency of product development and the efficiency of knowledge innovation.The communication terminal system of construction machinery designed in this paper is based on the Samsung’s S3C44B0X microprocessor and built on embeddedμCLinux operating system. The terminal system connects all the bottom control systems of construction machinery through CAN-bus and collects status information to achieve centralized control of local, monitoring and maintenance. The terminal system collects real-time location information of construction machinery through the GPS module and displays the status information and the location information through LCD. The system design is mainly composed of the following aspects: 1. This system chooses Samsung’s S3C44B0X microprocessor as the core controller. I have designed CAN-bus module, asynchronous serial circuits and LCD circuits. The system connects the GPS module LEA-4H through the asynchronous serial circuit. S3C44B0X microprocessor is a high performance ARM processor designed by Samsung. The S3C44B0X was developed using a ARM7TDMI core and its highest working frequency can be up to 66MHz. Its low-power, simple, elegant and fully static design is particularly suitable for cost-sensitive and power sensitive applications. Microchip’s MCP2510 is adopted as the CAN controller of the CAN-bus module and connects S3C44B0X with its SPI interface. Maxim’s MAX3232 is adopted as the chip of serial level converter in the asynchronous serial circuit, which implements RS-232C electrical standard. The system connects the GPS module LEA-4H through the RS-232C serial port. SHARP’s LM057QC1T01, which is a color STN LCD module with 320×240 dots , is used as the LCD module in the LCD circuit.2. The software platform of the system adoptsμCLinux as the embedded operation system.μCLinux is organized with layer structure and opens its source code. Its network is power. And it supports many kinds of file systems and can operates on many kinds of embedded processors, including S3C44B0X processor. This system adopts host/target cross-platform development mode. In this mode, the host takes charge of building cross-platform development environment. Cross-toolchain adopts arm-elf-tools-20030314.sh. The cross-compiler environment can be built by using this toolchain.μCLinux source package adopts uClinux-dist-20040408 with Linux kernel version 2.4.24. I have tailored and migrated theμCLinux operating system for hardware configuration and functional requirements of this system.3. After the building of the software development environment, usingμCLinux as embedded operating system, I develop the device drivers and applications for this system, including: CAN module driver, serial communication application and GPS data-processing application. I have already achieved the functions of CAN communication and GPS positioning, which are part functions of the communication terminal system of construction machinery.The main work in this paper is about the design and realization of hardware and underlying software of the communication terminal system of construction machinery. The hardware and underlying software is not only the basis for the realization of the whole system, but also the core of the whole system. Some of the designs, such as embedded hardware design based on ARM microprocessor, operating system migration and device driver,have a certain value of promotion and application.

Table of contents

Summary 4-8 Chapter 1 Introduction 8-14 topic 1.1 Background 8-9 1.2 development in the world 9-10 1.2.1 foreign development status 9 Configuring domestic related products status quo is 9-10 1.3 research projects value and main 10-14 Chapter 2 ARM processor-based embedded systems development 14-25 2.1 embedded systems, the definition and composition of 14-15 2.2 embedded systems, characteristics and development process 15-18 2.3 embedded ARM processor 18-21 2.3.1 ARM processor Profile 18 2.3.2 ARM processor architecture 18-21 2.4 embedded operating system 21-24 2.4.1 embedded operating system definition 21 2.4.2 of common embedded operating system 21-22 2.4.3 the embedded μCLinux operating system 22-24 2.5 Summary 24-25 Chapter 3 system hardware design 25-43 3.1 system hardware constitute 25 3.2 S3C44B0 microprocessor About 25-27 3.3 CAN module is designed 27-33 3.3.1 CAN Bus Overview 27-29 3.3.2 S3C44B0X SIO Overview 29-30 3.3.3 the CAN interface circuit design 30-33 3.4 asynchronous serial circuit 33-36 3.4.1 S3C44B0X UART Overview 33-34 3.4.2 asynchronous serial interface circuit design 34-36 3.5 LCD circuit 36-39 3.5.1 S3C44B0X LCD controller Overview 36-38 3.5.2 LCD circuit design 38-39 3.6 GPS module interface circuit 39-42 3.6.1 GPS Overview 39-40 3.6.2 LEA-4H Overview 40-41 3.6.3 GPS module interface circuit 41-42 3.7 Summary 42-43 Chapter 4, the system software environment 43-54 4.1 cross-compiler environment to establish 43-44 4.2 of μCLinux the transplant 44-52 4.2.1 system boot program the Bootloader 44-47 <br to /> 4.2.2 of μCLinux source changes 47-50 4.2.3 μCLinux kernel configuration and tailoring 50 4.2.4 of μCLinux kernel compile 50-52 4.2.5 of μCLinux run 52 4.3 Summary 52-54 Chapter 5 of each module software design 54-77 5.1 embedded Linux device driver 54-58 5.1.1 embedded Linux device driver Overview 54-55 5.1.2 embedded Linux device driver interface 55-56 5.1.3 embedded Linux device drivers, mainly composed of 56-58 5.2 CAN driver 58-66 5.2.1 CAN driver data structures 58-60 5.2.2 CAN driver program file operations interface 60-63 5.2.3 CAN-driven program initialization 63-64 Add 5.2.4 CAN driver and compile 64-66 5.3 of μCLinux under the serial communication 66-69 5.3.1 μCLinux serial port settings 66-67 serial operation 5.3.2 μCLinux 67-68 5.3.3 μCLinux serial communication program design 68-69 5.4 GPS module program designed 69-76 5.4.1 GPS data format 70-72 5.4.2 GPS data processing 72-76 5.5 Summary 76-77 Chapter 6 Summary and Outlook 77-79 References 79-83 thank 83-84 Summary 84-87 Abstract 87-90

Related dissertations

  1. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  2. Research and Implementation of Intelligent Regulator Based on ARM
    MengFanBing ·Dalian Polytechnic University ·2011 ·Master's thesis
  3. Design of Smart Terminal for New Energy Micro Grid of Island
    MaLi ·Zhejiang University ·2014 ·Master's thesis
  4. Research and Design of BD/GPS Dual-Mode Intelligent Vehicle System
    XiaoYongJun ·Hunan University ·2013 ·Master's thesis
  5. The GPS/CNSS Navigation System Reaearch Based on Linux
  6. And implementation of vehicle positioning and communication terminal based on GPS/GPRS
    WeiLong ·Northwestern University ·2013 ·Master's thesis
  7. Design of double GPS system based on VxWorks
  8. The Vehicle-mounted GPS Data Display and Storage Systems Based on μC/GUI and FATFS
    LongDeLiang ·Shandong Normal University ·2014 ·Master's thesis
  9. Design and Implementation of the Client of Remote Vechicle Surveillance System Based on ARM Linux
  10. Design and Implementation of Remote Vehicle Monitoring System Based on3G Technology
    QiGuangShi ·Jilin University ·2012 ·Master's thesis
  11. The Design and Implementation of Data-Collection System on Operational Vehicles
    QinWei ·Jilin University ·2013 ·Master's thesis
  12. Analysis and Design of FlexRay-CAN Gateway Protocol in Automotive
    RuanHuaBin ·Hunan University ·2012 ·Master's thesis
  13. Design and Implementation of a Multi-purpose Vehicle Traveling Data Recorder
  14. The Research and Implementation of NTP Time Server Based on W5100
  15. GPRS car remote fault diagnosis system of vehicle terminal - based study design
  16. Zoomlion Channel Conflict Research
    YiWenJie ·Hunan University ·2012 ·Master's thesis
  17. Research on reasons and integration strategy of ZOOMLION channel conflict
    HeTingFeng ·Yunnan University of Finance ·2013 ·Master's thesis
  18. S Company Customer Satisfaction Surveys and Research
    WuQun ·South China University of Technology ·2013 ·Master's thesis
  19. A Study on the International Strategy of Zoomlion
    NiuMeng ·Lanzhou Commercial College ·2014 ·Master's thesis
  20. The Research on Competitive Intelligence Construction for S Company
    YangZaiSui ·Anhui University ·2014 ·Master's thesis