EP1987642A2 - Gateway for the automatic routing of messages between buses - Google Patents

Gateway for the automatic routing of messages between buses

Info

Publication number
EP1987642A2
EP1987642A2 EP07704434A EP07704434A EP1987642A2 EP 1987642 A2 EP1987642 A2 EP 1987642A2 EP 07704434 A EP07704434 A EP 07704434A EP 07704434 A EP07704434 A EP 07704434A EP 1987642 A2 EP1987642 A2 EP 1987642A2
Authority
EP
European Patent Office
Prior art keywords
message
vector
gateway
memory
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
EP07704434A
Other languages
German (de)
French (fr)
Other versions
EP1987642B1 (en
Inventor
Markus Ihle
Jan Taube
Tobias Lorenz
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of EP1987642A2 publication Critical patent/EP1987642A2/en
Application granted granted Critical
Publication of EP1987642B1 publication Critical patent/EP1987642B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • H04L12/40182Flexible bus arrangements involving redundancy by using a plurality of communication lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40241Flexray

Definitions

  • the present invention relates to a gateway for automatically routing messages between buses, especially between serial buses and field buses.
  • the CAN bus Controller Area Network
  • the clear access to the communication system or bus system is solved by a priority-based bit arithmetic.
  • a prerequisite for this is that the data to be transmitted and thus each message is assigned a priority.
  • the CAN protocol is very flexible; Adding additional participants and messages is thus easily possible, as long as there are still free priorities (Message Identifier).
  • the collection of all messages to be sent in the network with priorities and their sending the or receiving participants or the corresponding communication blocks are stored in a list, the so-called communication matrix.
  • TTCAN Time Triggered Controller Area Network
  • FlexRay protocol which describes a fast, deterministic and fault-tolerant bus system, especially for use in a motor vehicle.
  • This protocol operates according to the method of Time Division Multiple Access (TDMA), whereby the participants or the messages to be transmitted are assigned fixed time slots in which they have exclusive access to the communication link, the bus. The time slots are repeated in a defined cycle, so that the time at which a message is transmitted over the bus, can be predicted exactly and the bus access is deterministic.
  • TDMA Time Division Multiple Access
  • the cycle is divided into a static and a dynamic part.
  • the fixed time slots are located in the static part at the beginning of a bus cycle.
  • the time slots are allocated dynamically according to the method of the Flexible Time Division Multiple Access (FTDMA). This is now the exclusive bus access only possible for a short time. If there is no access, the access for the next participant is released. This period of time is referred to as a minislot, in which the access of the first participant is waited.
  • FTDMA Flexible Time Division Multiple Access
  • gateway is thus an interface between different buses, which may be the same or different in nature, with the gateway relaying messages from a bus to one or more other buses.
  • Known gateways consist of several independent communication modules, the exchange of messages taking place via the processor interface (CPU interface) of the respective subscriber or the corresponding interface module of the respective communication module.
  • this CPU interface is heavily burdened by this data exchange and other applicative functions in addition to the participants themselves to be transmitted messages, which together with the resulting transmission structure results in a relatively low data rate or on the other hand, a high clock frequency with high power consumption.
  • integrated communication controllers or communication modules which share a common message memory, the so-called message memory or message RAM, in order to compensate for the structural disadvantages.
  • integrated communication modules are therefore very inflexible with respect to the data transmission and in particular fixed to a certain number of bus connections and usually also to the same bus system.
  • Figure 1 shows a conventional communication module or communication controller CC for a conventional gateway, as shown in Figure 2.
  • the communication module CC has an interface for an internal peripheral bus or system bus of the gateway and a further interface for an external serial bus.
  • the system bus comprises an address bus, a data bus and a control bus and serves for internal data transmission within the gateway.
  • a host CPU with a data memory RAM and further optional components, eg DMA controllers are connected to the system bus.
  • the host CPU is used for internal data processing and controls the internal data transfer from one communication component CC to another communication component CC.
  • the communication modules CC communicate with the host CPU according to the master / slave principle, wherein communication modules represent slave units and the host CPU forms a master unit. As can be seen from FIG.
  • the internal interface of the communication module CC to the system bus is formed by a two-layered interface, namely by a customer interface and a generic interface.
  • the customer interface connects the system bus to the generic interface, whereby the customer interface is vendor-specific and easily replaceable.
  • the generic interface can be connected via the customer interface to a large number of customer-specific system busses.
  • the communication module CC according to the prior art and as shown in Figure 1, further includes buffer memory for buffering data to be transferred.
  • the buffer memories are formed, for example, by RAM or data registers.
  • the communication module CC also contains a message forwarding unit or a message handler for forwarding messages from at least one message memory and a communication protocol unit, as well as buffer memories.
  • the message store or the message RAM stores the message objects to be transferred as well as configuration and status information data.
  • the message forwarding unit handles the control of the data flow between all the buffers, the communication protocol unit and the message buffer.
  • the communication protocol unit (PRT) of the conventional communication module CC shown in FIG. 1 implements the communication according to the data transmission protocol used. In this case, the communication protocol unit PRT assumes the conversion or conversion between the data format of the data packets DP transmitted via the external serial bus and the messages or messages MSG used within the communication module.
  • the forwarded by the message forwarding unit or the message handler messages MSG consist of at least one data word DW, wherein the word length or the number of bits of the data word DW preferably corresponds to the bus width of the internal intended data bus of the gateway.
  • the data word DW also includes 32 bits.
  • a message or message MSG can consist of a predetermined number of data words DW.
  • the storage capacity of a buffer memory corresponds, for example, to the data volume of a message or a message which comprises a predefined number of data words DW.
  • the arbitration of the data flow is carried out by the message forwarding unit or the message handler.
  • serial field buses such as a CAN bus, a FlexRay bus, a MOST bus or a LIN bus
  • data is exchanged between these serial buses, which may form part of a network, via a gateway GW.
  • the data volume in the central gateway GW can be very high.
  • This data traffic causes a high CPU load, ie the CPU is burdened with routing data from one serial bus to one or more other serial buses.
  • the CPU load is increased by operations needed to reduce bandwidth on individual networks or serial buses, for example, combining the data contents of multiple messages into a new message.
  • the CPU performs other functions in parallel through d. h., running on the CPU parallel processing processes that adversely affect each other and delay the transmission or forwarding of a message.
  • the jitter and the latency times for the transmission of the messages increase, since an interruption of the parallel processes is in many cases not possible.
  • the invention provides a gateway for automatically routing messages between buses using:
  • a gateway control unit which is connected to the communication modules via a system bus for exchanging messages N, and that of each communication module. stone receives the occurrence of a message N to be routed there as an external event EV ext ,
  • gateway control unit comprises:
  • a vector memory VRAM having a first memory area for storing communication block vectors KBV, wherein a communication block vector KBV is provided for each communication block which determines the time ZP of a next expected internal event EVmt for a message buffered in the communication block N and a vector jump address to a message vector NV, which is stored in a second memory area of the vector memory VRAM, wherein for each in the communication block cached relevant message N, a corresponding message vector NV is stored, the one configurable time ZP to be triggered by the associated message N.
  • internal event EV ⁇ nt indicating a command jump address , as well as other configuration and control data
  • command memory IRAM for storing commands addressable by the command hop address specified in the message vector NV
  • a status register SR which temporarily stores the time for the next expected event of all expected internal events for all messages N buffered in the communication blocks.
  • a sequence control FSM which is temporarily stored in a status register SR for all messages N stored in the communication blocks when an internal event EVmt occurs , or when an external event EV ext occurs , which is indicated to the sequence control FSM by a communication block , reads out the communication memory vector KBV belonging to the respective communication module from the first memory area of the vector memory VRAM and reads out the instruction jump address of the addressed message vector NV from the second memory area of the vector memory VRAM by means of the vector jump address contained therein and then by means of the read command jump address at least one command from the Reads and executes instruction memory IRAM, wherein the time points ZP indicated in the vectors NV, KBV are updated.
  • this has at least one further processor, which is connected via a second separate system bus with the communication modules.
  • the control unit of the gateway control unit has an event FS M, which evaluates the stored in the vector memory VRAM vectors KBV, NV when an internal event or an external event EV ext and updates the times indicated in the vectors; and a command FS M which executes the commands read from the command memory IRAM.
  • a message vector NV additionally has a time difference t between the time of an internal or external event to be triggered by the associated message N and a time of the next internal event EV mt to be triggered by the associated message N.
  • the gateway control unit has a counter Z as an internal timer for triggering an internal event EV mt .
  • the buses are formed by serial buses.
  • each communication module has:
  • a communication protocol unit connected to the serial bus for conversion between data packets DP and messages, each consisting of a plurality of data words DW;
  • a message forwarding unit for forwarding messages between at least one message store and the communications protocol unit and buffers
  • each interface unit being connected to at least one associated buffer memory buffering a message, a transmission of Data words DW over several system buses and their associated interface units from and to the buffer memories of the interface units at the same time without waiting time.
  • the serial bus is a fieldbus.
  • the fieldbus is a CAN (Controller Area Network) bus.
  • the field bus is a LIN (Local Interconnect Network) bus.
  • the fieldbus is a FlexRay bus.
  • the serial bus is an Ethernet bus.
  • each of the two system buses has an associated system bus master.
  • the message forwarding unit of a communication module signals the receipt of a word-wise transmitted message via the system bus to the system bus master of the system bus.
  • the message routing unit confirms to the system bus master the receipt of a message to be transmitted by means of signals after it has requested the information.
  • a message received from the respective system bus which is buffered in a buffer memory and forwarded to the message memory by the message forwarding unit, has at least one flag bit for signaling readiness for transmission via the serial bus.
  • Figure 1 a communication module according to the prior art
  • FIG. 2 a gateway according to the prior art
  • FIG. 3 shows a block diagram of a possible embodiment of the gateway according to the invention.
  • FIG. 4 shows a block diagram of a possible embodiment of a communication module within the gateway according to the invention
  • FIG. 5 shows a block diagram of a possible embodiment of a gateway control unit contained in the gateway according to the invention
  • FIG. 6 shows a diagram for representing a memory content of a vector memory contained in the gateway according to the invention
  • Figure 7 is a diagram showing the data content of the instruction memory included in the gateway according to the invention.
  • FIG. 8 shows a signal diagram to illustrate an example of message forwarding by the gateway according to the invention.
  • FIG. 9 shows a signal diagram to illustrate a further example for message forwarding by the gateway according to the invention.
  • FIG. 10 shows a signal diagram to illustrate a further example of message forwarding by the gateway according to the invention.
  • FIG. 11 shows a signal diagram to illustrate a further example for forwarding messages through the gateway according to the invention
  • FIG. 12 shows a signal diagram for illustrating a further example for forwarding messages through the gateway according to the invention.
  • the gateway 1 has a plurality of communication modules 2-i, which can each be connected to a serial bus 3-i.
  • the serial buses 3-i are, for example, a field bus or an Ethernet bus. Data is transmitted as messages via the serial buses 3-i. Transferred data packets or messages include administrative or header data as well as payload data.
  • the inventive gateway 1 according to the embodiment shown in FIG. 3 has a plurality of master units, wherein a first master unit is formed by a gateway control unit 4-1 and a second master unit is formed by a CPU 4-2.
  • the two master units 4-1, 4-2 assume different functions.
  • the gateway control unit 4-1 is responsible for the data transfer between the various communication modules 2-i.
  • the other master unit by a processor 4-2 consisting of a
  • each master unit 4-1, 4-2 preferably has its own system bus 5-1, 5-2.
  • Each system bus 5-1, 5-2 in turn has its own data, address and control bus.
  • the data is transmitted word by word in one possible embodiment, the length of a data word DW corresponding to the bus width of the respective data bus of the system bus.
  • the communication modules 2-i have a preferably associated interface for each system bus 5-i.
  • FIG. 4 shows a possible embodiment of a communication module 2-i.
  • the communication module 2-i is used to connect a serial bus 3 via an interface, wherein the communication module 2-i for each internal system bus 5-i of the gateway 1 has its own separate interface 2a, 2b.
  • the communication module 2-i has a first interface 2a for connection to the system bus 5-1, whose master unit is formed by the gateway control unit 4-1.
  • the communication module 2-i has a further interface 2b for connection to the system bus 5-2 of the gateway 1, whose bus master is formed by the host CPU of the processor 4-2.
  • Connected to the external serial data bus 3-i is a communication protocol unit 2c of the communication module 2-i.
  • the communication protocol unit 2c carries out a conversion between data packets or messages which are transmitted externally via the serial data bus 3-i and internally sends messages or messages with the help of the message handler, which can each consist of one or more data words DW.
  • the communication module 2-i in FIG. 4 also contains a message forwarding unit or message handler 2d for forwarding messages between at least one internal message memory or message RAM 2e and the communication protocol unit 2c and various buffer memories 2f, 2g via internal data lines 2h ,
  • the storage capacity of a buffer memory 2f, 2g preferably corresponds to the data volume of an internal message to be transmitted, as well as further administration data.
  • the communication module 2-i has a plurality of interface units 2a, 2b, which are each connected to an associated system bus 5-i of the gateway 1. In this case, each interface unit 2a, 2b is connected to at least one associated buffer memory 2f, 2g in which at least one message or message or a message object MO can be buffered.
  • the access of the gateway control unit 4-1 to a message object MO or a message N takes place via the gateway interface 2a and its associated interface register 2f.
  • the CPU 4-2 accesses messages or message objects via the customer interface 5-2 and its associated interface register 2g.
  • both of the gateway control unit 4-1 and of the processor unit 4-2 access to all messages or message objects without mutual interference possible.
  • FIG. 5 shows a possible embodiment of a gateway control unit 4-1 contained in the gateway 1 according to the invention.
  • the gateway control unit 4-1 is connected via the associated system bus 5-1 for exchanging messages with the communication modules 2-1. In this case, it receives from each communication module 2-i the local occurrence of a message N to be routed or of a message object MO to be routed as an external event EV ext .
  • each communication module 2-i is connected to at least one display line for displaying an event or an event with the gateway control unit 4-1.
  • the communication module 2-i shown in FIG. 4 has a plurality of parallel message registers for each interface for storing one message per message register.
  • the messages are divided into several groups, for example in m groups.
  • the message handler 2d of the communication module 2-i shows, when an external event EV ext occurs , for example the receipt of a message to be forwarded from the gate. way control unit 4-1 via a corresponding display line.
  • the gateway control unit 4-1 is connected to the communication modules 2-i via the system bus 5-1 and receives from each communication component 2-i the occurrence of a message to be routed there as an external event EV ext via a display line.
  • the gateway control unit 4-i contains a vector memory (VRAM) whose memory contents are shown in FIG.
  • the gateway control unit 4-1 includes an instruction RAM (IRAM) for storing instructions whose memory contents are shown in FIG.
  • the central control element of the gateway control unit 4-1 is formed by a finite state machine (FSM), which is composed of an event FSM and a separate command FS M.
  • FSM finite state machine
  • the gateway control unit 4-1 contains a status register SR and a counter Z as a timer for triggering internal events EV mt .
  • the gateway control unit 4-1 is connected to the system bus 5-1 via a system bus interface SBI.
  • the vector memory or VRAM as shown in FIG. 6, essentially contains three memory areas.
  • Configuration data of the communication modules 2 are located in a first memory area, ie for each communications module 2-i, a communications module vector KBV is stored per message group.
  • the communication module vector KBV stores for the associated communication module 2-i that time ZP which indicates the next expected internal event EV mt for a message N buffered in the communication module 2-i.
  • each communication module vector KBV has a vector jump address VSA on a message vector NV for the corresponding message N.
  • each communication module vector KBV has further configuration data for the corresponding communication module 2-i.
  • a possible configuration date is formed by a CC flag which indicates whether a communication module 2 or communication controller is activated or deactivated. If the communication module 2 has several groups of messages N, a communication module vector KBV is provided for each group of messages within the communication module 2.
  • the vector memory VRAM within the gateway control unit 4-1 also contains a second memory area in which for each message N or for each message MSG configuration ration data are stored as message vectors NV. For each relevant message or message N, a message vector NV is stored in the vector memory VRAM. For each message N cached in a communication module 2-i, a corresponding alert vector NV is provided or stored in the VRAM indicating a configurable period ZP of an internal message EV ⁇ nt to be triggered by the associated message N and a command jump address BSA.
  • the message vector NV additionally has a time difference ⁇ t between the time ZP of an internal or external event to be triggered by the associated message N and a further time ZP of the next internal event to be triggered by the associated message N.
  • the vector memory VRAM In addition to the memory areas for the communication module vectors KBV and the second memory area for the message vectors NV, the vector memory VRAM also has a freely available third memory area in which variables are buffered and in which constants and flags are stored. In addition, the freely available third memory area of the vector memory VRAM is used for data exchange with the CPU 4-2.
  • the message vectors NV stored in the second memory area of the vector memory VRAM have a command jump address BSA, by which at least one command subroutine within the command memory IRAM is addressable.
  • a message vector NV is stored in the second memory area of the vector memory VRAM, each having a command jump address BSA to a subroutine within the instruction memory IRAM.
  • Such a command sequence or subroutine is stored in the memory area assigned to the respective message in the IRAM.
  • the size of the storage area is preferably variable. Furthermore, the position of the memory area within the instruction memory IRAM is also variable.
  • a sequence control FSM is provided which has an event FSM and a command FSM.
  • the event FSM of the sequence evaluates the vectors stored in the vector memory VRAM, ie the communication module vectors KBV and the message vectors NV, and updates the times indicated in the respective vectors.
  • the gateway control unit 4-1 has a configuration or status register SR which inter alia stores the time ZP for the closest expected event of all expected internal events EV mt for all messages buffered in the communication modules 2-i ,
  • the instruction FS M within the sequencer executes the instructions read from the instruction memory IRAM.
  • the event FSM reads the associated communication block 2-i communication block Vector KBV from the first memory area of the vector memory VRAM.
  • a read communication module vector KBV contains a vector jump address VSA on a message vector NV in the second memory area of the vector memory VRAM. For each communication block 2-i or for each group of messages N within a communication block 2-i, a separate communication block vector KBV is provided.
  • this forms a hash table for the message vectors NV in the second memory area of the vector memory VRAM.
  • the event FSM of the sequence controller reads out the addressed message vector NV from the second memory area of the vector memory VRAM and then addresses, with the command jump address BSA contained therein, a subroutine within the instruction memory IRAM.
  • the addressed instruction (s) are read from the instruction memory IRAM and executed by the instruction FSM within the sequencer, the instruction FSM also including the timing ZP indicated in the vectors, ie the message vectors NV and communication module vectors KBV according to the NV and KBV vectors, preferably updated by the event FSM or instructions executed.
  • the gateway control unit 4-1 illustrated in FIG. 5 has a counter Z as an internal timer for triggering an internal event.
  • External events EV ext are triggered by the communication modules 2-i, in particular upon receipt of a message N to be relayed or a message packet DP to be forwarded.
  • the internal event EVi nt are triggered by the timer or time counter Z. These internal events serve, for example, for cyclically sending messages or debouncing or debouncing received message bursts or for sending time-out messages. Messages when an expectation period is exceeded.
  • the message vector NV stored in the vector memory VRAM has, for example, the following information, namely a reference to the data object to be sent or the message N, one for each relevant message buffer memory within a communication module 2-i Jump address for executing a specific instruction sequence, the next internal event and a difference time for calculating the subsequent internal events, as well as information data for control and status information.
  • any time sequence can be implemented by the gateway control unit 4-1 according to the invention in order to transmit data between two or more buses 3 via the gateway 1.
  • the timer Z or counter is initialized when starting the system, so that the counter divides the CPU clock in a favorable for the entire system time grid.
  • the current counter value of the counter Z is used to check the message objects in the communication module vectors KBV and message vectors NV of the vector memory VRAM to trigger the transmission of a message N.
  • the count value of the timer Z is compared with the time values stored in the vector table.
  • timer value of the counter Z is greater than or equal to the respectively stored time value or time and if the corresponding message N or the message object is a transmission object, the system jumps to the specified address and executes the commands specified there. If the message N or the message object is a receive object, it is checked whether the receive object should have already been received or not. If the receive message object is not received within the expected time, a time-out is triggered by the gateway 1 according to the invention and a corresponding time-out message is issued. Subsequently, time information is updated by the sequential control system, whereby the calculation is based on the previous time specifications with the specified cycle times. By means of the newly calculated times, it is determined when a message N or message should be sent again or the next time-out occurs.
  • the comparison of the time value specified by the counter Z is not necessary. It is communicated to the gateway control unit 4-1 by the communication module 2-i that a message N has been received by the communication module 2. Subsequently, the sequence control FSM searches in the vector memory VRAM for a corresponding entry, ie a communication block vector KBV associated with the message N. This vector KBV points to a message vector NV in the second memory area of the vector memory VRAM. This contains a command jump address BSA to a routine in which the routing commands are stored.
  • the evaluation of the time value, which is supplied by the counter Z, for the calculation of the new expected time values or expected times ZP as well as the control of the various communication modules 2-i is taken over by the automatically running sequence control or finite state machine.
  • the sequence control FSM checks all message objects or messages to be sent, and additionally checks the reception of external new messages N by the communication blocks 2-i.
  • an internal event for example the cyclical transmission of a message or an external event, for example the receipt of a message N to be forwarded by a communication module 2
  • the configured routing instructions are executed and the various communication modules 2 are activated.
  • the CPU 4-2 in the gateway 1 it is always possible for the CPU 4-2 in the gateway 1 according to the invention to access messages N in the communication module or bus modules 2-i.
  • the messages N are preferably buffered in the communication module 2-i or in the bus modules of the serial buses 3-i and are not loaded into the gateway control unit 4-i in the automatic route gateway 1 according to the invention in one possible embodiment ,
  • a transmission of the messages between the communication modules or bus modules 2-i takes place in a possible embodiment of the gateway 1 according to the invention by a further bus, namely a ring bus, which connects the various communication modules in a ring with each other.
  • the CPU 4-2 can access all the cached message objects or messages N within a communication module 2-i via the interface register 2g, while the gateway control unit 4-2 performs the access via the second interface register 2f.
  • Figure 8 shows signal flow diagrams to illustrate the operation in a possible embodiment of the gateway according to the invention 1.
  • the status register SR of the gateway control unit 4-1 is the time ZP cached, at which the next expected event, ie the closest expected event of all expected internal events for all temporarily stored in the communication module 2-i messages N occurs.
  • the closest internal event or the internal event EV ⁇ nt to be expected by the gateway control unit 4-1 is thus buffered .
  • the timer Z determines the event FSM within the flow control the associated communication blocks 2-i and evaluates all stored in the vector memory VRAM communication block vectors KBV for the respective group within the corresponding communication block 2-i.
  • the communication module 2 has two messages or message groups, namely a group GRP1 and a group GRP2.
  • the event FSM evaluates in step S1 the time event triggering communication module vector KBV, which is stored in the first memory area of the vector memory VRAM, and finds in the example shown in FIG. 8 the communication block vector KBV for the second group GRP2 cached messages within the communication module 2.
  • the time event triggering message vector NV is read out and evaluated in the second memory area of the second vector memory VRAM.
  • the vector triggering the event EV is the vector of the first message N or of the message object (message object 1) within the second group GRP2 of the triggering communication module 2-i.
  • step S3 the next time event or the next internal event for this message object or message object MO is calculated:
  • each message vector NV additionally has a time difference t between the time ZP of an internal event to be triggered by the associated message N or the message object NO and a time ZP of the next internal event to be triggered by the corresponding message N.
  • step S4 the next time event or the next internal event EVi n t is searched by the event FSM:
  • tnextEV-GRPn minilTIUm (tpxtEV-GRPn-MOm): ITl € [1 ... ITl max ]
  • step S5 an update of the time indication t nxtE vG RPn in the communication module vector KBV within the first memory area of the vector memory VRAM takes place from the determined times.
  • step S6 the next time event or the next expected internal event can be selected via all groups of stored messages or message objects MO via all communication blocks 2-i. In the example shown in FIG. 8, this is time t m for the first group GRP within the first communication block.
  • this instant t m is stored as the instant t n + i, the next expected internal event or internal event.
  • the process illustrated in FIG. 8 begins again, ie steps S1-S7 are carried out again.
  • FIG. 9 shows two time signal diagrams, wherein the upper signal diagram shows a message or message object MO arriving at the gateway according to the invention, to which second lower time signal diagram shows messages issued by the gateway 1 according to the invention to another serial bus.
  • a message MO received on a first serial bus 3-i is forwarded directly via another serial bus 3-j, with a slight time delay t GD deia y occurring.
  • the transmission cycle time t is zyk
  • Us constant, ie received message objects N (cyclic or spontaneous) are forwarded cyclically.
  • FIG. 10 shows the cyclic transmission of messages N by the gateway 1 according to the invention, even if the received message objects N are not received cyclically.
  • the last received message N 1 is transmitted continuously cyclically within a constant cycle time to a bus 3-i.
  • FIG. 11 shows the immediate forwarding of a message with time-out, ie the absence of an expected message is monitored.
  • a message N or a message object is received via a first serial bus 3-i and forwarded directly to an output bus.
  • gateway 1 At time t A , it is determined that the expected message has not arrived, and gateway 1 generates a time out message, which is delivered as an output message to the output bus to indicate the absence of the expected message.
  • the sequence control does not execute the steps S 1 shown in FIG. 8 when receiving such a message (message correctly received in the time frame) and S 3 when the message N (triggering of the time-out) fails, but only in each case the remaining steps.
  • Figure 12 shows the debouncing of message bursts.
  • the gateway 1 contains a message several times within a predetermined window t DEB and forwards only the first message of the group to another serial bus 3-i. The remaining messages within the burst are suppressed by the gateway 1.
  • a so-called debounce active bit is set as the configuration data in the message vector NV of the vector memory VRAM for receiving a message.
  • the debounce active bit is reset in the configuration data.
  • the gateway 1 according to the invention is suitable for various operating modes or functions for forwarding or processing messages which are transmitted between different buses 3-i, 3-j.
  • the CPU load for automatic checking for timeouts and the required transmission of messages or the combination of several messages is considerably reduced by the gateway control unit 4-1 as a function of the occurring data volume.
  • the sending of the messages or of the message object and their checking for possible time-outs is performed by the gateway control unit 4-1 independently of the processes running in parallel in the CPU 4-2. This achieves much smaller jitter and latency, allowing processes to be started and executed more accurately in the network.
  • each message object or each message N can be configured independently of other networks and independently of other message objects in the individual communication modules or bus modules.
  • vectors used in the gateway 1 according to the invention there is a particularly high degree of flexibility with regard to the configurability of the gateway 1 according to the invention.
  • the speed of search for messages to be processed is significantly shortened and the compact definition of a communication process minimizes the memory requirements for all message objects.
  • the gateway 1 according to the invention opens up the possibility that external events or events co-determine or control the timing of internal events or internal events.
  • the gateway 1 transmits data between fieldbuses or serial buses 3 automatically without burdening the CPU 4-2.
  • the transmission of the messages N takes place without direct control by the CPU.
  • the CPU 4-2 always receives access to the forwarded or used message objects or message objects, without interrupting the automatic routing of the messages.
  • the transmission or forwarding of the message objects or the messages N takes place in the gateway 1 according to the invention independently of software latencies and the current load of the CPU 4- 2.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a gateway (1) for the automatic routing of messages between buses (3), said gateway being connected to several communication components (2) for temporarily storing and transmitting messages (N) via said buses and a gateway control unit, which is connected to the communication components (2) via a system bus in order to exchange messages (N) and which receives notification in the form of an external event (EV<SUB>ext</SUB>) from each communication component (2) of the occurrence of a message (N) to be routed in said component. The gateway control unit has a vector memory (VRAM) comprising a first memory area for storing communication component vectors (KBV), a communication component vector (KBV) being provided for each message group of a communication component (2) and said vector indicating the time point (ZP) of the next expected internal event (EV<SUB>int</SUB>) for a message (N) that is stored in the communication component (2) and a vector jump address to a message vector (NV), which is stored in a second memory area of the vector memory (VRAM). A corresponding message vector (NV) is stored for each message (N) that has been temporarily stored in the communication component (KB), said vector indicating a configurable time point (ZP) of an internal event (EV<SUB>int</SUB>) that is triggered by the associated message (N), in addition to a command jump address. The gateway control unit also contains a command memory (IRAM) for storing commands that can be addressed by the command jump address indicated in the message vector (NV) and a control structure (FSM), which reads the communication component vector (KBV) associated with the respective communication component (2) from the first memory area of the vector memory (VRAM), if an internal event (EV<SUB>in</SUB>t) occurs, whose time point (ZP) is indicated in a message vector (NV) of a message (N) that is temporarily stored in a communication component (KB), or if said control structure (FSM) is notified of the occurrence of an external event (EV<SUB>ext</SUB>) by a communication component (2). The control structure uses the vector jump address contained in the communication component vector to read the command jump address of the addressed message vector (NV) from the second memory area of the vector memory (VRAM) and then reads and executes at least one command from the command memory (IRAM) using the read command jump address. The time points (ZP) indicated in the vectors (NV, KBV) are then updated.

Description

Beschreibungdescription
Titeltitle
Gateway zum automatischen Routen von Nachrichten zwischen BussenGateway for automatically routing messages between buses
Die vorliegende Erfindung betrifft ein Gateway zum automatischen Routen von Nachrichten zwischen Bussen, insbesondere zwischen seriellen Bussen und Feldbussen.The present invention relates to a gateway for automatically routing messages between buses, especially between serial buses and field buses.
Die Vernetzung von Steuergeräten, Sensorik und Aktuatorik mithilfe eines Netzwerkes bzw. Kommunikationssystems bestehend aus einer Kommunikationsverbindung, insbesondere einem Bus, und entsprechenden Kommunikationsbausteinen, hat in den letzten Jahren beim Bau von modernen Kraftfahrzeugen oder auch im Maschinenbau, insbesondere im Werkzeugmaschinenbereich als auch in der Automatisierung drastisch zugenommen. Synergieeffekte durch Verteilung von Funktionen auf mehrere Teilnehmer, insbesondere Steuergeräte, können dabei erzielt werden. Man spricht hierbei von verteilten Systemen. Solche verteilten Systeme oder Netzwerke bestehen somit aus den Teilnehmern und dem diese Teilnehmer verbindenden Bussystem oder mehreren verbindenden Bussystemen. Die Kommunikation zwischen verschiedenen Stationen bzw. Teilnehmern findet damit mehr und mehr über ein solches Kommunikationssystem, Bussystem oder Netzwerk statt, über welches die zu übertragenden Daten in Botschaften übermittelt werden. Dieser Kommunikationsverkehr auf dem Bussystem, Zugriffs- und Empfangsmechanismen sowie Fehlerbehandlung werden über ein entsprechendes Protokoll geregelt, wobei der Name des jeweiligen Protokolls häufig und so auch hier als Synonym für das Netzwerke bzw. das Bussystem selbst verwendet wird.The networking of control devices, sensors and actuators using a network or communication system consisting of a communication link, in particular a bus, and corresponding communication modules, has in recent years in the construction of modern motor vehicles or in mechanical engineering, especially in the machine tool sector and in automation drastically increased. Synergy effects through the distribution of functions to multiple subscribers, in particular ECUs, can be achieved. This is called distributed systems. Such distributed systems or networks thus consist of the subscribers and the bus system connecting these subscribers or several connecting bus systems. The communication between different stations or subscribers thus takes place more and more via such a communication system, bus system or network, via which the data to be transmitted are transmitted in messages. This communication traffic on the bus system, access and reception mechanisms and error handling are regulated by a corresponding protocol, the name of the respective protocol is often and thus also used here as a synonym for the networks or the bus system itself.
Als Protokoll beispielsweise hat sich der CAN-Bus (Controller Area Network) im Kfz-Bereich etabliert. Dieses ist ein ereignisgesteuertes Protokoll, d. h. Protokollaktivitäten wie das Senden einer Nachricht werden durch Ereignisse initiiert, die ihren Ursprung außerhalb des Kommunikationssystems haben. Der eindeutige Zugang zum Kommunikationssystem bzw. Bussystem wird über eine prioritätsbasierte Bitarbitrierung gelöst. Eine Vorraussetzung dafür ist, dass den zu übertragenden Daten und damit jeder Botschaft eine Priorität zugewiesen ist. Das CAN-Protokoll ist sehr flexibel; ein Hinzufügen weiterer Teilnehmer und Botschaften ist damit problemlos möglich, solange es noch freie Prioritäten (Message Identifier) gibt. Die Sammlung aller im Netzwerk zu sendenden Botschaften mit Prioritäten und deren senden- den bzw. empfangenden Teilnehmer bzw. den entsprechenden Kommunikationsbausteinen werden in einer Liste, der so genannten Kommunikationsmatrix, abgelegt.As a protocol, for example, the CAN bus (Controller Area Network) has established itself in the automotive sector. This is an event-driven protocol, that is, protocol activities such as sending a message are initiated by events that originate outside the communication system. The clear access to the communication system or bus system is solved by a priority-based bit arithmetic. A prerequisite for this is that the data to be transmitted and thus each message is assigned a priority. The CAN protocol is very flexible; Adding additional participants and messages is thus easily possible, as long as there are still free priorities (Message Identifier). The collection of all messages to be sent in the network with priorities and their sending the or receiving participants or the corresponding communication blocks are stored in a list, the so-called communication matrix.
Ein alternativer Ansatz zur ereignisgesteuerten, spontanen Kommunikation ist der rein zeit- gesteuerte Ansatz. Alle Kommunikationsaktivitäten auf dem Bus sind strikt periodisch. Protokollaktivitäten wie das Senden einer Botschaft werden nur durch das Fortschreiben einer für das gesamte Bussystem gültigen Zeit ausgelöst. Der Zugang zu diesem Medium basiert auf der Zuteilung von Zeitbereichen, in denen ein Sender exklusives Senderecht hat. Dabei ist die Botschaftsreihenfolge in der Regel schon vor Inbetriebnahme festzusetzen. Es wird also ein Fahrplan erstellt, der den Anforderungen der Botschaften bezüglich Wiederholrate, Redundanz, Deadlines usw. genügt. Man spricht vom so genannten Bus-Schedule. Ein solches Bussystem ist beispielsweise das TTP/C.An alternative approach to event-driven, spontaneous communication is the purely time-driven approach. All communication activities on the bus are strictly periodic. Protocol activities such as the sending of a message are triggered only by updating a time valid for the entire bus system. Access to this medium is based on the allocation of time ranges in which a broadcaster has exclusive broadcasting rights. As a rule, the message order is to be set prior to startup. Thus, a roadmap is created that meets the requirements of the messages in terms of repetition rate, redundancy, deadlines, etc. One speaks of the so-called bus schedule. Such a bus system is for example the TTP / C.
Eine Verbindung der Vorteile beider genannter Busarten erfolgt im Lösungsansatz des zeit- gesteuerten CAN, des so genannten TTCAN (Time Triggered Controller Area Network). Dieser genügt den oben skizzierten Forderungen nach zeitgesteuerter Kommunikation sowie den Forderungen nach einem gewissen Maß an Flexibilität. Der TTCAN erfüllt dies durch den Aufbau der Kommunikationsrunde in so genannten exklusiven Zeitfenstern für periodische Botschaften bestimmter Kommunikationsteilnehmer und in so genannte arbitrierende Zeitfenster für spontane Botschaften mehrerer Kommunikationsteilnehmer. TTCAN basiert dabei im Wesentlichen auf einer zeitgesteuerten, periodischen Kommunikation, die durch einen hauptzeitgebenden Teilnehmer bzw. Kommunikationsbaustein, den so genannten Zeitmaster mit Hilfe einer Zeitreferenznachricht getaktet wird.The advantages of both types of bus mentioned are combined in the solution of the time-controlled CAN, the so-called TTCAN (Time Triggered Controller Area Network). This satisfies the above outlined demands for timed communication as well as the demands for a certain degree of flexibility. The TTCAN accomplishes this by setting up the communication cycle in so-called exclusive time slots for periodic messages of certain communication users and in so-called arbitrating time windows for spontaneous messages from multiple communication users. TTCAN is essentially based on time-controlled, periodic communication which is clocked by a main-time-generating subscriber or communication module, the so-called time master, with the aid of a time reference message.
Eine weitere Möglichkeit verschiedene Übertragungsarten zu verbinden bietet das FlexRay- Protokoll, wodurch ein schnelles, deterministisches und fehlertolerantes Bussystem insbesondere für den Einsatz in einem Kraftfahrzeug beschreiben wird. Dieses Protokoll arbeitet nach dem Verfahren des Time- Division- Multiple- Access (TDMA), wobei den Teilnehmern bzw. den zu übertragenden Botschaften feste Zeitschlitze zugewiesen werden, in denen sie exklusiven Zugriff auf die Kommunikationsverbindung, den Bus haben. Die Zeitschlitze wiederholen sich dabei in einem festgelegten Zyklus, sodass der Zeitpunkt zu dem eine Botschaft über den Bus übertragen wird, exakt vorausgesagt werden kann und der Buszugriff deterministisch erfolgt. Um die Bandbreite für die Botschaftsübertragung auf dem Bussystem optimal zu nutzen, wird der Zyklus in einen statischen und einen dynamischen Teil unterteilt. Die festen Zeitschlitze befinden sich dabei im statischen Teil am Anfang eines Buszyklusses. Im dynamischen Teil werden die Zeitschlitze dynamisch vergeben nach dem Verfahren des Flexible-Time-Division-Multiple-Access (FTDMA). Darin wird nun der exklusive Buszugriff jeweils nur für eine kurze Zeit ermöglicht. Erfolgt kein Zugriff, wird der Zugriff für den nächsten Teilnehmer freigegeben. Diese Zeitspanne wird als Minislot bezeichnet, in der auf den Zugriff des ersten Teilnehmers gewartet wird.Another option for connecting different types of transmission is provided by the FlexRay protocol, which describes a fast, deterministic and fault-tolerant bus system, especially for use in a motor vehicle. This protocol operates according to the method of Time Division Multiple Access (TDMA), whereby the participants or the messages to be transmitted are assigned fixed time slots in which they have exclusive access to the communication link, the bus. The time slots are repeated in a defined cycle, so that the time at which a message is transmitted over the bus, can be predicted exactly and the bus access is deterministic. To optimally use the bandwidth for message transmission on the bus system, the cycle is divided into a static and a dynamic part. The fixed time slots are located in the static part at the beginning of a bus cycle. In the dynamic part, the time slots are allocated dynamically according to the method of the Flexible Time Division Multiple Access (FTDMA). This is now the exclusive bus access only possible for a short time. If there is no access, the access for the next participant is released. This period of time is referred to as a minislot, in which the access of the first participant is waited.
Wie soeben dargestellt gibt es eine Vielzahl unterschiedlicher Übertragungstechnologien und damit Arten von Bussystemen oder Netzwerken. Häufig ist es so, dass mehrere Bussysteme gleicher oder unterschiedlicher Art miteinander verbunden werden müssen. Dazu dient eine Busschnittstelleneinheit, ein so genanntes Gateway. Ein Gateway ist somit eine Schnittstelle zwischen verschiedenen Bussen, die von gleicher oder unterschiedlicher Art sein können, wobei das Gateway (Teil-) Botschaften von einem Bus auf einen oder mehrere andere Busse weiterleitet. Bekannte Gateways bestehen aus mehreren unabhängigen Kommunikationsbausteinen, wobei der Austausch von Botschaften dabei über die Prozessorschnittstelle (CPU- Interface) des jeweiligen Teilnehmers bzw. den entsprechenden Schnittstellenbaustein des jeweiligen Kommunikationsbausteins erfolgt. Dabei wird dieses CPU-Interface durch diesen Datenaustausch und weitere applikative Funktionen zusätzlich zu den zum Teilnehmer selbst zu übertragenden Botschaften stark belastet, wodurch sich zusammen mit der sich daraus ergebenden Übertragungsstruktur eine relativ niedrige Datenübertragungsgeschwindigkeit oder anderseits eine hohe Taktfrequenz mit hoher Leistungsaufnahme ergibt. Weiterhin gibt es integrierte Kommunikationscontroller oder Kommunikationsbausteine, die sich einen gemeinsamen Botschaftsspeicher, das so genannte Nachrichtenspeicher bzw. Message- RAM, teilen um damit die Strukturnachteile zu kompensieren. Allerdings sind solche integrierten Kommunikationsbausteine dadurch bezüglich der Datenübertragung sehr unflexibel und insbesondere auf eine bestimmte Anzahl von Busanschlüssen und meist auch auf das gleiche Bussystem festgelegt.As just described, there are a variety of different transmission technologies and thus types of bus systems or networks. It is often the case that several bus systems of the same or different type must be connected to one another. This is served by a bus interface unit, a so-called gateway. A gateway is thus an interface between different buses, which may be the same or different in nature, with the gateway relaying messages from a bus to one or more other buses. Known gateways consist of several independent communication modules, the exchange of messages taking place via the processor interface (CPU interface) of the respective subscriber or the corresponding interface module of the respective communication module. In this case, this CPU interface is heavily burdened by this data exchange and other applicative functions in addition to the participants themselves to be transmitted messages, which together with the resulting transmission structure results in a relatively low data rate or on the other hand, a high clock frequency with high power consumption. Furthermore, there are integrated communication controllers or communication modules which share a common message memory, the so-called message memory or message RAM, in order to compensate for the structural disadvantages. However, such integrated communication modules are therefore very inflexible with respect to the data transmission and in particular fixed to a certain number of bus connections and usually also to the same bus system.
Figur 1 zeigt einen herkömmlichen Kommunikationsbaustein bzw. Kommunikationscontroller CC für ein herkömmliches Gateway, wie es in Figur 2 dargestellt ist. Der Kommunikationsbaustein CC weist ein Interface für einen internen Peripheriebus bzw. Systembus des Gateways und ein weiteres Interface für einen externen seriellen Bus auf. Der Systembus umfasst einen Adressbus, einen Datenbus und einen Steuerbus und dient zur internen Datenübertragung innerhalb des Gateways. An dem Systembus sind neben dem Kommunikationsbaustein eine Host-CPU mit einem Datenspeicher RAM sowie weitere optionale Komponenten, z.B. DMA-Controller, angeschlossen. Die Host-CPU dient zur internen Datenverarbeitung und steuert den internen Datentransfer von einem Kommunikationsbaustein CC zu einem anderen Kommunikationsbaustein CC. Die Kommunikationsbausteine CC kommunizieren mit der Host-CPU nach dem Master-/Slave- Prinzip, wobei Kommunikationsbausteine Slave- Einheiten darstellen und die Host-CPU eine Master- Einheit bildet. Wie man aus Figur 1 erkennen kann, wird die interne Schnittstelle des Kommunikationsbausteins CC zu dem Systembus durch ein zweischichtiges Interface gebildet, nämlich durch ein Customer- Interface und ein generisches Interface. Das Customer-Interface verbindet den Systembus mit dem generischen Interface, wobei das Customer-Interface herstellerspezifisch und leicht austauschbar ist. Das generische Interface ist über das Customer-Interface an eine große Anzahl von kundenspezifischen Systembussen anschließbar. Der Kommunikationsbaustein CC nach dem Stand der Technik und wie er in Figur 1 dargestellt ist, enthält ferner Pufferspeicher zum Zwischenspeichern von zu transferierenden Daten. Die Puffer- Speicher werden beispielsweise durch RAM- oder Datenregister gebildet. Der Kommunikationsbaustein CC enthält ferner eine Nachrichtenweiterleitungseinheit bzw. einen Message- Handler zur Weiterleitung von Nachrichten von mindestens einem Nachrichtenspeicher und einer Kommunikationsprotokolleinheit, sowie Pufferspeichern. Der Nachrichtenspeicher bzw. das Message- RAM speichert die zu transferierenden Nachrichtenobjekte sowie Konfigurati- ons- und Statusinformationsdaten zwischen. Die Nachrichtenweiterleitungseinheit übernimmt die Steuerung des Datenflusses zwischen allen Pufferspeichern, der Kommunikationsprotokolleinheit und dem Nachrichtenzwischenspeicher. Die Kommunikationsprotokolleinheit (PRT) des in Figur 1 dargestellten herkömmlichen Kommunikationsbausteins CC implementiert die Kommunikation gemäß dem eingesetzten Datenübertragungsprotokoll. Dabei über- nimmt die Kommunikationsprotokolleinheit PRT die Umwandlung bzw. Umsetzung zwischen dem Datenformat der über den externen seriellen Bus übertragenen Datenpakete DP und den innerhalb des Kommunikationsbausteins verwendeten Nachrichten bzw. Messages MSG. Die von der Nachrichtenweiterleitungseinheit bzw. dem Message-Handler weitergeleiteten Nachrichten MSG bestehen dabei zumindest aus einem Datenwort DW, wobei die Wortlänge bzw. die Bitzahl des Datenwortes DW vorzugsweise der Busbreite des internen vorgesehenen Datenbusses des Gateways entspricht. Weist der Systembus beispielsweise einen 32 Bit breiten internen Datenbus auf, umfasst das Datenwort DW ebenfalls 32 Bit. Eine Nachricht bzw. Message MSG kann aus einer vorgegebenen Anzahl von Datenworten DW bestehen. Die Speicherkapazität eines Pufferspeichers entspricht beispielsweise dem Da- tenumfang einer Nachricht bzw. einer Message, die eine vorgegebene Anzahl von Datenworten DW umfasst. Die Arbitrierung des Datenflusses wird durch die Nachrichtenweiterlei- tungseinheit bzw. den Message-Handler vorgenommen.Figure 1 shows a conventional communication module or communication controller CC for a conventional gateway, as shown in Figure 2. The communication module CC has an interface for an internal peripheral bus or system bus of the gateway and a further interface for an external serial bus. The system bus comprises an address bus, a data bus and a control bus and serves for internal data transmission within the gateway. In addition to the communication module, a host CPU with a data memory RAM and further optional components, eg DMA controllers, are connected to the system bus. The host CPU is used for internal data processing and controls the internal data transfer from one communication component CC to another communication component CC. The communication modules CC communicate with the host CPU according to the master / slave principle, wherein communication modules represent slave units and the host CPU forms a master unit. As can be seen from FIG. 1, the internal interface of the communication module CC to the system bus is formed by a two-layered interface, namely by a customer interface and a generic interface. The customer interface connects the system bus to the generic interface, whereby the customer interface is vendor-specific and easily replaceable. The generic interface can be connected via the customer interface to a large number of customer-specific system busses. The communication module CC according to the prior art and as shown in Figure 1, further includes buffer memory for buffering data to be transferred. The buffer memories are formed, for example, by RAM or data registers. The communication module CC also contains a message forwarding unit or a message handler for forwarding messages from at least one message memory and a communication protocol unit, as well as buffer memories. The message store or the message RAM stores the message objects to be transferred as well as configuration and status information data. The message forwarding unit handles the control of the data flow between all the buffers, the communication protocol unit and the message buffer. The communication protocol unit (PRT) of the conventional communication module CC shown in FIG. 1 implements the communication according to the data transmission protocol used. In this case, the communication protocol unit PRT assumes the conversion or conversion between the data format of the data packets DP transmitted via the external serial bus and the messages or messages MSG used within the communication module. The forwarded by the message forwarding unit or the message handler messages MSG consist of at least one data word DW, wherein the word length or the number of bits of the data word DW preferably corresponds to the bus width of the internal intended data bus of the gateway. For example, if the system bus has a 32-bit internal data bus, the data word DW also includes 32 bits. A message or message MSG can consist of a predetermined number of data words DW. The storage capacity of a buffer memory corresponds, for example, to the data volume of a message or a message which comprises a predefined number of data words DW. The arbitration of the data flow is carried out by the message forwarding unit or the message handler.
Insbesondere in Fahrzeugen kommen heutzutage mehrere serielle Busse und Feldbusse, beispielsweise serielle Feldbusse wie ein CAN-Bus, ein FlexRay-Bus, ein MOST-Bus oder ein LIN-Bus zum Einsatz. Während des Betriebs werden zwischen diesen seriellen Bussen, die einen Teil eines Netzwerkes bilden können, Daten über ein Gateway GW ausgetauscht. Abhängig von dem Fahrzeug und den durchgeführten Funktionen kann dabei das Datenaufkommen in dem zentralen Gateway GW, wie es in Figur 2 dargestellt ist, sehr hoch sein. Dieses Datenaufkommen verursacht eine hohe CPU-Last, d. h. die CPU wird damit belastet, Daten von einem seriellen Bus auf einen oder mehrere andere serielle Busse zu routen. Fer- ner wird die CPU-Last durch Operationen erhöht, die zur Reduzierung von Bandbreite in einzelnen Netzwerken bzw. seriellen Bussen benötigt werden, beispielsweise die Kombination der Dateninhalte mehrerer Nachrichten bzw. Messages zu einer neuen Nachricht.In particular, in vehicles today several serial buses and field buses, such as serial field buses such as a CAN bus, a FlexRay bus, a MOST bus or a LIN bus are used. During operation, data is exchanged between these serial buses, which may form part of a network, via a gateway GW. Depending on the vehicle and the functions performed, the data volume in the central gateway GW, as shown in FIG. 2, can be very high. This data traffic causes a high CPU load, ie the CPU is burdened with routing data from one serial bus to one or more other serial buses. Furthermore, the CPU load is increased by operations needed to reduce bandwidth on individual networks or serial buses, for example, combining the data contents of multiple messages into a new message.
In vielen Fällen ist es erforderlich, Nachrichten zur Erfüllung von Sicherheitsanforderungen periodisch in einem vorgegebenen Zeitraster zu senden. Bei hochprioren Nachrichten kann die sofortige Übermittlung der Nachricht ohne Zeitraster bzw. außerhalb des Zeitrasters erforderlich sein. Die Überprüfung, ob eine Nachricht erneut gesendet werden soll bzw. eine Nachricht wegen eines aufgetretenen Fehlers, beispielsweise einer ausgebliebenen Nachricht, nicht mehr gesendet werden darf, erfolgt ebenfalls durch die CPU des Gateways GW und verbraucht Rechenleistung der CPU.In many cases, it is necessary to periodically send messages to meet security requirements in a given time frame. For high-priority messages, it may be necessary to send the message immediately without timeout or out of the time frame. The check whether a message should be sent again or a message because of an error occurred, such as a missed message, may no longer be sent, is also done by the CPU of the gateway GW and consumes CPU power.
In vielen Fällen führt die CPU weitere Funktionen parallel durch d. h., auf der CPU laufen parallele Verarbeitungsprozesse ab, die sich gegenseitig negativ beeinflussen und das Senden bzw. das Weiterleiten einer Nachricht verzögern. Durch diese parallel ablaufenden Pro- zesse erhöhen sich der Jitter sowie die Latenzzeiten für die Übertragung der Nachrichten, da eine Unterbrechung der parallel ablaufenden Prozesse in vielen Fällen nicht möglich ist.In many cases, the CPU performs other functions in parallel through d. h., running on the CPU parallel processing processes that adversely affect each other and delay the transmission or forwarding of a message. As a result of these parallel processes, the jitter and the latency times for the transmission of the messages increase, since an interruption of the parallel processes is in many cases not possible.
Es ist daher die Aufgabe der vorliegenden Erfindung, ein Gateway zum automatischen Routen von Nachrichten zwischen Bussen zu schaffen, welches Nachrichten ohne Beeinflussung der CPU und unabhängig von einer CPU-Last weiterleitet.It is therefore the object of the present invention to provide a gateway for automatically routing messages between buses, which forwards messages without affecting the CPU and independently of a CPU load.
Diese Aufgabe wird erfindungsgemäß durch ein Gateway mit den im Patentanspruch 1 angegebenen Merkmalen gelöst.This object is achieved by a gateway with the features specified in claim 1.
Die Erfindung schafft ein Gateway zum automatischen Routen von Nachrichten zwischen Bussen mit:The invention provides a gateway for automatically routing messages between buses using:
- mehreren Kommunikationsbausteinen zum Zwischenspeichern und Übertragen von Nachrichten N über die Busse; und mita plurality of communication modules for buffering and transmitting messages N via the buses; and with
- einer Gateway-Steuereinheit, die über einen Systembus zum Austausch von Nachrichten N mit den Kommunikationsbausteinen verbunden ist, und die von jedem Kommunikationsbau- stein das dortige Auftreten einer zu routenden Nachricht N als externes Ereignis EVext angezeigt erhält,a gateway control unit, which is connected to the communication modules via a system bus for exchanging messages N, and that of each communication module. stone receives the occurrence of a message N to be routed there as an external event EV ext ,
wobei die Gateway-Steuereinheit aufweist:wherein the gateway control unit comprises:
- einen Vektorspeicher VRAM mit einem ersten Speicherbereich zum Speichern von Kommunikationsbaustein-Vektoren KBV, wobei für jeden Kommunikationsbaustein ein Kommunikationsbaustein-Vektor KBV vorgesehen ist, der den Zeitpunkt ZP eines als nächstes zu erwartenden internen Ereignisses EVmt für eine in dem Kommunikationsbaustein zwischenge- speicherte Nachricht N und eine Vektorsprungadresse auf einen Nachrichtenvektor NV angibt, der in einem zweiten Speicherbereich des Vektorspeichers VRAM gespeichert ist, wobei für jede in dem Kommunikationsbaustein zwischengespeicherte relevante Nachricht N ein entsprechender Nachrichtenvektor NV gespeichert ist, der einen konfigurierbaren Zeitpunkt ZP eines von der zugehörigen Nachricht N auszulösenden internen Ereignisses EVιnt, eine Befehlssprungadresse angibt, sowie weitere Konfigurations- und Steuerdaten;a vector memory VRAM having a first memory area for storing communication block vectors KBV, wherein a communication block vector KBV is provided for each communication block which determines the time ZP of a next expected internal event EVmt for a message buffered in the communication block N and a vector jump address to a message vector NV, which is stored in a second memory area of the vector memory VRAM, wherein for each in the communication block cached relevant message N, a corresponding message vector NV is stored, the one configurable time ZP to be triggered by the associated message N. internal event EV ιnt indicating a command jump address , as well as other configuration and control data;
- einen Befehlsspeicher IRAM zum Speichern von Befehlen, die durch die in dem Nachrichtenvektor NV angegebene Befehlssprungadresse adressierbar sind; unda command memory IRAM for storing commands addressable by the command hop address specified in the message vector NV; and
- ein Statusregister SR auf, welches denjenigen Zeitpunkt für das nächste zu erwartende Ereignis von allen zu erwartenden internen Ereignissen für alle in den Kommunikationsbausteinen zwischengespeicherten Nachrichten N zwischenspeichert.a status register SR which temporarily stores the time for the next expected event of all expected internal events for all messages N buffered in the communication blocks.
- eine Ablaufsteuerung FSM, die bei Auftreten eines internen Ereignisses EVmt dessen Zeit- punkt ZP in einem Statusregister SR für alle in den Kommunikationsbausteinen zwischengespeicherten Nachrichten N zwischengespeichert ist oder bei Auftreten eines externen Ereignisses EVext, das der Ablaufsteuerung FSM durch einen Kommunikationsbaustein angezeigt wird, den zu dem jeweiligen Kommunikationsbaustein zugehörigen Kommunikationsbaustein-Vektor KBV aus dem ersten Speicherbereich des Vektorspeichers VRAM ausliest und mittels der darin enthaltenen Vektorsprungadresse die Befehlssprungadresse des adressierten Nachrichtenvektors NV aus dem zweiten Speicherbereich des Vektorspeichers VRAM ausliest und anschließend mittels der ausgelesenen Befehlssprungadresse mindestens einen Befehl aus dem Befehlsspeicher IRAM ausliest und ausführt, wobei die in den Vektoren NV, KBV angegebenen Zeitpunkte ZP aktualisiert werden. Bei einer Ausführungsform des erfindungsgemäßen Gateways weist dieses mindestens einen weiteren Prozessor auf, der über einen zweiten separaten Systembus mit den Kommunikationsbausteinen verbunden ist.a sequence control FSM, which is temporarily stored in a status register SR for all messages N stored in the communication blocks when an internal event EVmt occurs , or when an external event EV ext occurs , which is indicated to the sequence control FSM by a communication block , reads out the communication memory vector KBV belonging to the respective communication module from the first memory area of the vector memory VRAM and reads out the instruction jump address of the addressed message vector NV from the second memory area of the vector memory VRAM by means of the vector jump address contained therein and then by means of the read command jump address at least one command from the Reads and executes instruction memory IRAM, wherein the time points ZP indicated in the vectors NV, KBV are updated. In one embodiment of the gateway according to the invention this has at least one further processor, which is connected via a second separate system bus with the communication modules.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist die Ablaufsteuerung der Gateway-Steuereinheit eine Ereignis- FS M, welche bei Auftreten eines internen oder eines externen Ereignisses EVextdie in dem Vektorspeicher VRAM gespeicherten Vektoren KBV, NV auswertet und die in den Vektoren angegebenen Zeitpunkte aktualisiert; und eine Befehls- FS M auf, welche die aus dem Befehlsspeicher IRAM ausgelesenen Befehle ausführt.In one embodiment of the gateway according to the invention, the control unit of the gateway control unit has an event FS M, which evaluates the stored in the vector memory VRAM vectors KBV, NV when an internal event or an external event EV ext and updates the times indicated in the vectors; and a command FS M which executes the commands read from the command memory IRAM.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist ein Nachrichtenvektor NV zusätzlich eine Zeitdifferenz t zwischen dem Zeitpunkt eines von der zugehörigen Nachricht N auszulösenden internen oder externen Ereignis und einem Zeitpunkt des nächsten von der zugehörigen Nachricht N auszulösenden internen Ereignisses EVmt auf.In one embodiment of the gateway according to the invention, a message vector NV additionally has a time difference t between the time of an internal or external event to be triggered by the associated message N and a time of the next internal event EV mt to be triggered by the associated message N.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist die Gateway- Steuereinheit einen Zähler Z als internen Zeitgeber zum Auslösen eines internen Ereignisses EVmt auf.In one embodiment of the gateway according to the invention, the gateway control unit has a counter Z as an internal timer for triggering an internal event EV mt .
Bei einer Ausführungsform des erfindungsgemäßen Gateways werden die Busse durch serielle Busse gebildet.In one embodiment of the gateway according to the invention, the buses are formed by serial buses.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist jeder Kommunikations- baustein auf:In one embodiment of the gateway according to the invention, each communication module has:
- eine an den seriellen Bus angeschlossene Kommunikations- Protokolleinheit zur Umsetzung zwischen Datenpaketen DP und Nachrichten, die jeweils aus mehreren Datenworten DW bestehen;a communication protocol unit connected to the serial bus for conversion between data packets DP and messages, each consisting of a plurality of data words DW;
- eine Nachrichtenweiterleitungseinheit zur Weiterleitung von Nachrichten zwischen mindestens einem Nachrichtenspeicher und der Kommunikations-Protokolleinheit sowie Pufferspeichern;a message forwarding unit for forwarding messages between at least one message store and the communications protocol unit and buffers;
- mehrere Interface- Einheiten , die jeweils an einen zugehörigen Systembus des Gateways angeschlossen sind, wobei jede Interface- Einheit mit mindestens einem zugehörigen Pufferspeicher verbunden ist, der eine Nachricht zwischenspeichert, wobei eine Übertragung von Datenworten DW über mehrere Systembusse und deren zugehörige Interface- Einheiten von und zu den Pufferspeichern der Interface- Einheiten zeitgleich ohne Wartezeit erfolgt.a plurality of interface units each connected to an associated system bus of the gateway, each interface unit being connected to at least one associated buffer memory buffering a message, a transmission of Data words DW over several system buses and their associated interface units from and to the buffer memories of the interface units at the same time without waiting time.
Bei einer Ausführungsform des erfindungsgemäßen Gateways ist der serielle Bus ein FeId- bus.In one embodiment of the gateway according to the invention, the serial bus is a fieldbus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways ist der Feldbus ein CAN (Controller Area Network)-Bus.In one embodiment of the gateway according to the invention, the fieldbus is a CAN (Controller Area Network) bus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways ist der Feldbus ein LIN (Local Interconnect Network)-Bus.In one embodiment of the gateway according to the invention, the field bus is a LIN (Local Interconnect Network) bus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways ist der Feldbus ein FlexRay- Bus.In one embodiment of the gateway according to the invention, the fieldbus is a FlexRay bus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways ist der serielle Bus ein Ethernet- Bus.In one embodiment of the gateway according to the invention, the serial bus is an Ethernet bus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist jeder der beiden Sys- tembusse einen zugehörigen Systembus- Master auf.In one embodiment of the gateway according to the invention, each of the two system buses has an associated system bus master.
Bei einer Ausführungsform des erfindungsgemäßen Gateways signalisiert die Nachrichten- weiterleitungseinheit eines Kommunikationsbausteins den Empfang einer über den Systembus wortweise übertragenen Nachricht an den Systembus- Master des Systembusses.In one embodiment of the gateway according to the invention, the message forwarding unit of a communication module signals the receipt of a word-wise transmitted message via the system bus to the system bus master of the system bus.
Bei einer Ausführungsform des erfindungsgemäßen Gateways bestätigt die Nachrichtenwei- terleitungseinheit dem Systembus- Master den Erhalt einer zu übertragenden Nachricht durch Signale, nachdem dieser die Information angefragt hat.In one embodiment of the gateway according to the invention, the message routing unit confirms to the system bus master the receipt of a message to be transmitted by means of signals after it has requested the information.
Bei einer Ausführungsform des erfindungsgemäßen Gateways weist eine von dem jeweiligen Systembus empfangene Nachricht, welche in einem Pufferspeicher zwischengespeichert ist und von der Nachrichtenweiterleitungseinheit an den Nachrichtenspeicher weitergeleitet wird zur Signalisierung einer Sendebereitschaft über den seriellen Bus mindestens ein Flag-Bit auf. Im Weiteren werden bevorzugte Ausführungsformen des erfindungsgemäßen Gateways unter Bezugnahme auf die beigefügten Figuren zur Erläuterung erfindungswesentlicher Merkmale beschrieben.In one embodiment of the gateway according to the invention, a message received from the respective system bus, which is buffered in a buffer memory and forwarded to the message memory by the message forwarding unit, has at least one flag bit for signaling readiness for transmission via the serial bus. In the following, preferred embodiments of the gateway according to the invention are described with reference to the attached figures for explaining characteristics essential to the invention.
Es zeigen:Show it:
Figur 1: einen Kommunikationsbaustein nach dem Stand der Technik;Figure 1: a communication module according to the prior art;
Figur 2: ein Gateway nach dem Stand der Technik;Figure 2: a gateway according to the prior art;
Figur 3: ein Blockschaltbild einer möglichen Ausführungsform des erfindungsgemäßen Gateways;FIG. 3 shows a block diagram of a possible embodiment of the gateway according to the invention;
Figur 4: ein Blockschaltbild einer möglichen Ausführungsform eines Kommunikationsbau- steins innerhalb des erfindungsgemäßen Gateways;FIG. 4 shows a block diagram of a possible embodiment of a communication module within the gateway according to the invention;
Figur 5: ein Blockschaltbild einer möglichen Ausführungsform einer in dem erfindungsgemäßen Gateway enthaltenen Gateway-Steuereinheit;FIG. 5 shows a block diagram of a possible embodiment of a gateway control unit contained in the gateway according to the invention;
Figur 6: ein Diagramm zur Darstellung eines Speicherinhalts eines in dem erfindungsgemäßen Gateway enthaltenen Vektorspeichers;FIG. 6 shows a diagram for representing a memory content of a vector memory contained in the gateway according to the invention;
Figur 7: ein Diagramm zur Darstellung des Dateninhalts des in dem erfindungsgemäßen Gateway enthaltenen Befehlsspeichers;Figure 7 is a diagram showing the data content of the instruction memory included in the gateway according to the invention;
Figur 8: ein Signaldiagramm zur Darstellung eines Beispiels zur Nachrichtenweiterleitung durch das erfindungsgemäße Gateway;FIG. 8 shows a signal diagram to illustrate an example of message forwarding by the gateway according to the invention;
Figur 9: ein Signaldiagramm zur Darstellung eines weiteren Beispiels zur Nachrichtenweiter- leitung durch das erfindungsgemäße Gateway;FIG. 9 shows a signal diagram to illustrate a further example for message forwarding by the gateway according to the invention;
Figur 10: ein Signaldiagramm zur Darstellung eines weiteren Beispiels zur Nachrichtenweiterleitung durch das erfindungsgemäße Gateway;FIG. 10 shows a signal diagram to illustrate a further example of message forwarding by the gateway according to the invention;
Figur 11: ein Signaldiagramm zur Darstellung eines weiteren Beispiels zur Weiterleitung von Nachrichten durch das erfindungsgemäße Gateway; Figur 12: ein Signaldiagramm zur Darstellung eines weiteren Beispiels zur Weiterleitung von Nachrichten durch das erfindungsgemäße Gateway.FIG. 11 shows a signal diagram to illustrate a further example for forwarding messages through the gateway according to the invention; FIG. 12 shows a signal diagram for illustrating a further example for forwarding messages through the gateway according to the invention.
Wie man aus Figur 3 erkennen kann, weist das erfindungsgemäße Gateway 1 mehrere Kommunikationsbausteine 2-i auf, die jeweils an einen seriellen Bus 3-i anschließbar sind. Bei den seriellen Bussen 3-i handelt es sich beispielsweise um einen Feldbus oder einen Ethernet-Bus. Über die seriellen Busse 3-i werden Daten als Nachrichten übertragen. Übertragene Datenpakete bzw. Nachrichten umfassen Verwaltungs- bzw. Header- Daten sowie Nutz- bzw. Payload- Daten. Das erfindungsgemäße Gateway 1 gemäß der in Figur 3 darge- stellten Ausführungsform weist mehrere Master- Einheiten auf, wobei eine erste Master- Einheit durch eine Gateway-Steuereinheit 4-1 und eine zweite Master- Einheit durch eine CPU 4-2 gebildet wird. Die beiden Master- Einheiten 4-1, 4-2 übernehmen unterschiedliche Funktionen. Bei der in Figur 3 dargestellten Ausführungsform ist die Gateway-Steuereinheit 4-1 für den Datentransfer zwischen den verschiedenen Kommunikationsbausteinen 2-i zu- ständig. Die andere Master- Einheit, die durch einen Prozessor 4-2 bestehend aus einerAs can be seen from FIG. 3, the gateway 1 according to the invention has a plurality of communication modules 2-i, which can each be connected to a serial bus 3-i. The serial buses 3-i are, for example, a field bus or an Ethernet bus. Data is transmitted as messages via the serial buses 3-i. Transferred data packets or messages include administrative or header data as well as payload data. The inventive gateway 1 according to the embodiment shown in FIG. 3 has a plurality of master units, wherein a first master unit is formed by a gateway control unit 4-1 and a second master unit is formed by a CPU 4-2. The two master units 4-1, 4-2 assume different functions. In the embodiment illustrated in FIG. 3, the gateway control unit 4-1 is responsible for the data transfer between the various communication modules 2-i. The other master unit, by a processor 4-2 consisting of a
Host-CPU und einem internen Speicher RAM gebildet wird, führt die eigentliche Datenverarbeitung beispielsweise einer neben dem Gateway integrierten Steuergerätefunktion durch. Bei der in Figur 3 dargestellten Ausführungsform weist jede Master- Einheit 4-1, 4-2 vorzugsweise ihren eigenen Systembus 5-1, 5-2 auf. Jeder Systembus 5-1, 5-2 weist seinerseits seinen eigenen Daten-, Adress- und Steuerbus auf. Innerhalb des Gateways 1 werden die Daten bei einer möglichen Ausführungsform wortweise übertragen, wobei die Länge eines Datenwortes DW der Busbreite des jeweiligen Datenbusses des Systembusses entspricht. Die Kommunikationsbausteine 2-i weisen bei einer möglichen Ausführungsform für jeden Systembus 5-i ein ebenfalls vorzugsweise zugehöriges Interface auf.Host CPU and an internal memory RAM is formed, performs the actual data processing, for example, a built-in next to the gateway controller function. In the embodiment shown in Figure 3, each master unit 4-1, 4-2 preferably has its own system bus 5-1, 5-2. Each system bus 5-1, 5-2 in turn has its own data, address and control bus. Within the gateway 1, the data is transmitted word by word in one possible embodiment, the length of a data word DW corresponding to the bus width of the respective data bus of the system bus. In one possible embodiment, the communication modules 2-i have a preferably associated interface for each system bus 5-i.
Figur 4 zeigt eine mögliche Ausführungsform eines Kommunikationsbausteins 2-i. Der Kommunikationsbaustein 2-i dient zum Anschluss eines seriellen Busses 3 über ein Interface, wobei der Kommunikationsbaustein 2-i für jeden internen Systembus 5-i des Gateways 1 ein eigenes getrenntes Interface 2a, 2b aufweist. Bei der in Figur 4 dargestellten Ausführungs- form weist der Kommunikationsbaustein 2-i ein erstes Interface 2a zum Anschluss an den Systembus 5-1 auf, dessen Master- Einheit durch die Gateway-Steuereinheit 4-1 gebildet wird. Darüber hinaus weist der Kommunikationsbaustein 2-i ein weiteres Interface 2b zum Anschluss an den Systembus 5-2 des Gateways 1 auf, dessen Bus-Master durch die Host- CPU des Prozessors 4-2 gebildet wird. An den externen seriellen Datenbus 3-i ist eine Kommunikationsprotokolleinheit 2c des Kommunikationsbausteins 2-i angeschlossen. Die Kommunikationsprotokolleinheit 2c führt eine Umsetzung zwischen Datenpaketen bzw. Nachrichten durch, welche extern über den seriellen Datenbus 3-i übertragen werden und sendet mit Hilfe des Message Handlers intern Nachrichten bzw. Messages aus, die jeweils aus einem oder mehreren Datenworten DW bestehen können.FIG. 4 shows a possible embodiment of a communication module 2-i. The communication module 2-i is used to connect a serial bus 3 via an interface, wherein the communication module 2-i for each internal system bus 5-i of the gateway 1 has its own separate interface 2a, 2b. In the embodiment shown in FIG. 4, the communication module 2-i has a first interface 2a for connection to the system bus 5-1, whose master unit is formed by the gateway control unit 4-1. In addition, the communication module 2-i has a further interface 2b for connection to the system bus 5-2 of the gateway 1, whose bus master is formed by the host CPU of the processor 4-2. Connected to the external serial data bus 3-i is a communication protocol unit 2c of the communication module 2-i. The communication protocol unit 2c carries out a conversion between data packets or messages which are transmitted externally via the serial data bus 3-i and internally sends messages or messages with the help of the message handler, which can each consist of one or more data words DW.
Der Kommunikationsbaustein 2-i in Figur 4 enthält ferner eine Nachrichtenweiterleitungsein- heit bzw. einen Message-Handler 2d zur Weiterleitung von Nachrichten zwischen mindestens einem internen Nachrichtenspeicher bzw. Message- RAM 2e und der Kommunikationsprotokolleinheit 2c sowie verschiedenen Pufferspeichern 2f, 2g über interne Datenleitungen 2h. Die Speicherkapazität eines Pufferspeichers 2f, 2g entspricht vorzugsweise dem Daten- umfang einer intern zu übertragenden Nachricht, sowie weiterer Verwaltungsdaten. Der Kommunikationsbaustein 2-i weist mehrere Interface- Einheiten 2a, 2b auf, die jeweils an einen zugehörigen Systembus 5-i des Gateways 1 angeschlossen sind. Dabei ist jede Interface-Einheit 2a, 2b mit mindestens einem zugehörigen Pufferspeicher 2f, 2g verbunden, in der mindestens eine Nachricht bzw. Message bzw. ein Message-Objekt MO zwischenspeicherbar ist.The communication module 2-i in FIG. 4 also contains a message forwarding unit or message handler 2d for forwarding messages between at least one internal message memory or message RAM 2e and the communication protocol unit 2c and various buffer memories 2f, 2g via internal data lines 2h , The storage capacity of a buffer memory 2f, 2g preferably corresponds to the data volume of an internal message to be transmitted, as well as further administration data. The communication module 2-i has a plurality of interface units 2a, 2b, which are each connected to an associated system bus 5-i of the gateway 1. In this case, each interface unit 2a, 2b is connected to at least one associated buffer memory 2f, 2g in which at least one message or message or a message object MO can be buffered.
Der Zugriff der Gateway-Steuereinheit 4-1 auf ein Message-Objekt MO bzw. eine Nachricht N erfolgt über das Gateway- Interface 2a und dessen zugehöriges Interface- Register 2f. Die CPU 4-2 greift über das Customer-Interface 5-2 und dessen zugehörigem Interface- Register 2g auf Nachrichten bzw. Message-Objekte zu. Somit ist sowohl von der Gateway- Steuereinheit 4-1 als auch von der Prozessoreinheit 4-2 der Zugriff auf alle Nachrichten bzw. Message-Objekte ohne gegenseitige Beeinflussung möglich.The access of the gateway control unit 4-1 to a message object MO or a message N takes place via the gateway interface 2a and its associated interface register 2f. The CPU 4-2 accesses messages or message objects via the customer interface 5-2 and its associated interface register 2g. Thus, both of the gateway control unit 4-1 and of the processor unit 4-2 access to all messages or message objects without mutual interference possible.
Figur 5 zeigt eine mögliche Ausführungsform einer in dem erfindungsgemäßen Gateway 1 enthaltenen Gateway-Steuereinheit 4-1. Die Gateway -Steuerein heit 4-1 ist über den zugehö- rigen Systembus 5-1 zum Austausch von Nachrichten mit den Kommunikationsbausteinen 2- i verbunden. Dabei erhält sie von jedem Kommunikationsbaustein 2-i das dortige Auftreten einer zu routenden Nachricht N bzw. eines zu routenden Message-Objekts MO als externes Ereignis EVext angezeigt. Wie man aus Figur 3 erkennen kann, ist jeder Kommunikationsbaustein 2-i mit mindestens einer Anzeigeleitung zur Anzeige eines Ereignisses bzw. eines Events mit der Gateway-Steuereinheit 4-1 verbunden. Bei einer möglichen Ausführungsform weist der in Figur 4 dargestellte Kommunikationsbaustein 2-i mehrere parallele Nachrichtenregister für jedes Interface zum Speichern von einer Nachricht pro Nachrichtenregister auf. Bei einer möglichen Ausführungsform sind die Nachrichten dabei in mehrere Gruppen eingeteilt, beispielsweise in m Gruppen. Bei einer möglichen Ausführungsform ist die Anzahl der vorgesehenen Nachrichtengruppen innerhalb eines Kommunikationsbausteins 2-i m = 4. Der Message-Handler 2d des Kommunikationsbausteins 2-i zeigt bei Auftreten eines externen Ereignisses EVext, beispielsweise den Empfang einer weiterzuleitenden Nachricht der Gate- way-Steuereinheit 4-1 über eine entsprechende Anzeigeleitung an. Bei einer möglichen Ausführungsform ist für jede Gruppe von Nachrichten eine eigene Anzeigeleitung vorgesehen, beispielsweise m = 4 Anzeigeleitungen. Beträgt die Anzahl der Kommunikationsbausteine 2-i N unter der Annahme das alle Kommunikationsbausteine 2-i ein identisches N haben und beträgt die Anzahl von Gruppen innerhalb des Kommunikationsbausteins 2-i m, dann ist die Anzahl der Anzeigeleitungen für externe Events bzw. Ereignisse N x m.FIG. 5 shows a possible embodiment of a gateway control unit 4-1 contained in the gateway 1 according to the invention. The gateway control unit 4-1 is connected via the associated system bus 5-1 for exchanging messages with the communication modules 2-1. In this case, it receives from each communication module 2-i the local occurrence of a message N to be routed or of a message object MO to be routed as an external event EV ext . As can be seen from FIG. 3, each communication module 2-i is connected to at least one display line for displaying an event or an event with the gateway control unit 4-1. In one possible embodiment, the communication module 2-i shown in FIG. 4 has a plurality of parallel message registers for each interface for storing one message per message register. In one possible embodiment, the messages are divided into several groups, for example in m groups. In one possible embodiment, the number of the intended message groups within a communication module is 2-im = 4. The message handler 2d of the communication module 2-i shows, when an external event EV ext occurs , for example the receipt of a message to be forwarded from the gate. way control unit 4-1 via a corresponding display line. In one possible embodiment, a separate display line is provided for each group of messages, for example m = 4 display lines. If the number of communication blocks 2-i N is 2 assuming that all communication blocks 2-i have an identical N, and the number of groups within the communication block is 2-in, then the number of display lines for external events or events is N x m ,
Wie man aus Figur 5 erkennen kann, ist die Gateway-Steuereinheit 4-1 über den Systembus 5-1 mit den Kommunikationsbausteinen 2-i verbunden und erhält von jedem Kommunikati- onsbaustein 2-i das dortige Auftreten einer zu routenden Nachricht als externes Ereignis EVext über eine Anzeigeleitung angezeigt. Die Gateway-Steuereinheit 4-i enthält einen Vektorspeicher (VRAM) dessen Speicherinhalt in Figur 6 dargestellt ist. Darüber hinaus enthält die Gateway-Steuereinheit 4-1 einen Befehlsspeicher bzw. Instruction RAM (IRAM) zum Speichern von Befehlen dessen Speicherinhalt in Figur 7 dargestellt ist. Das zentrale Steu- erelement der Gateway-Steuereinheit 4-1 wird durch eine Ablaufsteuerung bzw. einen Zustandsautomaten (FSM: Finite State Machine) gebildet, der sich aus einer Ereignis-FSM und einer davon getrennten Befehls- FS M zusammensetzt. Weiterhin enthält die Gateway- Steuereinheit 4-1 ein Statusregister SR und einen Zähler Z als Zeitgeber zum Auslösen von internen Ereignissen EVmt. Die Gateway-Steuereinheit 4-1 ist über ein Systembus-Interface SBI mit dem Systembus 5-1 verbunden. Der Vektorspeicher bzw. VRAM, wie er in Figur 6 dargestellt ist, enthält im Wesentlichen drei Speicherbereiche. In einem ersten Speicherbereich befinden sich Konfigurationsdaten der Kommunikationsbausteine 2, d. h. für jeden Kommunikationsbaustein 2-i ist pro Nachrichtengruppe ein Kommunikationsbaustein-Vektor KBV abgespeichert. Der Kommunikationsbaustein-Vektor KBV speichert für den zugehörigen Kommunikationsbaustein 2-i denjenigen Zeitpunkt ZP, der das nächste zu erwartende interne Ereignis EVmt für eine in dem Kommunikationsbaustein 2-i zwischengespeicherte Nachricht N angibt. Zusätzlich weist der Kommunikationsbaustein-Vektor KBV eine Vektorsprungadresse VSA auf einen Nachrichtenvektor NV für die entsprechende Nachricht N auf. Zusätzlich weist jeder Kommunikationsbaustein-Vektor KBV weitere Konfigurationsdaten für den entsprechenden Kommunikationsbaustein 2-i auf. Ein mögliches Konfigurationsdatum wird durch ein CC-Flag gebildet, welches anzeigt, ob ein Kommunikationsbaustein 2 bzw. Communication Controller aktiviert bzw. deaktiviert ist. Weist der Kommunikationsbaustein 2 mehrere Gruppen von Nachrichten N auf, wird ein Kommunikationsbaustein-Vektor KBV für jede Gruppe von Nachrichten innerhalb des Kommunikationsbausteins 2 vorgesehen.As can be seen from FIG. 5, the gateway control unit 4-1 is connected to the communication modules 2-i via the system bus 5-1 and receives from each communication component 2-i the occurrence of a message to be routed there as an external event EV ext via a display line. The gateway control unit 4-i contains a vector memory (VRAM) whose memory contents are shown in FIG. In addition, the gateway control unit 4-1 includes an instruction RAM (IRAM) for storing instructions whose memory contents are shown in FIG. The central control element of the gateway control unit 4-1 is formed by a finite state machine (FSM), which is composed of an event FSM and a separate command FS M. Furthermore, the gateway control unit 4-1 contains a status register SR and a counter Z as a timer for triggering internal events EV mt . The gateway control unit 4-1 is connected to the system bus 5-1 via a system bus interface SBI. The vector memory or VRAM, as shown in FIG. 6, essentially contains three memory areas. Configuration data of the communication modules 2 are located in a first memory area, ie for each communications module 2-i, a communications module vector KBV is stored per message group. The communication module vector KBV stores for the associated communication module 2-i that time ZP which indicates the next expected internal event EV mt for a message N buffered in the communication module 2-i. In addition, the communication module vector KBV has a vector jump address VSA on a message vector NV for the corresponding message N. In addition, each communication module vector KBV has further configuration data for the corresponding communication module 2-i. A possible configuration date is formed by a CC flag which indicates whether a communication module 2 or communication controller is activated or deactivated. If the communication module 2 has several groups of messages N, a communication module vector KBV is provided for each group of messages within the communication module 2.
Der Vektorspeicher VRAM innerhalb der Gateway-Steuereinheit 4-1 enthält ferner einen zweiten Speicherbereich, in dem für jede Nachricht N bzw. für jede Message MSG Konfigu- rationsdaten als Nachrichtenvektoren NV abgespeichert sind. Für jede relevante Message bzw. Nachricht N ist ein Nachrichtenvektor NV in dem Vektorspeicher VRAM abgelegt. Für jede in einem Kommunikationsbaustein 2-i zwischengespeicherte Nachricht N ist ein entsprechender N ach richten vektor NV vorgesehen bzw. in dem VRAM abgespeichert, der einen konfigurierbaren Zeitraum ZP eines von der zugehörigen Nachricht N auszulösenden internen Ereignisses EVιnt sowie eine Befehlssprungadresse BSA angibt.The vector memory VRAM within the gateway control unit 4-1 also contains a second memory area in which for each message N or for each message MSG configuration ration data are stored as message vectors NV. For each relevant message or message N, a message vector NV is stored in the vector memory VRAM. For each message N cached in a communication module 2-i, a corresponding alert vector NV is provided or stored in the VRAM indicating a configurable period ZP of an internal message EV ιnt to be triggered by the associated message N and a command jump address BSA.
Bei einer möglichen Ausführungsform des erfindungsgemäßen Gateways 1 weist der Nachrichtenvektor NV zusätzlich eine Zeitdifferenz Δt zwischen dem Zeitpunkt ZP eines von der zugehörigen Nachricht N auszulösenden internen oder externen Ereignis und einem weiteren Zeitpunkt ZP des nächsten von der zugehörigen Nachricht N auszulösenden internen Ereignisses auf.In one possible embodiment of the gateway 1 according to the invention, the message vector NV additionally has a time difference Δt between the time ZP of an internal or external event to be triggered by the associated message N and a further time ZP of the next internal event to be triggered by the associated message N.
Neben den Speicherbereichen für die Kommunikationsbaustein-Vektoren KBV und dem zweiten Speicherbereich für die Nachrichtenvektoren NV weist der Vektorspeicher VRAM ferner einen frei verfügbaren dritten Speicherbereich auf, in dem Variablen zwischengespeichert werden und in dem Konstanten und Flags abgespeichert sind. Darüber hinaus dient der frei verfügbare dritte Speicherbereich des Vektorspeichers VRAM zum Datenaustausch mit der CPU 4-2.In addition to the memory areas for the communication module vectors KBV and the second memory area for the message vectors NV, the vector memory VRAM also has a freely available third memory area in which variables are buffered and in which constants and flags are stored. In addition, the freely available third memory area of the vector memory VRAM is used for data exchange with the CPU 4-2.
Die in dem zweiten Speicherbereich des Vektorspeichers VRAM abgespeicherten Nachrichtenvektoren NV weisen eine Befehlssprungadresse BSA auf, durch die mindestens eine Befehlsubroutine innerhalb des Befehlsspeichers IRAM adressierbar ist. Für jede Nachricht N ist in dem zweiten Speicherbereich des Vektorspeichers VRAM ein Nachrichtenvektor NV gespeichert, der jeweils eine Befehlssprungadresse BSA auf eine Subroutine innerhalb des Befehlsspeichers IRAM aufweist. Eine derartige Befehlssequenz bzw. Subroutine ist einem der jeweiligen Nachricht zugeordneten Speicherbereich im IRAM abgelegt. Die Größe des Speicherbereichs ist vorzugsweise variabel. Ferner ist die Position des Speicherbereichs innerhalb des Befehlsspeichers IRAM ebenfalls variabel.The message vectors NV stored in the second memory area of the vector memory VRAM have a command jump address BSA, by which at least one command subroutine within the command memory IRAM is addressable. For each message N, a message vector NV is stored in the second memory area of the vector memory VRAM, each having a command jump address BSA to a subroutine within the instruction memory IRAM. Such a command sequence or subroutine is stored in the memory area assigned to the respective message in the IRAM. The size of the storage area is preferably variable. Furthermore, the position of the memory area within the instruction memory IRAM is also variable.
In der Gateway-Steuereinheit 4-1 ist neben dem Vektorspeicher VRAM und dem Befehlsspeicher IRAM eine Ablaufsteuerung FSM vorgesehen, die eine Ereignis-FSM und eine Be- fehls-FSM aufweist. Die Ereignis-FSM der Ablaufsteuerung wertet bei Auftreten eines internen oder eines externen Ereignisses die in dem Vektorspeicher VRAM gespeicherten Vekto- ren, d. h. die Kommunikationsbaustein- Vektoren KBV und die Nachrichtenvektoren NV aus und aktualisiert die in den jeweiligen Vektoren angegebenen Zeitpunkte. Darüber hinaus weist die Gateway-Steuereinheit 4-1 ein Konfigurations- bzw. Statusregister SR auf, welches unter Anderem denjenigen Zeitpunkt ZP für das allernächste zu erwartende Ereignis von allen zu erwartenden internen Ereignissen EVmt für alle in den Kommunikationsbausteinen 2-i zwischengespeicherten Nachrichten zwischenspeichert.In the gateway control unit 4-1, in addition to the vector memory VRAM and the instruction memory IRAM, a sequence control FSM is provided which has an event FSM and a command FSM. When an internal or an external event occurs, the event FSM of the sequence evaluates the vectors stored in the vector memory VRAM, ie the communication module vectors KBV and the message vectors NV, and updates the times indicated in the respective vectors. In addition, the gateway control unit 4-1 has a configuration or status register SR which inter alia stores the time ZP for the closest expected event of all expected internal events EV mt for all messages buffered in the communication modules 2-i ,
Die Befehls- FS M innerhalb der Ablaufsteuerung führt die aus dem Befehlsspeicher IRAM ausgelesenen Befehle aus. Bei Auftreten eines internen Ereignisses EVmt dessen Zeitpunkt ZP in einem Statusregister SR oder bei Auftreten eines externen Ereignisses EVext, das der Ablaufsteuerung von einem Kommunikationsbaustein 2-i angezeigt wird, liest die Ereignis- FSM den zu dem jeweiligen Kommunikationsbaustein 2-i zugehörigen Kommunikationsbaustein-Vektor KBV aus dem ersten Speicherbereich des Vektorspeichers VRAM aus. Ein ausgelesener Kommunikationsbaustein-Vektor KBV enthält eine Vektorsprungadresse VSA auf einen Nachrichtenvektor NV in dem zweiten Speicherbereich des Vektorspeichers VRAM. Für jeden Kommunikationsbaustein 2-i bzw. für jede Gruppe von Nachrichten N innerhalb eines Kommunikationsbausteins 2-i ist ein eigener Kommunikationsbaustein-Vektor KBV vorgesehen. Dieser bildet gewissermaßen eine Hash-Tabelle für die Nachrichtenvektoren NV in dem zweiten Speicherbereich des Vektorspeichers VRAM. Mittels der Vektorsprungadresse VSA liest die Ereignis-FSM der Ablaufsteuerung den adressierten Nachrichtenvektor NV aus dem zweiten Speicherbereich des Vektorspeichers VRAM aus und adressiert an- schließend mit der darin enthaltenen Befehlssprungadresse BSA eine Subroutine innerhalb des Befehlsspeichers IRAM. Der adressierte Befehl bzw. die adressierten Befehle werden aus dem Befehlsspeicher IRAM gelesen und durch die Befehls-FSM innerhalb der Ablaufsteuerung abgearbeitet, wobei die Befehls-FSM auch die in den Vektoren, d. h. die in den Nachrichtenvektoren NV und Kommunikationsbausteinvektoren KBV angegebenen Zeitpunk- ten ZP entsprechend den NV und KBV Vektoren vorzugsweise durch die Ereignis-FSM oder den abgearbeiteten Befehlen aktualisiert.The instruction FS M within the sequencer executes the instructions read from the instruction memory IRAM. Upon occurrence of an internal event EV mt whose time ZP in a status register SR or at the occurrence of an external event EV ext , the flow control of a communication block 2-i is displayed, the event FSM reads the associated communication block 2-i communication block Vector KBV from the first memory area of the vector memory VRAM. A read communication module vector KBV contains a vector jump address VSA on a message vector NV in the second memory area of the vector memory VRAM. For each communication block 2-i or for each group of messages N within a communication block 2-i, a separate communication block vector KBV is provided. In a sense, this forms a hash table for the message vectors NV in the second memory area of the vector memory VRAM. By means of the vector jump address VSA, the event FSM of the sequence controller reads out the addressed message vector NV from the second memory area of the vector memory VRAM and then addresses, with the command jump address BSA contained therein, a subroutine within the instruction memory IRAM. The addressed instruction (s) are read from the instruction memory IRAM and executed by the instruction FSM within the sequencer, the instruction FSM also including the timing ZP indicated in the vectors, ie the message vectors NV and communication module vectors KBV according to the NV and KBV vectors, preferably updated by the event FSM or instructions executed.
Die in Figur 5 dargestellte Gateway-Steuereinheit 4-1 weist einen Zähler Z als internen Zeitgeber zum Auslösen eines internen Ereignisses auf.The gateway control unit 4-1 illustrated in FIG. 5 has a counter Z as an internal timer for triggering an internal event.
Bei der erfindungsgemäßen Gateway-Steuereinheit 4-1 wird zwischen externen Ereignissen EVext und internen Ereignissen EVmt unterschieden. Externe Ereignisse EVext werden durch die Kommunikationsbausteine 2-i ausgelöst, insbesondere bei Empfang einer weiterzuleitenden Nachricht N bzw. eines weiterzuleitenden Nachrichtenpakets DP. Die internen Ereignis- se EVint werden durch den Zeitgeber bzw. Zeitzähler Z ausgelöst. Diese internen Ereignisse dienen beispielsweise zum zyklischen Senden von Nachrichten oder dem Entprellen bzw. Debouncen von empfangenen Nachrichten- Bursts oder zum Senden von Time-out- Nachrichten bei Überschreiten eines Erwartungszeitraums. Für jeden relevanten Nachrichtenpufferspeicher innerhalb eines Kommunikationsbausteins 2-i ist bei einer möglichen Ausführungsform des erfindungsgemäßen Gateways 1 der Nachrichtenvektor NV im Vektorspeicher-VRAM abgelegt, welcher beispielsweise die folgenden Informationen aufweist, nämlich eine Referenz auf das zu sendende Datenobjekt bzw. die Nachricht N, eine Sprungadresse zur Ausführung einer bestimmten Befehlsfolge, des nächsten internen Ereignisses und einer Differenzzeit zur Berechnung der darauf folgenden internen Ereignisse, sowie Informationsdaten zur Steuerung und Statusinformationen.In the gateway control unit 4-1 according to the invention, a distinction is made between external events EV ext and internal events EV mt . External events EV ext are triggered by the communication modules 2-i, in particular upon receipt of a message N to be relayed or a message packet DP to be forwarded. The internal event EVi nt are triggered by the timer or time counter Z. These internal events serve, for example, for cyclically sending messages or debouncing or debouncing received message bursts or for sending time-out messages. Messages when an expectation period is exceeded. In a possible embodiment of the gateway 1 according to the invention, the message vector NV stored in the vector memory VRAM has, for example, the following information, namely a reference to the data object to be sent or the message N, one for each relevant message buffer memory within a communication module 2-i Jump address for executing a specific instruction sequence, the next internal event and a difference time for calculating the subsequent internal events, as well as information data for control and status information.
Durch die in dem Vektorspeicher VRAM abgelegten Daten insbesondere definierten Zeitpunkte ZP, kann unter Einsatz des Zählers Z nahezu jeder zeitliche Ablauf durch die erfindungsgemäße Gateway-Steuereinheit 4-1 implementiert werden, um Daten zwischen zwei oder mehreren Bussen 3 über das Gateway 1 zu übertragen. Dabei wird beim Start des Systems der Zeitgeber Z bzw. Zähler initialisiert, sodass der Zähler den CPU-Takt in einem für das Gesamtsystem günstigen Zeitraster teilt. Der aktuelle Zählwert des Zählers Z wird zur Überprüfung der Nachrichtenobjekte in der Kommunikationsbausteinvektoren KBV und Nachrichtenvektoren NV des Vektorspeichers VRAM eingesetzt, um das Senden einer Nachricht N auszulösen. Dabei wird der Zählwert des Zeitgebers Z mit den in der Vektortabelle gespeicherten Zeitwerten verglichen. Ist der Zeitgeberwert des Zählers Z größer oder gleich dem jeweils gespeicherten Zeitwert bzw. Zeitpunkt und handelt es sich bei der entsprechenden Nachricht N bzw. bei dem Nachrichtenobjekt um ein Sendeobjekt, wird an die angegebene Adresse gesprungen und die dort angegebenen Befehle ausgeführt. Handelt es sich bei der Nachricht N bzw. dem Nachrichtenobjekt um ein Empfangsobjekt, wird überprüft, ob das Empfangsobjekt bereits empfangen hätte werden müssen oder nicht. Wird das Emp- fangsnachrichtenobjekt innerhalb der erwarteten Zeit nicht empfangen, wird durch das erfindungsgemäße Gateway 1 ein Time-out ausgelöst und eine entsprechende Time-out- Message abgegeben. Anschließend werden Zeitangaben durch die Ablaufsteuerung aktualisiert, wobei die Berechnung auf den bisherigen Zeitangaben mit den angegebenen Zykluszeiten basiert. Mittels der neu berechneten Zeitpunkte wird ermittelt, wann eine Nachricht N bzw. Message erneut gesendet werden soll bzw. das nächste Time-out erfolgt.By means of the data stored in the vector memory VRAM, in particular defined points in time ZP, using the counter Z, virtually any time sequence can be implemented by the gateway control unit 4-1 according to the invention in order to transmit data between two or more buses 3 via the gateway 1. In this case, the timer Z or counter is initialized when starting the system, so that the counter divides the CPU clock in a favorable for the entire system time grid. The current counter value of the counter Z is used to check the message objects in the communication module vectors KBV and message vectors NV of the vector memory VRAM to trigger the transmission of a message N. In this case, the count value of the timer Z is compared with the time values stored in the vector table. If the timer value of the counter Z is greater than or equal to the respectively stored time value or time and if the corresponding message N or the message object is a transmission object, the system jumps to the specified address and executes the commands specified there. If the message N or the message object is a receive object, it is checked whether the receive object should have already been received or not. If the receive message object is not received within the expected time, a time-out is triggered by the gateway 1 according to the invention and a corresponding time-out message is issued. Subsequently, time information is updated by the sequential control system, whereby the calculation is based on the previous time specifications with the specified cycle times. By means of the newly calculated times, it is determined when a message N or message should be sent again or the next time-out occurs.
Bei einer unmittelbaren bzw. sofortigen Weiterleitung einer Nachricht N ist der Vergleich des von dem Zähler Z angegebenen Zeitwertes nicht erforderlich. Es wird der Gateway- Steuereinheit 4-1 durch den Kommunikationsbaustein 2-i mitgeteilt, dass eine Nachricht N durch den Kommunikationsbaustein 2 empfangen wurde. Anschließend sucht die Ablaufsteuerung FSM in dem Vektorspeicher VRAM nach einem entsprechenden Eintrag, d. h. einen zu der Nachricht N zugehörigen Kommunikationsbaustein-Vektor KBV. Dieser Vektor KBV zeigt auf einen Nachrichtenvektor NV in dem zweiten Speicherbereich des Vektorspeichers VRAM. Dieser enthält eine Befehlssprungadresse BSA zu einer Routine, in der die Routingbefehle abgelegt sind.In the case of an immediate or immediate forwarding of a message N, the comparison of the time value specified by the counter Z is not necessary. It is communicated to the gateway control unit 4-1 by the communication module 2-i that a message N has been received by the communication module 2. Subsequently, the sequence control FSM searches in the vector memory VRAM for a corresponding entry, ie a communication block vector KBV associated with the message N. This vector KBV points to a message vector NV in the second memory area of the vector memory VRAM. This contains a command jump address BSA to a routine in which the routing commands are stored.
Die Auswertung des Zeitwertes, der durch den Zähler Z geliefert wird, zur Berechnung der neuen Erwartungszeitwerte bzw. erwarteten Zeitpunkten ZP sowie die Ansteuerung der verschiedenen Kommunikationsbausteine 2-i wird von der automatisch ablaufenden Ablaufsteuerung bzw. Finite State Machine übernommen. Die Ablaufsteuerung FSM überprüft mit Hilfe eines Zählers Z und eines Statusregisters SR alle zu sendenden Nachrichtenobjek- te bzw. Nachrichten und überprüft zusätzlich den Empfang von externen neuen Nachrichten N durch die Kommunikationsbausteine 2-i. Beim Auftreten eines internen Ereignisses, beispielsweise das zyklische Senden einer Nachricht oder eines externen Ereignisses, beispielsweise dem Empfang einer weiterzuleitenden Nachricht N durch einen Kommunikationsbaustein 2, werden die konfigurierten Routingbefehle ausgeführt und die verschiedenen Kommunikationsbausteine 2 angesteuert. Durch die Anbindung der Kommunikationsbausteine 2 über das Customer-Interface 5-2 besteht für die CPU 4-2 im erfindungsgemäßen Gateway 1 jederzeit die Möglichkeit, auf Nachrichten N in dem Kommunikationsbaustein bzw. Bus-Modulen 2-i zuzugreifen. Die Nachrichten N werden in den Kommunikationsbaustein 2-i bzw. in den Bus-Modulen der seriellen Busse 3-i vorzugsweise zwischengespeichert und werden bei dem erfindungsgemäßen Gateway 1 für das automatische Routen bei einer möglichen Ausführungsform nicht in die Gateway-Steuereinheit 4-i geladen. Eine Übertragung der Nachrichten zwischen den Kommunikationsbausteinen bzw. Bus- Modulen 2-i erfolgt bei einer möglichen Ausführungsform des erfindungsgemäßen Gateways 1 durch einen weiteren Bus, nämlich einen Ringbus, der die verschiedenen Kommunikationsbausteine ringförmig miteinander verbindet. Die CPU 4-2 kann auf alle zwischengespeicherten Nachrichtenobjekte bzw. Nachrichten N innerhalb eines Kommunikationsbausteins 2-i über das Interface- Register 2g zugreifen, während die Gateway-Steuereinheit 4-2 den Zugriff über das zweite Interface- Register 2f ausführt.The evaluation of the time value, which is supplied by the counter Z, for the calculation of the new expected time values or expected times ZP as well as the control of the various communication modules 2-i is taken over by the automatically running sequence control or finite state machine. With the aid of a counter Z and a status register SR, the sequence control FSM checks all message objects or messages to be sent, and additionally checks the reception of external new messages N by the communication blocks 2-i. When an internal event occurs, for example the cyclical transmission of a message or an external event, for example the receipt of a message N to be forwarded by a communication module 2, the configured routing instructions are executed and the various communication modules 2 are activated. As a result of the connection of the communication modules 2 via the customer interface 5-2, it is always possible for the CPU 4-2 in the gateway 1 according to the invention to access messages N in the communication module or bus modules 2-i. The messages N are preferably buffered in the communication module 2-i or in the bus modules of the serial buses 3-i and are not loaded into the gateway control unit 4-i in the automatic route gateway 1 according to the invention in one possible embodiment , A transmission of the messages between the communication modules or bus modules 2-i takes place in a possible embodiment of the gateway 1 according to the invention by a further bus, namely a ring bus, which connects the various communication modules in a ring with each other. The CPU 4-2 can access all the cached message objects or messages N within a communication module 2-i via the interface register 2g, while the gateway control unit 4-2 performs the access via the second interface register 2f.
Figur 8 zeigt Signalablaufdiagramme zur Verdeutlichung der Funktionsweise bei einer möglichen Ausführungsform des erfindungsgemäßen Gateways 1. In dem Statusregister SR der Gateway-Steuereinheit 4-1 ist derjenige Zeitpunkt ZP zwischengespeichert, an dem das nächste zu erwartende Ereignis, d. h. das allernächste zu erwartende Ereignis von allen zu erwartenden internen Ereignissen für alle in dem Kommunikationsbaustein 2-i zwischenge- speicherten Nachrichten N auftritt. In dem Statusregister SR ist somit der allernächste interne Event bzw. das von der Gateway-Steuereinheit 4-1 als nächste zu erwartende interne Ereignis EVιnt zwischengespeichert. Sobald der Zeitgeber Z einen Zählwert ausgibt, der den Eintritt dieses Ereignisses angibt (tnxtEvτaiι < TIMER) ermittelt die Ereignis-FSM innerhalb der Ablaufsteuerung den zugehörigen Kommunikationsbausteinen 2-i und wertet alle in dem Vektorspeicher VRAM abgespeicherten Kommunikationsbaustein-Vektoren KBV für die jeweilige Gruppe innerhalb des entsprechenden Kommunikationsbausteins 2-i aus. Bei dem in Figur 8 dargestellten einfachen Beispiel weist der Kommunikationsbaustein 2 zwei Nachrichten bzw. Message Groups auf, nämlich eine Gruppe GRPl und eine Gruppe GRP2. Die Ereignis-FSM wertet im Schritt Sl den Zeit-Event auslösenden Kommunikationsbaustein- Vektor KBV, welcher in dem ersten Speicherbereich des Vektorspeichers VRAM abgelegt ist, aus und findet bei dem in Figur 8 dargestellten Beispiel den Kommunikationsbaustein-Vektor KBV für die zweite Gruppe GRP2 der zwischengespeicherten Nachrichten innerhalb des Kommunikationsbausteins 2. In einem weiteren Schritt S2 wird der Zeit- Event auslösende Nachrichtenvektor NV im zweiten Speicherbereich des zweiten Vektorspeichers VRAM ausgelesen und ausgewertet. Bei dem in Figur 8 dargestellten Beispiel ist der das Event EV auslösende Vektor der Vektor der ersten Nachricht N bzw. des Nachrichtenobjekts (Message- Objekt 1) innerhalb der zweiten Gruppe GRP2 des auslösenden Kommunikationsbausteins 2-i.Figure 8 shows signal flow diagrams to illustrate the operation in a possible embodiment of the gateway according to the invention 1. In the status register SR of the gateway control unit 4-1 is the time ZP cached, at which the next expected event, ie the closest expected event of all expected internal events for all temporarily stored in the communication module 2-i messages N occurs. In the status register SR, the closest internal event or the internal event EV ιnt to be expected by the gateway control unit 4-1 is thus buffered . As soon as the timer Z outputs a count, which the The occurrence of this event indicates (t nxtE vτaiι <TIMER) determines the event FSM within the flow control the associated communication blocks 2-i and evaluates all stored in the vector memory VRAM communication block vectors KBV for the respective group within the corresponding communication block 2-i. In the simple example shown in FIG. 8, the communication module 2 has two messages or message groups, namely a group GRP1 and a group GRP2. The event FSM evaluates in step S1 the time event triggering communication module vector KBV, which is stored in the first memory area of the vector memory VRAM, and finds in the example shown in FIG. 8 the communication block vector KBV for the second group GRP2 cached messages within the communication module 2. In a further step S2, the time event triggering message vector NV is read out and evaluated in the second memory area of the second vector memory VRAM. In the example shown in FIG. 8, the vector triggering the event EV is the vector of the first message N or of the message object (message object 1) within the second group GRP2 of the triggering communication module 2-i.
In einem weiteren Schritt S3 wird das nächste Zeit- Event bzw. das nächste interne Ereignis für dieses Nachrichtenobjekt bzw. dieses Message-Objekt MO berechnet:In a further step S3, the next time event or the next internal event for this message object or message object MO is calculated:
^ nxtEV+\-Grpn-MOm ~ KxIEVt-GrPn-MO1n + ^GrPn-MO1n ^ nxtEV + \ - Grp n -MO m ~ KxIEVt-GrP n -MO 1n + ^ GrP n -MO 1n
Dies ist möglich, da jeder Nachrichtenvektor NV zusätzlich eine Zeitdifferenz t zwischen dem Zeitpunkt ZP eines von der zugehörigen Nachricht N bzw. dem Nachrichten-Objekt NO auszulösenden internen Ereignisses und einem Zeitpunkt ZP des nächsten von der entsprechenden Nachricht N auszulösenden internen Ereignisses aufweist.This is possible since each message vector NV additionally has a time difference t between the time ZP of an internal event to be triggered by the associated message N or the message object NO and a time ZP of the next internal event to be triggered by the corresponding message N.
In einem weiteren Schritt S4 wird das nächste Zeit- Event bzw. das nächste interne Ereignis EVint durch die Ereignis-FSM gesucht:In a further step S4, the next time event or the next internal event EVi n t is searched by the event FSM:
tnextEV-GRPn = minilTIUm (tpxtEV-GRPn-MOm) : ITl € [1 ... ITlmax]tnextEV-GRPn = minilTIUm (tpxtEV-GRPn-MOm): ITl € [1 ... ITl max ]
In einem weiteren Schritt S5 erfolgt eine Aktualisierung der Zeitangabe tnxtEv-GRPn in dem Kommunikationsbaustein-Vektor KBV innerhalb des ersten Speicherbereichs des Vektor- Speichers VRAM aus den ermittelten Zeitpunkten. In einem weiteren Schritt S6 kann der nächste Zeit- Event bzw. das zu erwartende nächste interne Ereignis über alle Gruppen von gespeicherten Nachrichten bzw. Message-Objekten MO über alle Kommunikationsbausteine 2-i selektiert werden. Bei dem in Figur 8 dargestellten Beispiel ist dies Zeitpunkt tm für die erste Gruppe GRPl innerhalb des ersten Kommuni- kationsbausteins.In a further step S5, an update of the time indication t nxtE vG RPn in the communication module vector KBV within the first memory area of the vector memory VRAM takes place from the determined times. In a further step S6, the next time event or the next expected internal event can be selected via all groups of stored messages or message objects MO via all communication blocks 2-i. In the example shown in FIG. 8, this is time t m for the first group GRP within the first communication block.
In einem anschließenden Schritt S7 wird in dem Statusregister SR dieser Zeitpunkt tm als Zeitpunkt tn+i das allernächste zu erwartende interne Ereignis bzw. interne Event abgespeichert. Sobald der Zähler Z diesen Zeitpunkt tn+i erreicht, beginnt der in Figur 8 dargestellte Vorgang von Neuem, d. h. die Schritte S1-S7 werden erneut durchgeführt.In a subsequent step S7, in the status register SR, this instant t m is stored as the instant t n + i, the next expected internal event or internal event. As soon as the counter Z reaches this time t n + i, the process illustrated in FIG. 8 begins again, ie steps S1-S7 are carried out again.
Figur 9 zeigt zwei Zeitsignaldiagramme, wobei das obere Signaldiagramm eine an dem erfindungsgemäßen Gateway ankommende Nachricht bzw. Message-Objekt MO darstellt, an das zweite untere Zeitsignaldiagramm von dem erfindungsgemäßen Gateway 1 an einen anderen seriellen Bus abgegebene Nachrichten zeigt. Bei dem in Figur 9 dargestellten Beispiel wird eine an einem ersten seriellen Bus 3-i empfangene Nachricht MO direkt über einen anderen seriellen Bus 3-j weitergeleitet, wobei eine leichte Zeitverzögerung tGDdeiay auftritt. Wie man in Figur 9 erkennen kann, ist die Sende-Zykluszeit tzyk|Us konstant, d. h. empfangene Nachrichtenobjekte N (zyklisch oder spontan) werden zyklisch weitergeleitet.FIG. 9 shows two time signal diagrams, wherein the upper signal diagram shows a message or message object MO arriving at the gateway according to the invention, to which second lower time signal diagram shows messages issued by the gateway 1 according to the invention to another serial bus. In the example shown in Figure 9, a message MO received on a first serial bus 3-i is forwarded directly via another serial bus 3-j, with a slight time delay t GD deia y occurring. As can be seen in FIG. 9, the transmission cycle time t is zyk | Us constant, ie received message objects N (cyclic or spontaneous) are forwarded cyclically.
Figur 10 zeigt das zyklische Senden von Nachrichten N durch das erfindungsgemäße Gateway 1, selbst wenn die empfangenen Nachrichtenobjekte N nicht zyklisch empfangen werden. Die zuletzt empfangene Nachricht N1 wird kontinuierlich zyklisch innerhalb einer konstanten Zyklusdauer an einen Bus 3-i ausgesendet.FIG. 10 shows the cyclic transmission of messages N by the gateway 1 according to the invention, even if the received message objects N are not received cyclically. The last received message N 1 is transmitted continuously cyclically within a constant cycle time to a bus 3-i.
Figur 11 zeigt die unmittelbare Weiterleitung einer Nachricht mit Time-out, d. h. die Abwesenheit einer erwarteten Nachricht wird überwacht. Wie man aus Figur 11 erkennen kann, wird über einen ersten seriellen Bus 3-i eine Nachricht N bzw. ein Message-Objekt empfangen und unmittelbar an einen Ausgangsbus weitergeleitet. Zum Zeitpunkt tA wird festgestellt, dass die erwartete Nachricht nicht eingetroffen ist und das Gateway 1 generiert eine Timeout-Nachricht, welche als Ausgangsnachricht an den Ausgangsbus abgegeben wird, um das Ausbleiben der erwarteten Nachricht anzuzeigen. Zur Durchführung des in Figur 11 dargestellten Vorgangs führt die Ablaufsteuerung die in Figur 8 dargestellten Schritte Sl beim Empfang einer derartigen Nachricht (Nachricht korrekt im Zeitraster empfangen) und S3 beim Ausbleiben der Nachricht N (Auslösen des Time-out) nicht aus, sondern jeweils nur die übrigen Schritte. Figur 12 zeigt das Entprellen bzw. Debouncen von Nachrichten-Bursts. In dem in Figur 12 dargestellten Beispiel enthält das Gateway 1 eine Nachricht mehrfach innerhalb eines vorgegebenen Fensters tDEB und leitet lediglich die erste Nachricht der Gruppe an einen anderen seriellen Bus 3-i weiter. Die übrigen Nachrichten innerhalb des Bursts werden durch das Gateway 1 unterdrückt. Bei der in Figur 12 dargestellten Funktion bzw. dem entsprechenden Betriebsmodus wird in einem ersten Durchlauf ein sogenanntes Debou nee- Active- Bit als Konfigurationsdatum in dem Nachrichtenvektor NV des Vektorspeichers VRAM zum Empfang einer Nachricht gesetzt. Sobald das Debou nee- Active- Bit gesetzt ist, erfolgt der in Figur 8 dargestellte Vorgang, wobei der Schritt S3 entfällt. Abschließend wird das Debounce- Active- Bit dann in den Konfigurationsdaten wieder zurückgesetzt.FIG. 11 shows the immediate forwarding of a message with time-out, ie the absence of an expected message is monitored. As can be seen from FIG. 11, a message N or a message object is received via a first serial bus 3-i and forwarded directly to an output bus. At time t A , it is determined that the expected message has not arrived, and gateway 1 generates a time out message, which is delivered as an output message to the output bus to indicate the absence of the expected message. For carrying out the process illustrated in FIG. 11, the sequence control does not execute the steps S 1 shown in FIG. 8 when receiving such a message (message correctly received in the time frame) and S 3 when the message N (triggering of the time-out) fails, but only in each case the remaining steps. Figure 12 shows the debouncing of message bursts. In the example illustrated in FIG. 12, the gateway 1 contains a message several times within a predetermined window t DEB and forwards only the first message of the group to another serial bus 3-i. The remaining messages within the burst are suppressed by the gateway 1. In the function or the corresponding operating mode shown in FIG. 12, in a first pass, a so-called debounce active bit is set as the configuration data in the message vector NV of the vector memory VRAM for receiving a message. Once the Debou nee-active bit is set, the process shown in Figure 8, wherein the step S3 is omitted. Finally, the debounce active bit is reset in the configuration data.
Wie man aus den Figuren 9, 10, 11, 12 erkennen kann, eignet sich das erfindungsgemäße Gateway 1 für verschiedene Betriebsmodi bzw. Funktionen zur Weiterleitung bzw. Bearbeitung von Nachrichten, die zwischen verschiedenen Bussen 3-i, 3-j übertragen werden. Bei dem erfindungsgemäßen Gateway 1 wird in Abhängigkeit von dem auftretenden Datenaufkommen die CPU-Last für die automatische Überprüfung auf Time-outs und das erforderliche Senden von Nachrichten oder die Kombination von mehreren Nachrichten durch die Gateway-Steuereinheit 4-1 erheblich gesenkt. Das Senden der Nachrichten bzw. des Message-Objekts sowie deren Überprüfung auf eventuelle Time-outs erfolgt durch die Gateway- Steuereinheit 4-1 unabhängig von den parallel laufenden Prozessen in der CPU 4-2. Dadurch werden wesentlich kleinere Jitter und Latenzzeiten erreicht, wodurch Prozesse im Netzwerk genauer gestartet und ausgeführt werden können. Dabei kann jedes Message- Objekt bzw. jede Nachricht N unabhängig von anderen Netzwerken und unabhängig von anderen Message-Objekten in den einzelnen Kommunikationsbausteinen bzw. Bus-Modulen konfiguriert werden. Durch die in dem erfindungsgemäßen Gateway 1 eingesetzte Verweistechnik mittels Vektoren besteht eine besonders hohe Flexibilität bezüglich der Konfigurier- barkeit des erfindungsgemäßen Gateways 1. Durch die Bildung von Gruppen von speicherbaren Nachrichten N innerhalb eines jeden Kommunikationsbausteins 2 ist eine weitere Ver- schachtelung möglich, wodurch die Flexibilität weiter gesteigert wird. Zusätzlich wird die Ge- schwindigkeit für Suchvorgänge zu bearbeitender Nachrichten wesentlich verkürzt und durch die kompakte Definition eines Kommunikationsvorgangs der Speicherbedarf für alle Nachrichtenobjekte minimiert. Das erfindungsgemäße Gateway 1 eröffnet die Möglichkeit, dass externe Ereignisse bzw. Events den zeitlichen Ablauf von internen Ereignissen bzw. internen Events mitbestimmen bzw. steuern. Das erfindungsgemäße Gateway 1 überträgt Daten zwi- sehen Feldbussen bzw. seriellen Bussen 3 automatisch ohne die CPU 4-2 zu belasten. Dabei wird das periodische Senden innerhalb eines vorgegebenen Zeitrasters, die sofortige Übermittlung nach Erhalt einer Nachricht, die Überprüfung auf Ausbleiben einer Nachricht sowie das Entprellen von Nachrichten ermöglicht. Die Übermittlung der Nachrichten N erfolgt dabei ohne direkte Kontrolle durch die CPU. Die CPU 4-2 erhält jedoch jederzeit den Zugriff auf die weitergeleiteten bzw. verwendeten Nachrichtenobjekte bzw. Message-Objekte, ohne dabei das automatische Routen der Nachrichten zu unterbrechen. Die Übertragung bzw. Weiterleitung der Message-Objekte bzw. der Nachrichten N erfolgt bei dem erfindungsgemäßen Gateway 1 unabhängig von Software- Latenzzeiten und der aktuellen Last der CPU 4- 2. As can be seen from FIGS. 9, 10, 11, 12, the gateway 1 according to the invention is suitable for various operating modes or functions for forwarding or processing messages which are transmitted between different buses 3-i, 3-j. In the gateway 1 according to the invention, the CPU load for automatic checking for timeouts and the required transmission of messages or the combination of several messages is considerably reduced by the gateway control unit 4-1 as a function of the occurring data volume. The sending of the messages or of the message object and their checking for possible time-outs is performed by the gateway control unit 4-1 independently of the processes running in parallel in the CPU 4-2. This achieves much smaller jitter and latency, allowing processes to be started and executed more accurately in the network. In this case, each message object or each message N can be configured independently of other networks and independently of other message objects in the individual communication modules or bus modules. By means of vectors used in the gateway 1 according to the invention, there is a particularly high degree of flexibility with regard to the configurability of the gateway 1 according to the invention. By forming groups of storable messages N within each communication module 2, further interleaving is possible, as a result of which Flexibility is further increased. In addition, the speed of search for messages to be processed is significantly shortened and the compact definition of a communication process minimizes the memory requirements for all message objects. The gateway 1 according to the invention opens up the possibility that external events or events co-determine or control the timing of internal events or internal events. The gateway 1 according to the invention transmits data between fieldbuses or serial buses 3 automatically without burdening the CPU 4-2. In this case, the periodic transmission within a predetermined time frame, the immediate transmission after receiving a message, the check for absence of a message and debouncing messages. The transmission of the messages N takes place without direct control by the CPU. However, the CPU 4-2 always receives access to the forwarded or used message objects or message objects, without interrupting the automatic routing of the messages. The transmission or forwarding of the message objects or the messages N takes place in the gateway 1 according to the invention independently of software latencies and the current load of the CPU 4- 2.

Claims

Ansprüche claims
1. Gateway zum automatischen Routen von Nachrichten zwischen Bussen (3) mit:1. Gateway for automatic routing of messages between buses (3) with:
(a) mehreren Kommunikationsbausteinen (2) zum Zwischenspeichern und Übertragen von Nachrichten (N) über die Busse (3); und mit(A) a plurality of communication modules (2) for buffering and transmitting messages (N) via the buses (3); and with
(b) einer Gateway-Steuereinheit (4-1), die über einen Systembus (5-1) zum Austausch von Nachrichten (N) mit den Kommunikationsbausteinen (2) verbunden ist, und die von jedem Kommunikationsbaustein (2) das dortige Auftreten einer zu routenden Nachricht (N) als externes Ereignis (EVext) angezeigt erhält,(B) a gateway control unit (4-1), which is connected via a system bus (5-1) for the exchange of messages (N) with the communication modules (2), and of each communication module (2) the local occurrence of a message to be routed (N) is displayed as an external event (EV ext ),
wobei die Gateway-Steuereinheit (4-1) aufweist:wherein the gateway control unit (4-1) comprises:
(bl) einen Vektorspeicher (VRAM) mit einem ersten Speicherbereich zum Speichern von Kommunikationsbausteinen-Vektoren (KBV), wobei für jeden Kommunikationsbaustein (2) ein Kommunikationsbaustein-Vektor (KBV) vorgesehen ist, der den Zeitpunkt (ZP) eines als nächstes zu erwartenden internen Ereignisses (E- V1J für eine in dem Kommunikationsbaustein (2) zwischengespeicherte Nachricht (N) und eine Vektorsprungadresse auf einen Nachrichtenvektor (NV) angibt, der in einem zweiten Speicherbereich des Vektorspeichers (VRAM) gespeichert ist, wobei für jede in dem Kommunikationsbaustein (2) zwischengespeicherte Nachricht (N) ein entsprechender Nachrichtenvektor (NV) gespeichert ist, der einen konfigurierbaren Zeitpunkt (ZP) eines von der zugehörigen Nachricht (N) auszulösenden internen Ereignisses (EV1J sowie eine Befehlssprungadresse angibt;(bl) a vector memory (VRAM) having a first memory area for storing communication block vectors (KBV), wherein for each communication block (2) a communication block vector (KBV) is provided, the time (ZP) of a next expected internal event (E-V 1 J for a message (N) latched in the communication module (2) and a vector jump address to a message vector (NV) stored in a second memory area of the vector memory (VRAM), wherein for each in the Communication module (2) cached message (N) a corresponding message vector (NV) is stored, indicating a configurable time (ZP) of an associated message (N) internal event (EV 1 J and a command jump address;
(b2) einen Befehlsspeicher (IRAM) zum Speichern von Befehlen, die durch die in dem Nachrichtenvektor (NV) angegebene Befehlssprungadresse adressierbar sind; und(b2) an instruction memory (IRAM) for storing instructions addressable by the instruction jump address specified in the message vector (NV); and
(b3) eine Ablaufsteuerung (FSM), die bei Auftreten eines internen Ereignisses (EV,J dessen Zeitpunkt (ZP) in einem Nachrichtenvektor (NV) einer in einem Kommu- nikationsbaustein (2) zwischengespeicherten Nachricht (N) angegeben ist, oder bei Auftreten eines externen Ereignisses (EVext), das der Ablaufsteuerung (FSM) durch einen Kommunikationsbaustein (2) angezeigt wird, den zu dem jeweiligen Kommunikationsbaustein (2) zugehörigen Kommunikationsbaustein-Vektor (KBV) aus dem ersten Speicherbereich des Vektorspeichers (VRAM) ausliest und mittels der darin enthaltenen Vektorsprungadresse die Befehlssprungadresse des adressierten Nachrichtenvektors (NV) aus dem zweiten Speicherbereich des Vektorspeichers (VRAM) ausliest und anschließend mittels der ausgelesenen Befehlssprungadresse mindestens einen Befehl aus dem Befehlsspeicher (IRAM) ausliest und ausführt, wobei die in den Vektoren (NV, KBV) angegebenen(b3) a sequence control (FSM) which, when an internal event occurs (EV, J whose time (ZP) in a message vector (NV) of a nication block (2) cached message (N) is specified, or when an external event (EV ext ), the sequence control (FSM) by a communication block (2) is displayed, the communication block vector associated with the respective communication block (2) (KBV) read from the first memory area of the vector memory (VRAM) and read the instruction jump address of the addressed message vector (NV) from the second memory area of the vector memory (VRAM) by means of the vector jump address contained therein and then by means of the read command jump address at least one command from the command memory ( IRAM) and executes, where in the vectors (NV, KBV) specified
Zeitpunkte (ZP) aktualisiert werden.Times (ZP) to be updated.
2. Gateway nach Anspruch 1, wobei das Gateway (1) einen Prozessor (4-2) aufweist, der über einen separaten zweiten Systembus (5-2) mit den Kommunikationsbausteinen (2) verbunden ist.2. Gateway according to claim 1, wherein the gateway (1) comprises a processor (4-2) which is connected via a separate second system bus (5-2) with the communication modules (2).
3. Gateway nach Anspruch 1, wobei die Ablaufsteuerung (FSM) der Gateway-Steuereinheit (4-1) aufweist:The gateway of claim 1, wherein the scheduler (FSM) of the gateway controller (4-1) comprises:
eine Ereignis-FSM (Finite State Machine), welche bei Auftreten eines internen oder eines externen Ereignisses die im Vektorspeicher (VRAM) gespeicherten Vektoren (KBV, NV) auswertet und die in den Vektoren angegebenen Zeitpunkte aktualisiert; undan event FSM (Finite State Machine) which, upon occurrence of an internal or external event, evaluates the vectors (KBV, NV) stored in the vector memory (VRAM) and updates the times indicated in the vectors; and
eine Befehls-FSM (Finite State Machine), welche die aus dem Befehlsspeicher (IRAM) ausgelesenen Befehle ausführt.an instruction FSM (Finite State Machine) which executes instructions read from the instruction memory (IRAM).
4. Gateway nach Anspruch 1, wobei der Nachrichtenvektor (NV) zusätzliche eine Zeitdifferenz ( t) zwischen dem Zeitpunkt (ZP) eines von der zugehörigen Nachricht (N) auszulösenden internen Ereignisses und einem Zeitpunkt (ZP) des nächsten von der zugehörigen Nachricht (N) auszulösenden internen Ereignisses aufweist.4. Gateway according to claim 1, wherein the message vector (NV) additional a time difference (t) between the time (ZP) of one of the associated message (N) to be triggered internal event and a time (ZP) of the next of the associated message (N ) has triggered internal event.
5. Gateway nach Anspruch 1, wobei die Gateway-Steuereinheit (4-1) einen Zähler (Z) als internen Zeitgeber zum Aus- lösen eines internen Ereignisses (Ev1J aufweist. 5. Gateway according to claim 1, wherein the gateway control unit (4-1) has a counter (Z) as an internal timer for triggering an internal event (Ev 1 J has.
6. Gateway nach Anspruch 1, wobei die Gateway-Steuereinheit (4-1) ein Statusregister (SR) aufweist, welches denjenigen Zeitpunkt (ZP) für das nächste zu erwartende Ereignisses von allen erwartenden internen Ereignissen für alle in den Kommunikationsbausteinen (2) zwischengespeicher- ten Nachrichten (N) zwischenspeichert.6. Gateway according to claim 1, wherein the gateway control unit (4-1) has a status register (SR) which temporarily stores the time (ZP) for the next expected event of all expected internal events for all in the communication blocks (2) - certs messages (N).
7. Gateway nach Anspruch 1, wobei die Busse (3) serielle Busse sind.The gateway of claim 1, wherein the buses (3) are serial buses.
8. Gateway nach Anspruch 2, wobei jeder Kommunikationsbaustein (2) aufweist:8. Gateway according to claim 2, wherein each communication module (2) comprises:
(a) eine an den seriellen Bus (3) angeschlossene Kommunikations- Protokolleinheit (2c) zur Umsetzung zwischen Datenpaketen (DP) und Nachrichten (MSG), die jeweils aus mehreren Datenworten (DW) bestehen;(A) to the serial bus (3) connected communication protocol unit (2c) for conversion between data packets (DP) and messages (MSG), each consisting of a plurality of data words (DW);
(b) eine Nachrichtenweiterleitungseinheit (2d) zur Weiterleitung von Nachrichten (MSG) zwischen mindestens einem Nachrichtenspeicher (2e) und der Kommunikations- Protokolleinheit (2c) sowie Pufferspeichern (2f, 2g);(b) a message forwarding unit (2d) for forwarding messages (MSG) between at least one message memory (2e) and the communication protocol unit (2c) and buffer memories (2f, 2g);
(c) mehrere Interface- Einheiten (2a, 2b), die jeweils an einen zugehörigen Systembus (5- 1, 5-2) des Gateways (1) angeschlossen sind, wobei jede Interface- Einheit (2a, 2b) mit mindestens einem zugehörigen Pufferspeicher (2f, 2g) verbunden ist, der eine Nachricht (MSG) zwischenspeichert;(c) a plurality of interface units (2a, 2b) each connected to an associated system bus (5-1, 5-2) of the gateway (1), each interface unit (2a, 2b) having at least one associated one Buffer memory (2f, 2g) which temporarily stores a message (MSG);
wobei eine Übertragung von Datenworten (DW) über mehrere Systembusse (5-1, 5- 2) und deren zugehörige Interface- Einheiten (2a, 2b) von und zu den Pufferspeichern (2f, 2g) der Interface- Einheiten (2a, 2b) zeitgleich ohne Wartezeit erfolgt.wherein a transmission of data words (DW) over a plurality of system buses (5-1, 5- 2) and their associated interface units (2a, 2b) from and to the buffer memories (2f, 2g) of the interface units (2a, 2b) at the same time without waiting time.
9. Gateway nach Anspruch 7, wobei der serielle Bus (3) ein Feldbus ist.9. Gateway according to claim 7, wherein the serial bus (3) is a field bus.
10. Gateway nach Anspruch 9, wobei der Feldbus ein CAN (Controller Area Network)-Bus ist. 10. The gateway of claim 9, wherein the field bus is a CAN (Controller Area Network) bus.
11. Gateway nach Anspruch 9, wobei der serielle Bus (3) ein Ethernet- Bus ist.The gateway of claim 9, wherein the serial bus (3) is an Ethernet bus.
12. Gateway nach Anspruch 2, wobei jeder der beiden Systembusse (5-1, 5-2) einen zugehörigen Systembus- Master (4-12. Gateway according to claim 2, wherein each of the two system buses (5-1, 5-2) an associated system bus master (4
1, 4-2) aufweist.1, 4-2).
13. Gateway nach Anspruch 8, wobei die Nachrichtenweiterleitungseinheit (2d) eines Kommunikationsbausteins (2) den Empfang einer über einen Systembus (5-1, 5-2) wortweise übertragenen Nachricht an den Systembus- Master (4-1, 4-2) des Systembusses signalisiert.13. Gateway according to claim 8, wherein the message forwarding unit (2d) of a communication module (2) receives the receipt of a system bus (5-1, 5-2) word-wise transmitted message to the system bus master (4-1, 4-2) of the system bus signals.
14. Gateway nach Anspruch 8, wobei die Nachrichtenweiterleitungseinheit (2d) eines Kommunikationsbausteins dem Systembus- Master (4-1, 4-2) den Erhalt einer zu übertragenden Nachricht durch Signale bestätigt, nachdem dieser die Information angefragt hat.14. Gateway according to claim 8, wherein the message forwarding unit (2d) of a communication module the system bus master (4-1, 4-2) confirms the receipt of a message to be transmitted by signals, after the latter has requested the information.
15. Gateway nach Anspruch 8, wobei eine von dem jeweiligen Systembus (5-1, 5-2) empfangene Nachricht, welche in einem Pufferspeicher (2f, 2g) zwischengespeichert und von der Nachrichtenweiterlei- tungseinheit (2d) an den Nachrichtenspeicher (2e) weitergeleitet wird, zur Signalisierung einer Sendebereitschaft über den seriellen Bus (3) mindestens ein Flag-Bit aufweist. 15. The gateway as claimed in claim 8, wherein a message received by the respective system bus (5-1, 5-2), which is buffered in a buffer memory (2f, 2g) and sent to the message memory (2e) by the message forwarding unit (2d). is forwarded to signaling a ready to send via the serial bus (3) has at least one flag bit.
EP07704434A 2006-02-14 2007-02-07 Gateway for the automatic routing of messages between buses Active EP1987642B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE102006006926 2006-02-14
DE102007001137.9A DE102007001137B4 (en) 2006-02-14 2007-01-05 Gateway for automatically routing messages between buses
PCT/EP2007/051180 WO2007093546A2 (en) 2006-02-14 2007-02-07 Gateway for the automatic routing of messages between buses

Publications (2)

Publication Number Publication Date
EP1987642A2 true EP1987642A2 (en) 2008-11-05
EP1987642B1 EP1987642B1 (en) 2012-08-22

Family

ID=38266126

Family Applications (1)

Application Number Title Priority Date Filing Date
EP07704434A Active EP1987642B1 (en) 2006-02-14 2007-02-07 Gateway for the automatic routing of messages between buses

Country Status (8)

Country Link
US (1) US7907623B2 (en)
EP (1) EP1987642B1 (en)
JP (1) JP4612094B2 (en)
CN (1) CN101385296B (en)
DE (1) DE102007001137B4 (en)
ES (1) ES2392549T3 (en)
RU (1) RU2415511C2 (en)
WO (1) WO2007093546A2 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005048595A1 (en) * 2005-10-06 2007-04-12 Robert Bosch Gmbh Method for connecting a FlexRay subscriber with a microcontroller to a FlexRay communication connection via a FlexRay communication control device, and FlexRay communication control device, FlexRay subscriber and FlexRay communication system for implementing this method
DE102006055514A1 (en) * 2006-05-24 2007-11-29 Robert Bosch Gmbh Gateway for data transfer between serial buses
DE102006055513A1 (en) * 2006-05-24 2007-11-29 Robert Bosch Gmbh communication module
ATE552675T1 (en) * 2006-12-14 2012-04-15 Bayerische Motoren Werke Ag METHOD FOR NETWORKING CONTROL DEVICES OF A MOTOR VEHICLE, DATA BUS SYSTEM BASED THEREOF AND COMPUTER PROGRAM PRODUCT
FR2927752A1 (en) * 2008-02-19 2009-08-21 Peugeot Citroen Automobiles Sa Bidirectional frame data transferring method for e.g. controller area network in aircraft, involves placing data respectively in payload and header field of frame for transferring of data via network, during reception of another frame
JP2011131762A (en) * 2009-12-25 2011-07-07 Hitachi Automotive Systems Ltd Control device for data relay, and vehicle control system
EP2506502B1 (en) * 2011-03-31 2013-10-23 Siemens Aktiengesellschaft Redundant automation system
JP5375905B2 (en) * 2011-09-06 2013-12-25 株式会社デンソー In-vehicle network system
TWI473473B (en) * 2011-11-08 2015-02-11 Inst Information Industry Sequence data transmission system, method and recording medium thereof
DE102011089420A1 (en) * 2011-12-21 2013-06-27 Bayerische Motoren Werke Aktiengesellschaft Transfer device and communication network with a conversion device
FR3010205B1 (en) * 2013-08-30 2015-08-28 Peugeot Citroen Automobiles Sa METHOD AND DEVICE FOR CONTROLLING THE TRANSMISSION OF RESPONSE FRAMES FROM SLAVES THAT BELONG TO A LIN NETWORK, TO A NETWORK OF ANOTHER TYPE
US20150234767A1 (en) 2013-09-23 2015-08-20 Farmobile, Llc Farming data collection and exchange system
US10210112B2 (en) * 2017-06-06 2019-02-19 International Business Machines Corporation Techniques for issuing interrupts in a data processing system with multiple scopes
DE102017008945B3 (en) 2017-09-23 2018-12-13 WAGO Verwaltungsgesellschaft mit beschränkter Haftung Circuit for coupling a field bus and a local bus
DE102018218927A1 (en) * 2018-11-07 2020-05-07 Volkswagen Aktiengesellschaft Data transmission device and data transmission method for a vehicle, device and method for a vehicle component of a vehicle and computer program
RU2748574C1 (en) * 2020-07-14 2021-05-27 Закрытое акционерное общество "Институт телекоммуникаций" Method for distributing information flows in packet radio network and controlled modular router for its implementation
DE102021210917A1 (en) * 2021-09-29 2023-03-30 Siemens Mobility GmbH Communication system and method of communication with a status message
DE102022120563A1 (en) * 2022-08-16 2024-02-22 Turck Holding Gmbh MODULBUS system and method for automating a treatment system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8713460D0 (en) * 1987-06-09 1987-07-15 Philips Nv Data processing system
DE10026124A1 (en) * 2000-05-26 2001-11-29 Bayerische Motoren Werke Ag Circuit arrangement for a motor vehicle
ATE367059T1 (en) * 2001-05-24 2007-08-15 Ibm SERVICE APPLICATION ARCHITECTURE FOR SERVICE PROVIDERS OF INTEGRATING COMMUNICATION NETWORKS
JP3856737B2 (en) * 2002-07-19 2006-12-13 株式会社ルネサステクノロジ Data processing device
JP4401239B2 (en) * 2004-05-12 2010-01-20 Necエレクトロニクス株式会社 Communication message converter, communication method, and communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2007093546A2 *

Also Published As

Publication number Publication date
WO2007093546A2 (en) 2007-08-23
DE102007001137B4 (en) 2016-05-04
US20090225766A1 (en) 2009-09-10
RU2008136752A (en) 2010-03-20
US7907623B2 (en) 2011-03-15
JP4612094B2 (en) 2011-01-12
DE102007001137A1 (en) 2007-08-16
EP1987642B1 (en) 2012-08-22
CN101385296A (en) 2009-03-11
CN101385296B (en) 2012-07-11
ES2392549T3 (en) 2012-12-11
RU2415511C2 (en) 2011-03-27
JP2009527168A (en) 2009-07-23
WO2007093546A3 (en) 2007-10-04

Similar Documents

Publication Publication Date Title
EP1987642B1 (en) Gateway for the automatic routing of messages between buses
EP2030116B1 (en) Communication component
EP1846827B1 (en) Method for transmitting data in messages via a communications link of a communications system and communications module, subscriber of a communications system and associated communications system
EP2030117B1 (en) Gateway for data transfer between serial buses
DE102006058818B4 (en) Apparatus and method for converting text messages
EP2030118B1 (en) Multi-processor gateway
EP2283616B1 (en) Communication system having a can bus and method for operating such a communication system
EP1776807B1 (en) Method and device for accessing data of a message memory of a communication component
EP1776805B1 (en) Flexray- communication component
EP1787204B1 (en) Message administrator and method for controlling access to data of the message memory of a communications component
EP1940654B1 (en) Method for connecting a FlexRay user comprising a microcontroller to a FlexRay communication connection via a FlexRay communication control device, and FlexRay-communication system for producing said method
DE102005048581B4 (en) Subscriber interface between a FlexRay communication module and a FlexRay subscriber and method for transmitting messages via such an interface
WO2006111499A1 (en) Method and device for synchronising two bus systems, and arrangement consisting of two bus systems
DE102005048585A1 (en) Subscriber and communication controller of a communication system and method for implementing a gateway functionality in a subscriber of a communication system
WO2007039634A2 (en) User interface which is between a microcontroller and a flexray-communication component, flexray-user and method for transmitting messages via said type of interface
EP1776808B1 (en) Method for storing messages in a message memory and corresponding message memory
EP1884851B1 (en) Method, node and network for cyclical transmission of ethernet telegrams
DE102006004191B4 (en) Deterministic communication system
EP1357707A2 (en) Method and apparatus for transferring messages via a bus system and bus system
DE102019125545B3 (en) DATA TRANSFER PROCEDURE, SEGMENT TELEGRAM AND AUTOMATION COMMUNICATION NETWORK
DE102012005589A1 (en) Method for waking up of control unit for bus system, involves associating partial devices of communication device with components of detection unit so that function of detecting unit is integrated in communication device
DE102005048583A1 (en) Subscriber and communication controller of a communication system and method for data transmission in a subscriber of the communication system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20080915

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

17Q First examination report despatched

Effective date: 20090506

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

DAX Request for extension of the european patent (deleted)
GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

Free format text: NOT ENGLISH

REG Reference to a national code

Ref country code: CH

Ref legal event code: EP

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

Free format text: LANGUAGE OF EP DOCUMENT: GERMAN

REG Reference to a national code

Ref country code: AT

Ref legal event code: REF

Ref document number: 572455

Country of ref document: AT

Kind code of ref document: T

Effective date: 20120915

REG Reference to a national code

Ref country code: DE

Ref legal event code: R096

Ref document number: 502007010418

Country of ref document: DE

Effective date: 20121018

REG Reference to a national code

Ref country code: SE

Ref legal event code: TRGR

Ref country code: ES

Ref legal event code: FG2A

Ref document number: 2392549

Country of ref document: ES

Kind code of ref document: T3

Effective date: 20121211

REG Reference to a national code

Ref country code: NL

Ref legal event code: VDEP

Effective date: 20120822

REG Reference to a national code

Ref country code: LT

Ref legal event code: MG4D

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: CY

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: IS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20121222

Ref country code: LT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: FI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: PT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20121224

Ref country code: SI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: GR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20121123

Ref country code: LV

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: NL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: EE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: RO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: CZ

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: PL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

Ref country code: SK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed

Effective date: 20130523

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: BG

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20121122

BERE Be: lapsed

Owner name: ROBERT BOSCH G.M.B.H.

Effective date: 20130228

REG Reference to a national code

Ref country code: DE

Ref legal event code: R097

Ref document number: 502007010418

Country of ref document: DE

Effective date: 20130523

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MC

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130228

REG Reference to a national code

Ref country code: CH

Ref legal event code: PL

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LI

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130228

Ref country code: CH

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130228

REG Reference to a national code

Ref country code: IE

Ref legal event code: MM4A

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: BE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130228

Ref country code: IE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130207

REG Reference to a national code

Ref country code: AT

Ref legal event code: MM01

Ref document number: 572455

Country of ref document: AT

Kind code of ref document: T

Effective date: 20130207

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: AT

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130207

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: TR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20120822

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LU

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20130207

Ref country code: HU

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO

Effective date: 20070207

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 10

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 11

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 12

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20230426

Year of fee payment: 17

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: ES

Payment date: 20240319

Year of fee payment: 18

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20240222

Year of fee payment: 18

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: SE

Payment date: 20240221

Year of fee payment: 18

Ref country code: FR

Payment date: 20240222

Year of fee payment: 18