SlideShare a Scribd company logo
Embedded
Networks
Gökhan URUL
Computer Networks
• Client/Server Model
• File server A computer that stores and manages files for multiple users on a
network
• Web server A computer dedicated to responding to requests (from the browser
client) for web pages
• Local-area network (LAN) A network that connects a relatively small number of
machines in a relatively close geographical area
Types of Networks
• Ring topology A configuration that
connects all nodes in a closed loop on
which messages travel in one direction
• Star topology A configuration that
centers around one node to which all
others are connected and through which
all messages are sent
• Bus topology All nodes are connected to
a single communication line that carries
messages in both directions
• Ethernet
• CANBus
OSI Layer
Upper Layers
Lower Layers
Middle Layer
7. Application
6. Presentation
5. Session
4. Transport
3. Network
2. Data Link
1. Physical
• Open Systems
Interconnection (OSI)
OSI Katmanı
OSI Layer
7. Application
6. Presentation
1. Physical
Node A
Data Out
Data In
To/from
Node B
Layer Mimarisi ve Gerçek Haberleşme
7. Application
1. Physical
7. Application
1.Physical
Node a Node b
Layer Mimarisi ve Sanal Haberleşme
7. Application
3. Network
7. Application
3. Network
Wireshark
RS232 Seri Haberleşme
• Bilgisayar ve çevre birimleri
• Askeri birimlerde çoğunlukla
• Eski bir teknoloji
• Çeşitli hızlarda 9600, 115200 Baudrate
• Haberleşme çeşidi: Stream byte
• Windows üzerinde ortak
•
RS422/485 Seri Haberleşme
• Bilgisayar ve çevre birimleri
• Askeri birimlerde çoğunlukla
• Çeşitli hızlarda 9600, 115200, 968000
Baudrate(bit/second)
• Haberleşme çeşidi: Stream byte
• Windows üzerinde ortak
RS232 – RS422 Seri Haberleşme
Programlama
• http://www.codeproject.com/Articles/678025/Serial-Comms-in-Csharp-for-Beginners
public static void Write()
{
_serialPort. Write(0x65);
}
public static void Read()
{
while (_continue)
{
try
{
string message = _serialPort.ReadExisting();
Console.WriteLine(message);
}
catch (TimeoutException) { }
}
}
using System.IO.Ports;
public class PortChat
{
static SerialPort _serialPort;
public static void Main()
{
_serialPort = new SerialPort();
// Seri kanal özellikleri ayarlanır.
_serialPort.PortName = SetPortName(“COM1”);
_serialPort.BaudRate = SetPortBaudRate(“9600”);
_serialPort.Parity = SetPortParity(“NONE”);
_serialPort.DataBits = SetPortDataBits(“8”);
_serialPort.StopBits = SetPortStopBits(“1”);
// Geçerlilik süreleri ayarlanır.
_serialPort.ReadTimeout = 500;
_serialPort.WriteTimeout = 500;
_serialPort.Open();
readThread.Start();
}
}
CANBus Haberleşme
• Bus topology
• The CAN protocol uses a modified
version of the Carrier Sense Multiple
Access/Collision Avoidance
(CSMA/CA) technique used on
Ethernet
CANBus Haberleşme
• Uses a single terminated twisted pair cable
• Is multi master
• Maximum Signal frequency used is 1 Mbit/sec
• Length is typically 40M at 1Mbit/sec up to 10KM at
5Kbits/sec
• Has high reliability with extensive error checking
• Typical maximum data rate achievable is 40KBytes/sec
• Maximum latency of high priority message <120 µsec at
1Mbit/sec
CANBus Haberleşme Yöntemi
• Start of frame (SOF)
• Message Identifier (MID) the Lower the value the Higher the priority of the message
its length is either 11 or 29 bits long depending on the standard being used
• Remote Transmission Request (RTR) = 0 ----- see "Remote Frames" para below for non
zero value
• Control field (CONTROL) this specifies the number of bytes of data to follow (0-8)
• Data Field (DATA) length 0 to 8 bytes
• CRC field containing a fifteen bit cyclic redundancy check code
• Acknowledge field (ACK) an empty slot which will be filled by any and every node that
receives the frame
it does NOT say that the node you intended the data for got it, just that at least
one node on the whole network got it.
• End of Frame (EOF)
CANBus OSI Layer
CANBus Programming
• IXXAT
• Lawicel
Beschreibung VCI V2 VCI V3
Board selection
XAT_SelectHardware
XAT_EnumHwEntry
XAT_FindHwEntry
XAT_GetConfig
vciSelectDeviceDlg
vciEnumDeviceOpen
vciEnumDeviceNe xt
vciEnumDeviceClose
vciFindDeviceByHwid
vciFindDeviceByCla ss
Board initialization VCI2_PrepareBoard vciDeviceOpen
Board info VCI_ReadBoardInfo vciDeviceGetInfo
CAN controller
initialization
VCI_InitCan
canControlOpen
canControlInitialize
CAN message filter VCI_SetAccMask canControlSetAccFilter
CAN status VCI_ReadCanStatus canControlGetStatus
CAN channel
initialization
VCI_ConfigQueue(Tx)
VCI_ConfigQueue(Rx)
VCI_AssignRxQueO bj
canChannelOpen
canChannelInitialize
canChannelActivate
CAN channel status VCI_ReadQueStatus canChannelGetStatus
CAN controller start VCI_StartCan canControlStart
CAN message
transmission
VCI_TransmitObjVCI_R
equestObj
canChannelSendMessa
ge
and
canChannelPostMessag
e
CAN message
receiving
VCI_ReadQueObj
(Receive-Callbacks)
canChannelReadMessa
ge
or
canChannelWaitRxEven
t
canCha
nnelPeekMessage
Cancel board VCI_CancelBoard
canChannelClose
canControlClose
vciDeviceClose
CANOpen
• Özellikleri
• CANopen a subset from CAL (CAN Application Layer) developed by CiA!
• Auto configuration the network
• Easy access to all device parameters
• Device synchronization
• Cyclic and event-driven data transfer
• Synchronous reading or setting of inputs, outputs or parameters
• Uygulamalar
• Machine automatisation
• Avantajları
• Accommodating the integration of very small sensors and actuators
• Open and vendor independent
• Support s inter-operability of different devices
• High speed real-time capability
CANOpen
• Object Dictionary
• Message Types
• Service Data Objects (SDOs)
• Process Data Objects (PDOs)
• Network Management (NMT)
• Guarding and Heartbeats
• Emergency Messages
CANOpen
CANOpen / PDO , SDO,
• Types
• transfer PDOs (TPDOs)
• receive PDOs (RPDOs)
• Specs
• Event driven
• Sync based
• polling
• Time driven
• Detaylı CanOpen mesajlaşmaları için: CanOpen_Manual.pdf
• Canopen Basics: CANopen Seminar.pdf

