[Design Application]
It's Time To Implement Embedded Networking And Internetworking
Commercially available software and protocol stacks will significantly reduce development time and speed up network integration.
Embedded networking and Internetworking implementations are without a doubt on the rise. However, anecdotal evidence from engineers, gathered at trade shows and seminars, indicates that the embedded industry is still in the exploration stage. Everybody knows that they will eventually need some type of Internet connectivity, but it's really not a priority. Yet, decisions to add Internetworking capability now may eliminate the need for costly redesign in the near future.
If an embedded system already has access to a PC of some sort (either connected to one or maybe using an embedded PC within), supplying Internet access isn't really a challenge. Commercially available software and protocol stacks can greatly reduce development time and speed integration of the involved network technology, even for tiny 8-bit devices. Today, the greatest hurdle for embedded Internetworking isn't the technology itself, but rather predicting its usage in the future.
This article explores some of the variables involved in adding Internet connectivity to an 8-bit device and discusses current developments in the field of embedded Internetworking. It also offers an application example giving a closer look into one possible route for Internet-enabling embedded devices, based on the implementation of a TCP/IP-to-CANopen (Controller Area Network) gateway.
Internet Connectivity Parameters: Due to a lack of standards regarding "remote-access" implementation for embedded systems, the number of technical variations is great. For example, which physical media should one assume? Ethernet? If so, is there a DHCP server to assign an Internet-protocol (IP) address, or must a static IP address be assigned? Or if the choice is to dial-up via a modem, which phone number and ISP will be chosen? What protocols and services will be necessary for support (e-mail, Web server, and/or FTP server), and what about reliability and security issues?
Note: To address the standardization of methods and protocols used to access embedded devices, the authors of this article currently work with several companies and universities on an Internet Draft that might eventually become an RFC (Request For Comments) published with the RFC editor (www.rfc-editor.org). For more information on embedded Internetworking and to read the latest about the Internet Draft on "Embedded Internetworking with Remote Access," go to www.embeddedinternetworking.com.
Perhaps the biggest challenge in determining a design route is the "gateway question." Do we allow our embedded device to directly communicate with the Internet, or will all communication be funneled through a gateway? If a gateway is used, where does it come from? Is it an external product, or part of the embedded systempotentially running on one of many controllers within the application?
The preceding question highlights a trend in the embedded industry where embedded systems often consist of several microcontrollers communicating with each other. This is especially true for any machinery with multiple sensors and/or actuators. If a local network already exists (something like a proprietary serial bus, CAN/CANopen, DeviceNet, LON, or USBjust to name a few), the logical approach is to try to implement a gateway between the local network and the Internet. This approach gives "remote access" to all local nodes.
Implementing A TCP/IP-To-CANopen Gateway On An 8-Bit Processor: When Philips Semiconductors approached the Embedded Systems Academy to prove that such embedded Internetworking gateway applications could be implemented on a regular 8051 microcontroller, we accepted the challengeand designed and built a prototype of a gateway between the Internet and a CAN/CANopen network (Fig. 1).
CAN and CANopen were chosen due to their increasing popularity in embedded machine-control applications. CAN interfaces are available directly on-chip (with a wide selection of 8- and 16-bit microcontrollers from many manufacturers). Consequently, developers can most likely find a derivative of their favorite microcontroller that has an on-chip CAN interface. Other than a transceiver and the connector, no hardware is needed to join such a microcontroller to a CAN bus, which only requires a twisted pair as physical media.
As is usual with today's embedded projects, time-to-market is an issue even in a "proof-of-concept" project. Due to customer requirements, the prototype (based on the Philips 8xC591 Rapid Development Starter Kit from Phytec) had to be completed in less than three weeks.
This implementation of a network protocol stack is a perfect example of how to shorten time-to-market by selecting off-the-shelf software products. Instead of re-inventing the wheel and writing the network protocol stacks for TCP/IP and CANopen ourselves, we chose CMX-MicroNet. This is a commercial, off-the-shelf implementation, optimized for 8-bit and 16-bit microcontrollers. It also includes all source files.
i want to give seminar in the field of Embedded systems using 8051 microcontoller help me
loordh -October 31, 2008
CAN U HELP ME IN DESIGNING... POWER LINE CONTROL AND MONITORING USING MICROCONTROLLER
daran -June 21, 2008 (Article Rating: )
i am final tear eee student i needed help
daran -June 21, 2008
Rating Only
Rating Only -August 05, 2007 (Article Rating: )
searching for a project for undergraduate for " automated vehicle detection system' using AT 89c51 that could identify the vehicle at gate and opens gate if the vehicle is asking for entrance . The design should contain IR receiver and transmitter and a Dc motor to open or close the gate.
sandeep -June 05, 2007
i want to know some good projects in embedded systems using 8051 micro controller
jagadesh -May 06, 2007 (Article Rating: )
please suggest a project using 8051 interfacing with CAN for any embedded networking application
Anonymous -March 01, 2007
can u gude me to design a gateway for wireless to power line using a embedded system.
Amresh -September 06, 2006 (Article Rating: )
Me prosenjit som,B.Tech student.Fresher passout 2006 batch please give me the project.me wrking CMC compani.experience 3 menth.
prosenjit som -May 30, 2006
i want to do good project on 89c51 microcontrollers if possible interfacing with CAN
sree -November 07, 2005 (Article Rating: )
CAN is utilized for this reason: With only the maximum capacity of the bus as a speed limiting factor, CAN will not collapse or lock up. Outstanding transmission requests are dealt with in their order of priority, with minimum delay, and with maximum possible utilization of the available capacity of the bus.
Conrad -July 22, 2005
It is not about the speed of the bus but rather about the protocol it self... more specific about how the data is transmitted over the wires. CAN is designed having in mind reliability and real-time for control systems. That is why CAN is preferred as bus protocol in machine control.
regards
JB -July 06, 2005
i think there is a speed limitation on CAN Bus. what is wrong with the I2C bus? philips has the 400kbit/s controller. (i hope there will be the faster mode soon.) And some peripheral have the 3.4 Mbits/s. of course, i do not work with the CAN bus, but it is 1Mbit/s.
Dergu Alemu -January 05, 2004
Your Comments:
Enter the text from the image below
Please refresh the page if you have trouble reading this text.
Search Electronic Design
Web Seminar
Sponsored By:
Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices