CN106789489A - A kind of FlexRay communication controller media access control system and its control method - Google Patents
A kind of FlexRay communication controller media access control system and its control method Download PDFInfo
- Publication number
- CN106789489A CN106789489A CN201510805169.9A CN201510805169A CN106789489A CN 106789489 A CN106789489 A CN 106789489A CN 201510805169 A CN201510805169 A CN 201510805169A CN 106789489 A CN106789489 A CN 106789489A
- Authority
- CN
- China
- Prior art keywords
- module
- media access
- clock
- communication controller
- access control
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a kind of FlexRay communication controller media access control system and its control method, including the memory modules that are connected with clock generation module respectively and control module;The memory modules are connected with control module again;Also include the timer being connected with control module;The clock generation module and control module receive the control information of agreement operational control module respectively;The clock generation module receives the clock information of clock synchronization module;Configuration information is transferred to coding/decoding module by the control module.The communication controler media access control system and its control method directly access internal memory, substantially reduce the time for obtaining configuration;Design is more simplified, and ensure that the stability of communication.
Description
Technical field
The present invention relates to a kind of FlexRay communication controller media access control system and its control method, particularly relate to
And a kind of FlexRay communication controller media access control system and its control method suitable for vehicle bus technology.
Background technology
Current wide variety of vehicle bus technology(Such as CAN, VAN, LIN bus)Due to lacking certainty, synchronism
And fault tolerant mechanism etc. can not meet requirement, FlexRay alliances advance the standardization of FlexRay, have made a new generation
Automotive interior network communication protocol.FlexRay is concerned with some core demands of current automobile industry, including faster data
Speed, more fully more flexible data communication, topology selection and fault-tolerant computing.Each incoming end in FlexRay buses claims
It is node.Node is main by power supply system(Power Supply), bus driver(Bus Driver), be solidified with
The communication controler of FlexRay communication protocols(Communication Controller)And main frame(Host)4 parts constitute.
Communication controler is the core devices of communication node.Its main function has medium education, clock synchronization, encoding and decoding, association
View operational control etc..Medium education function is the Core Feature of communication controler, solves data and enters FlexRay communication controls
The mode of device processed, is that the codec functions of communication controler carry out time preparation and data preparation.
The content of the invention
The technical problem to be solved in the present invention is to provide one kind and can cross and greatly shortens acquisition setup time, and structure is simpler, communication
Stability FlexRay communication controller media access control system higher.
The technical solution adopted by the present invention is as follows:A kind of FlexRay communication controller media access control system, its feature
It is:Including the memory modules being connected with clock generation module respectively and control module;The memory modules and and control module
It is connected;Also include the timer being connected with control module;The clock generation module and control module receive agreement operation respectively
The control information of control module;The clock generation module receives the clock information of clock synchronization module;The control module will
Configuration information is transferred to coding/decoding module.
The control module also includes static groove unit and static groove counter.
The control module also includes dynamic groove unit and dynamic groove counter.
A kind of FlexRay communication controller media access control system control method, it is characterised in that:Medium education
All submodules of system work under unified clock domain, and user is in the configuration information write-in related to medium education
Deposit;Then, each submodule of media access control system directly reads the information from internal memory.
Specific method is:Clock generation module is according to the configuration information of user, the minimum clock produced to controller crystal oscillator
Beat specify to form system according to configuration protocol required for clock cycle;Control module is according to the information of user configuring by clock
Time slot is further divided into static section by the cycle(static segment), dynamic segment(dynamic seg ment), symbol window
Mouthful(symbol window)With network idle section(network idle time)4 independent time periods;Timer module root
Clocking capability, the time required for record media Access Control are realized according to user configuration information.
Methods described also includes:Clock generation module carries out initialization operation according to configuration information, then waits crystal oscillator
Minimum clock beat(vMicrotick);When minimum clock beat is more than or equal to pMicroPerCycle/gMacroPerCyclc-
When 1, clock generation module produces the clock cycle.
Methods described also includes:Control module reads required configuration information from internal memory, including gdstaticSloc,
GNumberOfMinislo ts, gdSymbolWindow, gdActionPointOffset and
gdMinislotActionPointOffset;When control module receives the cycle start signal of clock generation module offer, root
According to the static section in gdstaticSloc performance periods.
Methods described also includes:The static section realizes TDMA using static groove, with the transmission of coordination data.
Methods described also includes:In each passage, a groove counter is set on communication controler(vslotcountcr),
The number of statistical static groove;When the clock cycle at first, set groove counter value be 1;When trough end, groove meter
The value of number device adds 1;For each static groove, FlexRay communication controller is according to the current operation of the configuration of user and MAC module
Pattern decides whether to provide data for coding/decoding module.
Methods described also includes:The control module is according to the dynamic segment in gNumberOfMinislots performance periods;
The dynamic segment realizes the media access method that event is triggered using dynamic groove, with the transmission of coordination data.
Methods described also includes:Communication controler sets a dynamic groove counter on each passage, counts dynamic groove
Number;Each dynamic groove is counted according to zMinislot, and when there is data to transmit, dynamic groove can take multiple
zMinislot;When no data are transmitted, dynamic groove takes a zMinislot.
Methods described also includes:The control module is according to the symbol window in gdSymbolWindow performance periods.
Methods described also includes:The remaining time is network idle section in the control module a cycle.
Compared with prior art, the beneficial effects of the invention are as follows:The media access control system and its control method are direct
Internal memory is accessed, the time for obtaining configuration is substantially reduced;Design is more simplified, and ensure that the stability of communication.
Brief description of the drawings
The principle schematic of Fig. 1 present invention wherein embodiment FlexRay communication controller media access control systems.
Fig. 2 is the clock generation module process chart of this bright wherein embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not
For limiting the present invention.
This specification(Including summary and accompanying drawing)Disclosed in any feature, unless specifically stated otherwise, can be equivalent by other
Or the alternative features with similar purpose are replaced.I.e., unless specifically stated otherwise, each feature is a series of equivalent or class
An example in like feature.
FlexRay communication controller as shown in Figure 1, including the memory modules that are connected with clock generation module respectively and control
Molding block;The memory modules are connected with control module again;Also include the timer being connected with control module;The clock is produced
Module and control module receive the control information of agreement operational control module respectively;The clock generation module receives clock synchronization
The clock information of module;Configuration information is transferred to coding/decoding module by the control module.
Control information is sent respectively to clock synchronization module, clock generation module, control mould by agreement operational control module
Block and coding/decoding module;Clock information is sent to clock generation module by clock synchronization module according to control information;Clock is produced
Module produces periodic signal to control module, and user's transmission of configuration information is deposited into memory modules, and memory modules are by configuration information
It is sent to clock generation module and control module.The control module receives the timing information of timer, and configuration information is passed
It is defeated by coding/decoding module.
Wherein, in this specific embodiment, the control module also includes static groove unit and static groove counter;It is described
Control module also includes dynamic groove unit and dynamic groove counter.
A kind of FlexRay communication controller media access control system control method, media access control system it is all
Submodule is worked under unified clock domain, and the configuration information related to medium education is write internal memory by user;Then, media
Each submodule of access control system directly reads the information from internal memory.
Specific method is:Clock generation module is according to the configuration information of user, the minimum clock produced to controller crystal oscillator
Beat specify to form system according to configuration protocol required for clock cycle;Control module is according to the information of user configuring by clock
Time slot is further divided into static section by the cycle(static segment), dynamic segment(dynamic seg ment), symbol window
Mouthful(symbol window)With network idle section(network idle time)4 independent time periods;Timer module root
Clocking capability, the time required for record media Access Control are realized according to user configuration information.
Clock generation module realize medium education required for clock cycle, it is accurate to be that codec functions carry out the time
It is standby, while transferring the information to control module.
Methods described also includes:As shown in Fig. 2 clock generation module carries out initialization operation according to configuration information, then
Wait the minimum clock beat of crystal oscillator(vMicrotick);When minimum clock beat is more than or equal to pMicroPerCycle/
During gMacroPerCyclc-1, clock generation module produces the clock cycle.
Methods described also includes:Control module reads required configuration information from internal memory, including gdstaticSloc,
GNumberOfMinislo ts, gdSymbolWindow, gdActionPointOffset and
gdMinislotActionPointOffset;When control module receives the cycle start signal of clock generation module offer, root
According to the static section in gdstaticSloc performance periods.
Methods described also includes:The static section realizes TDMA using static groove, with the transmission of coordination data.
Methods described also includes:In each passage, a groove counter is set on communication controler(vslotcountcr),
The number of statistical static groove;When the clock cycle at first, set groove counter value be 1;When trough end, groove meter
The value of number device adds 1;For each static groove, FlexRay communication controller is according to the current operation of the configuration of user and MAC module
Pattern decides whether to provide data for coding/decoding module.For a specific cluster, the sum of static groove is certain, by parameter
GNumberOfStaticSlots determines.
Methods described also includes:The control module is according to the dynamic segment in gNumberOfMinislots performance periods;
The dynamic segment realizes the media access method that event is triggered using dynamic groove, with the transmission of coordination data.
Methods described also includes:Communication controler sets a dynamic groove counter on each passage, counts dynamic groove
Number;Each dynamic groove is counted according to zMinislot, and when there is data to transmit, dynamic groove can take multiple
zMinislot;When no data are transmitted, dynamic groove takes a zMinislot.So the size of dynamic groove be according to whether
Have what data is activation was determined.For a specific cluster, the sum of zMinisl ot is certain, by parameter
GNimberOfMinislots determines.
Methods described also includes:The control module is according to the symbol window in gdSymbolWindow performance periods.
Methods described also includes:The remaining time is network idle section in the control module a cycle.
Claims (10)
1. a kind of FlexRay communication controller media access control system, it is characterised in that:Including respectively with clock generation module
Connected memory modules and control module;The memory modules are connected with control module again;Also include what is be connected with control module
Timer;The clock generation module and control module receive the control information of agreement operational control module respectively;The clock
Generation module receives the clock information of clock synchronization module;Configuration information is transferred to coding/decoding module by the control module.
2. FlexRay communication controller media access control system according to claim 1, it is characterised in that:The control
Molding block also includes static groove unit and static groove counter.
3. FlexRay communication controller media access control system according to claim 1 and 2, it is characterised in that:It is described
Control module also includes dynamic groove unit and dynamic groove counter.
4. a kind of FlexRay communication controller media access control system control method, it is characterised in that:Medium education system
All submodules of system are worked under unified clock domain, and the configuration information related to medium education is write internal memory by user;
Then, each submodule of media access control system directly reads the information from internal memory.
5. FlexRay communication controller media access control system control method according to claim 4, its feature exists
In:Specific method is:Clock generation module is pressed according to the configuration information of user to the minimum clock beat that controller crystal oscillator is produced
Clock cycle required for specifying to form system according to configuration protocol;Control module will be entered the clock cycle according to the information of user configuring
Time slot is divided into static section, dynamic segment, symbol window and network idle 4 independent time periods of section by one step;Timer module
Clocking capability, the time required for record media Access Control are realized according to user configuration information.
6. FlexRay communication controller media access control system control method according to claim 4, its feature exists
In:Methods described also includes:Clock generation module carries out initialization operation according to configuration information, then wait crystal oscillator it is minimum when
Clock beat;When minimum clock beat is more than or equal to pMicroPerCycle/gMacroPerCyclc-1, clock generation module is produced
The raw clock cycle.
7. FlexRay communication controller media access control system control method according to claim 5, its feature exists
In:Methods described also includes:Control module reads required configuration information from internal memory, including gdstaticSloc,
GNumberOfMinislo ts, gdSymbolWindow, gdActionPointOffset and
gdMinislotActionPointOffset;When control module receives the cycle start signal of clock generation module offer, root
According to the static section in gdstaticSloc performance periods.
8. the FlexRay communication controller media access control system control method according to claim 5 or 7, its feature
It is:Methods described also includes:The static section realizes TDMA using static groove.
9. FlexRay communication controller media access control system control method according to claim 8, its feature exists
In:Methods described also includes:In each passage, a groove counter, the number of statistical static groove are set on communication controler;When
Clock cycle, the value for setting groove counter was 1 at first;When trough end, the value of groove counter adds 1;For every
Whether individual static groove, FlexRay communication controller is to compile solution according to the current operation mode decision of the configuration of user and MAC module
Code module provides data.
10. FlexRay communication controller media access control system control method according to claim 7, its feature exists
In:Methods described also includes:The control module is according to the dynamic segment in gNumberOfMinislots performance periods;It is described dynamic
State section realizes the media access method that event is triggered using dynamic groove.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510805169.9A CN106789489A (en) | 2015-11-20 | 2015-11-20 | A kind of FlexRay communication controller media access control system and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510805169.9A CN106789489A (en) | 2015-11-20 | 2015-11-20 | A kind of FlexRay communication controller media access control system and its control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789489A true CN106789489A (en) | 2017-05-31 |
Family
ID=58915202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510805169.9A Withdrawn CN106789489A (en) | 2015-11-20 | 2015-11-20 | A kind of FlexRay communication controller media access control system and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789489A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113992472A (en) * | 2021-10-29 | 2022-01-28 | 西安微电子技术研究所 | Working method and system of FlexRay bus IP core |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1993687A (en) * | 2004-08-05 | 2007-07-04 | 罗伯特·博世有限公司 | Message administrator and method for controlling access to data of the message memory of a communications component |
CN101283338A (en) * | 2005-10-06 | 2008-10-08 | 罗伯特·博世有限公司 | User interface which is between a microcontroller and a flexray-communication component, flexray-user and method for transmitting messages via said type of interface |
CN101702144A (en) * | 2009-11-23 | 2010-05-05 | 北京天童芯源科技有限公司 | Control device and control method of DMA controller |
-
2015
- 2015-11-20 CN CN201510805169.9A patent/CN106789489A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1993687A (en) * | 2004-08-05 | 2007-07-04 | 罗伯特·博世有限公司 | Message administrator and method for controlling access to data of the message memory of a communications component |
CN101283338A (en) * | 2005-10-06 | 2008-10-08 | 罗伯特·博世有限公司 | User interface which is between a microcontroller and a flexray-communication component, flexray-user and method for transmitting messages via said type of interface |
CN101702144A (en) * | 2009-11-23 | 2010-05-05 | 北京天童芯源科技有限公司 | Control device and control method of DMA controller |
Non-Patent Citations (1)
Title |
---|
马文豪等: "FlexRay的通信控制器媒体接入控制设计", 《单片机与嵌入式***应用》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113992472A (en) * | 2021-10-29 | 2022-01-28 | 西安微电子技术研究所 | Working method and system of FlexRay bus IP core |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11558136B2 (en) | High speed embedded protocol for distributed control system | |
US11336470B2 (en) | Method and apparatus for transmitting and receiving wake-up signal in vehicle network | |
CN101111826B (en) | Method and system for guaranteeing real time message transmission of communication system | |
CN104317765B (en) | A kind of one-to-many communication system and implementation method based on serial communication | |
US9432488B2 (en) | High speed embedded protocol for distributed control systems | |
CN1993687B (en) | Message administrator and method for controlling access to data of the message memory and a communications component | |
US11171807B2 (en) | Method and apparatus for allocating priority transmission opportunities in vehicle network | |
EP3149897B1 (en) | High speed embedded protocol for distributed control system | |
Berwanger et al. | FlexRay–the communication system for advanced automotive control systems | |
US8737426B1 (en) | High speed embedded protocol for distributed control system | |
CN103282895A (en) | Device and method for serial data transmission at a high data rate | |
JP2008509583A (en) | Method and apparatus for accessing data in message memory of communication module | |
WO2008029322A2 (en) | Cluster coupler unit and method for synchronizing a plurality of clusters in a time-triggered network | |
EP2573672B1 (en) | System and method for generating a slot table entry address for a communications device | |
CN105511387A (en) | PLC IO extension module and extension method therefor | |
CN102253910B (en) | Inter-integrated circuit (I2C) transmission method and device | |
US20200287995A1 (en) | Data transmission and reception method in vehicle network, and apparatus for the same | |
JP2008509463A (en) | Method for storing messages in message memory and message memory | |
CN105407136A (en) | Train network communication realization method | |
CN106789489A (en) | A kind of FlexRay communication controller media access control system and its control method | |
CN106789490A (en) | A kind of FlexRay communication controller and control method | |
EP2573981A2 (en) | System and method for encoding a slot table for a communications controller | |
CN101902436A (en) | Interplate communication method, device and system | |
CN106789491A (en) | A kind of FlexRay communication controller clock cycle control method | |
Cummings | Easing the transition of system designs from CAN to FlexRay |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170531 |