Real-Time Communications Flashcards

1
Q

What are the standard of the International Organizaiton for Standardization?

A
  1. Application Layer
  2. Presentation Layer
  3. Session Layer
  4. Transport Layer
  5. Network Layer
  6. Data Link Layer
  7. Physical Layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the functionalities for Physical Layer

A

Physical connections
- Cables
- Plugs/ Sockets
Line Codes
Network topologies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Line Codes

A
  • Representation of the bits
    • voltage between metallic wires
      -Differential voltages between metallic wires
    • Light pulses in optical fibers
      Example :
      Non Return to Zero 1. positive voltage, 0 zero volt
      Return to Zero
  • 1 high for the first half of the bit period, low for the rest
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a Hub do

A

Forwards messages to all connected nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does a Switch do

A

Reads address, fowards only to the addressed node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What constitues the Data Link Layer?

A
  • Media Access Control (MAC)
  • Transmission error detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is CSMA/CD?

A

Carrier Sense Multiple Access/ Collision Detection
- Sending is only allowed if bus is free
- if several nodes start to send at the same time, collision is detected; the nodes restart sending after a random waiting time.
- standard Ethernet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the MAC methods are real-time compatible

A

Only the Deterministic ones

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Methods for Error detection in non real-time protocols

A

Checksum / CRC
Parity Bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Functionalities for Application Layer

A
  • Data input and output
  • Makes the other layers simpler to use
  • functions for the programmer of an embedded system in the network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

[Communication Modes] Client Server Model

A
  • One to one connection
  • A message can be followed by a confirmation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

[Communication Modes] Producer consumer model

A
  • One producer
  • All Nodes Listen
  • Normally no confirmation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Applied Protocols

A

IO Protocols
Traditional Ethernet Protocols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Examples of Industrial Ethernet Protocols

A

EtherNet / IP (Industrial Protocol)
Profinet
EtherCAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to decide use which Protocol?

A
  • Required bandwidth
  • Maximum number of nodes
  • Length of possible physical connection
  • Cost
  • Availability of components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Is standard Ethernet suitable for hard real-time applications?

A

Ethernet is not suitable for hard realtime application dur to the fact that the bus access is not deterministic
There can be collisions and random waiting times that can lead to jitter in the message sending period.
This normally requires a master-slave system. Examples are EtherCAT or POWERLINK.

17
Q

Name the topoloty that is wide-spread in real-time systems

A

Bus topology
- small wiring effort
-simple node adding

18
Q

What happens when two nodes start sending at the same time? (CSMA/CD)

A
  • Frame ready?
  • bus free/ idle
  • start transmission and monitor bus
  • collision detected?
    – send jam signal
    – increment retransmission counter
    – abort if max. number of retransmissions reached
    – go to frame ready
  • end of transmission
19
Q

What does Application Layer do?

A
  • Data input and output
  • Make the other layers simpler to use
  • Functions for the programmer of an embeddedsystem in the network
20
Q

The EtherCAT system can use a single Ethernet frame (Ethernet packet) to send data from the master device to several nodes (slaves). At the same time, those nodes send their data to the master device. How can this be achieved?

A

The message from the master travels through the nodes which extract or insert data in the passing frame (on-the-fly, not copy and repeat)