
Implementation of a CAN Bus based Measurement System on an FPGA Development Kit
Yu Zhu(Author)
diplom.de (Publisher)
1st Edition
Published on 5. July 2010
91 pages
978-3-8366-4869-1 (ISBN)
System requirements
for PDF without DRM
E-Book Single Licence
You are acquiring a single user licence for this eBook, which you might not transfer. [C]
Available for download
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Inhaltsangabe:Abstract: The Controller Area Network (CAN) is a serial field bus protocol which was originally used in road vehicles. Most people still use Microcontrollers (MCU) to control the CAN bus. The development of Field-programmable Gate Array (FPGA) is very advanced, and compared to the MCU the FPGA has many advantages. For this reason, this thesis uses an Altera FPGA development kit to design a CAN bus based measurement system. During the work, four Direct Digital Synthesizers (DDS) were simulated for four wave channels in the FPGA. All signals of the channels were transmitted from the FPGA to a CAN bus. Between the CAN bus and FPGA an Atmel CAN MCU, which contains both serial and CAN ports, was used as the third party. Whereby the data output from the FPGA were first transmitted to the serial port of the CAN MCU and then shifted to the CAN port of the CAN MCU. The CAN bus device (NI CAN USB-8473) which was used in this thesis, has a CAN port to connect to the CAN port of the CAN MCU, and a USB 2.0 port to connect to a PC. Finally, the data of the CAN bus was monitored on the PC with the LabVIEW platform. With this platform the data could also be transmitted to the CAN bus and then to the FPGA to change the tuning word of DDS. In order to achieve the speed limit of the complete measurement system, the communication rates of FPGA, CAN bus and CAN MCU were programmed to be the maximum.Inhaltsverzeichnis:Table of Contents: 1Introduction4 1.1Background4 1.2Objective4 1.3Outline6 2CAN Introduction7 2.1Background7 2.2Architecture Layers8 2.2.1Physical Layer8 2.2.2Data Link Layer10 2.2.3Higher Layer10 2.3Frame Structure11 2.3.1Data Frame11 2.3.2Remote Frame14 2.3.3Error Frame15 2.3.4Overload Frame16 2.3.5Interframe Space16 2.4Frame Coding17 2.5Error Detecting and Handling18 2.6Fault Confinement19 3CAN and MCU Serial Port Effective Data Study22 3.1CAN Effective Data Study22 3.2MCU Serial Port Study25 3.2.1General 8051 MCU25 3.2.2Using Timer 227 3.2.3X2 Mode28 3.3CAN vs. MCU Serial Port29 4Experiment Components and Setup32 4.1Stratix III FPGA Development Kit32 4.2CAN MCU AT89C51CC0335 4.35-3.3 V Voltage Level Transistor38 4.4NI CAN USB-847340 4.5PC with NI CAN Driver42 4.6Setup42 5Software Development43 5.1FPGA with Quartus II43 5.1.1DDS Design43 5.1.2PLL Application45 5.1.3UART Reception49 5.1.4UART Transmission51 5.2MCU with Keil C5153 5.2.1Serial Port Programming53 5.2.2CAN [...]
More details
Language
English
File size
4,75 MB
ISBN-13
978-3-8366-4869-1 (9783836648691)
Schweitzer Classification
Content
System requirements
File format: PDF
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook does not use copy protection or Digital Rights Management.
For more information, see our eBook Help page.