More Related Content

What's hot

DPDK Support for New HW Offloads
DPDK Support for New HW OffloadsDPDK Support for New HW Offloads
DPDK Support for New HW Offloads
Netronome
 
6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol
Samsung Open Source Group
 
Vpc notes
Vpc notesVpc notes
Vpc notes
Krunal Shah
 
Docker Networking
Docker NetworkingDocker Networking
Docker Networking
Kingston Smiler
 
Cilium - Container Networking with BPF & XDP
Cilium - Container Networking with BPF & XDPCilium - Container Networking with BPF & XDP
Cilium - Container Networking with BPF & XDP
Thomas Graf
 
OVS Hardware Offload with TC Flower
OVS Hardware Offload with TC FlowerOVS Hardware Offload with TC Flower
OVS Hardware Offload with TC Flower
Netronome
 
VPC PPT @NETWORKERSHOME
VPC PPT @NETWORKERSHOMEVPC PPT @NETWORKERSHOME
VPC PPT @NETWORKERSHOME
networkershome
 
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration MethodologiesLF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
LF_OpenvSwitch
 
Open vSwitch Implementation Options
Open vSwitch Implementation Options Open vSwitch Implementation Options
Open vSwitch Implementation Options
Netronome
 
Contemporary Linux Networking
Contemporary Linux NetworkingContemporary Linux Networking
Contemporary Linux Networking
Maximilan Wilhelm
 
