Can Protocol Based Health Monitoring
-
Upload
pitchaimuthu -
Category
Engineering
-
view
93 -
download
5
Transcript of Can Protocol Based Health Monitoring
![Page 1: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/1.jpg)
An Integrated Health Management Process Through
CAN NETWORK
![Page 2: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/2.jpg)
Objective
• A new trend for Hospital Environment that consist combination of RTOS (Real time operating System) and CAN (Control area network) communication.
![Page 3: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/3.jpg)
Abstract
• Normally Hospital consists number of ECU, Sensors and Control unit. all are interconnected with wiring.
• This very difficult to read data from device, so we are proposing new system that consist RTOS with CAN communication. Due to this system we will read the data from sensors at a time, because RTOS consist Multitasking with Kernel and we can give the information to Driver using CAN communication. It is a high Speed communication bus and by using this we can do the communication between High power Device (like AT89C51, ARM,PIC…etc).
![Page 4: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/4.jpg)
Existing System :
• I2C BUS.
• Winows OS.
• High Power consumption
![Page 5: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/5.jpg)
Proposed System :
• CAN Communication
• RTOS
• Low Power consumption.
![Page 6: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/6.jpg)
GSM
LPC2148
CPU
SPI
ADC
I/O ports
Power supply
Digital Display unit
CAN Controller
CAN BUS
UART
Block Diagram :Master Node:
![Page 7: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/7.jpg)
LPC2148
CPU
SPI
ADC
I/O ports
Power supply
Sensors
CAN Controller
CAN BUS
Data Acquisition Node:
![Page 8: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/8.jpg)
Hardware components
– ARM Processor
–MEMS Accelerometer
– Temperature Sensor
– Heart Beat Sensor– Pressure Sensor
– CAN BUS
![Page 9: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/9.jpg)
Software Components:
• Embedded C language
• Orcad design
• Flash Magic• KEIL V3
![Page 10: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/10.jpg)
Applications:
• Hospital
• Communication
• RTOS
![Page 11: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/11.jpg)
Introduction to CAN
![Page 12: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/12.jpg)
What is CAN and what are some of its features?
• Serial communication• Multi-Master Protocol• Compact– Twisted Pair Bus line
• 1 Megabit per second
![Page 13: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/13.jpg)
• Why is CAN used?– Robust in noisy environments
– Priority Signal Setting
– All devices on the network receive every bit of information sent on the BUS
– Cost Effective
![Page 14: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/14.jpg)
• What are some real world applications of CAN?– Controller Area Networks are used in many different
fields, the bulk of which are• Auto-motive industry
• Factory Automation
• Machine Control
• Medical Equipment and devices
• And more….
![Page 15: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/15.jpg)
What is transmitted?
• All messages sent over a CAN network follows this format. Each bit is used either to verify the validity of the message, or is data itself.
Field name Length (bits) PurposeStart-of-frame 1 Denotes the start of frame transmissionIdentifier 11 A (unique) identifier for the dataRemote transmission request (RTR) 1 Must be dominant (0)OptionalIdentifier extension bit (IDE) 1 Must be dominant (0)Optional
Reserved bit (r0) 1Reserved bit (it must be set to dominant (0), but accepted as either dominant or recessive)
Data length code (DLC) 4 Number of bytes of data (0-8 bytes)Data field 0-8 bytes Data to be transmitted (length dictated by DLC field)CRC 15 Cyclic redundancy checkCRC delimiter 1 Must be recessive (1)ACK slot 1 Transmitter sends recessive (1) and any receiver can assert a dominant (0)ACK delimiter 1 Must be recessive (1)End-of-frame (EOF) 7 Must be recessive (1)
![Page 16: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/16.jpg)
What is the process of sending a message?
• At each CAN device, the start of frame bit notifies a transmission is being sent.
• The identifier bit shows the priority of the message along with determining which device the data belongs to.
![Page 17: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/17.jpg)
CAN Message Transmission
![Page 18: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/18.jpg)
Basic message frame format
Field nameLength
(bits) Purpose
Start-of-frame 1 Denotes the start of frame transmission
Identifier 11 A (unique) identifier for the data
Remote transmission request (RTR) 1 Must be dominant (0)
Identifier extension bit (IDE) 1 Must be dominant (0)
Reserved bit (r0) 1Reserved bit (it must be set to dominant (0), but accepted
as either dominant or recessive)
Data length code (DLC) 4 Number of bytes of data (0-8 bytes)
Data field 0-8 bytes Data to be transmitted (length dictated by DLC field)
CRC 15 Cyclic redundancy check
CRC delimiter 1 Must be recessive (1)
ACK slot 1Transmitter sends recessive (1) and any receiver can
assert a dominant (0)
ACK delimiter 1 Must be recessive (1)
End-of-frame (EOF) 7 Must be recessive (1)
![Page 19: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/19.jpg)
Arbitration Field
![Page 20: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/20.jpg)
Message Objects
• 32 message objects• Configured to transmit or receive or both• Configured using the Message Object Interface Registers• Each identifier is stored in a Message object.• Message number is the receive/transmit priority for the
Message Objects – Message Object 1 has the highest priority, while Message Object 32
has the lowest priority
![Page 21: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/21.jpg)
Message Object Interface register
• ID28-0 Message Identifier– ID28 - ID0 29-bit Identifier (“Extended Frame”).– ID28 - ID18 11-bit Identifier (“Standard Frame”).
• Dir Message Direction– one Direction = transmit– zero Direction = receive
• Data 0 1st data byte of a CAN Data Frame• Data 1 2nd data byte of a CAN Data Frame
![Page 22: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/22.jpg)
Error Field
![Page 23: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/23.jpg)
• Enable test mode to use the modes below
• Loop Back Mode• Silent Mode• Basic Mode
![Page 24: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/24.jpg)
Status Register
– Transmit successfully– Receive successfully– Stuff Error -Form Error – AckError -Bit1Error – Bit0Error -CRCError
![Page 25: Can Protocol Based Health Monitoring](https://reader031.fdocuments.in/reader031/viewer/2022020116/55a8a1bb1a28ab5c718b46a1/html5/thumbnails/25.jpg)
REFERENCES[1] N. Boules, "Reinventing the Automobile: The Cyber-Physical Challenge",
from Embedded Systems to Cyber-Physical Systems: a Review of the State-of-the-Art and Research Needs Workshop, St. Louis, MO, April, 2008.
[2] K. R. Pattipati, A. Kodali, K. Choi, S. Singh, C. Sankavaram, S. Mandal W. Donat, S.M. Namburu, S. Chigusa, L. Qiao and J. Luo, "An integrated diagnostic process for automotive systems," in D. Prokhorov, (ed.) Studies in Computational Intelligence (SCI), Vol. 132, 2008.
[3] C. Sankavaram, A. Kodali, D. F. M. Ayala, K. Pattipati, S. Singh, and P. Bandyopadhyay, “ Event-driven data mining techniques for automotive fault diagnosis”, 21st Intl. Workshop on Principles of Diagnosis, Portland, OR, October 2010.
[4] C. Sankavaram, B. Pattipati, A. Kodali, K. Pattipati, M. Azam, and S. Kumar, "Model-based and data-driven prognosis of automotive and electronic systems", 5th Annual IEEE Conference on Automation Science and Engineering, Bangalore, India, August 22-25, 2009.
[5] J. Luo, H. Tu, K. Pattipati, L. Qiao, and S. Chigusa, “Graphical models for diagnostic knowledge representation and inference,” IEEE Instrument and Measuremen