Networking and Go: An Epic Journey
Networking and Go: An Epic JourneyNetworking and Go: An Epic Journey
Networking and Go: An Epic Journey
Sneha Inguva
 
I pv6
I pv6I pv6
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009
jarfield
 
Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containersCilium - BPF & XDP for containers
Cilium - BPF & XDP for containers
Thomas Graf
 
LF_OVS_17_State of the OVN
LF_OVS_17_State of the OVNLF_OVS_17_State of the OVN
LF_OVS_17_State of the OVN
LF_OpenvSwitch
 
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream KernelLF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
LF_OpenvSwitch
 
Ixia presentation
Ixia presentationIxia presentation
Ixia presentation
Sasi Reddy
 
Otv notes
Otv notesOtv notes
Otv notes
Krunal Shah
 
L3 and Multicasting PPT by NETWORKERS HOME
L3 and Multicasting PPT by NETWORKERS HOMEL3 and Multicasting PPT by NETWORKERS HOME
L3 and Multicasting PPT by NETWORKERS HOME
networkershome
 
InfiniBand in the Lab (London VMUG)
InfiniBand in the Lab (London VMUG)InfiniBand in the Lab (London VMUG)
InfiniBand in the Lab (London VMUG)
Erik Bussink
 

What's hot (20)

DPDK Support for New HW Offloads
DPDK Support for New HW OffloadsDPDK Support for New HW Offloads
DPDK Support for New HW Offloads
 
6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol
 
Vpc notes
Vpc notesVpc notes
Vpc notes
 
Docker Networking
Docker NetworkingDocker Networking
Docker Networking
 
Cilium - Container Networking with BPF & XDP
Cilium - Container Networking with BPF & XDPCilium - Container Networking with BPF & XDP
Cilium - Container Networking with BPF & XDP
 
OVS Hardware Offload with TC Flower
OVS Hardware Offload with TC FlowerOVS Hardware Offload with TC Flower
OVS Hardware Offload with TC Flower
 
VPC PPT @NETWORKERSHOME
VPC PPT @NETWORKERSHOMEVPC PPT @NETWORKERSHOME
VPC PPT @NETWORKERSHOME
 
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration MethodologiesLF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
LF_OVS_17_OVS Performance on Steroids - Hardware Acceleration Methodologies
 
Open vSwitch Implementation Options
Open vSwitch Implementation Options Open vSwitch Implementation Options
Open vSwitch Implementation Options
 
Contemporary Linux Networking
Contemporary Linux NetworkingContemporary Linux Networking
Contemporary Linux Networking
 
Networking and Go: An Epic Journey
Networking and Go: An Epic JourneyNetworking and Go: An Epic Journey
Networking and Go: An Epic Journey
 
I pv6
I pv6I pv6
I pv6
 
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009
 
Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containersCilium - BPF & XDP for containers
Cilium - BPF & XDP for containers
 
LF_OVS_17_State of the OVN
LF_OVS_17_State of the OVNLF_OVS_17_State of the OVN
LF_OVS_17_State of the OVN
 
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream KernelLF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
LF_OVS_17_Open vSwitch Offload: Conntrack and the Upstream Kernel
 
Ixia presentation
Ixia presentationIxia presentation
Ixia presentation
 
Otv notes
Otv notesOtv notes
Otv notes
 
L3 and Multicasting PPT by NETWORKERS HOME
L3 and Multicasting PPT by NETWORKERS HOMEL3 and Multicasting PPT by NETWORKERS HOME
L3 and Multicasting PPT by NETWORKERS HOME
 
InfiniBand in the Lab (London VMUG)
InfiniBand in the Lab (London VMUG)InfiniBand in the Lab (London VMUG)
InfiniBand in the Lab (London VMUG)
 

Similar to Embedded networks

28 networking
28  networking28  networking
28 networking
Ravindra Rathore
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
Julien Vermillard
 
Socket Programming - nitish nagar
Socket Programming - nitish nagarSocket Programming - nitish nagar
Socket Programming - nitish nagar
Nitish Nagar
 
5_6278455688045789623.pptx
5_6278455688045789623.pptx5_6278455688045789623.pptx
5_6278455688045789623.pptx
EliasPetros
 
Ixiaexplorer
IxiaexplorerIxiaexplorer
Ixiaexplorer
nlekh
 
Socket Programming
Socket  ProgrammingSocket  Programming
Socket Programming
leminhvuong
 
Network programming in Java
Network programming in JavaNetwork programming in Java
Network programming in Java
Tushar B Kute
 
Xilinx training in mohali
Xilinx training in mohaliXilinx training in mohali
Xilinx training in mohali
Arwinder paul singh
 
New hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdfNew hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdf
Krystian Zybała
 
Server side JavaScript: going all the way
Server side JavaScript: going all the wayServer side JavaScript: going all the way
Server side JavaScript: going all the way
Oleg Podsechin
 
How to Connect SystemVerilog with Octave
How to Connect SystemVerilog with OctaveHow to Connect SystemVerilog with Octave
How to Connect SystemVerilog with Octave
Amiq Consulting
 
Xilinx Training in Jalandhar Chandigarh
Xilinx Training in Jalandhar ChandigarhXilinx Training in Jalandhar Chandigarh
Xilinx Training in Jalandhar Chandigarh
E2Matrix
 
Xilinx Training in Phagwara Jalandhar
Xilinx Training in Phagwara JalandharXilinx Training in Phagwara Jalandhar
Xilinx Training in Phagwara Jalandhar
E2Matrix
 
Socketcan
SocketcanSocketcan
Socketcan
Er Patel
 
Chapter4 Network
Chapter4 NetworkChapter4 Network
Chapter4 Network
Diego Corrales
 
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jbCN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
PRADEEPERUKULLA2
 
Sockets
SocketsSockets
Sockets
sivindia
 
"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016
Phil Estes
 
Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014
Hajime Tazaki
 
Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...
Jaap ter Woerds
 

Similar to Embedded networks (20)

28 networking
28  networking28  networking
28 networking
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
 
Socket Programming - nitish nagar
Socket Programming - nitish nagarSocket Programming - nitish nagar
Socket Programming - nitish nagar
 
5_6278455688045789623.pptx
5_6278455688045789623.pptx5_6278455688045789623.pptx
5_6278455688045789623.pptx
 
Ixiaexplorer
IxiaexplorerIxiaexplorer
Ixiaexplorer
 
Socket Programming
Socket  ProgrammingSocket  Programming
Socket Programming
 
Network programming in Java
Network programming in JavaNetwork programming in Java
Network programming in Java
 
Xilinx training in mohali
Xilinx training in mohaliXilinx training in mohali
Xilinx training in mohali
 
New hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdfNew hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdf
 
Server side JavaScript: going all the way
Server side JavaScript: going all the wayServer side JavaScript: going all the way
Server side JavaScript: going all the way
 
How to Connect SystemVerilog with Octave
How to Connect SystemVerilog with OctaveHow to Connect SystemVerilog with Octave
How to Connect SystemVerilog with Octave
 
Xilinx Training in Jalandhar Chandigarh
Xilinx Training in Jalandhar ChandigarhXilinx Training in Jalandhar Chandigarh
Xilinx Training in Jalandhar Chandigarh
 
Xilinx Training in Phagwara Jalandhar
Xilinx Training in Phagwara JalandharXilinx Training in Phagwara Jalandhar
Xilinx Training in Phagwara Jalandhar
 
Socketcan
SocketcanSocketcan
Socketcan
 
Chapter4 Network
Chapter4 NetworkChapter4 Network
Chapter4 Network
 
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jbCN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
CN_UNIT4.ppt notre knxckvj bjbDJKVHFL jb
 
Sockets
SocketsSockets
Sockets
 
"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016
 
Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014
 
Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...Building scalable network applications with Netty (as presented on NLJUG JFal...
Building scalable network applications with Netty (as presented on NLJUG JFal...
 

Recently uploaded

Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
Kamal Acharya
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Transcat
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Unit -II Spectroscopy - EC I B.Tech.pdf
Unit -II Spectroscopy - EC  I B.Tech.pdfUnit -II Spectroscopy - EC  I B.Tech.pdf
Unit -II Spectroscopy - EC I B.Tech.pdf
TeluguBadi
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
DharmaBanothu
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
DharmaBanothu
 
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
Sou Tibon
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
wafawafa52
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
GiselleginaGloria
 
Beckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview PresentationBeckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview Presentation
VanTuDuong1
 
OOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming languageOOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming language
PreethaV16
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
vmspraneeth
 

Recently uploaded (20)

Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Unit -II Spectroscopy - EC I B.Tech.pdf
Unit -II Spectroscopy - EC  I B.Tech.pdfUnit -II Spectroscopy - EC  I B.Tech.pdf
Unit -II Spectroscopy - EC I B.Tech.pdf
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
A high-Speed Communication System is based on the Design of a Bi-NoC Router, ...
 
This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...This study Examines the Effectiveness of Talent Procurement through the Imple...
This study Examines the Effectiveness of Talent Procurement through the Imple...
 
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
3rd International Conference on Artificial Intelligence Advances (AIAD 2024)
 
Beckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview PresentationBeckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview Presentation
 
OOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming languageOOPS_Lab_Manual - programs using C++ programming language
OOPS_Lab_Manual - programs using C++ programming language
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
 

Embedded networks

  • 2. Computer Networks • Client/Server Model • File server A computer that stores and manages files for multiple users on a network • Web server A computer dedicated to responding to requests (from the browser client) for web pages • Local-area network (LAN) A network that connects a relatively small number of machines in a relatively close geographical area
  • 3. Types of Networks • Ring topology A configuration that connects all nodes in a closed loop on which messages travel in one direction • Star topology A configuration that centers around one node to which all others are connected and through which all messages are sent • Bus topology All nodes are connected to a single communication line that carries messages in both directions • Ethernet • CANBus
  • 4. OSI Layer Upper Layers Lower Layers Middle Layer 7. Application 6. Presentation 5. Session 4. Transport 3. Network 2. Data Link 1. Physical • Open Systems Interconnection (OSI)
  • 6. OSI Layer 7. Application 6. Presentation 1. Physical Node A Data Out Data In To/from Node B
  • 7. Layer Mimarisi ve Gerçek Haberleşme 7. Application 1. Physical 7. Application 1.Physical Node a Node b
  • 8. Layer Mimarisi ve Sanal Haberleşme 7. Application 3. Network 7. Application 3. Network
  • 10. RS232 Seri Haberleşme • Bilgisayar ve çevre birimleri • Askeri birimlerde çoğunlukla • Eski bir teknoloji • Çeşitli hızlarda 9600, 115200 Baudrate • Haberleşme çeşidi: Stream byte • Windows üzerinde ortak •
  • 11. RS422/485 Seri Haberleşme • Bilgisayar ve çevre birimleri • Askeri birimlerde çoğunlukla • Çeşitli hızlarda 9600, 115200, 968000 Baudrate(bit/second) • Haberleşme çeşidi: Stream byte • Windows üzerinde ortak
  • 12. RS232 – RS422 Seri Haberleşme Programlama • http://www.codeproject.com/Articles/678025/Serial-Comms-in-Csharp-for-Beginners public static void Write() { _serialPort. Write(0x65); } public static void Read() { while (_continue) { try { string message = _serialPort.ReadExisting(); Console.WriteLine(message); } catch (TimeoutException) { } } } using System.IO.Ports; public class PortChat { static SerialPort _serialPort; public static void Main() { _serialPort = new SerialPort(); // Seri kanal özellikleri ayarlanır. _serialPort.PortName = SetPortName(“COM1”); _serialPort.BaudRate = SetPortBaudRate(“9600”); _serialPort.Parity = SetPortParity(“NONE”); _serialPort.DataBits = SetPortDataBits(“8”); _serialPort.StopBits = SetPortStopBits(“1”); // Geçerlilik süreleri ayarlanır. _serialPort.ReadTimeout = 500; _serialPort.WriteTimeout = 500; _serialPort.Open(); readThread.Start(); } }
  • 13. CANBus Haberleşme • Bus topology • The CAN protocol uses a modified version of the Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA) technique used on Ethernet
  • 14. CANBus Haberleşme • Uses a single terminated twisted pair cable • Is multi master • Maximum Signal frequency used is 1 Mbit/sec • Length is typically 40M at 1Mbit/sec up to 10KM at 5Kbits/sec • Has high reliability with extensive error checking • Typical maximum data rate achievable is 40KBytes/sec • Maximum latency of high priority message <120 µsec at 1Mbit/sec
  • 15. CANBus Haberleşme Yöntemi • Start of frame (SOF) • Message Identifier (MID) the Lower the value the Higher the priority of the message its length is either 11 or 29 bits long depending on the standard being used • Remote Transmission Request (RTR) = 0 ----- see "Remote Frames" para below for non zero value • Control field (CONTROL) this specifies the number of bytes of data to follow (0-8) • Data Field (DATA) length 0 to 8 bytes • CRC field containing a fifteen bit cyclic redundancy check code • Acknowledge field (ACK) an empty slot which will be filled by any and every node that receives the frame it does NOT say that the node you intended the data for got it, just that at least one node on the whole network got it. • End of Frame (EOF)
  • 17. CANBus Programming • IXXAT • Lawicel Beschreibung VCI V2 VCI V3 Board selection XAT_SelectHardware XAT_EnumHwEntry XAT_FindHwEntry XAT_GetConfig vciSelectDeviceDlg vciEnumDeviceOpen vciEnumDeviceNe xt vciEnumDeviceClose vciFindDeviceByHwid vciFindDeviceByCla ss Board initialization VCI2_PrepareBoard vciDeviceOpen Board info VCI_ReadBoardInfo vciDeviceGetInfo CAN controller initialization VCI_InitCan canControlOpen canControlInitialize CAN message filter VCI_SetAccMask canControlSetAccFilter CAN status VCI_ReadCanStatus canControlGetStatus CAN channel initialization VCI_ConfigQueue(Tx) VCI_ConfigQueue(Rx) VCI_AssignRxQueO bj canChannelOpen canChannelInitialize canChannelActivate CAN channel status VCI_ReadQueStatus canChannelGetStatus CAN controller start VCI_StartCan canControlStart CAN message transmission VCI_TransmitObjVCI_R equestObj canChannelSendMessa ge and canChannelPostMessag e CAN message receiving VCI_ReadQueObj (Receive-Callbacks) canChannelReadMessa ge or canChannelWaitRxEven t canCha nnelPeekMessage Cancel board VCI_CancelBoard canChannelClose canControlClose vciDeviceClose
  • 18. CANOpen • Özellikleri • CANopen a subset from CAL (CAN Application Layer) developed by CiA! • Auto configuration the network • Easy access to all device parameters • Device synchronization • Cyclic and event-driven data transfer • Synchronous reading or setting of inputs, outputs or parameters • Uygulamalar • Machine automatisation • Avantajları • Accommodating the integration of very small sensors and actuators • Open and vendor independent • Support s inter-operability of different devices • High speed real-time capability
  • 19. CANOpen • Object Dictionary • Message Types • Service Data Objects (SDOs) • Process Data Objects (PDOs) • Network Management (NMT) • Guarding and Heartbeats • Emergency Messages
  • 21. CANOpen / PDO , SDO, • Types • transfer PDOs (TPDOs) • receive PDOs (RPDOs) • Specs • Event driven • Sync based • polling • Time driven • Detaylı CanOpen mesajlaşmaları için: CanOpen_Manual.pdf • Canopen Basics: CANopen Seminar.pdf